modern_treasury 0.1.0.pre.alpha.22 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -0
- data/README.md +1 -1
- data/lib/modern_treasury/client.rb +0 -12
- data/lib/modern_treasury/internal/transport/base_client.rb +1 -1
- data/lib/modern_treasury/internal/type/base_model.rb +4 -4
- data/lib/modern_treasury/models/accounting.rb +30 -0
- data/lib/modern_treasury/models/address.rb +94 -0
- data/lib/modern_treasury/models/address_request.rb +54 -0
- data/lib/modern_treasury/models/bulk_request_create_params.rb +144 -1505
- data/lib/modern_treasury/models/child_legal_entity_create.rb +275 -0
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +10 -627
- data/lib/modern_treasury/models/contact_detail.rb +81 -0
- data/lib/modern_treasury/models/contact_detail_create_request.rb +34 -0
- data/lib/modern_treasury/models/counterparty.rb +24 -177
- data/lib/modern_treasury/models/counterparty_create_params.rb +37 -838
- data/lib/modern_treasury/models/counterparty_list_params.rb +9 -1
- data/lib/modern_treasury/models/document.rb +4 -6
- data/lib/modern_treasury/models/document_create_params.rb +0 -2
- data/lib/modern_treasury/models/document_list_params.rb +4 -6
- data/lib/modern_treasury/models/expected_payment.rb +9 -1
- data/lib/modern_treasury/models/expected_payment_create_params.rb +12 -230
- data/lib/modern_treasury/models/expected_payment_list_params.rb +8 -1
- data/lib/modern_treasury/models/expected_payment_update_params.rb +9 -1
- data/lib/modern_treasury/models/external_account.rb +15 -177
- data/lib/modern_treasury/models/external_account_create_params.rb +18 -210
- data/lib/modern_treasury/models/external_account_list_params.rb +9 -1
- data/lib/modern_treasury/models/external_account_update_params.rb +3 -52
- data/lib/modern_treasury/models/foreign_exchange_quote.rb +3 -73
- data/lib/modern_treasury/models/foreign_exchange_rate.rb +71 -0
- data/lib/modern_treasury/models/identification_create_request.rb +86 -0
- data/lib/modern_treasury/models/internal_account.rb +3 -95
- data/lib/modern_treasury/models/internal_account_update_account_capability_params.rb +34 -0
- data/lib/modern_treasury/models/internal_account_update_account_capability_response.rb +131 -0
- data/lib/modern_treasury/models/invoice.rb +3 -81
- data/lib/modern_treasury/models/invoice_create_params.rb +3 -83
- data/lib/modern_treasury/models/invoice_update_params.rb +3 -83
- data/lib/modern_treasury/models/ledger_account.rb +9 -141
- data/lib/modern_treasury/models/ledger_account_balance_monitor.rb +3 -182
- data/lib/modern_treasury/models/ledger_account_category.rb +3 -175
- data/lib/modern_treasury/models/ledger_account_category_list_params.rb +9 -5
- data/lib/modern_treasury/models/ledger_account_category_retrieve_params.rb +4 -2
- data/lib/modern_treasury/models/ledger_account_create_params.rb +2 -105
- data/lib/modern_treasury/models/ledger_account_create_request.rb +113 -0
- data/lib/modern_treasury/models/ledger_account_statement_create_response.rb +6 -360
- data/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rb +6 -360
- data/lib/modern_treasury/models/ledger_balance.rb +45 -0
- data/lib/modern_treasury/models/ledger_balances.rb +38 -0
- data/lib/modern_treasury/models/ledger_entry.rb +3 -183
- data/lib/modern_treasury/models/ledger_entry_create_request.rb +98 -0
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +48 -8
- data/lib/modern_treasury/models/ledger_transaction.rb +14 -6
- data/lib/modern_treasury/models/ledger_transaction_create_params.rb +2 -212
- data/lib/modern_treasury/models/ledger_transaction_create_request.rb +123 -0
- data/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rb +0 -1
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +44 -7
- data/lib/modern_treasury/models/ledger_transaction_update_params.rb +5 -104
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +15 -193
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +78 -0
- data/lib/modern_treasury/models/legal_entity_association.rb +1 -0
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +4 -448
- data/lib/modern_treasury/models/legal_entity_create_params.rb +10 -618
- data/lib/modern_treasury/models/legal_entity_update_params.rb +6 -165
- data/lib/modern_treasury/models/line_item.rb +3 -29
- data/lib/modern_treasury/models/payment_action_list_params.rb +1 -0
- data/lib/modern_treasury/models/payment_order.rb +13 -102
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +24 -477
- data/lib/modern_treasury/models/payment_order_create_params.rb +24 -479
- data/lib/modern_treasury/models/payment_order_update_params.rb +21 -248
- data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +3 -232
- data/lib/modern_treasury/models/payment_reference.rb +7 -1
- data/lib/modern_treasury/models/return_list_params.rb +5 -6
- data/lib/modern_treasury/models/return_object.rb +7 -3
- data/lib/modern_treasury/models/routing_detail.rb +3 -93
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +3 -55
- data/lib/modern_treasury/models/transaction.rb +5 -73
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +0 -1
- data/lib/modern_treasury/models/virtual_account_create_params.rb +3 -117
- data/lib/modern_treasury/models.rb +31 -6
- data/lib/modern_treasury/resources/bulk_requests.rb +1 -1
- data/lib/modern_treasury/resources/counterparties.rb +20 -14
- data/lib/modern_treasury/resources/expected_payments.rb +10 -4
- data/lib/modern_treasury/resources/external_accounts.rb +23 -17
- data/lib/modern_treasury/resources/internal_accounts.rb +34 -0
- data/lib/modern_treasury/resources/invoices.rb +2 -2
- data/lib/modern_treasury/resources/ledger_account_categories.rb +1 -1
- data/lib/modern_treasury/resources/ledger_accounts.rb +1 -1
- data/lib/modern_treasury/resources/ledger_entries.rb +1 -1
- data/lib/modern_treasury/resources/ledger_transactions.rb +5 -5
- data/lib/modern_treasury/resources/legal_entities.rb +4 -4
- data/lib/modern_treasury/resources/legal_entity_associations.rb +1 -1
- data/lib/modern_treasury/resources/payment_orders/reversals.rb +1 -1
- data/lib/modern_treasury/resources/payment_orders.rb +5 -5
- data/lib/modern_treasury/resources/returns.rb +1 -1
- data/lib/modern_treasury/resources/virtual_accounts.rb +1 -1
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +16 -6
- data/rbi/modern_treasury/client.rbi +0 -9
- data/rbi/modern_treasury/internal/transport/base_client.rbi +1 -1
- data/rbi/modern_treasury/models/accounting.rbi +48 -0
- data/rbi/modern_treasury/models/address.rbi +107 -0
- data/rbi/modern_treasury/models/address_request.rbi +76 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +701 -3140
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +511 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +17 -1314
- data/rbi/modern_treasury/models/contact_detail.rbi +124 -0
- data/rbi/modern_treasury/models/contact_detail_create_request.rbi +99 -0
- data/rbi/modern_treasury/models/counterparty.rbi +24 -264
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +47 -1718
- data/rbi/modern_treasury/models/counterparty_list_params.rbi +11 -0
- data/rbi/modern_treasury/models/document.rbi +6 -16
- data/rbi/modern_treasury/models/document_create_params.rbi +0 -10
- data/rbi/modern_treasury/models/document_list_params.rbi +6 -16
- data/rbi/modern_treasury/models/expected_payment.rbi +8 -0
- data/rbi/modern_treasury/models/expected_payment_create_params.rbi +12 -419
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +9 -0
- data/rbi/modern_treasury/models/expected_payment_update_params.rbi +8 -0
- data/rbi/modern_treasury/models/external_account.rbi +15 -244
- data/rbi/modern_treasury/models/external_account_create_params.rbi +20 -400
- data/rbi/modern_treasury/models/external_account_list_params.rbi +11 -0
- data/rbi/modern_treasury/models/external_account_update_params.rbi +4 -86
- data/rbi/modern_treasury/models/foreign_exchange_quote.rbi +4 -99
- data/rbi/modern_treasury/models/foreign_exchange_rate.rbi +96 -0
- data/rbi/modern_treasury/models/identification_create_request.rbi +212 -0
- data/rbi/modern_treasury/models/internal_account.rbi +4 -115
- data/rbi/modern_treasury/models/internal_account_update_account_capability_params.rbi +54 -0
- data/rbi/modern_treasury/models/internal_account_update_account_capability_response.rbi +304 -0
- data/rbi/modern_treasury/models/invoice.rbi +3 -128
- data/rbi/modern_treasury/models/invoice_create_params.rbi +4 -139
- data/rbi/modern_treasury/models/invoice_update_params.rbi +4 -139
- data/rbi/modern_treasury/models/ledger_account.rbi +12 -218
- data/rbi/modern_treasury/models/ledger_account_balance_monitor.rbi +4 -303
- data/rbi/modern_treasury/models/ledger_account_category.rbi +4 -301
- data/rbi/modern_treasury/models/ledger_account_category_list_params.rbi +14 -7
- data/rbi/modern_treasury/models/ledger_account_category_retrieve_params.rbi +6 -3
- data/rbi/modern_treasury/models/ledger_account_create_params.rbi +5 -173
- data/rbi/modern_treasury/models/ledger_account_create_request.rbi +194 -0
- data/rbi/modern_treasury/models/ledger_account_statement_create_response.rbi +8 -612
- data/rbi/modern_treasury/models/ledger_account_statement_retrieve_response.rbi +8 -612
- data/rbi/modern_treasury/models/ledger_balance.rbi +66 -0
- data/rbi/modern_treasury/models/ledger_balances.rbi +75 -0
- data/rbi/modern_treasury/models/ledger_entry.rbi +4 -309
- data/rbi/modern_treasury/models/ledger_entry_create_request.rbi +137 -0
- data/rbi/modern_treasury/models/ledger_entry_list_params.rbi +99 -16
- data/rbi/modern_treasury/models/ledger_transaction.rbi +17 -11
- data/rbi/modern_treasury/models/ledger_transaction_create_params.rbi +5 -383
- data/rbi/modern_treasury/models/ledger_transaction_create_request.rbi +258 -0
- data/rbi/modern_treasury/models/ledger_transaction_create_reversal_params.rbi +0 -5
- data/rbi/modern_treasury/models/ledger_transaction_list_params.rbi +93 -18
- data/rbi/modern_treasury/models/ledger_transaction_update_params.rbi +7 -158
- data/rbi/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +18 -316
- data/rbi/modern_treasury/models/legal_entity_address_create_request.rbi +157 -0
- data/rbi/modern_treasury/models/legal_entity_association.rbi +5 -0
- data/rbi/modern_treasury/models/legal_entity_association_create_params.rbi +9 -917
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +17 -1297
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +8 -378
- data/rbi/modern_treasury/models/line_item.rbi +4 -52
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order.rbi +43 -159
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +28 -882
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +28 -887
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +24 -460
- data/rbi/modern_treasury/models/payment_orders/reversal_create_params.rbi +4 -415
- data/rbi/modern_treasury/models/payment_reference.rbi +35 -5
- data/rbi/modern_treasury/models/return_list_params.rbi +6 -11
- data/rbi/modern_treasury/models/return_object.rbi +35 -12
- data/rbi/modern_treasury/models/routing_detail.rbi +4 -113
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +4 -87
- data/rbi/modern_treasury/models/transaction.rbi +14 -103
- data/rbi/modern_treasury/models/transactions/transaction_line_item.rbi +0 -5
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +4 -203
- data/rbi/modern_treasury/models.rbi +36 -6
- data/rbi/modern_treasury/resources/bulk_requests.rbi +2 -2
- data/rbi/modern_treasury/resources/counterparties.rbi +20 -12
- data/rbi/modern_treasury/resources/documents.rbi +2 -2
- data/rbi/modern_treasury/resources/expected_payments.rbi +9 -1
- data/rbi/modern_treasury/resources/external_accounts.rbi +29 -22
- data/rbi/modern_treasury/resources/internal_accounts.rbi +24 -0
- data/rbi/modern_treasury/resources/invoices.rbi +2 -8
- data/rbi/modern_treasury/resources/ledger_account_categories.rbi +7 -3
- data/rbi/modern_treasury/resources/ledger_accounts.rbi +1 -1
- data/rbi/modern_treasury/resources/ledger_entries.rbi +9 -2
- data/rbi/modern_treasury/resources/ledger_transactions.rbi +13 -13
- data/rbi/modern_treasury/resources/legal_entities.rbi +4 -8
- data/rbi/modern_treasury/resources/legal_entity_associations.rbi +1 -2
- data/rbi/modern_treasury/resources/payment_orders/reversals.rbi +1 -1
- data/rbi/modern_treasury/resources/payment_orders.rbi +5 -8
- data/rbi/modern_treasury/resources/returns.rbi +2 -2
- data/rbi/modern_treasury/resources/virtual_accounts.rbi +1 -2
- data/sig/modern_treasury/client.rbs +0 -6
- data/sig/modern_treasury/internal/transport/base_client.rbs +1 -1
- data/sig/modern_treasury/models/accounting.rbs +15 -0
- data/sig/modern_treasury/models/address.rbs +70 -0
- data/sig/modern_treasury/models/address_request.rbs +45 -0
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +88 -1089
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +220 -0
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +21 -548
- data/sig/modern_treasury/models/contact_detail.rbs +67 -0
- data/sig/modern_treasury/models/contact_detail_create_request.rbs +43 -0
- data/sig/modern_treasury/models/counterparty.rbs +20 -141
- data/sig/modern_treasury/models/counterparty_create_params.rbs +49 -737
- data/sig/modern_treasury/models/counterparty_list_params.rbs +7 -0
- data/sig/modern_treasury/models/document.rbs +0 -4
- data/sig/modern_treasury/models/document_create_params.rbs +0 -4
- data/sig/modern_treasury/models/document_list_params.rbs +0 -4
- data/sig/modern_treasury/models/expected_payment.rbs +5 -0
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +11 -173
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +7 -0
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +5 -0
- data/sig/modern_treasury/models/external_account.rbs +13 -139
- data/sig/modern_treasury/models/external_account_create_params.rbs +23 -189
- data/sig/modern_treasury/models/external_account_list_params.rbs +7 -0
- data/sig/modern_treasury/models/external_account_update_params.rbs +6 -48
- data/sig/modern_treasury/models/foreign_exchange_quote.rbs +4 -51
- data/sig/modern_treasury/models/foreign_exchange_rate.rbs +50 -0
- data/sig/modern_treasury/models/identification_create_request.rbs +93 -0
- data/sig/modern_treasury/models/internal_account.rbs +4 -71
- data/sig/modern_treasury/models/internal_account_update_account_capability_params.rbs +28 -0
- data/sig/modern_treasury/models/internal_account_update_account_capability_response.rbs +137 -0
- data/sig/modern_treasury/models/invoice.rbs +4 -68
- data/sig/modern_treasury/models/invoice_create_params.rbs +6 -70
- data/sig/modern_treasury/models/invoice_update_params.rbs +6 -70
- data/sig/modern_treasury/models/ledger_account.rbs +12 -123
- data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +4 -142
- data/sig/modern_treasury/models/ledger_account_category.rbs +4 -142
- data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +5 -5
- data/sig/modern_treasury/models/ledger_account_create_params.rbs +4 -84
- data/sig/modern_treasury/models/ledger_account_create_request.rbs +89 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_response.rbs +8 -284
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_response.rbs +8 -284
- data/sig/modern_treasury/models/ledger_balance.rbs +40 -0
- data/sig/modern_treasury/models/ledger_balances.rbs +30 -0
- data/sig/modern_treasury/models/ledger_entry.rbs +4 -142
- data/sig/modern_treasury/models/ledger_entry_create_request.rbs +62 -0
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +21 -3
- data/sig/modern_treasury/models/ledger_transaction.rbs +5 -2
- data/sig/modern_treasury/models/ledger_transaction_create_params.rbs +4 -165
- data/sig/modern_treasury/models/ledger_transaction_create_request.rbs +109 -0
- data/sig/modern_treasury/models/ledger_transaction_create_reversal_params.rbs +0 -2
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +21 -5
- data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +6 -67
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +9 -144
- data/sig/modern_treasury/models/legal_entity_address_create_request.rbs +68 -0
- data/sig/modern_treasury/models/legal_entity_association.rbs +3 -1
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +9 -380
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +21 -548
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +12 -168
- data/sig/modern_treasury/models/line_item.rbs +4 -16
- data/sig/modern_treasury/models/payment_action_list_params.rbs +2 -1
- data/sig/modern_treasury/models/payment_order.rbs +22 -69
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +35 -380
- data/sig/modern_treasury/models/payment_order_create_params.rbs +35 -384
- data/sig/modern_treasury/models/payment_order_update_params.rbs +29 -207
- data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +6 -173
- data/sig/modern_treasury/models/payment_reference.rbs +14 -2
- data/sig/modern_treasury/models/return_list_params.rbs +1 -6
- data/sig/modern_treasury/models/return_object.rbs +15 -10
- data/sig/modern_treasury/models/routing_detail.rbs +4 -71
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +6 -48
- data/sig/modern_treasury/models/transaction.rbs +8 -53
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +0 -2
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +6 -95
- data/sig/modern_treasury/models.rbs +30 -6
- data/sig/modern_treasury/resources/counterparties.rbs +2 -0
- data/sig/modern_treasury/resources/expected_payments.rbs +4 -1
- data/sig/modern_treasury/resources/external_accounts.rbs +6 -4
- data/sig/modern_treasury/resources/internal_accounts.rbs +7 -0
- data/sig/modern_treasury/resources/invoices.rbs +2 -2
- data/sig/modern_treasury/resources/ledger_account_categories.rbs +1 -1
- data/sig/modern_treasury/resources/ledger_accounts.rbs +1 -1
- data/sig/modern_treasury/resources/ledger_transactions.rbs +4 -4
- data/sig/modern_treasury/resources/legal_entities.rbs +4 -4
- data/sig/modern_treasury/resources/legal_entity_associations.rbs +1 -1
- data/sig/modern_treasury/resources/payment_orders/reversals.rbs +1 -1
- data/sig/modern_treasury/resources/payment_orders.rbs +5 -5
- data/sig/modern_treasury/resources/virtual_accounts.rbs +1 -1
- metadata +52 -22
- data/lib/modern_treasury/models/paper_item.rb +0 -178
- data/lib/modern_treasury/models/paper_item_list_params.rb +0 -56
- data/lib/modern_treasury/models/paper_item_retrieve_params.rb +0 -14
- data/lib/modern_treasury/resources/ledger_event_handlers.rb +0 -14
- data/lib/modern_treasury/resources/ledgerable_events.rb +0 -14
- data/lib/modern_treasury/resources/paper_items.rb +0 -68
- data/rbi/modern_treasury/models/paper_item.rbi +0 -204
- data/rbi/modern_treasury/models/paper_item_list_params.rbi +0 -88
- data/rbi/modern_treasury/models/paper_item_retrieve_params.rbi +0 -32
- data/rbi/modern_treasury/resources/ledger_event_handlers.rbi +0 -12
- data/rbi/modern_treasury/resources/ledgerable_events.rbi +0 -12
- data/rbi/modern_treasury/resources/paper_items.rbi +0 -51
- data/sig/modern_treasury/models/paper_item.rbs +0 -122
- data/sig/modern_treasury/models/paper_item_list_params.rbs +0 -54
- data/sig/modern_treasury/models/paper_item_retrieve_params.rbs +0 -15
- data/sig/modern_treasury/resources/ledger_event_handlers.rbs +0 -7
- data/sig/modern_treasury/resources/ledgerable_events.rbs +0 -7
- data/sig/modern_treasury/resources/paper_items.rbs +0 -21
|
@@ -484,7 +484,11 @@ module ModernTreasury
|
|
|
484
484
|
CURRENCYCLOUD_PAYMENT_ID = :currencycloud_payment_id
|
|
485
485
|
DC_BANK_TRANSACTION_ID = :dc_bank_transaction_id
|
|
486
486
|
EFT_TRACE_NUMBER = :eft_trace_number
|
|
487
|
+
EVOLVE_CORE_BATCH = :evolve_core_batch
|
|
488
|
+
EVOLVE_CORE_FILE_KEY = :evolve_core_file_key
|
|
489
|
+
EVOLVE_CORE_SEQ = :evolve_core_seq
|
|
487
490
|
EVOLVE_TRANSACTION_ID = :evolve_transaction_id
|
|
491
|
+
FAKE_VENDOR_PAYMENT_ID = :fake_vendor_payment_id
|
|
488
492
|
FEDWIRE_IMAD = :fedwire_imad
|
|
489
493
|
FEDWIRE_OMAD = :fedwire_omad
|
|
490
494
|
FIRST_REPUBLIC_INTERNAL_ID = :first_republic_internal_id
|
|
@@ -517,7 +521,6 @@ module ModernTreasury
|
|
|
517
521
|
PNC_REQUEST_FOR_PAYMENT_ID = :pnc_request_for_payment_id
|
|
518
522
|
PNC_TRANSACTION_REFERENCE_NUMBER = :pnc_transaction_reference_number
|
|
519
523
|
RBC_WIRE_REFERENCE_ID = :rbc_wire_reference_id
|
|
520
|
-
RSPEC_VENDOR_PAYMENT_ID = :rspec_vendor_payment_id
|
|
521
524
|
RTP_INSTRUCTION_ID = :rtp_instruction_id
|
|
522
525
|
SIGNET_API_REFERENCE_ID = :signet_api_reference_id
|
|
523
526
|
SIGNET_CONFIRMATION_ID = :signet_confirmation_id
|
|
@@ -538,6 +541,9 @@ module ModernTreasury
|
|
|
538
541
|
WELLS_FARGO_PAYMENT_ID = :wells_fargo_payment_id
|
|
539
542
|
WELLS_FARGO_TRACE_NUMBER = :wells_fargo_trace_number
|
|
540
543
|
WELLS_FARGO_UETR = :wells_fargo_uetr
|
|
544
|
+
WESTERN_ALLIANCE_PAYMENT_ID = :western_alliance_payment_id
|
|
545
|
+
WESTERN_ALLIANCE_TRANSACTION_ID = :western_alliance_transaction_id
|
|
546
|
+
WESTERN_ALLIANCE_WIRE_CONFIRMATION_NUMBER = :western_alliance_wire_confirmation_number
|
|
541
547
|
|
|
542
548
|
# @!method self.values
|
|
543
549
|
# @return [Array<Symbol>]
|
|
@@ -551,7 +557,6 @@ module ModernTreasury
|
|
|
551
557
|
extend ModernTreasury::Internal::Type::Enum
|
|
552
558
|
|
|
553
559
|
INCOMING_PAYMENT_DETAIL = :incoming_payment_detail
|
|
554
|
-
PAPER_ITEM = :paper_item
|
|
555
560
|
PAYMENT_ORDER = :payment_order
|
|
556
561
|
RETURN = :return
|
|
557
562
|
REVERSAL = :reversal
|
|
@@ -607,7 +612,6 @@ module ModernTreasury
|
|
|
607
612
|
EFT = :eft
|
|
608
613
|
INTERAC = :interac
|
|
609
614
|
MANUAL = :manual
|
|
610
|
-
PAPER_ITEM = :paper_item
|
|
611
615
|
SEPA = :sepa
|
|
612
616
|
WIRE = :wire
|
|
613
617
|
|
|
@@ -11,8 +11,8 @@ module ModernTreasury
|
|
|
11
11
|
|
|
12
12
|
# @!attribute bank_address
|
|
13
13
|
#
|
|
14
|
-
# @return [ModernTreasury::Models::
|
|
15
|
-
required :bank_address, -> { ModernTreasury::
|
|
14
|
+
# @return [ModernTreasury::Models::Address, nil]
|
|
15
|
+
required :bank_address, -> { ModernTreasury::Address }, nil?: true
|
|
16
16
|
|
|
17
17
|
# @!attribute bank_name
|
|
18
18
|
# The name of the bank.
|
|
@@ -74,7 +74,7 @@ module ModernTreasury
|
|
|
74
74
|
#
|
|
75
75
|
# @param id [String]
|
|
76
76
|
#
|
|
77
|
-
# @param bank_address [ModernTreasury::Models::
|
|
77
|
+
# @param bank_address [ModernTreasury::Models::Address, nil]
|
|
78
78
|
#
|
|
79
79
|
# @param bank_name [String] The name of the bank.
|
|
80
80
|
#
|
|
@@ -94,96 +94,6 @@ module ModernTreasury
|
|
|
94
94
|
#
|
|
95
95
|
# @param updated_at [Time]
|
|
96
96
|
|
|
97
|
-
# @see ModernTreasury::Models::RoutingDetail#bank_address
|
|
98
|
-
class BankAddress < ModernTreasury::Internal::Type::BaseModel
|
|
99
|
-
# @!attribute id
|
|
100
|
-
#
|
|
101
|
-
# @return [String]
|
|
102
|
-
required :id, String
|
|
103
|
-
|
|
104
|
-
# @!attribute country
|
|
105
|
-
# Country code conforms to [ISO 3166-1 alpha-2]
|
|
106
|
-
#
|
|
107
|
-
# @return [String, nil]
|
|
108
|
-
required :country, String, nil?: true
|
|
109
|
-
|
|
110
|
-
# @!attribute created_at
|
|
111
|
-
#
|
|
112
|
-
# @return [Time]
|
|
113
|
-
required :created_at, Time
|
|
114
|
-
|
|
115
|
-
# @!attribute line1
|
|
116
|
-
#
|
|
117
|
-
# @return [String, nil]
|
|
118
|
-
required :line1, String, nil?: true
|
|
119
|
-
|
|
120
|
-
# @!attribute line2
|
|
121
|
-
#
|
|
122
|
-
# @return [String, nil]
|
|
123
|
-
required :line2, String, nil?: true
|
|
124
|
-
|
|
125
|
-
# @!attribute live_mode
|
|
126
|
-
# This field will be true if this object exists in the live environment or false
|
|
127
|
-
# if it exists in the test environment.
|
|
128
|
-
#
|
|
129
|
-
# @return [Boolean]
|
|
130
|
-
required :live_mode, ModernTreasury::Internal::Type::Boolean
|
|
131
|
-
|
|
132
|
-
# @!attribute locality
|
|
133
|
-
# Locality or City.
|
|
134
|
-
#
|
|
135
|
-
# @return [String, nil]
|
|
136
|
-
required :locality, String, nil?: true
|
|
137
|
-
|
|
138
|
-
# @!attribute object
|
|
139
|
-
#
|
|
140
|
-
# @return [String]
|
|
141
|
-
required :object, String
|
|
142
|
-
|
|
143
|
-
# @!attribute postal_code
|
|
144
|
-
# The postal code of the address.
|
|
145
|
-
#
|
|
146
|
-
# @return [String, nil]
|
|
147
|
-
required :postal_code, String, nil?: true
|
|
148
|
-
|
|
149
|
-
# @!attribute region
|
|
150
|
-
# Region or State.
|
|
151
|
-
#
|
|
152
|
-
# @return [String, nil]
|
|
153
|
-
required :region, String, nil?: true
|
|
154
|
-
|
|
155
|
-
# @!attribute updated_at
|
|
156
|
-
#
|
|
157
|
-
# @return [Time]
|
|
158
|
-
required :updated_at, Time
|
|
159
|
-
|
|
160
|
-
# @!method initialize(id:, country:, created_at:, line1:, line2:, live_mode:, locality:, object:, postal_code:, region:, updated_at:)
|
|
161
|
-
# Some parameter documentations has been truncated, see
|
|
162
|
-
# {ModernTreasury::Models::RoutingDetail::BankAddress} for more details.
|
|
163
|
-
#
|
|
164
|
-
# @param id [String]
|
|
165
|
-
#
|
|
166
|
-
# @param country [String, nil] Country code conforms to [ISO 3166-1 alpha-2]
|
|
167
|
-
#
|
|
168
|
-
# @param created_at [Time]
|
|
169
|
-
#
|
|
170
|
-
# @param line1 [String, nil]
|
|
171
|
-
#
|
|
172
|
-
# @param line2 [String, nil]
|
|
173
|
-
#
|
|
174
|
-
# @param live_mode [Boolean] This field will be true if this object exists in the live environment or false i
|
|
175
|
-
#
|
|
176
|
-
# @param locality [String, nil] Locality or City.
|
|
177
|
-
#
|
|
178
|
-
# @param object [String]
|
|
179
|
-
#
|
|
180
|
-
# @param postal_code [String, nil] The postal code of the address.
|
|
181
|
-
#
|
|
182
|
-
# @param region [String, nil] Region or State.
|
|
183
|
-
#
|
|
184
|
-
# @param updated_at [Time]
|
|
185
|
-
end
|
|
186
|
-
|
|
187
97
|
# If the routing detail is to be used for a specific payment type this field will
|
|
188
98
|
# be populated, otherwise null.
|
|
189
99
|
#
|
|
@@ -7,8 +7,8 @@ module ModernTreasury
|
|
|
7
7
|
# @!attribute bank_address
|
|
8
8
|
# The address of the bank.
|
|
9
9
|
#
|
|
10
|
-
# @return [ModernTreasury::Models::
|
|
11
|
-
optional :bank_address, -> { ModernTreasury::
|
|
10
|
+
# @return [ModernTreasury::Models::AddressRequest, nil]
|
|
11
|
+
optional :bank_address, -> { ModernTreasury::AddressRequest }
|
|
12
12
|
|
|
13
13
|
# @!attribute bank_name
|
|
14
14
|
# The name of the bank.
|
|
@@ -56,7 +56,7 @@ module ModernTreasury
|
|
|
56
56
|
# Some parameter documentations has been truncated, see
|
|
57
57
|
# {ModernTreasury::Models::RoutingNumberLookupRequest} for more details.
|
|
58
58
|
#
|
|
59
|
-
# @param bank_address [ModernTreasury::Models::
|
|
59
|
+
# @param bank_address [ModernTreasury::Models::AddressRequest] The address of the bank.
|
|
60
60
|
#
|
|
61
61
|
# @param bank_name [String] The name of the bank.
|
|
62
62
|
#
|
|
@@ -68,58 +68,6 @@ module ModernTreasury
|
|
|
68
68
|
#
|
|
69
69
|
# @param supported_payment_types [Array<Symbol, ModernTreasury::Models::RoutingNumberLookupRequest::SupportedPaymentType>] An array of payment types that are supported for this routing number. This can i
|
|
70
70
|
|
|
71
|
-
# @see ModernTreasury::Models::RoutingNumberLookupRequest#bank_address
|
|
72
|
-
class BankAddress < ModernTreasury::Internal::Type::BaseModel
|
|
73
|
-
# @!attribute country
|
|
74
|
-
# Country code conforms to [ISO 3166-1 alpha-2]
|
|
75
|
-
#
|
|
76
|
-
# @return [String, nil]
|
|
77
|
-
optional :country, String, nil?: true
|
|
78
|
-
|
|
79
|
-
# @!attribute line1
|
|
80
|
-
#
|
|
81
|
-
# @return [String, nil]
|
|
82
|
-
optional :line1, String, nil?: true
|
|
83
|
-
|
|
84
|
-
# @!attribute line2
|
|
85
|
-
#
|
|
86
|
-
# @return [String, nil]
|
|
87
|
-
optional :line2, String, nil?: true
|
|
88
|
-
|
|
89
|
-
# @!attribute locality
|
|
90
|
-
# Locality or City.
|
|
91
|
-
#
|
|
92
|
-
# @return [String, nil]
|
|
93
|
-
optional :locality, String, nil?: true
|
|
94
|
-
|
|
95
|
-
# @!attribute postal_code
|
|
96
|
-
# The postal code of the address.
|
|
97
|
-
#
|
|
98
|
-
# @return [String, nil]
|
|
99
|
-
optional :postal_code, String, nil?: true
|
|
100
|
-
|
|
101
|
-
# @!attribute region
|
|
102
|
-
# Region or State.
|
|
103
|
-
#
|
|
104
|
-
# @return [String, nil]
|
|
105
|
-
optional :region, String, nil?: true
|
|
106
|
-
|
|
107
|
-
# @!method initialize(country: nil, line1: nil, line2: nil, locality: nil, postal_code: nil, region: nil)
|
|
108
|
-
# The address of the bank.
|
|
109
|
-
#
|
|
110
|
-
# @param country [String, nil] Country code conforms to [ISO 3166-1 alpha-2]
|
|
111
|
-
#
|
|
112
|
-
# @param line1 [String, nil]
|
|
113
|
-
#
|
|
114
|
-
# @param line2 [String, nil]
|
|
115
|
-
#
|
|
116
|
-
# @param locality [String, nil] Locality or City.
|
|
117
|
-
#
|
|
118
|
-
# @param postal_code [String, nil] The postal code of the address.
|
|
119
|
-
#
|
|
120
|
-
# @param region [String, nil] Region or State.
|
|
121
|
-
end
|
|
122
|
-
|
|
123
71
|
# The type of routing number. See
|
|
124
72
|
# https://docs.moderntreasury.com/platform/reference/routing-detail-object for
|
|
125
73
|
# more details. In sandbox mode we currently only support `aba` and `swift` with
|
|
@@ -68,8 +68,8 @@ module ModernTreasury
|
|
|
68
68
|
# @!attribute foreign_exchange_rate
|
|
69
69
|
# Associated serialized foreign exchange rate information.
|
|
70
70
|
#
|
|
71
|
-
# @return [ModernTreasury::Models::
|
|
72
|
-
required :foreign_exchange_rate, -> { ModernTreasury::
|
|
71
|
+
# @return [ModernTreasury::Models::ForeignExchangeRate, nil]
|
|
72
|
+
required :foreign_exchange_rate, -> { ModernTreasury::ForeignExchangeRate }, nil?: true
|
|
73
73
|
|
|
74
74
|
# @!attribute internal_account_id
|
|
75
75
|
# The ID of the relevant Internal Account.
|
|
@@ -193,7 +193,7 @@ module ModernTreasury
|
|
|
193
193
|
#
|
|
194
194
|
# @param discarded_at [Time, nil]
|
|
195
195
|
#
|
|
196
|
-
# @param foreign_exchange_rate [ModernTreasury::Models::
|
|
196
|
+
# @param foreign_exchange_rate [ModernTreasury::Models::ForeignExchangeRate, nil] Associated serialized foreign exchange rate information.
|
|
197
197
|
#
|
|
198
198
|
# @param internal_account_id [String] The ID of the relevant Internal Account.
|
|
199
199
|
#
|
|
@@ -223,75 +223,6 @@ module ModernTreasury
|
|
|
223
223
|
#
|
|
224
224
|
# @param vendor_description [String, nil] The transaction detail text that often appears in on your bank statement and in
|
|
225
225
|
|
|
226
|
-
# @see ModernTreasury::Models::Transaction#foreign_exchange_rate
|
|
227
|
-
class ForeignExchangeRate < ModernTreasury::Internal::Type::BaseModel
|
|
228
|
-
# @!attribute base_amount
|
|
229
|
-
# Amount in the lowest denomination of the `base_currency` to convert, often
|
|
230
|
-
# called the "sell" amount.
|
|
231
|
-
#
|
|
232
|
-
# @return [Integer]
|
|
233
|
-
required :base_amount, Integer
|
|
234
|
-
|
|
235
|
-
# @!attribute base_currency
|
|
236
|
-
# Currency to convert, often called the "sell" currency.
|
|
237
|
-
#
|
|
238
|
-
# @return [Symbol, ModernTreasury::Models::Currency]
|
|
239
|
-
required :base_currency, enum: -> { ModernTreasury::Currency }
|
|
240
|
-
|
|
241
|
-
# @!attribute exponent
|
|
242
|
-
# The exponent component of the rate. The decimal is calculated as `value` / (10 ^
|
|
243
|
-
# `exponent`).
|
|
244
|
-
#
|
|
245
|
-
# @return [Integer]
|
|
246
|
-
required :exponent, Integer
|
|
247
|
-
|
|
248
|
-
# @!attribute rate_string
|
|
249
|
-
# A string representation of the rate.
|
|
250
|
-
#
|
|
251
|
-
# @return [String]
|
|
252
|
-
required :rate_string, String
|
|
253
|
-
|
|
254
|
-
# @!attribute target_amount
|
|
255
|
-
# Amount in the lowest denomination of the `target_currency`, often called the
|
|
256
|
-
# "buy" amount.
|
|
257
|
-
#
|
|
258
|
-
# @return [Integer]
|
|
259
|
-
required :target_amount, Integer
|
|
260
|
-
|
|
261
|
-
# @!attribute target_currency
|
|
262
|
-
# Currency to convert the `base_currency` to, often called the "buy" currency.
|
|
263
|
-
#
|
|
264
|
-
# @return [Symbol, ModernTreasury::Models::Currency]
|
|
265
|
-
required :target_currency, enum: -> { ModernTreasury::Currency }
|
|
266
|
-
|
|
267
|
-
# @!attribute value
|
|
268
|
-
# The whole number component of the rate. The decimal is calculated as `value` /
|
|
269
|
-
# (10 ^ `exponent`).
|
|
270
|
-
#
|
|
271
|
-
# @return [Integer]
|
|
272
|
-
required :value, Integer
|
|
273
|
-
|
|
274
|
-
# @!method initialize(base_amount:, base_currency:, exponent:, rate_string:, target_amount:, target_currency:, value:)
|
|
275
|
-
# Some parameter documentations has been truncated, see
|
|
276
|
-
# {ModernTreasury::Models::Transaction::ForeignExchangeRate} for more details.
|
|
277
|
-
#
|
|
278
|
-
# Associated serialized foreign exchange rate information.
|
|
279
|
-
#
|
|
280
|
-
# @param base_amount [Integer] Amount in the lowest denomination of the `base_currency` to convert, often calle
|
|
281
|
-
#
|
|
282
|
-
# @param base_currency [Symbol, ModernTreasury::Models::Currency] Currency to convert, often called the "sell" currency.
|
|
283
|
-
#
|
|
284
|
-
# @param exponent [Integer] The exponent component of the rate. The decimal is calculated as `value` / (10 ^
|
|
285
|
-
#
|
|
286
|
-
# @param rate_string [String] A string representation of the rate.
|
|
287
|
-
#
|
|
288
|
-
# @param target_amount [Integer] Amount in the lowest denomination of the `target_currency`, often called the "bu
|
|
289
|
-
#
|
|
290
|
-
# @param target_currency [Symbol, ModernTreasury::Models::Currency] Currency to convert the `base_currency` to, often called the "buy" currency.
|
|
291
|
-
#
|
|
292
|
-
# @param value [Integer] The whole number component of the rate. The decimal is calculated as `value` / (
|
|
293
|
-
end
|
|
294
|
-
|
|
295
226
|
# The type of the transaction. Examples could be
|
|
296
227
|
# `card, `ach`, `wire`, `check`, `rtp`, `book`, or `sen`.
|
|
297
228
|
#
|
|
@@ -361,6 +292,7 @@ module ModernTreasury
|
|
|
361
292
|
DC_BANK = :dc_bank
|
|
362
293
|
DWOLLA = :dwolla
|
|
363
294
|
EVOLVE = :evolve
|
|
295
|
+
FAKE_VENDOR = :fake_vendor
|
|
364
296
|
GOLDMAN_SACHS = :goldman_sachs
|
|
365
297
|
HIFI = :hifi
|
|
366
298
|
ISO20022 = :iso20022
|
|
@@ -369,12 +301,12 @@ module ModernTreasury
|
|
|
369
301
|
PAYPAL = :paypal
|
|
370
302
|
PLAID = :plaid
|
|
371
303
|
PNC = :pnc
|
|
372
|
-
RSPEC_VENDOR = :rspec_vendor
|
|
373
304
|
SIGNET = :signet
|
|
374
305
|
SILVERGATE = :silvergate
|
|
375
306
|
SWIFT = :swift
|
|
376
307
|
US_BANK = :us_bank
|
|
377
308
|
USER = :user
|
|
309
|
+
WESTERN_ALLIANCE = :western_alliance
|
|
378
310
|
|
|
379
311
|
# @!method self.values
|
|
380
312
|
# @return [Array<Symbol>]
|
|
@@ -152,7 +152,6 @@ module ModernTreasury
|
|
|
152
152
|
extend ModernTreasury::Internal::Type::Enum
|
|
153
153
|
|
|
154
154
|
INCOMING_PAYMENT_DETAIL = :incoming_payment_detail
|
|
155
|
-
PAPER_ITEM = :paper_item
|
|
156
155
|
PAYMENT_ORDER = :payment_order
|
|
157
156
|
PAYMENT_ORDER_ATTEMPT = :payment_order_attempt
|
|
158
157
|
RETURN = :return
|
|
@@ -61,8 +61,8 @@ module ModernTreasury
|
|
|
61
61
|
# The resulting ledger account is linked to the virtual account for auto-ledgering
|
|
62
62
|
# IPDs.
|
|
63
63
|
#
|
|
64
|
-
# @return [ModernTreasury::Models::
|
|
65
|
-
optional :ledger_account, -> { ModernTreasury::
|
|
64
|
+
# @return [ModernTreasury::Models::LedgerAccountCreateRequest, nil]
|
|
65
|
+
optional :ledger_account, -> { ModernTreasury::LedgerAccountCreateRequest }
|
|
66
66
|
|
|
67
67
|
# @!attribute metadata
|
|
68
68
|
# Additional data represented as key-value pairs. Both the key and value must be
|
|
@@ -98,7 +98,7 @@ module ModernTreasury
|
|
|
98
98
|
#
|
|
99
99
|
# @param description [String] An optional description for internal use.
|
|
100
100
|
#
|
|
101
|
-
# @param ledger_account [ModernTreasury::Models::
|
|
101
|
+
# @param ledger_account [ModernTreasury::Models::LedgerAccountCreateRequest] Specifies a ledger account object that will be created with the virtual account.
|
|
102
102
|
#
|
|
103
103
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
|
104
104
|
#
|
|
@@ -157,120 +157,6 @@ module ModernTreasury
|
|
|
157
157
|
end
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
-
class LedgerAccount < ModernTreasury::Internal::Type::BaseModel
|
|
161
|
-
# @!attribute currency
|
|
162
|
-
# The currency of the ledger account.
|
|
163
|
-
#
|
|
164
|
-
# @return [String]
|
|
165
|
-
required :currency, String
|
|
166
|
-
|
|
167
|
-
# @!attribute ledger_id
|
|
168
|
-
# The id of the ledger that this account belongs to.
|
|
169
|
-
#
|
|
170
|
-
# @return [String]
|
|
171
|
-
required :ledger_id, String
|
|
172
|
-
|
|
173
|
-
# @!attribute name
|
|
174
|
-
# The name of the ledger account.
|
|
175
|
-
#
|
|
176
|
-
# @return [String]
|
|
177
|
-
required :name, String
|
|
178
|
-
|
|
179
|
-
# @!attribute normal_balance
|
|
180
|
-
# The normal balance of the ledger account.
|
|
181
|
-
#
|
|
182
|
-
# @return [Symbol, ModernTreasury::Models::TransactionDirection]
|
|
183
|
-
required :normal_balance, enum: -> { ModernTreasury::TransactionDirection }
|
|
184
|
-
|
|
185
|
-
# @!attribute currency_exponent
|
|
186
|
-
# The currency exponent of the ledger account.
|
|
187
|
-
#
|
|
188
|
-
# @return [Integer, nil]
|
|
189
|
-
optional :currency_exponent, Integer, nil?: true
|
|
190
|
-
|
|
191
|
-
# @!attribute description
|
|
192
|
-
# The description of the ledger account.
|
|
193
|
-
#
|
|
194
|
-
# @return [String, nil]
|
|
195
|
-
optional :description, String, nil?: true
|
|
196
|
-
|
|
197
|
-
# @!attribute ledger_account_category_ids
|
|
198
|
-
# The array of ledger account category ids that this ledger account should be a
|
|
199
|
-
# child of.
|
|
200
|
-
#
|
|
201
|
-
# @return [Array<String>, nil]
|
|
202
|
-
optional :ledger_account_category_ids, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
203
|
-
|
|
204
|
-
# @!attribute ledgerable_id
|
|
205
|
-
# If the ledger account links to another object in Modern Treasury, the id will be
|
|
206
|
-
# populated here, otherwise null.
|
|
207
|
-
#
|
|
208
|
-
# @return [String, nil]
|
|
209
|
-
optional :ledgerable_id, String
|
|
210
|
-
|
|
211
|
-
# @!attribute ledgerable_type
|
|
212
|
-
# If the ledger account links to another object in Modern Treasury, the type will
|
|
213
|
-
# be populated here, otherwise null. The value is one of internal_account or
|
|
214
|
-
# external_account.
|
|
215
|
-
#
|
|
216
|
-
# @return [Symbol, ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::LedgerableType, nil]
|
|
217
|
-
optional :ledgerable_type,
|
|
218
|
-
enum: -> { ModernTreasury::VirtualAccountCreateParams::LedgerAccount::LedgerableType }
|
|
219
|
-
|
|
220
|
-
# @!attribute metadata
|
|
221
|
-
# Additional data represented as key-value pairs. Both the key and value must be
|
|
222
|
-
# strings.
|
|
223
|
-
#
|
|
224
|
-
# @return [Hash{Symbol=>String}, nil]
|
|
225
|
-
optional :metadata, ModernTreasury::Internal::Type::HashOf[String]
|
|
226
|
-
|
|
227
|
-
# @!method initialize(currency:, ledger_id:, name:, normal_balance:, currency_exponent: nil, description: nil, ledger_account_category_ids: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil)
|
|
228
|
-
# Some parameter documentations has been truncated, see
|
|
229
|
-
# {ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount} for more
|
|
230
|
-
# details.
|
|
231
|
-
#
|
|
232
|
-
# Specifies a ledger account object that will be created with the virtual account.
|
|
233
|
-
# The resulting ledger account is linked to the virtual account for auto-ledgering
|
|
234
|
-
# IPDs.
|
|
235
|
-
#
|
|
236
|
-
# @param currency [String] The currency of the ledger account.
|
|
237
|
-
#
|
|
238
|
-
# @param ledger_id [String] The id of the ledger that this account belongs to.
|
|
239
|
-
#
|
|
240
|
-
# @param name [String] The name of the ledger account.
|
|
241
|
-
#
|
|
242
|
-
# @param normal_balance [Symbol, ModernTreasury::Models::TransactionDirection] The normal balance of the ledger account.
|
|
243
|
-
#
|
|
244
|
-
# @param currency_exponent [Integer, nil] The currency exponent of the ledger account.
|
|
245
|
-
#
|
|
246
|
-
# @param description [String, nil] The description of the ledger account.
|
|
247
|
-
#
|
|
248
|
-
# @param ledger_account_category_ids [Array<String>] The array of ledger account category ids that this ledger account should be a ch
|
|
249
|
-
#
|
|
250
|
-
# @param ledgerable_id [String] If the ledger account links to another object in Modern Treasury, the id will be
|
|
251
|
-
#
|
|
252
|
-
# @param ledgerable_type [Symbol, ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount::LedgerableType] If the ledger account links to another object in Modern Treasury, the type will
|
|
253
|
-
#
|
|
254
|
-
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
|
255
|
-
|
|
256
|
-
# If the ledger account links to another object in Modern Treasury, the type will
|
|
257
|
-
# be populated here, otherwise null. The value is one of internal_account or
|
|
258
|
-
# external_account.
|
|
259
|
-
#
|
|
260
|
-
# @see ModernTreasury::Models::VirtualAccountCreateParams::LedgerAccount#ledgerable_type
|
|
261
|
-
module LedgerableType
|
|
262
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
263
|
-
|
|
264
|
-
COUNTERPARTY = :counterparty
|
|
265
|
-
EXTERNAL_ACCOUNT = :external_account
|
|
266
|
-
INTERNAL_ACCOUNT = :internal_account
|
|
267
|
-
VIRTUAL_ACCOUNT = :virtual_account
|
|
268
|
-
|
|
269
|
-
# @!method self.values
|
|
270
|
-
# @return [Array<Symbol>]
|
|
271
|
-
end
|
|
272
|
-
end
|
|
273
|
-
|
|
274
160
|
class RoutingDetail < ModernTreasury::Internal::Type::BaseModel
|
|
275
161
|
# @!attribute routing_number
|
|
276
162
|
# The routing number of the bank.
|
|
@@ -62,8 +62,14 @@ module ModernTreasury
|
|
|
62
62
|
|
|
63
63
|
AccountDetailRetrieveParams = ModernTreasury::Models::AccountDetailRetrieveParams
|
|
64
64
|
|
|
65
|
+
Accounting = ModernTreasury::Models::Accounting
|
|
66
|
+
|
|
65
67
|
AccountsType = ModernTreasury::Models::AccountsType
|
|
66
68
|
|
|
69
|
+
Address = ModernTreasury::Models::Address
|
|
70
|
+
|
|
71
|
+
AddressRequest = ModernTreasury::Models::AddressRequest
|
|
72
|
+
|
|
67
73
|
AsyncResponse = ModernTreasury::Models::AsyncResponse
|
|
68
74
|
|
|
69
75
|
BankSettings = ModernTreasury::Models::BankSettings
|
|
@@ -82,6 +88,8 @@ module ModernTreasury
|
|
|
82
88
|
|
|
83
89
|
BulkResultRetrieveParams = ModernTreasury::Models::BulkResultRetrieveParams
|
|
84
90
|
|
|
91
|
+
ChildLegalEntityCreate = ModernTreasury::Models::ChildLegalEntityCreate
|
|
92
|
+
|
|
85
93
|
ClientPingParams = ModernTreasury::Models::ClientPingParams
|
|
86
94
|
|
|
87
95
|
Connection = ModernTreasury::Models::Connection
|
|
@@ -98,6 +106,10 @@ module ModernTreasury
|
|
|
98
106
|
|
|
99
107
|
ConnectionListParams = ModernTreasury::Models::ConnectionListParams
|
|
100
108
|
|
|
109
|
+
ContactDetail = ModernTreasury::Models::ContactDetail
|
|
110
|
+
|
|
111
|
+
ContactDetailCreateRequest = ModernTreasury::Models::ContactDetailCreateRequest
|
|
112
|
+
|
|
101
113
|
Counterparty = ModernTreasury::Models::Counterparty
|
|
102
114
|
|
|
103
115
|
CounterpartyCollectAccountParams = ModernTreasury::Models::CounterpartyCollectAccountParams
|
|
@@ -171,6 +183,10 @@ module ModernTreasury
|
|
|
171
183
|
|
|
172
184
|
ForeignExchangeQuoteRetrieveParams = ModernTreasury::Models::ForeignExchangeQuoteRetrieveParams
|
|
173
185
|
|
|
186
|
+
ForeignExchangeRate = ModernTreasury::Models::ForeignExchangeRate
|
|
187
|
+
|
|
188
|
+
IdentificationCreateRequest = ModernTreasury::Models::IdentificationCreateRequest
|
|
189
|
+
|
|
174
190
|
IncomingPaymentDetail = ModernTreasury::Models::IncomingPaymentDetail
|
|
175
191
|
|
|
176
192
|
IncomingPaymentDetailCreateAsyncParams = ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams
|
|
@@ -191,6 +207,9 @@ module ModernTreasury
|
|
|
191
207
|
|
|
192
208
|
InternalAccounts = ModernTreasury::Models::InternalAccounts
|
|
193
209
|
|
|
210
|
+
InternalAccountUpdateAccountCapabilityParams =
|
|
211
|
+
ModernTreasury::Models::InternalAccountUpdateAccountCapabilityParams
|
|
212
|
+
|
|
194
213
|
InternalAccountUpdateParams = ModernTreasury::Models::InternalAccountUpdateParams
|
|
195
214
|
|
|
196
215
|
Invoice = ModernTreasury::Models::Invoice
|
|
@@ -250,6 +269,8 @@ module ModernTreasury
|
|
|
250
269
|
|
|
251
270
|
LedgerAccountCreateParams = ModernTreasury::Models::LedgerAccountCreateParams
|
|
252
271
|
|
|
272
|
+
LedgerAccountCreateRequest = ModernTreasury::Models::LedgerAccountCreateRequest
|
|
273
|
+
|
|
253
274
|
LedgerAccountDeleteParams = ModernTreasury::Models::LedgerAccountDeleteParams
|
|
254
275
|
|
|
255
276
|
LedgerAccountListParams = ModernTreasury::Models::LedgerAccountListParams
|
|
@@ -274,12 +295,18 @@ module ModernTreasury
|
|
|
274
295
|
|
|
275
296
|
LedgerAccountUpdateParams = ModernTreasury::Models::LedgerAccountUpdateParams
|
|
276
297
|
|
|
298
|
+
LedgerBalance = ModernTreasury::Models::LedgerBalance
|
|
299
|
+
|
|
300
|
+
LedgerBalances = ModernTreasury::Models::LedgerBalances
|
|
301
|
+
|
|
277
302
|
LedgerCreateParams = ModernTreasury::Models::LedgerCreateParams
|
|
278
303
|
|
|
279
304
|
LedgerDeleteParams = ModernTreasury::Models::LedgerDeleteParams
|
|
280
305
|
|
|
281
306
|
LedgerEntry = ModernTreasury::Models::LedgerEntry
|
|
282
307
|
|
|
308
|
+
LedgerEntryCreateRequest = ModernTreasury::Models::LedgerEntryCreateRequest
|
|
309
|
+
|
|
283
310
|
LedgerEntryListParams = ModernTreasury::Models::LedgerEntryListParams
|
|
284
311
|
|
|
285
312
|
LedgerEntryRetrieveParams = ModernTreasury::Models::LedgerEntryRetrieveParams
|
|
@@ -297,6 +324,8 @@ module ModernTreasury
|
|
|
297
324
|
LedgerTransactionCreatePartialPostParams =
|
|
298
325
|
ModernTreasury::Models::LedgerTransactionCreatePartialPostParams
|
|
299
326
|
|
|
327
|
+
LedgerTransactionCreateRequest = ModernTreasury::Models::LedgerTransactionCreateRequest
|
|
328
|
+
|
|
300
329
|
LedgerTransactionCreateReversalParams = ModernTreasury::Models::LedgerTransactionCreateReversalParams
|
|
301
330
|
|
|
302
331
|
LedgerTransactionListParams = ModernTreasury::Models::LedgerTransactionListParams
|
|
@@ -311,6 +340,8 @@ module ModernTreasury
|
|
|
311
340
|
|
|
312
341
|
LegalEntity = ModernTreasury::Models::LegalEntity
|
|
313
342
|
|
|
343
|
+
LegalEntityAddressCreateRequest = ModernTreasury::Models::LegalEntityAddressCreateRequest
|
|
344
|
+
|
|
314
345
|
LegalEntityAssociation = ModernTreasury::Models::LegalEntityAssociation
|
|
315
346
|
|
|
316
347
|
LegalEntityAssociationCreateParams = ModernTreasury::Models::LegalEntityAssociationCreateParams
|
|
@@ -335,12 +366,6 @@ module ModernTreasury
|
|
|
335
366
|
|
|
336
367
|
LineItemUpdateParams = ModernTreasury::Models::LineItemUpdateParams
|
|
337
368
|
|
|
338
|
-
PaperItem = ModernTreasury::Models::PaperItem
|
|
339
|
-
|
|
340
|
-
PaperItemListParams = ModernTreasury::Models::PaperItemListParams
|
|
341
|
-
|
|
342
|
-
PaperItemRetrieveParams = ModernTreasury::Models::PaperItemRetrieveParams
|
|
343
|
-
|
|
344
369
|
PaymentActionCreateParams = ModernTreasury::Models::PaymentActionCreateParams
|
|
345
370
|
|
|
346
371
|
PaymentActionListParams = ModernTreasury::Models::PaymentActionListParams
|
|
@@ -14,7 +14,7 @@ module ModernTreasury
|
|
|
14
14
|
#
|
|
15
15
|
# @param resource_type [Symbol, ModernTreasury::Models::BulkRequestCreateParams::ResourceType] One of payment_order, expected_payment, or ledger_transaction.
|
|
16
16
|
#
|
|
17
|
-
# @param resources [Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentCreateRequest, ModernTreasury::Models::
|
|
17
|
+
# @param resources [Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentCreateRequest, ModernTreasury::Models::LedgerTransactionCreateRequest, ModernTreasury::Models::LedgerAccountCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::TransactionCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::ID, ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::TransactionUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::LedgerTransactionUpdateRequestWithID>] An array of objects where each object contains the input params for a single `ac
|
|
18
18
|
#
|
|
19
19
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
|
20
20
|
#
|