SamsungCheckoutPurchaseDetails class

The class represents the information of a purchase made using Samsung Checkout.

Constructors

SamsungCheckoutPurchaseDetails({required String productID, required String? purchaseID, required PurchaseStatus status, required String? transactionDate, required PurchaseVerificationData verificationData, required InvoiceDetails invoiceDetails})
Creates a new Samsung Checkout specific purchase details object with the provided details.
SamsungCheckoutPurchaseDetails.fromPurchase(InvoiceDetails invoiceDetails)
Generate a SamsungCheckoutPurchaseDetails object based on PurchaseDetails object.
factory

Properties

error ↔ IAPError?
The error details when the status is PurchaseStatus.error.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
invoiceDetails InvoiceDetails
Points back to the InvoiceDetails which was used to generate this SamsungCheckoutPurchaseDetails object.
final
pendingCompletePurchase bool
The developer has to call InAppPurchasePlatform.completePurchase if the value is true 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