PaymentMethodDataCardFromToken constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentMethodDataCardFromToken({
  1. required String token,
  2. BillingDetails? billingDetails,
  3. ShippingDetails? shippingDetails,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentMethodDataCardFromToken({
  /// Token.
  required String token,

  /// Billing information.
  BillingDetails? billingDetails,

  /// Shipping details
  ShippingDetails? shippingDetails,
}) = _PaymentMethodDataCardFromToken;