Class: ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount
- Defined in:
- lib/modern_treasury/models/bulk_request_create_params.rb
Overview
Defined Under Namespace
Modules: PartyType Classes: AccountDetail, RoutingDetail
Instance Attribute Summary collapse
- #account_details ⇒ Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount::AccountDetail>?
-
#account_type ⇒ Symbol, ...
Can be ‘checking`, `savings` or `other`.
- #contact_details ⇒ Array<ModernTreasury::Models::ContactDetailCreateRequest>?
-
#external_id ⇒ String?
An optional user-defined 180 character unique identifier.
-
#ledger_account ⇒ ModernTreasury::Models::LedgerAccountCreateRequest?
Specifies a ledger account object that will be created with the external account.
-
#metadata ⇒ Hash{Symbol=>String}?
Additional data represented as key-value pairs.
-
#name ⇒ String?
A nickname for the external account.
-
#party_address ⇒ ModernTreasury::Models::AddressRequest?
Required if receiving wire payments.
- #party_identifier ⇒ String?
-
#party_name ⇒ String?
If this value isn’t provided, it will be inherited from the counterparty’s name.
-
#party_type ⇒ Symbol, ...
Either ‘individual` or `business`.
-
#plaid_processor_token ⇒ String?
If you’ve enabled the Modern Treasury + Plaid integration in your Plaid account, you can pass the processor token in this field.
- #routing_details ⇒ Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount::RoutingDetail>?
Class Method Summary collapse
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from ModernTreasury::Internal::Type::BaseModel
Instance Attribute Details
#account_details ⇒ Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount::AccountDetail>?
623 624 625 626 627 628 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 623 optional :account_details, -> do ModernTreasury::Internal::Type::ArrayOf[ ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount::AccountDetail ] end |
#account_type ⇒ Symbol, ...
Can be ‘checking`, `savings` or `other`.
634 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 634 optional :account_type, enum: -> { ModernTreasury::ExternalAccountType } |
#contact_details ⇒ Array<ModernTreasury::Models::ContactDetailCreateRequest>?
639 640 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 639 optional :contact_details, -> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ContactDetailCreateRequest] } |
#external_id ⇒ String?
An optional user-defined 180 character unique identifier.
646 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 646 optional :external_id, String, nil?: true |
#ledger_account ⇒ ModernTreasury::Models::LedgerAccountCreateRequest?
Specifies a ledger account object that will be created with the external account. The resulting ledger account is linked to the external account for auto-ledgering Payment objects. See docs.moderntreasury.com/docs/linking-to-other-modern-treasury-objects for more details.
656 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 656 optional :ledger_account, -> { ModernTreasury::LedgerAccountCreateRequest } |
#metadata ⇒ Hash{Symbol=>String}?
Additional data represented as key-value pairs. Both the key and value must be strings.
663 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 663 optional :metadata, ModernTreasury::Internal::Type::HashOf[String] |
#name ⇒ String?
A nickname for the external account. This is only for internal usage and won’t affect any payments
670 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 670 optional :name, String, nil?: true |
#party_address ⇒ ModernTreasury::Models::AddressRequest?
Required if receiving wire payments.
676 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 676 optional :party_address, -> { ModernTreasury::AddressRequest } |
#party_identifier ⇒ String?
681 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 681 optional :party_identifier, String |
#party_name ⇒ String?
If this value isn’t provided, it will be inherited from the counterparty’s name.
687 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 687 optional :party_name, String |
#party_type ⇒ Symbol, ...
Either ‘individual` or `business`.
693 694 695 696 697 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 693 optional :party_type, enum: -> { ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount::PartyType }, nil?: true |
#plaid_processor_token ⇒ String?
If you’ve enabled the Modern Treasury + Plaid integration in your Plaid account, you can pass the processor token in this field.
704 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 704 optional :plaid_processor_token, String |
#routing_details ⇒ Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount::RoutingDetail>?
709 710 711 712 713 714 |
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 709 optional :routing_details, -> do ModernTreasury::Internal::Type::ArrayOf[ ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount::RoutingDetail ] end |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 786
|