PurchaseIOS constructor

const PurchaseIOS({
  1. String? appAccountToken,
  2. String? appBundleIdIOS,
  3. String? countryCodeIOS,
  4. String? currencyCodeIOS,
  5. String? currencySymbolIOS,
  6. String? currentPlanId,
  7. String? environmentIOS,
  8. double? expirationDateIOS,
  9. required String id,
  10. List<String>? ids,
  11. required bool isAutoRenewing,
  12. bool? isUpgradedIOS,
  13. PurchaseOfferIOS? offerIOS,
  14. double? originalTransactionDateIOS,
  15. String? originalTransactionIdentifierIOS,
  16. String? ownershipTypeIOS,
  17. required IapPlatform platform,
  18. required String productId,
  19. required PurchaseState purchaseState,
  20. String? purchaseToken,
  21. required int quantity,
  22. int? quantityIOS,
  23. String? reasonIOS,
  24. String? reasonStringRepresentationIOS,
  25. RenewalInfoIOS? renewalInfoIOS,
  26. double? revocationDateIOS,
  27. String? revocationReasonIOS,
  28. required IapStore store,
  29. String? storefrontCountryCodeIOS,
  30. String? subscriptionGroupIdIOS,
  31. required double transactionDate,
  32. required String transactionId,
  33. String? transactionReasonIOS,
  34. String? webOrderLineItemIdIOS,
  35. 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,
});