SKProductDiscountWrapper constructor

SKProductDiscountWrapper({
  1. required String price,
  2. required SKPriceLocaleWrapper priceLocale,
  3. required int numberOfPeriods,
  4. required SKProductDiscountPaymentMode paymentMode,
  5. required SKProductSubscriptionPeriodWrapper subscriptionPeriod,
})

Creates an SKProductDiscountWrapper with the given discount details.

Implementation

SKProductDiscountWrapper(
    {required this.price,
    required this.priceLocale,
    required this.numberOfPeriods,
    required this.paymentMode,
    required this.subscriptionPeriod});