PaymentMethodParams.cardFromToken constructor

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