PurchaseIOS constructor
const
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,
Implementation
const PurchaseIOS({
this.appAccountToken,
this.appBundleIdIOS,
this.countryCodeIOS,
this.currencyCodeIOS,
this.currencySymbolIOS,
this.currentPlanId,
this.environmentIOS,
this.expirationDateIOS,
required this.id,
this.ids,
required this.isAutoRenewing,
this.isUpgradedIOS,
this.offerIOS,
this.originalTransactionDateIOS,
this.originalTransactionIdentifierIOS,
this.ownershipTypeIOS,
/// @deprecated Use store instead
required this.platform,
required this.productId,
required this.purchaseState,
this.purchaseToken,
required this.quantity,
this.quantityIOS,
this.reasonIOS,
this.reasonStringRepresentationIOS,
this.renewalInfoIOS,
this.revocationDateIOS,
this.revocationReasonIOS,
/// Store where purchase was made
required this.store,
this.storefrontCountryCodeIOS,
this.subscriptionGroupIdIOS,
required this.transactionDate,
required this.transactionId,
this.transactionReasonIOS,
this.webOrderLineItemIdIOS,
this.isAlternativeBilling,
});