PurchaseDetails class
Represents the transaction details of a purchase.
Constructors
- PurchaseDetails({String? purchaseID, required String productID, required PurchaseVerificationData verificationData, required String? transactionDate, required PurchaseStatus status})
- Creates a new PurchaseDetails object with the provided data.
Properties
- error ↔ IAPError?
-
The error details when the status is PurchaseStatus.error.
getter/setter pair
- 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 pair - productID → String
-
The product identifier of the purchase.
final
- purchaseID → String?
-
A unique identifier of the purchase.
final
- 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 pair
- transactionDate → String?
-
The timestamp of the transaction.
final
- verificationData → PurchaseVerificationData
-
The verification data of the purchase.
final
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