class

Stripe::BankTransferParam

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

Constants

ERROR_MESSAGE_FOR__TYPE = "invalid value for \"_type\", must be one of [eu_bank_transfer, gb_bank_transfer, jp_bank_transfer, mx_bank_transfer, us_bank_transfer]."
ERROR_MESSAGE_FOR_REQUESTED_ADDRESS_TYPES = "invalid value for \"requested_address_types\", must be one of [aba, iban, sepa, sort_code, spei, swift, zengin]."
VALID_VALUES_FOR__TYPE = String.static_array("eu_bank_transfer", "gb_bank_transfer", "jp_bank_transfer", "mx_bank_transfer", "us_bank_transfer")
VALID_VALUES_FOR_REQUESTED_ADDRESS_TYPES = String.static_array("aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, _type : String | Nil = nil, eu_bank_transfer : Stripe::EuBankTransferParams | Nil = nil, requested_address_types : Array(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

_type

The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: eu_bank_transfer, gb_bank_transfer, jp_bank_transfer, mx_bank_transfer, or us_bank_transfer.

Source
_type=(new_value : String | Nil)

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

Source
eu_bank_transfer
Source
eu_bank_transfer=(new_value : Stripe::EuBankTransferParams | Nil)

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

List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. Permitted values include: sort_code, zengin, iban, or spei.

Source
requested_address_types=(new_value : Array(String) | Nil)

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