Transaction constructor

Transaction({
  1. String? id,
  2. String? productID,
  3. ProductType? productType,
  4. OwnershipType? ownershipType,
  5. double? price,
  6. String? currency,
  7. String? originalID,
  8. int? originalPurchaseDate,
  9. int? purchaseDate,
  10. int? purchasedQuantity,
  11. PurchaseReason? purchaseReason,
  12. String? subscriptionGroupID,
  13. int? expirationDate,
  14. bool? isUpgraded,
  15. bool? hasRevocation,
  16. int? revocationDate,
  17. int? revocationReason,
  18. String? environment,
  19. String? appAccountToken,
  20. String? appBundleID,
  21. String? appTransactionID,
  22. int? signedDate,
  23. String? storefrontId,
  24. String? storefrontCountryCode,
  25. String? storefrontCurrency,
  26. String? webOrderLineItemID,
  27. String? deviceVerificationNonce,
  28. String? deviceVerification,
  29. TransactionOffer? offer,
  30. bool isSubscribedButFreeTrailCancelled = false,
})

Implementation

Transaction({
  this.id,
  this.productID,
  this.productType,
  this.ownershipType,
  this.price,
  this.currency,
  this.originalID,
  this.originalPurchaseDate,
  this.purchaseDate,
  this.purchasedQuantity,
  this.purchaseReason,
  this.subscriptionGroupID,
  this.expirationDate,
  this.isUpgraded,
  this.hasRevocation,
  this.revocationDate,
  this.revocationReason,
  this.environment,
  this.appAccountToken,
  this.appBundleID,
  this.appTransactionID,
  this.signedDate,
  this.storefrontId,
  this.storefrontCountryCode,
  this.storefrontCurrency,
  this.webOrderLineItemID,
  this.deviceVerificationNonce,
  this.deviceVerification,
  this.offer,
  this.isSubscribedButFreeTrailCancelled = false,
});