PaymentMethodParams.affirm constructor
- @JsonSerializable(explicitToJson: true)
- @FreezedUnionValue('Affirm')
- required PaymentMethodData paymentMethodData,
Config parameters for affirm payment method. Shipping details are required most of the time.
Implementation
@JsonSerializable(explicitToJson: true)
@FreezedUnionValue('Affirm')
/// Config parameters for affirm payment method.
/// Shipping details are required most of the time.
const factory PaymentMethodParams.affirm({
/// Paymentmethod data for this paymentmethod.
required PaymentMethodData paymentMethodData,
}) = _PaymentMethodParamsAffirm;