GooglePlayPurchaseDetails class
The class represents the information of a purchase made using Google Play.
Constructors
- GooglePlayPurchaseDetails({String? purchaseID, required String productID, required PurchaseVerificationData verificationData, required String? transactionDate, required PurchaseWrapper billingClientPurchase, required PurchaseStatus status})
- Creates a new Google Play specific purchase details object with the provided details.
Properties
- billingClientPurchase → PurchaseWrapper
-
Points back to the PurchaseWrapper which was used to generate this
GooglePlayPurchaseDetails object.
final
- error ↔ IAPError?
-
The error details when the status is
PurchaseStatus.error
.getter/setter pairinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- pendingCompletePurchase ↔ bool
-
The developer has to call
InAppPurchasePlatform.completePurchase
if the value istrue
and the product has been delivered to the user.getter/setter pairinherited - productID → String
-
The product identifier of the purchase.
finalinherited
- purchaseID → String?
-
A unique identifier of the purchase.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ PurchaseStatus
-
The status that this
PurchaseDetails
is currently on.getter/setter pairinherited - transactionDate → String?
-
The timestamp of the transaction.
finalinherited
- verificationData → PurchaseVerificationData
-
The verification data of the purchase.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromPurchase(
PurchaseWrapper purchase) → List< GooglePlayPurchaseDetails> -
Generates a List of
PurchaseDetails
based on an AndroidPurchase
object.