Transaction constructor
Transaction({
- String? id,
- String? productID,
- ProductType? productType,
- OwnershipType? ownershipType,
- double? price,
- String? currency,
- String? originalID,
- int? originalPurchaseDate,
- int? purchaseDate,
- int? purchasedQuantity,
- PurchaseReason? purchaseReason,
- String? subscriptionGroupID,
- int? expirationDate,
- bool? isUpgraded,
- bool? hasRevocation,
- int? revocationDate,
- int? revocationReason,
- String? environment,
- String? appAccountToken,
- String? appBundleID,
- String? appTransactionID,
- int? signedDate,
- String? storefrontId,
- String? storefrontCountryCode,
- String? storefrontCurrency,
- String? webOrderLineItemID,
- String? deviceVerificationNonce,
- String? deviceVerification,
- TransactionOffer? offer,
- 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,
});