FlutterPurchase constructor

FlutterPurchase({
  1. required String purchaseId,
  2. required String productId,
  3. required String invoiceId,
  4. String? orderId,
  5. required FlutterPurchaseType purchaseType,
  6. required FlutterProductType productType,
  7. required String description,
  8. String? purchaseTime,
  9. required int price,
  10. required String amountLabel,
  11. required String currency,
  12. required int quantity,
  13. required FlutterPurchaseStatus status,
  14. String? subscriptionToken,
  15. String? developerPayload,
})

Implementation

FlutterPurchase({
  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,
});