PaymentMethodParams.cardFromMethodId constructor
- @JsonSerializable(explicitToJson: true)
- @FreezedUnionValue('Card')
- 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;