SubscriptionOffer constructor

const SubscriptionOffer({
  1. String? basePlanIdAndroid,
  2. String? currency,
  3. required String displayPrice,
  4. required String id,
  5. String? keyIdentifierIOS,
  6. String? localizedPriceIOS,
  7. String? nonceIOS,
  8. int? numberOfPeriodsIOS,
  9. List<String>? offerTagsAndroid,
  10. String? offerTokenAndroid,
  11. PaymentMode? paymentMode,
  12. SubscriptionPeriod? period,
  13. int? periodCount,
  14. required double price,
  15. PricingPhasesAndroid? pricingPhasesAndroid,
  16. String? signatureIOS,
  17. double? timestampIOS,
  18. required DiscountOfferType type,
})

Implementation

const SubscriptionOffer({
  this.basePlanIdAndroid,
  this.currency,
  required this.displayPrice,
  required this.id,
  this.keyIdentifierIOS,
  this.localizedPriceIOS,
  this.nonceIOS,
  this.numberOfPeriodsIOS,
  this.offerTagsAndroid,
  this.offerTokenAndroid,
  this.paymentMode,
  this.period,
  this.periodCount,
  required this.price,
  this.pricingPhasesAndroid,
  this.signatureIOS,
  this.timestampIOS,
  required this.type,
});