PaymentMethodDataUsBank constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentMethodDataUsBank({
  1. required String accountNumber,
  2. required String routingNumber,
  3. BankAccountHolderType? accountHolderType,
  4. UsBankAccountType? accountType,
  5. BillingDetails? billingDetails,
  6. ShippingDetails? shippingDetails,
  7. MandateData? mandateData,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentMethodDataUsBank({
  /// The account number of the bank account.
  required String accountNumber,

  ///The routing number, sort code, or other country-appropriate institution
  ///number for the bank account.
  required String routingNumber,

  /// The bank account type of the holder
  BankAccountHolderType? accountHolderType,

  /// The account type
  UsBankAccountType? accountType,

  /// Billing information.
  BillingDetails? billingDetails,

  /// Shipping details
  ShippingDetails? shippingDetails,

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