SubscriptionPurchaseV2 class
Indicates the status of a user's subscription purchase.
Constructors
-
SubscriptionPurchaseV2({String? acknowledgementState, CanceledStateContext? canceledStateContext, ExternalAccountIdentifiers? externalAccountIdentifiers, String? kind, String? latestOrderId, List<
SubscriptionPurchaseLineItem> ? lineItems, String? linkedPurchaseToken, PausedStateContext? pausedStateContext, String? regionCode, String? startTime, SubscribeWithGoogleInfo? subscribeWithGoogleInfo, String? subscriptionState, TestPurchase? testPurchase}) - SubscriptionPurchaseV2.fromJson(Map json_)
Properties
- acknowledgementState ↔ String?
-
The acknowledgement state of the subscription.
Possible string values are:
getter/setter pair
- canceledStateContext ↔ CanceledStateContext?
-
Additional context around canceled subscriptions.
getter/setter pair
- externalAccountIdentifiers ↔ ExternalAccountIdentifiers?
-
User account identifier in the third-party service.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind ↔ String?
-
This kind represents a SubscriptionPurchaseV2 object in the
androidpublisher service.
getter/setter pair
- latestOrderId ↔ String?
-
The order id of the latest order associated with the purchase of the
subscription.
getter/setter pair
-
lineItems
↔ List<
SubscriptionPurchaseLineItem> ? -
Item-level info for a subscription purchase.
getter/setter pair
- linkedPurchaseToken ↔ String?
-
The purchase token of the old subscription if this subscription is one of
the following: * Re-signup of a canceled but non-lapsed subscription *
Upgrade/downgrade from a previous subscription.
getter/setter pair
- pausedStateContext ↔ PausedStateContext?
-
Additional context around paused subscriptions.
getter/setter pair
- regionCode ↔ String?
-
ISO 3166-1 alpha-2 billing country/region code of the user at the time the
subscription was granted.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime ↔ String?
-
Time at which the subscription was granted.
getter/setter pair
- subscribeWithGoogleInfo ↔ SubscribeWithGoogleInfo?
-
User profile associated with purchases made with 'Subscribe with Google'.
getter/setter pair
- subscriptionState ↔ String?
-
The current state of the subscription.
Possible string values are:
getter/setter pair
- testPurchase ↔ TestPurchase?
-
Only present if this subscription purchase is a test purchase.
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