PaymentMethodDataSofort constructor

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

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentMethodDataSofort({
  /// Country of the accountholder
  required String country,

  /// Billing information.
  BillingDetails? billingDetails,

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