FlutterSubscriptionPurchase constructor
FlutterSubscriptionPurchase({
- required String purchaseId,
- required String invoiceId,
- String? orderId,
- required FlutterPurchaseType purchaseType,
- required FlutterSubscriptionPurchaseStatus status,
- required String description,
- String? purchaseTime,
- required int price,
- required String amountLabel,
- required String currency,
- String? developerPayload,
- required bool sandbox,
- required String productId,
- required String expirationDate,
- required bool gracePeriodEnabled,
Implementation
FlutterSubscriptionPurchase({
required this.purchaseId,
required this.invoiceId,
this.orderId,
required this.purchaseType,
required this.status,
required this.description,
this.purchaseTime,
required this.price,
required this.amountLabel,
required this.currency,
this.developerPayload,
required this.sandbox,
required this.productId,
required this.expirationDate,
required this.gracePeriodEnabled,
});