ApplePayPaymentMethodParams constructor
- @JsonSerializable(explicitToJson: true)
const
ApplePayPaymentMethodParams(
{ - bool? supportsCouponCode,
- 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;