ApplePayPaymentMethodParams constructor

  1. @JsonSerializable(explicitToJson: true)
const ApplePayPaymentMethodParams({
  1. bool? supportsCouponCode,
  2. String? couponCode,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory ApplePayPaymentMethodParams({
  /// Variable that enables the coupon code field.
  ///
  /// When this is set to true it shows the coupon code field and if [couponCode]
  /// is set to true it will display the
  bool? supportsCouponCode,

  /// Value used for prefilling the coupon code field.
  String? couponCode,
}) = _ApplePayPaymentMethodParams;