NamiPurchase class

This object represents a completed purchase in the SDK.

Constructors

NamiPurchase(int purchaseInitiatedTimestamp, NamiPurchaseSource purchaseSource, String skuId, String? transactionIdentifier, String? localizedDescription)
NamiPurchase.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
localizedDescription String?
A human-readable description of the contents of this purchase
final
purchaseInitiatedTimestamp int
The date and time when the purchase was initiated
final
purchaseSource NamiPurchaseSource
The source a purchase comes from - either externally, through Nami, or from your own paywall.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skuId String
The unique identifier for this NamiPurchase
final
transactionIdentifier String?
The purchase order ID record associated to this 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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited