class

Stripe::FundingInstructionsBankTransferSwiftRecord

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

SWIFT Records contain U.S. bank account details per the SWIFT format.

Constants

MAX_LENGTH_FOR_ACCOUNT_NUMBER = 5000
MAX_LENGTH_FOR_BANK_NAME = 5000
MAX_LENGTH_FOR_SWIFT_CODE = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, account_number : String | Nil = nil, bank_name : String | Nil = nil, swift_code : 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_number

The account number

Source
account_number=(new_value : String | Nil)

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

Source
bank_name

The bank name

Source
bank_name=(new_value : String | Nil)

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

list_invalid_properties

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

Source
swift_code

The SWIFT code

Source
swift_code=(new_value : String | Nil)

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