InappifyPurchaseRequest constructor

const InappifyPurchaseRequest({
  1. required String productIdentifier,
  2. required String offeringIdentifier,
  3. required String idempotencyKey,
  4. String? packageIdentifier,
  5. String? discountCode,
  6. String? country,
  7. String? appVersion,
  8. String? apiKey,
  9. int discount = 0,
  10. bool isCrypto = false,
  11. Market market = Market.none,
  12. String? marketKey,
  13. bool isLostPurchase = false,
  14. String? lostPurchaseToken,
  15. int? lostPurchaseTime,
  16. InappifyProductType? productType,
  17. PackageModel? packageToPurchase,
  18. String? dynamicPriceToken,
  19. int? paywallId,
  20. int? paywallRevision,
  21. InappifyRequestCancellation? cancellation,
})

Implementation

const InappifyPurchaseRequest({
  required this.productIdentifier,
  required this.offeringIdentifier,
  required this.idempotencyKey,
  this.packageIdentifier,
  this.discountCode,
  this.country,
  this.appVersion,
  this.apiKey,
  this.discount = 0,
  this.isCrypto = false,
  this.market = Market.none,
  this.marketKey,
  this.isLostPurchase = false,
  this.lostPurchaseToken,
  this.lostPurchaseTime,
  this.productType,
  this.packageToPurchase,
  this.dynamicPriceToken,
  this.paywallId,
  this.paywallRevision,
  this.cancellation,
});