class

Stripe::PaymentMethodDetailsUsBankAccount

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

ERROR_MESSAGE_FOR_ACCOUNT_HOLDER_TYPE = "invalid value for \"account_holder_type\", must be one of [company, individual]."
ERROR_MESSAGE_FOR_ACCOUNT_TYPE = "invalid value for \"account_type\", must be one of [checking, savings]."
MAX_LENGTH_FOR_BANK_NAME = 5000
MAX_LENGTH_FOR_FINGERPRINT = 5000
MAX_LENGTH_FOR_LAST4 = 5000
MAX_LENGTH_FOR_PAYMENT_REFERENCE = 5000
MAX_LENGTH_FOR_ROUTING_NUMBER = 5000
VALID_VALUES_FOR_ACCOUNT_HOLDER_TYPE = String.static_array("company", "individual")
VALID_VALUES_FOR_ACCOUNT_TYPE = String.static_array("checking", "savings")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, account_holder_type : String | Nil = nil, account_type : String | Nil = nil, bank_name : String | Nil = nil, fingerprint : String | Nil = nil, last4 : String | Nil = nil, payment_reference : String | Nil = nil, routing_number : String | Nil = nil, mandate : Stripe::InboundTransfersPaymentMethodDetailsUsBankAccountMandate | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

account_holder_type

Account holder type: individual or company.

Source
account_holder_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] account_holder_type Object to be assigned

Source
account_type

Account type: checkings or savings. Defaults to checking if omitted.

Source
account_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] account_type Object to be assigned

Source
bank_name

Name of the bank associated with the bank account.

Source
bank_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] bank_name Object to be assigned

Source
fingerprint

Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

Source
fingerprint=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] fingerprint Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

last4

Last four digits of the bank account number.

Source
last4=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] last4 Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
mandate
Source

Custom attribute writer method checking allowed values (enum). @param [Object] mandate Object to be assigned

Source
payment_reference

Reference number to locate ACH payments with customer's bank.

Source
payment_reference=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] payment_reference Object to be assigned

Source
routing_number

Routing number of the bank account.

Source
routing_number=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] routing_number Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source