ProductPurchase class

A ProductPurchase resource indicates the status of a user's inapp product purchase.


ProductPurchase.fromJson(Map _json)


consumptionState ↔ int
The consumption state of the inapp product. Possible values are: [...]
read / write
developerPayload ↔ String
A developer-specified string that contains supplemental information about an order.
read / write
kind ↔ String
This kind represents an inappPurchase object in the androidpublisher service.
read / write
orderId ↔ String
The order id associated with the purchase of the inapp product.
read / write
purchaseState ↔ int
The purchase state of the order. Possible values are: [...]
read / write
purchaseTimeMillis ↔ String
The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).
read / write
purchaseType ↔ int
The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.