InappifyPurchaseRequest constructor
const
InappifyPurchaseRequest({
- required String productIdentifier,
- required String offeringIdentifier,
- required String idempotencyKey,
- String? packageIdentifier,
- String? discountCode,
- String? country,
- String? appVersion,
- String? apiKey,
- int discount = 0,
- bool isCrypto = false,
- Market market = Market.none,
- String? marketKey,
- bool isLostPurchase = false,
- String? lostPurchaseToken,
- int? lostPurchaseTime,
- InappifyProductType? productType,
- PackageModel? packageToPurchase,
- String? dynamicPriceToken,
- int? paywallId,
- int? paywallRevision,
- 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,
});