Class: ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::AccountDetail
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::AccountDetail
- Defined in:
- lib/modern_treasury/models/bulk_request_create_params.rb,
sig/modern_treasury/models/bulk_request_create_params.rbs
Defined Under Namespace
Modules: AccountNumberType
Instance Attribute Summary collapse
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(account_number:, account_number_type: nil) ⇒ Object
2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2294 class AccountDetail < ModernTreasury::Internal::Type::BaseModel # @!attribute account_number # # @return [String] required :account_number, String # @!attribute account_number_type # # @return [Symbol, ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::AccountDetail::AccountNumberType, nil] optional :account_number_type, enum: -> { ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::AccountDetail::AccountNumberType } # @!method initialize(account_number:, account_number_type: nil) # @param account_number [String] # @param account_number_type [Symbol, ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::AccountDetail::AccountNumberType] # @see ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::AccountDetail#account_number_type module AccountNumberType extend ModernTreasury::Internal::Type::Enum ARBITRUM_ADDRESS = :arbitrum_address AU_NUMBER = :au_number BASE_ADDRESS = :base_address CARD_TOKEN = :card_token CLABE = :clabe ETHEREUM_ADDRESS = :ethereum_address HK_NUMBER = :hk_number IBAN = :iban ID_NUMBER = :id_number NZ_NUMBER = :nz_number OTHER = :other PAN = :pan POLYGON_ADDRESS = :polygon_address SG_NUMBER = :sg_number SOLANA_ADDRESS = :solana_address # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#account_number ⇒ String
2298 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2298 required :account_number, String |
#account_number_type ⇒ Symbol, ...
2303 2304 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2303 optional :account_number_type, enum: -> { ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::AccountDetail::AccountNumberType } |
Instance Method Details
#to_hash ⇒ {
1782 |
# File 'sig/modern_treasury/models/bulk_request_create_params.rbs', line 1782
def to_hash: -> {
|