PaymentMethodData constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentMethodData({
  1. BillingDetails? billingDetails,
  2. ShippingDetails? shippingDetails,
  3. MandateData? mandateData,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentMethodData({
  /// Billing information.
  BillingDetails? billingDetails,

  /// Shipping details
  ShippingDetails? shippingDetails,

  /// Mandata data for this paymentmethod.
  MandateData? mandateData,
}) = _PaymentMethodData;