Purchase constructor
Purchase({
- required String purchaseId,
- required String productId,
- required String invoiceId,
- String? orderId,
- required PurchaseType purchaseType,
- required ProductType productType,
- required String description,
- String? purchaseTime,
- required int price,
- required String amountLabel,
- required String currency,
- required int quantity,
- required PurchaseStatus status,
- String? subscriptionToken,
- String? developerPayload,
Implementation
Purchase({
required this.purchaseId,
required this.productId,
required this.invoiceId,
this.orderId,
required this.purchaseType,
required this.productType,
required this.description,
this.purchaseTime,
required this.price,
required this.amountLabel,
required this.currency,
required this.quantity,
required this.status,
this.subscriptionToken,
this.developerPayload,
});