class

Stripe::PaymentMethodDetailsAchDebit

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]."
MAX_LENGTH_FOR_BANK_NAME = 5000
MAX_LENGTH_FOR_COUNTRY = 5000
MAX_LENGTH_FOR_FINGERPRINT = 5000
MAX_LENGTH_FOR_LAST4 = 5000
MAX_LENGTH_FOR_ROUTING_NUMBER = 5000
VALID_VALUES_FOR_ACCOUNT_HOLDER_TYPE = String.static_array("company", "individual")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, account_holder_type : String | Nil = nil, bank_name : String | Nil = nil, country : String | Nil = nil, fingerprint : String | Nil = nil, last4 : String | Nil = nil, routing_number : String | 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

Type of entity that holds the account. This can be either 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
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
country

Two-letter ISO code representing the country the bank account is located in.

Source
country=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] country 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
routing_number

Routing transit 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