NamiPurchase class

This object represents a completed purchase in the SDK. A device purchases a NamiSKU and that purchase makes available a set of NamiEntitlements

Constructors

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

Properties

expires DateTime?
For bypass store purchases only, indicates when this purchase will cease to back an entitlement rendering it as inactive.
final
fromNami bool
True if paywall used to make this purchase was launched by Nami
final
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