PaymentMethodDataCardFromMethod constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentMethodDataCardFromMethod({
  1. required String paymentMethodId,
  2. String? cvc,
  3. BillingDetails? billingDetails,
  4. ShippingDetails? shippingDetails,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentMethodDataCardFromMethod({
  /// Payment method id.
  required String paymentMethodId,

  /// Cvc of the cart
  String? cvc,

  /// Billing information.
  BillingDetails? billingDetails,

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