PurchaseIOS constructor

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

Implementation

const PurchaseIOS({
  this.appAccountToken,
  this.appBundleIdIOS,
  this.countryCodeIOS,
  this.currencyCodeIOS,
  this.currencySymbolIOS,
  this.environmentIOS,
  this.expirationDateIOS,
  required this.id,
  this.ids,
  required this.isAutoRenewing,
  this.isUpgradedIOS,
  this.offerIOS,
  this.originalTransactionDateIOS,
  this.originalTransactionIdentifierIOS,
  this.ownershipTypeIOS,
  required this.platform,
  required this.productId,
  required this.purchaseState,
  this.purchaseToken,
  required this.quantity,
  this.quantityIOS,
  this.reasonIOS,
  this.reasonStringRepresentationIOS,
  this.revocationDateIOS,
  this.revocationReasonIOS,
  this.storefrontCountryCodeIOS,
  this.subscriptionGroupIdIOS,
  required this.transactionDate,
  required this.transactionId,
  this.transactionReasonIOS,
  this.webOrderLineItemIdIOS,
  this.isAlternativeBilling,
});