SubscriptionLineItem class
Individual line item definition of a subscription.
Constructors
-
SubscriptionLineItem({Amount? amount, SubscriptionLineItemBundleDetails? bundleDetails, String? description, FiniteBillingCycleDetails? finiteBillingCycleDetails, String? lineItemFreeTrialEndTime, int? lineItemIndex, List<
SubscriptionPromotionSpec> ? lineItemPromotionSpecs, String? name, SubscriptionLineItemOneTimeRecurrenceDetails? oneTimeRecurrenceDetails, String? product, ProductPayload? productPayload, String? recurrenceType, String? state}) - SubscriptionLineItem.fromJson(Map json_)
Properties
- amount ↔ Amount?
-
The price of the product/service in this line item.
getter/setter pair
- bundleDetails ↔ SubscriptionLineItemBundleDetails?
-
The bundle details for the line item.
getter/setter pair
- description ↔ String?
-
Description of this line item.
getter/setter pair
- finiteBillingCycleDetails ↔ FiniteBillingCycleDetails?
-
Details for a subscription line item with finite billing cycles.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineItemFreeTrialEndTime ↔ String?
-
The free trial end time will be populated after the line item is
successfully processed.
getter/setter pair
- lineItemIndex ↔ int?
-
A unique index of the subscription line item.
getter/setter pair
-
lineItemPromotionSpecs
↔ List<
SubscriptionPromotionSpec> ? -
The promotions applied on the line item.
getter/setter pair
- name ↔ String?
-
Identifier.
getter/setter pair
- oneTimeRecurrenceDetails ↔ SubscriptionLineItemOneTimeRecurrenceDetails?
-
Details only set for a ONE_TIME recurrence line item.
getter/setter pair
- product ↔ String?
-
Product resource name that identifies the product associated with this
line item.
getter/setter pair
- productPayload ↔ ProductPayload?
-
Product specific payload for this line item.
getter/setter pair
- recurrenceType ↔ String?
-
The recurrence type of the line item.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
The state of the line item.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited