PaymentMethodDataUsBank constructor
const
PaymentMethodDataUsBank({
- required String accountNumber,
- required String routingNumber,
- BankAccountHolderType? accountHolderType,
- UsBankAccountType? accountType,
- BillingDetails? billingDetails,
- ShippingDetails? shippingDetails,
- 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;