PaymentMethodParams.affirm constructor

  1. @JsonSerializable(explicitToJson: true)
  2. @FreezedUnionValue('Affirm')
const PaymentMethodParams.affirm({
  1. 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;