modern_treasury 0.1.0.pre.alpha.19 → 0.1.0.pre.alpha.21
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 +46 -0
- data/README.md +110 -61
- data/SECURITY.md +2 -2
- data/lib/modern_treasury/client.rb +9 -5
- data/lib/modern_treasury/internal/transport/pooled_net_requester.rb +3 -1
- data/lib/modern_treasury/internal/type/array_of.rb +8 -0
- data/lib/modern_treasury/internal/type/base_model.rb +14 -0
- data/lib/modern_treasury/internal/type/boolean.rb +8 -0
- data/lib/modern_treasury/internal/type/enum.rb +15 -0
- data/lib/modern_treasury/internal/type/file_input.rb +7 -0
- data/lib/modern_treasury/internal/type/hash_of.rb +8 -0
- data/lib/modern_treasury/internal/type/union.rb +17 -0
- data/lib/modern_treasury/internal/type/unknown.rb +8 -0
- data/lib/modern_treasury/internal/util.rb +62 -10
- data/lib/modern_treasury/internal.rb +3 -0
- data/lib/modern_treasury/models/account_collection_flow.rb +8 -8
- data/lib/modern_treasury/models/account_collection_flow_create_params.rb +2 -2
- data/lib/modern_treasury/models/account_collection_flow_update_params.rb +2 -2
- data/lib/modern_treasury/models/account_detail.rb +8 -4
- data/lib/modern_treasury/models/account_detail_create_params.rb +8 -4
- data/lib/modern_treasury/models/account_detail_delete_params.rb +2 -2
- data/lib/modern_treasury/models/account_detail_list_params.rb +2 -2
- data/lib/modern_treasury/models/account_detail_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/bank_settings.rb +1 -1
- data/lib/modern_treasury/models/bulk_request.rb +11 -10
- data/lib/modern_treasury/models/bulk_request_create_params.rb +252 -247
- data/lib/modern_treasury/models/bulk_request_list_params.rb +7 -6
- data/lib/modern_treasury/models/bulk_result.rb +18 -29
- data/lib/modern_treasury/models/bulk_result_list_params.rb +7 -6
- data/lib/modern_treasury/models/connection.rb +1 -1
- data/lib/modern_treasury/models/connection_legal_entity.rb +4 -4
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +108 -72
- data/lib/modern_treasury/models/connection_legal_entity_list_params.rb +2 -2
- data/lib/modern_treasury/models/connection_legal_entity_update_params.rb +2 -2
- data/lib/modern_treasury/models/counterparty.rb +32 -32
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +4 -4
- data/lib/modern_treasury/models/counterparty_collect_account_response.rb +1 -1
- data/lib/modern_treasury/models/counterparty_create_params.rb +166 -121
- data/lib/modern_treasury/models/currency.rb +7 -0
- data/lib/modern_treasury/models/document.rb +13 -13
- data/lib/modern_treasury/models/document_create_params.rb +6 -6
- data/lib/modern_treasury/models/document_list_params.rb +4 -4
- data/lib/modern_treasury/models/event.rb +2 -2
- data/lib/modern_treasury/models/expected_payment.rb +16 -16
- data/lib/modern_treasury/models/expected_payment_create_params.rb +27 -26
- data/lib/modern_treasury/models/expected_payment_list_params.rb +27 -7
- data/lib/modern_treasury/models/expected_payment_type.rb +4 -0
- data/lib/modern_treasury/models/expected_payment_update_params.rb +10 -10
- data/lib/modern_treasury/models/external_account.rb +26 -26
- data/lib/modern_treasury/models/external_account_create_params.rb +41 -32
- data/lib/modern_treasury/models/external_account_type.rb +5 -0
- data/lib/modern_treasury/models/external_account_update_params.rb +6 -6
- data/lib/modern_treasury/models/external_account_verify_params.rb +12 -8
- data/lib/modern_treasury/models/external_account_verify_response.rb +5 -10
- data/lib/modern_treasury/models/foreign_exchange_quote.rb +10 -9
- data/lib/modern_treasury/models/foreign_exchange_quote_create_params.rb +4 -4
- data/lib/modern_treasury/models/incoming_payment_detail.rb +23 -19
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +6 -6
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +6 -6
- data/lib/modern_treasury/models/internal_account.rb +24 -19
- data/lib/modern_treasury/models/internal_account_create_params.rb +37 -5
- data/lib/modern_treasury/models/internal_account_list_params.rb +10 -6
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +13 -12
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +9 -9
- data/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rb +2 -2
- data/lib/modern_treasury/models/invoice.rb +34 -34
- data/lib/modern_treasury/models/invoice_create_params.rb +21 -21
- data/lib/modern_treasury/models/invoice_list_params.rb +2 -2
- data/lib/modern_treasury/models/invoice_update_params.rb +21 -21
- data/lib/modern_treasury/models/invoices/invoice_line_item.rb +10 -2
- data/lib/modern_treasury/models/ledger.rb +2 -2
- data/lib/modern_treasury/models/ledger_account.rb +19 -19
- data/lib/modern_treasury/models/ledger_account_balance_monitor.rb +23 -22
- data/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rb +4 -4
- data/lib/modern_treasury/models/ledger_account_category.rb +16 -16
- data/lib/modern_treasury/models/ledger_account_category_create_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_category_list_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_category_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_create_params.rb +4 -4
- data/lib/modern_treasury/models/ledger_account_list_params.rb +8 -8
- data/lib/modern_treasury/models/ledger_account_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_settlement.rb +4 -4
- data/lib/modern_treasury/models/ledger_account_settlement_create_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_settlement_update_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_statement_create_response.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rb +2 -2
- data/lib/modern_treasury/models/ledger_entry.rb +20 -19
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +12 -12
- data/lib/modern_treasury/models/ledger_event_handler.rb +12 -12
- data/lib/modern_treasury/models/ledger_event_handler_create_params.rb +10 -10
- data/lib/modern_treasury/models/ledger_event_handler_variable.rb +4 -4
- data/lib/modern_treasury/models/ledger_transaction.rb +9 -9
- data/lib/modern_treasury/models/ledger_transaction_create_params.rb +10 -9
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +6 -6
- data/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rb +4 -4
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +12 -12
- data/lib/modern_treasury/models/ledger_transaction_update_params.rb +10 -9
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +30 -29
- data/lib/modern_treasury/models/ledgerable_event.rb +1 -1
- data/lib/modern_treasury/models/legal_entity.rb +52 -34
- data/lib/modern_treasury/models/legal_entity_association.rb +59 -40
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +54 -36
- data/lib/modern_treasury/models/legal_entity_compliance_detail.rb +1 -1
- data/lib/modern_treasury/models/legal_entity_create_params.rb +102 -65
- data/lib/modern_treasury/models/legal_entity_industry_classification.rb +4 -4
- data/lib/modern_treasury/models/legal_entity_list_params.rb +2 -2
- data/lib/modern_treasury/models/legal_entity_update_params.rb +44 -25
- data/lib/modern_treasury/models/line_item.rb +9 -9
- data/lib/modern_treasury/models/line_item_list_params.rb +2 -2
- data/lib/modern_treasury/models/line_item_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/line_item_update_params.rb +2 -2
- data/lib/modern_treasury/models/paper_item.rb +16 -7
- data/lib/modern_treasury/models/payment_action_create_params.rb +59 -0
- data/lib/modern_treasury/models/payment_action_create_response.rb +100 -0
- data/lib/modern_treasury/models/payment_action_list_params.rb +157 -0
- data/lib/modern_treasury/models/payment_action_list_response.rb +100 -0
- data/lib/modern_treasury/models/payment_action_retrieve_params.rb +14 -0
- data/lib/modern_treasury/models/payment_action_retrieve_response.rb +100 -0
- data/lib/modern_treasury/models/payment_action_update_params.rb +44 -0
- data/lib/modern_treasury/models/payment_action_update_response.rb +100 -0
- data/lib/modern_treasury/models/payment_flow.rb +13 -13
- data/lib/modern_treasury/models/payment_flow_create_params.rb +2 -2
- data/lib/modern_treasury/models/payment_flow_update_params.rb +2 -2
- data/lib/modern_treasury/models/payment_order.rb +57 -86
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +86 -76
- data/lib/modern_treasury/models/payment_order_create_params.rb +95 -85
- data/lib/modern_treasury/models/payment_order_list_params.rb +12 -8
- data/lib/modern_treasury/models/payment_order_type.rb +4 -0
- data/lib/modern_treasury/models/payment_order_update_params.rb +72 -63
- data/lib/modern_treasury/models/payment_orders/reversal.rb +7 -7
- data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +17 -17
- data/lib/modern_treasury/models/payment_reference.rb +11 -7
- data/lib/modern_treasury/models/payment_reference_list_params.rb +2 -2
- data/lib/modern_treasury/models/reconciliation_rule.rb +13 -9
- data/lib/modern_treasury/models/return_create_params.rb +44 -4
- data/lib/modern_treasury/models/return_list_params.rb +2 -2
- data/lib/modern_treasury/models/return_object.rb +78 -27
- data/lib/modern_treasury/models/routing_detail.rb +15 -11
- data/lib/modern_treasury/models/routing_detail_create_params.rb +10 -6
- data/lib/modern_treasury/models/routing_detail_delete_params.rb +2 -2
- data/lib/modern_treasury/models/routing_detail_list_params.rb +2 -2
- data/lib/modern_treasury/models/routing_detail_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +13 -9
- data/lib/modern_treasury/models/transaction.rb +23 -17
- data/lib/modern_treasury/models/transaction_create_params.rb +6 -2
- data/lib/modern_treasury/models/transactions/line_item_list_params.rb +2 -2
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +7 -7
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +2 -2
- data/lib/modern_treasury/models/virtual_account.rb +5 -5
- data/lib/modern_treasury/models/virtual_account_create_params.rb +34 -23
- data/lib/modern_treasury/models/wealth_and_employment_details.rb +19 -19
- data/lib/modern_treasury/models.rb +38 -19
- data/lib/modern_treasury/resources/account_collection_flows.rb +6 -6
- data/lib/modern_treasury/resources/account_details.rb +8 -8
- data/lib/modern_treasury/resources/bulk_requests.rb +9 -9
- data/lib/modern_treasury/resources/bulk_results.rb +5 -5
- data/lib/modern_treasury/resources/connection_legal_entities.rb +7 -7
- data/lib/modern_treasury/resources/connections.rb +1 -1
- data/lib/modern_treasury/resources/counterparties.rb +12 -12
- data/lib/modern_treasury/resources/documents.rb +6 -6
- data/lib/modern_treasury/resources/events.rb +2 -2
- data/lib/modern_treasury/resources/expected_payments.rb +24 -20
- data/lib/modern_treasury/resources/external_accounts.rb +20 -20
- data/lib/modern_treasury/resources/foreign_exchange_quotes.rb +5 -5
- data/lib/modern_treasury/resources/incoming_payment_details.rb +10 -10
- data/lib/modern_treasury/resources/internal_accounts/balance_reports.rb +6 -6
- data/lib/modern_treasury/resources/internal_accounts.rb +12 -10
- data/lib/modern_treasury/resources/invoices/line_items.rb +5 -5
- data/lib/modern_treasury/resources/invoices.rb +21 -21
- data/lib/modern_treasury/resources/ledger_account_balance_monitors.rb +6 -6
- data/lib/modern_treasury/resources/ledger_account_categories.rb +8 -8
- data/lib/modern_treasury/resources/ledger_account_settlements.rb +6 -6
- data/lib/modern_treasury/resources/ledger_accounts.rb +12 -12
- data/lib/modern_treasury/resources/ledger_entries.rb +6 -6
- data/lib/modern_treasury/resources/ledger_event_handlers.rb +7 -7
- data/lib/modern_treasury/resources/ledger_transactions/versions.rb +1 -1
- data/lib/modern_treasury/resources/ledger_transactions.rb +18 -18
- data/lib/modern_treasury/resources/ledgerable_events.rb +2 -2
- data/lib/modern_treasury/resources/ledgers.rb +5 -5
- data/lib/modern_treasury/resources/legal_entities.rb +25 -25
- data/lib/modern_treasury/resources/legal_entity_associations.rb +3 -3
- data/lib/modern_treasury/resources/line_items.rb +6 -6
- data/lib/modern_treasury/resources/paper_items.rb +2 -2
- data/lib/modern_treasury/resources/payment_actions.rb +137 -0
- data/lib/modern_treasury/resources/payment_flows.rb +6 -6
- data/lib/modern_treasury/resources/payment_orders/reversals.rb +5 -5
- data/lib/modern_treasury/resources/payment_orders.rb +46 -46
- data/lib/modern_treasury/resources/payment_references.rb +3 -3
- data/lib/modern_treasury/resources/returns.rb +6 -6
- data/lib/modern_treasury/resources/routing_details.rb +9 -9
- data/lib/modern_treasury/resources/transactions/line_items.rb +4 -4
- data/lib/modern_treasury/resources/transactions.rb +5 -5
- data/lib/modern_treasury/resources/validations.rb +2 -2
- data/lib/modern_treasury/resources/virtual_accounts.rb +8 -8
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +12 -1
- data/rbi/modern_treasury/client.rbi +3 -0
- data/rbi/modern_treasury/internal/transport/pooled_net_requester.rbi +5 -1
- data/rbi/modern_treasury/internal/type/array_of.rbi +6 -0
- data/rbi/modern_treasury/internal/type/base_model.rbi +5 -0
- data/rbi/modern_treasury/internal/type/boolean.rbi +6 -0
- data/rbi/modern_treasury/internal/type/enum.rbi +5 -0
- data/rbi/modern_treasury/internal/type/file_input.rbi +5 -0
- data/rbi/modern_treasury/internal/type/hash_of.rbi +6 -0
- data/rbi/modern_treasury/internal/type/union.rbi +5 -0
- data/rbi/modern_treasury/internal/type/unknown.rbi +6 -0
- data/rbi/modern_treasury/internal/util.rbi +36 -0
- data/rbi/modern_treasury/internal.rbi +5 -0
- data/rbi/modern_treasury/models/account_detail.rbi +20 -0
- data/rbi/modern_treasury/models/account_detail_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/bulk_request.rbi +5 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +105 -0
- data/rbi/modern_treasury/models/bulk_request_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/bulk_result.rbi +7 -19
- data/rbi/modern_treasury/models/bulk_result_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +52 -6
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +92 -6
- data/rbi/modern_treasury/models/currency.rbi +7 -0
- data/rbi/modern_treasury/models/document.rbi +9 -6
- data/rbi/modern_treasury/models/document_create_params.rbi +12 -12
- data/rbi/modern_treasury/models/document_list_params.rbi +9 -9
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +42 -0
- data/rbi/modern_treasury/models/expected_payment_type.rbi +6 -0
- data/rbi/modern_treasury/models/external_account_create_params.rbi +40 -0
- data/rbi/modern_treasury/models/external_account_type.rbi +16 -0
- data/rbi/modern_treasury/models/external_account_verify_params.rbi +20 -0
- data/rbi/modern_treasury/models/external_account_verify_response.rbi +20 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +20 -0
- data/rbi/modern_treasury/models/internal_account.rbi +25 -0
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +117 -0
- data/rbi/modern_treasury/models/internal_account_list_params.rbi +20 -0
- data/rbi/modern_treasury/models/invoice.rbi +2 -2
- data/rbi/modern_treasury/models/invoices/invoice_line_item.rbi +8 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +23 -0
- data/rbi/modern_treasury/models/legal_entity_association.rbi +23 -0
- data/rbi/modern_treasury/models/legal_entity_association_create_params.rbi +26 -3
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +52 -6
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +26 -3
- data/rbi/modern_treasury/models/paper_item.rbi +10 -0
- data/rbi/modern_treasury/models/payment_action_create_params.rbi +94 -0
- data/rbi/modern_treasury/models/payment_action_create_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +306 -0
- data/rbi/modern_treasury/models/payment_action_list_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_action_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/payment_action_retrieve_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_action_update_params.rbi +106 -0
- data/rbi/modern_treasury/models/payment_action_update_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_order.rbi +22 -38
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +40 -0
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +52 -12
- data/rbi/modern_treasury/models/payment_order_list_params.rbi +20 -0
- data/rbi/modern_treasury/models/payment_order_type.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +40 -0
- data/rbi/modern_treasury/models/payment_reference.rbi +20 -0
- data/rbi/modern_treasury/models/reconciliation_rule.rbi +14 -0
- data/rbi/modern_treasury/models/return_create_params.rbi +80 -0
- data/rbi/modern_treasury/models/return_object.rbi +66 -0
- data/rbi/modern_treasury/models/routing_detail.rbi +17 -0
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +20 -0
- data/rbi/modern_treasury/models/transaction.rbi +16 -0
- data/rbi/modern_treasury/models/transaction_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +40 -0
- data/rbi/modern_treasury/models.rbi +9 -0
- data/rbi/modern_treasury/resources/documents.rbi +1 -1
- data/rbi/modern_treasury/resources/expected_payments.rbi +6 -0
- data/rbi/modern_treasury/resources/external_accounts.rbi +1 -4
- data/rbi/modern_treasury/resources/internal_accounts.rbi +5 -0
- data/rbi/modern_treasury/resources/payment_actions.rbi +119 -0
- data/sig/modern_treasury/client.rbs +2 -0
- data/sig/modern_treasury/internal/transport/pooled_net_requester.rbs +2 -0
- data/sig/modern_treasury/internal/type/array_of.rbs +3 -0
- data/sig/modern_treasury/internal/type/base_model.rbs +2 -0
- data/sig/modern_treasury/internal/type/boolean.rbs +3 -0
- data/sig/modern_treasury/internal/type/enum.rbs +2 -0
- data/sig/modern_treasury/internal/type/file_input.rbs +2 -0
- data/sig/modern_treasury/internal/type/hash_of.rbs +3 -0
- data/sig/modern_treasury/internal/type/union.rbs +2 -0
- data/sig/modern_treasury/internal/type/unknown.rbs +3 -0
- data/sig/modern_treasury/internal/util.rbs +12 -0
- data/sig/modern_treasury/internal.rbs +3 -0
- data/sig/modern_treasury/models/account_collection_flow.rbs +30 -16
- data/sig/modern_treasury/models/account_collection_flow_create_params.rbs +13 -6
- data/sig/modern_treasury/models/account_collection_flow_list_params.rbs +10 -0
- data/sig/modern_treasury/models/account_collection_flow_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/account_collection_flow_update_params.rbs +5 -0
- data/sig/modern_treasury/models/account_detail.rbs +24 -4
- data/sig/modern_treasury/models/account_detail_create_params.rbs +15 -0
- data/sig/modern_treasury/models/account_detail_delete_params.rbs +6 -0
- data/sig/modern_treasury/models/account_detail_list_params.rbs +7 -0
- data/sig/modern_treasury/models/account_detail_retrieve_params.rbs +6 -0
- data/sig/modern_treasury/models/async_response.rbs +2 -0
- data/sig/modern_treasury/models/bank_settings.rbs +13 -0
- data/sig/modern_treasury/models/bulk_request.rbs +29 -12
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +600 -188
- data/sig/modern_treasury/models/bulk_request_list_params.rbs +12 -0
- data/sig/modern_treasury/models/bulk_request_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/bulk_result.rbs +44 -16
- data/sig/modern_treasury/models/bulk_result_list_params.rbs +13 -0
- data/sig/modern_treasury/models/bulk_result_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/client_ping_params.rbs +2 -0
- data/sig/modern_treasury/models/connection.rbs +12 -0
- data/sig/modern_treasury/models/connection_legal_entity.rbs +17 -4
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +188 -56
- data/sig/modern_treasury/models/connection_legal_entity_list_params.rbs +9 -0
- data/sig/modern_treasury/models/connection_legal_entity_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/connection_legal_entity_update_params.rbs +5 -0
- data/sig/modern_treasury/models/connection_list_params.rbs +8 -0
- data/sig/modern_treasury/models/counterparty.rbs +84 -22
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +14 -6
- data/sig/modern_treasury/models/counterparty_collect_account_response.rbs +2 -0
- data/sig/modern_treasury/models/counterparty_create_params.rbs +307 -92
- data/sig/modern_treasury/models/counterparty_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/counterparty_list_params.rbs +12 -0
- data/sig/modern_treasury/models/counterparty_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/counterparty_update_params.rbs +10 -0
- data/sig/modern_treasury/models/currency.rbs +14 -0
- data/sig/modern_treasury/models/document.rbs +41 -9
- data/sig/modern_treasury/models/document_create_params.rbs +16 -8
- data/sig/modern_treasury/models/document_list_params.rbs +13 -5
- data/sig/modern_treasury/models/document_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/event.rbs +13 -0
- data/sig/modern_treasury/models/event_list_params.rbs +11 -0
- data/sig/modern_treasury/models/event_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment.rbs +41 -12
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +66 -12
- data/sig/modern_treasury/models/expected_payment_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +37 -1
- data/sig/modern_treasury/models/expected_payment_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment_type.rbs +8 -0
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +21 -0
- data/sig/modern_treasury/models/external_account.rbs +63 -16
- data/sig/modern_treasury/models/external_account_complete_verification_params.rbs +5 -0
- data/sig/modern_treasury/models/external_account_create_params.rbs +99 -28
- data/sig/modern_treasury/models/external_account_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_list_params.rbs +9 -0
- data/sig/modern_treasury/models/external_account_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_type.rbs +11 -1
- data/sig/modern_treasury/models/external_account_update_params.rbs +20 -0
- data/sig/modern_treasury/models/external_account_verify_params.rbs +17 -0
- data/sig/modern_treasury/models/external_account_verify_response.rbs +21 -0
- data/sig/modern_treasury/models/foreign_exchange_quote.rbs +25 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_create_params.rbs +10 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_list_params.rbs +13 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +52 -16
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +13 -0
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +13 -0
- data/sig/modern_treasury/models/incoming_payment_detail_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/incoming_payment_detail_update_params.rbs +5 -0
- data/sig/modern_treasury/models/internal_account.rbs +55 -9
- data/sig/modern_treasury/models/internal_account_create_params.rbs +66 -0
- data/sig/modern_treasury/models/internal_account_list_params.rbs +20 -0
- data/sig/modern_treasury/models/internal_account_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/internal_account_update_params.rbs +9 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +37 -8
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +19 -4
- data/sig/modern_treasury/models/internal_accounts/balance_report_delete_params.rbs +5 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_list_params.rbs +8 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/invoice.rbs +94 -16
- data/sig/modern_treasury/models/invoice_add_payment_order_params.rbs +5 -0
- data/sig/modern_treasury/models/invoice_create_params.rbs +81 -4
- data/sig/modern_treasury/models/invoice_list_params.rbs +15 -0
- data/sig/modern_treasury/models/invoice_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/invoice_update_params.rbs +81 -4
- data/sig/modern_treasury/models/invoices/invoice_line_item.rbs +21 -0
- data/sig/modern_treasury/models/invoices/line_item_create_params.rbs +11 -0
- data/sig/modern_treasury/models/invoices/line_item_delete_params.rbs +5 -0
- data/sig/modern_treasury/models/invoices/line_item_list_params.rbs +6 -0
- data/sig/modern_treasury/models/invoices/line_item_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/invoices/line_item_update_params.rbs +12 -0
- data/sig/modern_treasury/models/ledger.rbs +12 -0
- data/sig/modern_treasury/models/ledger_account.rbs +54 -4
- data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +52 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_create_params.rbs +10 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_list_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_update_params.rbs +6 -0
- data/sig/modern_treasury/models/ledger_account_category.rbs +45 -0
- data/sig/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_add_nested_category_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_create_params.rbs +12 -0
- data/sig/modern_treasury/models/ledger_account_category_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +16 -0
- data/sig/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_retrieve_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account_category_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account_create_params.rbs +14 -0
- data/sig/modern_treasury/models/ledger_account_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_list_params.rbs +52 -0
- data/sig/modern_treasury/models/ledger_account_retrieve_params.rbs +13 -0
- data/sig/modern_treasury/models/ledger_account_settlement.rbs +24 -4
- data/sig/modern_treasury/models/ledger_account_settlement_create_params.rbs +12 -0
- data/sig/modern_treasury/models/ledger_account_settlement_list_params.rbs +14 -0
- data/sig/modern_treasury/models/ledger_account_settlement_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_settlement_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_response.rbs +78 -0
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_response.rbs +78 -0
- data/sig/modern_treasury/models/ledger_account_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_create_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_entry.rbs +53 -4
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +41 -12
- data/sig/modern_treasury/models/ledger_entry_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_entry_update_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_event_handler.rbs +31 -0
- data/sig/modern_treasury/models/ledger_event_handler_create_params.rbs +26 -0
- data/sig/modern_treasury/models/ledger_event_handler_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_event_handler_list_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_event_handler_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_event_handler_variable.rbs +7 -0
- data/sig/modern_treasury/models/ledger_list_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_transaction.rbs +30 -8
- data/sig/modern_treasury/models/ledger_transaction_create_params.rbs +25 -0
- data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +19 -4
- data/sig/modern_treasury/models/ledger_transaction_create_reversal_params.rbs +11 -0
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +40 -12
- data/sig/modern_treasury/models/ledger_transaction_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +23 -0
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +82 -12
- data/sig/modern_treasury/models/ledger_transactions/version_list_params.rbs +10 -0
- data/sig/modern_treasury/models/ledger_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledgerable_event.rbs +13 -0
- data/sig/modern_treasury/models/ledgerable_event_create_params.rbs +8 -0
- data/sig/modern_treasury/models/ledgerable_event_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/legal_entity.rbs +96 -20
- data/sig/modern_treasury/models/legal_entity_association.rbs +113 -24
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +98 -30
- data/sig/modern_treasury/models/legal_entity_compliance_detail.rbs +15 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +168 -42
- data/sig/modern_treasury/models/legal_entity_industry_classification.rbs +15 -4
- data/sig/modern_treasury/models/legal_entity_list_params.rbs +9 -0
- data/sig/modern_treasury/models/legal_entity_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +70 -12
- data/sig/modern_treasury/models/line_item.rbs +22 -4
- data/sig/modern_treasury/models/line_item_list_params.rbs +7 -0
- data/sig/modern_treasury/models/line_item_retrieve_params.rbs +6 -0
- data/sig/modern_treasury/models/line_item_update_params.rbs +7 -0
- data/sig/modern_treasury/models/paper_item.rbs +30 -4
- data/sig/modern_treasury/models/paper_item_list_params.rbs +9 -0
- data/sig/modern_treasury/models/paper_item_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_action_create_params.rbs +54 -0
- data/sig/modern_treasury/models/payment_action_create_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_action_list_params.rbs +149 -0
- data/sig/modern_treasury/models/payment_action_list_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_action_retrieve_params.rbs +15 -0
- data/sig/modern_treasury/models/payment_action_retrieve_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_action_update_params.rbs +40 -0
- data/sig/modern_treasury/models/payment_action_update_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_flow.rbs +44 -22
- data/sig/modern_treasury/models/payment_flow_create_params.rbs +10 -0
- data/sig/modern_treasury/models/payment_flow_list_params.rbs +12 -0
- data/sig/modern_treasury/models/payment_flow_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_flow_update_params.rbs +5 -0
- data/sig/modern_treasury/models/payment_order.rbs +116 -48
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +185 -44
- data/sig/modern_treasury/models/payment_order_create_params.rbs +205 -56
- data/sig/modern_treasury/models/payment_order_list_params.rbs +29 -0
- data/sig/modern_treasury/models/payment_order_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_order_type.rbs +8 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +148 -32
- data/sig/modern_treasury/models/payment_orders/reversal.rbs +22 -8
- data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +43 -12
- data/sig/modern_treasury/models/payment_orders/reversal_list_params.rbs +6 -0
- data/sig/modern_treasury/models/payment_orders/reversal_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/payment_reference.rbs +28 -8
- data/sig/modern_treasury/models/payment_reference_list_params.rbs +9 -0
- data/sig/modern_treasury/models/payment_reference_retireve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_reference_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ping_response.rbs +2 -0
- data/sig/modern_treasury/models/reconciliation_rule.rbs +29 -8
- data/sig/modern_treasury/models/return_create_params.rbs +91 -0
- data/sig/modern_treasury/models/return_list_params.rbs +10 -0
- data/sig/modern_treasury/models/return_object.rbs +154 -24
- data/sig/modern_treasury/models/return_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail.rbs +44 -8
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +16 -0
- data/sig/modern_treasury/models/routing_detail_delete_params.rbs +6 -0
- data/sig/modern_treasury/models/routing_detail_list_params.rbs +7 -0
- data/sig/modern_treasury/models/routing_detail_retrieve_params.rbs +6 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +38 -12
- data/sig/modern_treasury/models/transaction.rbs +58 -8
- data/sig/modern_treasury/models/transaction_create_params.rbs +22 -0
- data/sig/modern_treasury/models/transaction_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/transaction_list_params.rbs +18 -0
- data/sig/modern_treasury/models/transaction_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/transaction_update_params.rbs +5 -0
- data/sig/modern_treasury/models/transactions/line_item_create_params.rbs +7 -0
- data/sig/modern_treasury/models/transactions/line_item_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/transactions/line_item_list_params.rbs +9 -0
- data/sig/modern_treasury/models/transactions/line_item_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +26 -8
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +6 -0
- data/sig/modern_treasury/models/virtual_account.rbs +19 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +74 -20
- data/sig/modern_treasury/models/virtual_account_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_list_params.rbs +9 -0
- data/sig/modern_treasury/models/virtual_account_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_update_params.rbs +8 -0
- data/sig/modern_treasury/models/wealth_and_employment_details.rbs +45 -24
- data/sig/modern_treasury/models.rbs +8 -0
- data/sig/modern_treasury/resources/account_collection_flows.rbs +1 -1
- data/sig/modern_treasury/resources/bulk_requests.rbs +1 -1
- data/sig/modern_treasury/resources/counterparties.rbs +1 -1
- data/sig/modern_treasury/resources/documents.rbs +1 -1
- data/sig/modern_treasury/resources/expected_payments.rbs +2 -0
- data/sig/modern_treasury/resources/internal_accounts.rbs +1 -0
- data/sig/modern_treasury/resources/legal_entity_associations.rbs +1 -1
- data/sig/modern_treasury/resources/payment_actions.rbs +40 -0
- metadata +29 -2
@@ -31,7 +31,7 @@ module ModernTreasury
|
|
31
31
|
|
32
32
|
# @!attribute direction
|
33
33
|
#
|
34
|
-
# @return [Symbol, ModernTreasury::TransactionDirection, nil]
|
34
|
+
# @return [Symbol, ModernTreasury::Models::TransactionDirection, nil]
|
35
35
|
optional :direction, enum: -> { ModernTreasury::TransactionDirection }
|
36
36
|
|
37
37
|
# @!attribute effective_date_end
|
@@ -69,7 +69,7 @@ module ModernTreasury
|
|
69
69
|
# same-day ACH or EFT transfer, respectively. For check payments, `high` can mean
|
70
70
|
# an overnight check rather than standard mail.
|
71
71
|
#
|
72
|
-
# @return [Symbol, ModernTreasury::PaymentOrderListParams::Priority, nil]
|
72
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderListParams::Priority, nil]
|
73
73
|
optional :priority, enum: -> { ModernTreasury::PaymentOrderListParams::Priority }
|
74
74
|
|
75
75
|
# @!attribute process_after_end
|
@@ -92,7 +92,7 @@ module ModernTreasury
|
|
92
92
|
|
93
93
|
# @!attribute status
|
94
94
|
#
|
95
|
-
# @return [Symbol, ModernTreasury::PaymentOrderListParams::Status, nil]
|
95
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderListParams::Status, nil]
|
96
96
|
optional :status, enum: -> { ModernTreasury::PaymentOrderListParams::Status }
|
97
97
|
|
98
98
|
# @!attribute transaction_id
|
@@ -103,7 +103,7 @@ module ModernTreasury
|
|
103
103
|
|
104
104
|
# @!attribute type
|
105
105
|
#
|
106
|
-
# @return [Symbol, ModernTreasury::PaymentOrderListParams::Type, nil]
|
106
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderListParams::Type, nil]
|
107
107
|
optional :type, enum: -> { ModernTreasury::PaymentOrderListParams::Type }
|
108
108
|
|
109
109
|
# @!method initialize(after_cursor: nil, counterparty_id: nil, created_at_end: nil, created_at_start: nil, direction: nil, effective_date_end: nil, effective_date_start: nil, metadata: nil, originating_account_id: nil, per_page: nil, priority: nil, process_after_end: nil, process_after_start: nil, reference_number: nil, status: nil, transaction_id: nil, type: nil, request_options: {})
|
@@ -118,7 +118,7 @@ module ModernTreasury
|
|
118
118
|
#
|
119
119
|
# @param created_at_start [Date] An inclusive lower bound for searching created_at
|
120
120
|
#
|
121
|
-
# @param direction [Symbol, ModernTreasury::TransactionDirection]
|
121
|
+
# @param direction [Symbol, ModernTreasury::Models::TransactionDirection]
|
122
122
|
#
|
123
123
|
# @param effective_date_end [Date] An inclusive upper bound for searching effective_date
|
124
124
|
#
|
@@ -130,7 +130,7 @@ module ModernTreasury
|
|
130
130
|
#
|
131
131
|
# @param per_page [Integer]
|
132
132
|
#
|
133
|
-
# @param priority [Symbol, ModernTreasury::PaymentOrderListParams::Priority] Either `normal` or `high`. For ACH and EFT payments, `high` represents a same-da
|
133
|
+
# @param priority [Symbol, ModernTreasury::Models::PaymentOrderListParams::Priority] Either `normal` or `high`. For ACH and EFT payments, `high` represents a same-da
|
134
134
|
#
|
135
135
|
# @param process_after_end [Time] An inclusive upper bound for searching process_after
|
136
136
|
#
|
@@ -138,11 +138,11 @@ module ModernTreasury
|
|
138
138
|
#
|
139
139
|
# @param reference_number [String] Query for records with the provided reference number
|
140
140
|
#
|
141
|
-
# @param status [Symbol, ModernTreasury::PaymentOrderListParams::Status]
|
141
|
+
# @param status [Symbol, ModernTreasury::Models::PaymentOrderListParams::Status]
|
142
142
|
#
|
143
143
|
# @param transaction_id [String] The ID of a transaction that the payment order has been reconciled to.
|
144
144
|
#
|
145
|
-
# @param type [Symbol, ModernTreasury::PaymentOrderListParams::Type]
|
145
|
+
# @param type [Symbol, ModernTreasury::Models::PaymentOrderListParams::Type]
|
146
146
|
#
|
147
147
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
148
148
|
|
@@ -184,6 +184,7 @@ module ModernTreasury
|
|
184
184
|
ACH = :ach
|
185
185
|
AU_BECS = :au_becs
|
186
186
|
BACS = :bacs
|
187
|
+
BASE = :base
|
187
188
|
BOOK = :book
|
188
189
|
CARD = :card
|
189
190
|
CHATS = :chats
|
@@ -191,6 +192,7 @@ module ModernTreasury
|
|
191
192
|
CROSS_BORDER = :cross_border
|
192
193
|
DK_NETS = :dk_nets
|
193
194
|
EFT = :eft
|
195
|
+
ETHEREUM = :ethereum
|
194
196
|
HU_ICS = :hu_ics
|
195
197
|
INTERAC = :interac
|
196
198
|
MASAV = :masav
|
@@ -199,6 +201,7 @@ module ModernTreasury
|
|
199
201
|
NICS = :nics
|
200
202
|
NZ_BECS = :nz_becs
|
201
203
|
PL_ELIXIR = :pl_elixir
|
204
|
+
POLYGON = :polygon
|
202
205
|
PROVXCHANGE = :provxchange
|
203
206
|
RO_SENT = :ro_sent
|
204
207
|
RTP = :rtp
|
@@ -209,6 +212,7 @@ module ModernTreasury
|
|
209
212
|
SIC = :sic
|
210
213
|
SIGNET = :signet
|
211
214
|
SKNBI = :sknbi
|
215
|
+
SOLANA = :solana
|
212
216
|
WIRE = :wire
|
213
217
|
ZENGIN = :zengin
|
214
218
|
|
@@ -11,6 +11,7 @@ module ModernTreasury
|
|
11
11
|
ACH = :ach
|
12
12
|
AU_BECS = :au_becs
|
13
13
|
BACS = :bacs
|
14
|
+
BASE = :base
|
14
15
|
BOOK = :book
|
15
16
|
CARD = :card
|
16
17
|
CHATS = :chats
|
@@ -18,6 +19,7 @@ module ModernTreasury
|
|
18
19
|
CROSS_BORDER = :cross_border
|
19
20
|
DK_NETS = :dk_nets
|
20
21
|
EFT = :eft
|
22
|
+
ETHEREUM = :ethereum
|
21
23
|
HU_ICS = :hu_ics
|
22
24
|
INTERAC = :interac
|
23
25
|
MASAV = :masav
|
@@ -26,6 +28,7 @@ module ModernTreasury
|
|
26
28
|
NICS = :nics
|
27
29
|
NZ_BECS = :nz_becs
|
28
30
|
PL_ELIXIR = :pl_elixir
|
31
|
+
POLYGON = :polygon
|
29
32
|
PROVXCHANGE = :provxchange
|
30
33
|
RO_SENT = :ro_sent
|
31
34
|
RTP = :rtp
|
@@ -36,6 +39,7 @@ module ModernTreasury
|
|
36
39
|
SIC = :sic
|
37
40
|
SIGNET = :signet
|
38
41
|
SKNBI = :sknbi
|
42
|
+
SOLANA = :solana
|
39
43
|
WIRE = :wire
|
40
44
|
ZENGIN = :zengin
|
41
45
|
|
@@ -9,7 +9,7 @@ module ModernTreasury
|
|
9
9
|
|
10
10
|
# @!attribute accounting
|
11
11
|
#
|
12
|
-
# @return [ModernTreasury::PaymentOrderUpdateParams::Accounting, nil]
|
12
|
+
# @return [ModernTreasury::Models::PaymentOrderUpdateParams::Accounting, nil]
|
13
13
|
optional :accounting, -> { ModernTreasury::PaymentOrderUpdateParams::Accounting }
|
14
14
|
|
15
15
|
# @!attribute accounting_category_id
|
@@ -42,7 +42,7 @@ module ModernTreasury
|
|
42
42
|
# payment orders. Can be one of shared, sender, or receiver, which correspond
|
43
43
|
# respectively with the SWIFT 71A values `SHA`, `OUR`, `BEN`.
|
44
44
|
#
|
45
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::ChargeBearer, nil]
|
45
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ChargeBearer, nil]
|
46
46
|
optional :charge_bearer, enum: -> { ModernTreasury::PaymentOrderUpdateParams::ChargeBearer }, nil?: true
|
47
47
|
|
48
48
|
# @!attribute counterparty_id
|
@@ -54,7 +54,7 @@ module ModernTreasury
|
|
54
54
|
# @!attribute currency
|
55
55
|
# Defaults to the currency of the originating account.
|
56
56
|
#
|
57
|
-
# @return [Symbol, ModernTreasury::Currency, nil]
|
57
|
+
# @return [Symbol, ModernTreasury::Models::Currency, nil]
|
58
58
|
optional :currency, enum: -> { ModernTreasury::Currency }
|
59
59
|
|
60
60
|
# @!attribute description
|
@@ -69,7 +69,7 @@ module ModernTreasury
|
|
69
69
|
# `debit` pulls money from someone else's account to your own. Note that wire,
|
70
70
|
# rtp, and check payments will always be `credit`.
|
71
71
|
#
|
72
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::Direction, nil]
|
72
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::Direction, nil]
|
73
73
|
optional :direction, enum: -> { ModernTreasury::PaymentOrderUpdateParams::Direction }
|
74
74
|
|
75
75
|
# @!attribute effective_date
|
@@ -91,7 +91,7 @@ module ModernTreasury
|
|
91
91
|
# receiving account. Currently, this only supports falling back from RTP to ACH
|
92
92
|
# (type=rtp and fallback_type=ach)
|
93
93
|
#
|
94
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::FallbackType, nil]
|
94
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::FallbackType, nil]
|
95
95
|
optional :fallback_type, enum: -> { ModernTreasury::PaymentOrderUpdateParams::FallbackType }
|
96
96
|
|
97
97
|
# @!attribute foreign_exchange_contract
|
@@ -106,7 +106,7 @@ module ModernTreasury
|
|
106
106
|
# `variable_to_fixed`, `fixed_to_variable`, or `null` if the payment order
|
107
107
|
# currency matches the originating account currency.
|
108
108
|
#
|
109
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::ForeignExchangeIndicator, nil]
|
109
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ForeignExchangeIndicator, nil]
|
110
110
|
optional :foreign_exchange_indicator,
|
111
111
|
enum: -> { ModernTreasury::PaymentOrderUpdateParams::ForeignExchangeIndicator },
|
112
112
|
nil?: true
|
@@ -114,7 +114,7 @@ module ModernTreasury
|
|
114
114
|
# @!attribute line_items
|
115
115
|
# An array of line items that must sum up to the amount of the payment order.
|
116
116
|
#
|
117
|
-
# @return [Array<ModernTreasury::PaymentOrderUpdateParams::LineItem>, nil]
|
117
|
+
# @return [Array<ModernTreasury::Models::PaymentOrderUpdateParams::LineItem>, nil]
|
118
118
|
optional :line_items,
|
119
119
|
-> {
|
120
120
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::LineItem]
|
@@ -154,7 +154,7 @@ module ModernTreasury
|
|
154
154
|
# same-day ACH or EFT transfer, respectively. For check payments, `high` can mean
|
155
155
|
# an overnight check rather than standard mail.
|
156
156
|
#
|
157
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::Priority, nil]
|
157
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::Priority, nil]
|
158
158
|
optional :priority, enum: -> { ModernTreasury::PaymentOrderUpdateParams::Priority }
|
159
159
|
|
160
160
|
# @!attribute process_after
|
@@ -180,7 +180,7 @@ module ModernTreasury
|
|
180
180
|
# `receiving_account_id`, you may pass the id of an external account or an
|
181
181
|
# internal account.
|
182
182
|
#
|
183
|
-
# @return [ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount, nil]
|
183
|
+
# @return [ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount, nil]
|
184
184
|
optional :receiving_account, -> { ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount }
|
185
185
|
|
186
186
|
# @!attribute receiving_account_id
|
@@ -222,7 +222,7 @@ module ModernTreasury
|
|
222
222
|
# use `approved`. To undo approval on a denied or approved payment order, use
|
223
223
|
# `needs_approval`.
|
224
224
|
#
|
225
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::Status, nil]
|
225
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::Status, nil]
|
226
226
|
optional :status, enum: -> { ModernTreasury::PaymentOrderUpdateParams::Status }
|
227
227
|
|
228
228
|
# @!attribute subtype
|
@@ -231,7 +231,7 @@ module ModernTreasury
|
|
231
231
|
# payment orders, the `subtype` represents the SEC code. We currently support
|
232
232
|
# `CCD`, `PPD`, `IAT`, `CTX`, `WEB`, `CIE`, and `TEL`.
|
233
233
|
#
|
234
|
-
# @return [Symbol, ModernTreasury::PaymentOrderSubtype, nil]
|
234
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderSubtype, nil]
|
235
235
|
optional :subtype, enum: -> { ModernTreasury::PaymentOrderSubtype }, nil?: true
|
236
236
|
|
237
237
|
# @!attribute type
|
@@ -239,7 +239,7 @@ module ModernTreasury
|
|
239
239
|
# `sepa`, `bacs`, `au_becs`, `interac`, `neft`, `nics`,
|
240
240
|
# `nz_national_clearing_code`, `sic`, `signet`, `provexchange`, `zengin`.
|
241
241
|
#
|
242
|
-
# @return [Symbol, ModernTreasury::PaymentOrderType, nil]
|
242
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderType, nil]
|
243
243
|
optional :type, enum: -> { ModernTreasury::PaymentOrderType }
|
244
244
|
|
245
245
|
# @!attribute ultimate_originating_party_identifier
|
@@ -278,7 +278,7 @@ module ModernTreasury
|
|
278
278
|
# Some parameter documentations has been truncated, see
|
279
279
|
# {ModernTreasury::Models::PaymentOrderUpdateParams} for more details.
|
280
280
|
#
|
281
|
-
# @param accounting [ModernTreasury::PaymentOrderUpdateParams::Accounting]
|
281
|
+
# @param accounting [ModernTreasury::Models::PaymentOrderUpdateParams::Accounting]
|
282
282
|
#
|
283
283
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
284
284
|
#
|
@@ -286,27 +286,27 @@ module ModernTreasury
|
|
286
286
|
#
|
287
287
|
# @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
|
288
288
|
#
|
289
|
-
# @param charge_bearer [Symbol, ModernTreasury::PaymentOrderUpdateParams::ChargeBearer, nil] The party that will pay the fees for the payment order. Only applies to wire pay
|
289
|
+
# @param charge_bearer [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ChargeBearer, nil] The party that will pay the fees for the payment order. Only applies to wire pay
|
290
290
|
#
|
291
291
|
# @param counterparty_id [String, nil] Required when receiving_account_id is passed the ID of an external account.
|
292
292
|
#
|
293
|
-
# @param currency [Symbol, ModernTreasury::Currency] Defaults to the currency of the originating account.
|
293
|
+
# @param currency [Symbol, ModernTreasury::Models::Currency] Defaults to the currency of the originating account.
|
294
294
|
#
|
295
295
|
# @param description [String, nil] An optional description for internal use.
|
296
296
|
#
|
297
|
-
# @param direction [Symbol, ModernTreasury::PaymentOrderUpdateParams::Direction] One of `credit`, `debit`. Describes the direction money is flowing in the transa
|
297
|
+
# @param direction [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::Direction] One of `credit`, `debit`. Describes the direction money is flowing in the transa
|
298
298
|
#
|
299
299
|
# @param effective_date [Date] Date transactions are to be posted to the participants' account. Defaults to the
|
300
300
|
#
|
301
301
|
# @param expires_at [Time, nil] RFP payments require an expires_at. This value must be past the effective_date.
|
302
302
|
#
|
303
|
-
# @param fallback_type [Symbol, ModernTreasury::PaymentOrderUpdateParams::FallbackType] A payment type to fallback to if the original type is not valid for the receivin
|
303
|
+
# @param fallback_type [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::FallbackType] A payment type to fallback to if the original type is not valid for the receivin
|
304
304
|
#
|
305
305
|
# @param foreign_exchange_contract [String, nil] If present, indicates a specific foreign exchange contract number that has been
|
306
306
|
#
|
307
|
-
# @param foreign_exchange_indicator [Symbol, ModernTreasury::PaymentOrderUpdateParams::ForeignExchangeIndicator, nil] Indicates the type of FX transfer to initiate, can be either `variable_to_fixed`
|
307
|
+
# @param foreign_exchange_indicator [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ForeignExchangeIndicator, nil] Indicates the type of FX transfer to initiate, can be either `variable_to_fixed`
|
308
308
|
#
|
309
|
-
# @param line_items [Array<ModernTreasury::PaymentOrderUpdateParams::LineItem>] An array of line items that must sum up to the amount of the payment order.
|
309
|
+
# @param line_items [Array<ModernTreasury::Models::PaymentOrderUpdateParams::LineItem>] An array of line items that must sum up to the amount of the payment order.
|
310
310
|
#
|
311
311
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
312
312
|
#
|
@@ -316,13 +316,13 @@ module ModernTreasury
|
|
316
316
|
#
|
317
317
|
# @param originating_party_name [String, nil] If present, this will replace your default company name on receiver's bank state
|
318
318
|
#
|
319
|
-
# @param priority [Symbol, ModernTreasury::PaymentOrderUpdateParams::Priority] Either `normal` or `high`. For ACH and EFT payments, `high` represents a same-da
|
319
|
+
# @param priority [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::Priority] Either `normal` or `high`. For ACH and EFT payments, `high` represents a same-da
|
320
320
|
#
|
321
321
|
# @param process_after [Time, nil] If present, Modern Treasury will not process the payment until after this time.
|
322
322
|
#
|
323
323
|
# @param purpose [String, nil] For `wire`, this is usually the purpose which is transmitted via the "InstrForDb
|
324
324
|
#
|
325
|
-
# @param receiving_account [ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount] Either `receiving_account` or `receiving_account_id` must be present. When using
|
325
|
+
# @param receiving_account [ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount] Either `receiving_account` or `receiving_account_id` must be present. When using
|
326
326
|
#
|
327
327
|
# @param receiving_account_id [String] Either `receiving_account` or `receiving_account_id` must be present. When using
|
328
328
|
#
|
@@ -332,11 +332,11 @@ module ModernTreasury
|
|
332
332
|
#
|
333
333
|
# @param statement_descriptor [String, nil] An optional descriptor which will appear in the receiver's statement. For `check
|
334
334
|
#
|
335
|
-
# @param status [Symbol, ModernTreasury::PaymentOrderUpdateParams::Status] To cancel a payment order, use `cancelled`. To redraft a returned payment order,
|
335
|
+
# @param status [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::Status] To cancel a payment order, use `cancelled`. To redraft a returned payment order,
|
336
336
|
#
|
337
|
-
# @param subtype [Symbol, ModernTreasury::PaymentOrderSubtype, nil] An additional layer of classification for the type of payment order you are doin
|
337
|
+
# @param subtype [Symbol, ModernTreasury::Models::PaymentOrderSubtype, nil] An additional layer of classification for the type of payment order you are doin
|
338
338
|
#
|
339
|
-
# @param type [Symbol, ModernTreasury::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
339
|
+
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
340
340
|
#
|
341
341
|
# @param ultimate_originating_party_identifier [String, nil] This represents the identifier by which the person is known to the receiver when
|
342
342
|
#
|
@@ -366,7 +366,7 @@ module ModernTreasury
|
|
366
366
|
|
367
367
|
# @!method initialize(account_id: nil, class_id: nil)
|
368
368
|
# Some parameter documentations has been truncated, see
|
369
|
-
# {ModernTreasury::PaymentOrderUpdateParams::Accounting} for more details.
|
369
|
+
# {ModernTreasury::Models::PaymentOrderUpdateParams::Accounting} for more details.
|
370
370
|
#
|
371
371
|
# @param account_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
372
372
|
#
|
@@ -456,7 +456,7 @@ module ModernTreasury
|
|
456
456
|
|
457
457
|
# @!method initialize(amount:, accounting_category_id: nil, description: nil, metadata: nil)
|
458
458
|
# Some parameter documentations has been truncated, see
|
459
|
-
# {ModernTreasury::PaymentOrderUpdateParams::LineItem} for more details.
|
459
|
+
# {ModernTreasury::Models::PaymentOrderUpdateParams::LineItem} for more details.
|
460
460
|
#
|
461
461
|
# @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
|
462
462
|
#
|
@@ -483,7 +483,7 @@ module ModernTreasury
|
|
483
483
|
class ReceivingAccount < ModernTreasury::Internal::Type::BaseModel
|
484
484
|
# @!attribute account_details
|
485
485
|
#
|
486
|
-
# @return [Array<ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail>, nil]
|
486
|
+
# @return [Array<ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail>, nil]
|
487
487
|
optional :account_details,
|
488
488
|
-> {
|
489
489
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail]
|
@@ -492,12 +492,12 @@ module ModernTreasury
|
|
492
492
|
# @!attribute account_type
|
493
493
|
# Can be `checking`, `savings` or `other`.
|
494
494
|
#
|
495
|
-
# @return [Symbol, ModernTreasury::ExternalAccountType, nil]
|
495
|
+
# @return [Symbol, ModernTreasury::Models::ExternalAccountType, nil]
|
496
496
|
optional :account_type, enum: -> { ModernTreasury::ExternalAccountType }
|
497
497
|
|
498
498
|
# @!attribute contact_details
|
499
499
|
#
|
500
|
-
# @return [Array<ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail>, nil]
|
500
|
+
# @return [Array<ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail>, nil]
|
501
501
|
optional :contact_details,
|
502
502
|
-> {
|
503
503
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail]
|
@@ -510,7 +510,7 @@ module ModernTreasury
|
|
510
510
|
# https://docs.moderntreasury.com/docs/linking-to-other-modern-treasury-objects
|
511
511
|
# for more details.
|
512
512
|
#
|
513
|
-
# @return [ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount, nil]
|
513
|
+
# @return [ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount, nil]
|
514
514
|
optional :ledger_account,
|
515
515
|
-> {
|
516
516
|
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount
|
@@ -533,7 +533,7 @@ module ModernTreasury
|
|
533
533
|
# @!attribute party_address
|
534
534
|
# Required if receiving wire payments.
|
535
535
|
#
|
536
|
-
# @return [ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::PartyAddress, nil]
|
536
|
+
# @return [ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::PartyAddress, nil]
|
537
537
|
optional :party_address,
|
538
538
|
-> {
|
539
539
|
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::PartyAddress
|
@@ -553,7 +553,7 @@ module ModernTreasury
|
|
553
553
|
# @!attribute party_type
|
554
554
|
# Either `individual` or `business`.
|
555
555
|
#
|
556
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::PartyType, nil]
|
556
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::PartyType, nil]
|
557
557
|
optional :party_type,
|
558
558
|
enum: -> { ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::PartyType },
|
559
559
|
nil?: true
|
@@ -567,7 +567,7 @@ module ModernTreasury
|
|
567
567
|
|
568
568
|
# @!attribute routing_details
|
569
569
|
#
|
570
|
-
# @return [Array<ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail>, nil]
|
570
|
+
# @return [Array<ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail>, nil]
|
571
571
|
optional :routing_details,
|
572
572
|
-> {
|
573
573
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail]
|
@@ -575,35 +575,36 @@ module ModernTreasury
|
|
575
575
|
|
576
576
|
# @!method initialize(account_details: nil, account_type: nil, contact_details: nil, ledger_account: nil, metadata: nil, name: nil, party_address: nil, party_identifier: nil, party_name: nil, party_type: nil, plaid_processor_token: nil, routing_details: nil)
|
577
577
|
# Some parameter documentations has been truncated, see
|
578
|
-
# {ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount} for more
|
578
|
+
# {ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount} for more
|
579
|
+
# details.
|
579
580
|
#
|
580
581
|
# Either `receiving_account` or `receiving_account_id` must be present. When using
|
581
582
|
# `receiving_account_id`, you may pass the id of an external account or an
|
582
583
|
# internal account.
|
583
584
|
#
|
584
|
-
# @param account_details [Array<ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail>]
|
585
|
+
# @param account_details [Array<ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail>]
|
585
586
|
#
|
586
|
-
# @param account_type [Symbol, ModernTreasury::ExternalAccountType] Can be `checking`, `savings` or `other`.
|
587
|
+
# @param account_type [Symbol, ModernTreasury::Models::ExternalAccountType] Can be `checking`, `savings` or `other`.
|
587
588
|
#
|
588
|
-
# @param contact_details [Array<ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail>]
|
589
|
+
# @param contact_details [Array<ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail>]
|
589
590
|
#
|
590
|
-
# @param ledger_account [ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount] Specifies a ledger account object that will be created with the external account
|
591
|
+
# @param ledger_account [ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount] Specifies a ledger account object that will be created with the external account
|
591
592
|
#
|
592
593
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
593
594
|
#
|
594
595
|
# @param name [String, nil] A nickname for the external account. This is only for internal usage and won't a
|
595
596
|
#
|
596
|
-
# @param party_address [ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::PartyAddress] Required if receiving wire payments.
|
597
|
+
# @param party_address [ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::PartyAddress] Required if receiving wire payments.
|
597
598
|
#
|
598
599
|
# @param party_identifier [String]
|
599
600
|
#
|
600
601
|
# @param party_name [String] If this value isn't provided, it will be inherited from the counterparty's name.
|
601
602
|
#
|
602
|
-
# @param party_type [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::PartyType, nil] Either `individual` or `business`.
|
603
|
+
# @param party_type [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::PartyType, nil] Either `individual` or `business`.
|
603
604
|
#
|
604
605
|
# @param plaid_processor_token [String] If you've enabled the Modern Treasury + Plaid integration in your Plaid account,
|
605
606
|
#
|
606
|
-
# @param routing_details [Array<ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail>]
|
607
|
+
# @param routing_details [Array<ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail>]
|
607
608
|
|
608
609
|
class AccountDetail < ModernTreasury::Internal::Type::BaseModel
|
609
610
|
# @!attribute account_number
|
@@ -613,7 +614,7 @@ module ModernTreasury
|
|
613
614
|
|
614
615
|
# @!attribute account_number_type
|
615
616
|
#
|
616
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail::AccountNumberType, nil]
|
617
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail::AccountNumberType, nil]
|
617
618
|
optional :account_number_type,
|
618
619
|
enum: -> {
|
619
620
|
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail::AccountNumberType
|
@@ -621,21 +622,25 @@ module ModernTreasury
|
|
621
622
|
|
622
623
|
# @!method initialize(account_number:, account_number_type: nil)
|
623
624
|
# @param account_number [String]
|
624
|
-
# @param account_number_type [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail::AccountNumberType]
|
625
|
+
# @param account_number_type [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail::AccountNumberType]
|
625
626
|
|
626
|
-
# @see ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail#account_number_type
|
627
|
+
# @see ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail#account_number_type
|
627
628
|
module AccountNumberType
|
628
629
|
extend ModernTreasury::Internal::Type::Enum
|
629
630
|
|
630
631
|
AU_NUMBER = :au_number
|
632
|
+
BASE_ADDRESS = :base_address
|
631
633
|
CLABE = :clabe
|
634
|
+
ETHEREUM_ADDRESS = :ethereum_address
|
632
635
|
HK_NUMBER = :hk_number
|
633
636
|
IBAN = :iban
|
634
637
|
ID_NUMBER = :id_number
|
635
638
|
NZ_NUMBER = :nz_number
|
636
639
|
OTHER = :other
|
637
640
|
PAN = :pan
|
641
|
+
POLYGON_ADDRESS = :polygon_address
|
638
642
|
SG_NUMBER = :sg_number
|
643
|
+
SOLANA_ADDRESS = :solana_address
|
639
644
|
WALLET_ADDRESS = :wallet_address
|
640
645
|
|
641
646
|
# @!method self.values
|
@@ -651,7 +656,7 @@ module ModernTreasury
|
|
651
656
|
|
652
657
|
# @!attribute contact_identifier_type
|
653
658
|
#
|
654
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail::ContactIdentifierType, nil]
|
659
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail::ContactIdentifierType, nil]
|
655
660
|
optional :contact_identifier_type,
|
656
661
|
enum: -> {
|
657
662
|
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail::ContactIdentifierType
|
@@ -659,9 +664,9 @@ module ModernTreasury
|
|
659
664
|
|
660
665
|
# @!method initialize(contact_identifier: nil, contact_identifier_type: nil)
|
661
666
|
# @param contact_identifier [String]
|
662
|
-
# @param contact_identifier_type [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail::ContactIdentifierType]
|
667
|
+
# @param contact_identifier_type [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail::ContactIdentifierType]
|
663
668
|
|
664
|
-
# @see ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail#contact_identifier_type
|
669
|
+
# @see ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::ContactDetail#contact_identifier_type
|
665
670
|
module ContactIdentifierType
|
666
671
|
extend ModernTreasury::Internal::Type::Enum
|
667
672
|
|
@@ -674,7 +679,7 @@ module ModernTreasury
|
|
674
679
|
end
|
675
680
|
end
|
676
681
|
|
677
|
-
# @see ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount#ledger_account
|
682
|
+
# @see ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount#ledger_account
|
678
683
|
class LedgerAccount < ModernTreasury::Internal::Type::BaseModel
|
679
684
|
# @!attribute currency
|
680
685
|
# The currency of the ledger account.
|
@@ -697,7 +702,7 @@ module ModernTreasury
|
|
697
702
|
# @!attribute normal_balance
|
698
703
|
# The normal balance of the ledger account.
|
699
704
|
#
|
700
|
-
# @return [Symbol, ModernTreasury::TransactionDirection]
|
705
|
+
# @return [Symbol, ModernTreasury::Models::TransactionDirection]
|
701
706
|
required :normal_balance, enum: -> { ModernTreasury::TransactionDirection }
|
702
707
|
|
703
708
|
# @!attribute currency_exponent
|
@@ -731,7 +736,7 @@ module ModernTreasury
|
|
731
736
|
# be populated here, otherwise null. The value is one of internal_account or
|
732
737
|
# external_account.
|
733
738
|
#
|
734
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount::LedgerableType, nil]
|
739
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount::LedgerableType, nil]
|
735
740
|
optional :ledgerable_type,
|
736
741
|
enum: -> {
|
737
742
|
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount::LedgerableType
|
@@ -746,8 +751,8 @@ module ModernTreasury
|
|
746
751
|
|
747
752
|
# @!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)
|
748
753
|
# Some parameter documentations has been truncated, see
|
749
|
-
# {ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount}
|
750
|
-
# more details.
|
754
|
+
# {ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount}
|
755
|
+
# for more details.
|
751
756
|
#
|
752
757
|
# Specifies a ledger account object that will be created with the external
|
753
758
|
# account. The resulting ledger account is linked to the external account for
|
@@ -761,7 +766,7 @@ module ModernTreasury
|
|
761
766
|
#
|
762
767
|
# @param name [String] The name of the ledger account.
|
763
768
|
#
|
764
|
-
# @param normal_balance [Symbol, ModernTreasury::TransactionDirection] The normal balance of the ledger account.
|
769
|
+
# @param normal_balance [Symbol, ModernTreasury::Models::TransactionDirection] The normal balance of the ledger account.
|
765
770
|
#
|
766
771
|
# @param currency_exponent [Integer, nil] The currency exponent of the ledger account.
|
767
772
|
#
|
@@ -771,7 +776,7 @@ module ModernTreasury
|
|
771
776
|
#
|
772
777
|
# @param ledgerable_id [String] If the ledger account links to another object in Modern Treasury, the id will be
|
773
778
|
#
|
774
|
-
# @param ledgerable_type [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount::LedgerableType] If the ledger account links to another object in Modern Treasury, the type will
|
779
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount::LedgerableType] If the ledger account links to another object in Modern Treasury, the type will
|
775
780
|
#
|
776
781
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
777
782
|
|
@@ -779,7 +784,7 @@ module ModernTreasury
|
|
779
784
|
# be populated here, otherwise null. The value is one of internal_account or
|
780
785
|
# external_account.
|
781
786
|
#
|
782
|
-
# @see ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount#ledgerable_type
|
787
|
+
# @see ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::LedgerAccount#ledgerable_type
|
783
788
|
module LedgerableType
|
784
789
|
extend ModernTreasury::Internal::Type::Enum
|
785
790
|
|
@@ -793,7 +798,7 @@ module ModernTreasury
|
|
793
798
|
end
|
794
799
|
end
|
795
800
|
|
796
|
-
# @see ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount#party_address
|
801
|
+
# @see ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount#party_address
|
797
802
|
class PartyAddress < ModernTreasury::Internal::Type::BaseModel
|
798
803
|
# @!attribute country
|
799
804
|
# Country code conforms to [ISO 3166-1 alpha-2]
|
@@ -847,7 +852,7 @@ module ModernTreasury
|
|
847
852
|
|
848
853
|
# Either `individual` or `business`.
|
849
854
|
#
|
850
|
-
# @see ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount#party_type
|
855
|
+
# @see ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount#party_type
|
851
856
|
module PartyType
|
852
857
|
extend ModernTreasury::Internal::Type::Enum
|
853
858
|
|
@@ -866,7 +871,7 @@ module ModernTreasury
|
|
866
871
|
|
867
872
|
# @!attribute routing_number_type
|
868
873
|
#
|
869
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::RoutingNumberType]
|
874
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::RoutingNumberType]
|
870
875
|
required :routing_number_type,
|
871
876
|
enum: -> {
|
872
877
|
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::RoutingNumberType
|
@@ -874,7 +879,7 @@ module ModernTreasury
|
|
874
879
|
|
875
880
|
# @!attribute payment_type
|
876
881
|
#
|
877
|
-
# @return [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::PaymentType, nil]
|
882
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::PaymentType, nil]
|
878
883
|
optional :payment_type,
|
879
884
|
enum: -> {
|
880
885
|
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::PaymentType
|
@@ -882,10 +887,10 @@ module ModernTreasury
|
|
882
887
|
|
883
888
|
# @!method initialize(routing_number:, routing_number_type:, payment_type: nil)
|
884
889
|
# @param routing_number [String]
|
885
|
-
# @param routing_number_type [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::RoutingNumberType]
|
886
|
-
# @param payment_type [Symbol, ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::PaymentType]
|
890
|
+
# @param routing_number_type [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::RoutingNumberType]
|
891
|
+
# @param payment_type [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::PaymentType]
|
887
892
|
|
888
|
-
# @see ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail#routing_number_type
|
893
|
+
# @see ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail#routing_number_type
|
889
894
|
module RoutingNumberType
|
890
895
|
extend ModernTreasury::Internal::Type::Enum
|
891
896
|
|
@@ -915,13 +920,14 @@ module ModernTreasury
|
|
915
920
|
# @return [Array<Symbol>]
|
916
921
|
end
|
917
922
|
|
918
|
-
# @see ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail#payment_type
|
923
|
+
# @see ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail#payment_type
|
919
924
|
module PaymentType
|
920
925
|
extend ModernTreasury::Internal::Type::Enum
|
921
926
|
|
922
927
|
ACH = :ach
|
923
928
|
AU_BECS = :au_becs
|
924
929
|
BACS = :bacs
|
930
|
+
BASE = :base
|
925
931
|
BOOK = :book
|
926
932
|
CARD = :card
|
927
933
|
CHATS = :chats
|
@@ -929,6 +935,7 @@ module ModernTreasury
|
|
929
935
|
CROSS_BORDER = :cross_border
|
930
936
|
DK_NETS = :dk_nets
|
931
937
|
EFT = :eft
|
938
|
+
ETHEREUM = :ethereum
|
932
939
|
HU_ICS = :hu_ics
|
933
940
|
INTERAC = :interac
|
934
941
|
MASAV = :masav
|
@@ -937,6 +944,7 @@ module ModernTreasury
|
|
937
944
|
NICS = :nics
|
938
945
|
NZ_BECS = :nz_becs
|
939
946
|
PL_ELIXIR = :pl_elixir
|
947
|
+
POLYGON = :polygon
|
940
948
|
PROVXCHANGE = :provxchange
|
941
949
|
RO_SENT = :ro_sent
|
942
950
|
RTP = :rtp
|
@@ -947,6 +955,7 @@ module ModernTreasury
|
|
947
955
|
SIC = :sic
|
948
956
|
SIGNET = :signet
|
949
957
|
SKNBI = :sknbi
|
958
|
+
SOLANA = :solana
|
950
959
|
WIRE = :wire
|
951
960
|
ZENGIN = :zengin
|
952
961
|
|