SubscriptionOffer constructor

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

Implementation

const SubscriptionOffer({
  this.basePlanIdAndroid,
  this.currency,
  required this.displayPrice,
  required this.id,
  this.installmentPlanDetailsAndroid,
  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,
});