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