ProductPurchaseV2 class
A ProductPurchaseV2 resource indicates the status of a user's inapp product purchase.
Constructors
-
ProductPurchaseV2.new({String? acknowledgementState, String? kind, String? obfuscatedExternalAccountId, String? obfuscatedExternalProfileId, String? orderId, List<
ProductLineItem> ? productLineItem, String? purchaseCompletionTime, PurchaseStateContext? purchaseStateContext, String? regionCode, TestPurchaseContext? testPurchaseContext}) - ProductPurchaseV2.fromJson(Map json_)
Properties
- acknowledgementState ↔ String?
-
The acknowledgement state of the purchase.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind ↔ String?
-
This kind represents a ProductPurchaseV2 object in the androidpublisher
service.
getter/setter pair
- obfuscatedExternalAccountId ↔ String?
-
An obfuscated version of the id that is uniquely associated with the
user's account in your app.
getter/setter pair
- obfuscatedExternalProfileId ↔ String?
-
An obfuscated version of the id that is uniquely associated with the
user's profile in your app.
getter/setter pair
- orderId ↔ String?
-
The order id associated with the purchase of the inapp product.
getter/setter pair
-
productLineItem
↔ List<
ProductLineItem> ? -
Contains item-level info for a ProductPurchaseV2.
getter/setter pair
- purchaseCompletionTime ↔ String?
-
The time when the purchase was successful, i.e., when the PurchaseState
has changed to PURCHASED.
getter/setter pair
- purchaseStateContext ↔ PurchaseStateContext?
-
Information about the purchase state of the purchase.
getter/setter pair
- regionCode ↔ String?
-
ISO 3166-1 alpha-2 billing region code of the user at the time the product
was granted.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- testPurchaseContext ↔ TestPurchaseContext?
-
Information related to test purchases.
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