PaymentMethodParams.cardFromMethodId constructor

  1. @JsonSerializable(explicitToJson: true)
  2. @FreezedUnionValue('Card')
const PaymentMethodParams.cardFromMethodId({
  1. required PaymentMethodDataCardFromMethod paymentMethodData,
})

Config parameters for card from method id payment method.

Implementation

@JsonSerializable(explicitToJson: true)
@FreezedUnionValue('Card')

/// Config parameters for card from method id payment method.
const factory PaymentMethodParams.cardFromMethodId({
  /// Payment method data object for card from payment method.
  required PaymentMethodDataCardFromMethod paymentMethodData,
}) = _PaymentMethodParamsCardWithMethodId;