PaymentMethodParams.cardFromToken constructor
- @JsonSerializable(explicitToJson: true)
- @FreezedUnionValue('Card')
- required PaymentMethodDataCardFromToken paymentMethodData,
Config parameters for card with token payment method.
Implementation
@JsonSerializable(explicitToJson: true)
@FreezedUnionValue('Card')
/// Config parameters for card with token payment method.
const factory PaymentMethodParams.cardFromToken({
/// Paymentmethod data for this paymentmethod.
required PaymentMethodDataCardFromToken paymentMethodData,
}) = _PaymentMethodParamsCardWithToken;