PurchaseIOS class

Inheritance
Implemented types
Available extensions

Constructors

PurchaseIOS({String? appAccountToken, String? appBundleIdIOS, String? countryCodeIOS, String? currencyCodeIOS, String? currencySymbolIOS, String? currentPlanId, String? environmentIOS, double? expirationDateIOS, required String id, List<String>? ids, required bool isAutoRenewing, bool? isUpgradedIOS, PurchaseOfferIOS? offerIOS, double? originalTransactionDateIOS, String? originalTransactionIdentifierIOS, String? ownershipTypeIOS, required IapPlatform platform, required String productId, required PurchaseState purchaseState, String? purchaseToken, required int quantity, int? quantityIOS, String? reasonIOS, String? reasonStringRepresentationIOS, RenewalInfoIOS? renewalInfoIOS, double? revocationDateIOS, String? revocationReasonIOS, required IapStore store, String? storefrontCountryCodeIOS, String? subscriptionGroupIdIOS, required double transactionDate, required String transactionId, String? transactionReasonIOS, String? webOrderLineItemIdIOS, bool? isAlternativeBilling})
const
PurchaseIOS.fromJson(Map<String, dynamic> json)
factory

Properties

androidIsAcknowledged → bool?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
androidPurchaseStateValue → int?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
appAccountToken → String?
final
appBundleIdIOS → String?
final
countryCodeIOS → String?
final
currencyCodeIOS → String?
final
currencySymbolIOS → String?
final
currentPlanId → String?
The current plan identifier. This is:
final
environmentIOS → String?
final
expirationDateIOS → double?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
ids → List<String>?
final
iosOriginalTransactionId → String?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
iosQuantity → int?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
iosTransactionState → TransactionState?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
isAlternativeBilling → bool?
final
isAutoRenewing → bool
final
isUpgradedIOS → bool?
final
offerIOS → PurchaseOfferIOS?
final
originalTransactionDateIOS → double?
final
originalTransactionIdentifierIOS → String?
final
ownershipTypeIOS → String?
final
platform → IapPlatform
final
productId → String
final
purchaseState → PurchaseState
final
purchaseToken → String?
Unified purchase token (iOS JWS, Android purchaseToken)
final
quantity → int
final
quantityIOS → int?
final
reasonIOS → String?
final
reasonStringRepresentationIOS → String?
final
renewalInfoIOS → RenewalInfoIOS?
final
revocationDateIOS → double?
final
revocationReasonIOS → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
store → IapStore
Store where purchase was made
final
storefrontCountryCodeIOS → String?
final
subscriptionGroupIdIOS → String?
final
transactionDate → double
final
transactionId → String
final
transactionIdFor → String?

Available on Purchase, provided by the PurchaseHelpers extension

no setter
transactionReasonIOS → String?
final
webOrderLineItemIdIOS → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toInput() → PurchaseInput

Available on Purchase, provided by the PurchaseInputConversion extension

toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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