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
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
1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 1981 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 AU_NUMBER = :au_number BASE_ADDRESS = :base_address 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 WALLET_ADDRESS = :wallet_address # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#account_number ⇒ String
1985 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 1985 required :account_number, String |
#account_number_type ⇒ Symbol, ...
1990 1991 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 1990 optional :account_number_type, enum: -> { ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::AccountDetail::AccountNumberType } |