modern_treasury 0.1.0.pre.alpha.19 → 0.1.0.pre.alpha.20
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 +31 -0
- data/README.md +108 -59
- 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 +12 -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 +12 -0
- data/lib/modern_treasury/internal/type/unknown.rb +8 -0
- data/lib/modern_treasury/internal/util.rb +50 -1
- 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 +9 -0
- 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 +34 -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
@@ -49,13 +49,13 @@ module ModernTreasury
|
|
49
49
|
# @!attribute reason
|
50
50
|
# The reason for the reversal.
|
51
51
|
#
|
52
|
-
# @return [Symbol, ModernTreasury::PaymentOrders::Reversal::Reason]
|
52
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrders::Reversal::Reason]
|
53
53
|
required :reason, enum: -> { ModernTreasury::PaymentOrders::Reversal::Reason }
|
54
54
|
|
55
55
|
# @!attribute status
|
56
56
|
# The current status of the reversal.
|
57
57
|
#
|
58
|
-
# @return [Symbol, ModernTreasury::PaymentOrders::Reversal::Status]
|
58
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrders::Reversal::Status]
|
59
59
|
required :status, enum: -> { ModernTreasury::PaymentOrders::Reversal::Status }
|
60
60
|
|
61
61
|
# @!attribute transaction_ids
|
@@ -71,7 +71,7 @@ module ModernTreasury
|
|
71
71
|
|
72
72
|
# @!method initialize(id:, created_at:, ledger_transaction_id:, live_mode:, metadata:, object:, payment_order_id:, reason:, status:, transaction_ids:, updated_at:)
|
73
73
|
# Some parameter documentations has been truncated, see
|
74
|
-
# {ModernTreasury::PaymentOrders::Reversal} for more details.
|
74
|
+
# {ModernTreasury::Models::PaymentOrders::Reversal} for more details.
|
75
75
|
#
|
76
76
|
# @param id [String]
|
77
77
|
#
|
@@ -87,9 +87,9 @@ module ModernTreasury
|
|
87
87
|
#
|
88
88
|
# @param payment_order_id [String, nil] The ID of the relevant Payment Order.
|
89
89
|
#
|
90
|
-
# @param reason [Symbol, ModernTreasury::PaymentOrders::Reversal::Reason] The reason for the reversal.
|
90
|
+
# @param reason [Symbol, ModernTreasury::Models::PaymentOrders::Reversal::Reason] The reason for the reversal.
|
91
91
|
#
|
92
|
-
# @param status [Symbol, ModernTreasury::PaymentOrders::Reversal::Status] The current status of the reversal.
|
92
|
+
# @param status [Symbol, ModernTreasury::Models::PaymentOrders::Reversal::Status] The current status of the reversal.
|
93
93
|
#
|
94
94
|
# @param transaction_ids [Array<Object, nil>]
|
95
95
|
#
|
@@ -97,7 +97,7 @@ module ModernTreasury
|
|
97
97
|
|
98
98
|
# The reason for the reversal.
|
99
99
|
#
|
100
|
-
# @see ModernTreasury::PaymentOrders::Reversal#reason
|
100
|
+
# @see ModernTreasury::Models::PaymentOrders::Reversal#reason
|
101
101
|
module Reason
|
102
102
|
extend ModernTreasury::Internal::Type::Enum
|
103
103
|
|
@@ -113,7 +113,7 @@ module ModernTreasury
|
|
113
113
|
|
114
114
|
# The current status of the reversal.
|
115
115
|
#
|
116
|
-
# @see ModernTreasury::PaymentOrders::Reversal#status
|
116
|
+
# @see ModernTreasury::Models::PaymentOrders::Reversal#status
|
117
117
|
module Status
|
118
118
|
extend ModernTreasury::Internal::Type::Enum
|
119
119
|
|
@@ -13,7 +13,7 @@ module ModernTreasury
|
|
13
13
|
# `incorrect_receiving_account`, `date_earlier_than_intended`,
|
14
14
|
# `date_later_than_intended`.
|
15
15
|
#
|
16
|
-
# @return [Symbol, ModernTreasury::PaymentOrders::ReversalCreateParams::Reason]
|
16
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrders::ReversalCreateParams::Reason]
|
17
17
|
required :reason, enum: -> { ModernTreasury::PaymentOrders::ReversalCreateParams::Reason }
|
18
18
|
|
19
19
|
# @!attribute ledger_transaction
|
@@ -21,7 +21,7 @@ module ModernTreasury
|
|
21
21
|
# the ledger transaction cannot be created, then the reversal creation will fail.
|
22
22
|
# The resulting ledger transaction will mirror the status of the reversal.
|
23
23
|
#
|
24
|
-
# @return [ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction, nil]
|
24
|
+
# @return [ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction, nil]
|
25
25
|
optional :ledger_transaction,
|
26
26
|
-> { ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction }
|
27
27
|
|
@@ -36,9 +36,9 @@ module ModernTreasury
|
|
36
36
|
# Some parameter documentations has been truncated, see
|
37
37
|
# {ModernTreasury::Models::PaymentOrders::ReversalCreateParams} for more details.
|
38
38
|
#
|
39
|
-
# @param reason [Symbol, ModernTreasury::PaymentOrders::ReversalCreateParams::Reason] The reason for the reversal. Must be one of `duplicate`, `incorrect_amount`, `in
|
39
|
+
# @param reason [Symbol, ModernTreasury::Models::PaymentOrders::ReversalCreateParams::Reason] The reason for the reversal. Must be one of `duplicate`, `incorrect_amount`, `in
|
40
40
|
#
|
41
|
-
# @param ledger_transaction [ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction] Specifies a ledger transaction object that will be created with the reversal. If
|
41
|
+
# @param ledger_transaction [ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction] Specifies a ledger transaction object that will be created with the reversal. If
|
42
42
|
#
|
43
43
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
44
44
|
#
|
@@ -64,7 +64,7 @@ module ModernTreasury
|
|
64
64
|
# @!attribute ledger_entries
|
65
65
|
# An array of ledger entry objects.
|
66
66
|
#
|
67
|
-
# @return [Array<ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerEntry>]
|
67
|
+
# @return [Array<ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerEntry>]
|
68
68
|
required :ledger_entries,
|
69
69
|
-> {
|
70
70
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerEntry]
|
@@ -110,7 +110,7 @@ module ModernTreasury
|
|
110
110
|
# payment_order, incoming_payment_detail, expected_payment, return, paper_item, or
|
111
111
|
# reversal.
|
112
112
|
#
|
113
|
-
# @return [Symbol, ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerableType, nil]
|
113
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerableType, nil]
|
114
114
|
optional :ledgerable_type,
|
115
115
|
enum: -> {
|
116
116
|
ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerableType
|
@@ -126,20 +126,20 @@ module ModernTreasury
|
|
126
126
|
# @!attribute status
|
127
127
|
# To post a ledger transaction at creation, use `posted`.
|
128
128
|
#
|
129
|
-
# @return [Symbol, ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::Status, nil]
|
129
|
+
# @return [Symbol, ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction::Status, nil]
|
130
130
|
optional :status,
|
131
131
|
enum: -> { ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::Status }
|
132
132
|
|
133
133
|
# @!method initialize(ledger_entries:, description: nil, effective_at: nil, effective_date: nil, external_id: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, status: nil)
|
134
134
|
# Some parameter documentations has been truncated, see
|
135
|
-
# {ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction}
|
136
|
-
# more details.
|
135
|
+
# {ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction}
|
136
|
+
# for more details.
|
137
137
|
#
|
138
138
|
# Specifies a ledger transaction object that will be created with the reversal. If
|
139
139
|
# the ledger transaction cannot be created, then the reversal creation will fail.
|
140
140
|
# The resulting ledger transaction will mirror the status of the reversal.
|
141
141
|
#
|
142
|
-
# @param ledger_entries [Array<ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerEntry>] An array of ledger entry objects.
|
142
|
+
# @param ledger_entries [Array<ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerEntry>] An array of ledger entry objects.
|
143
143
|
#
|
144
144
|
# @param description [String, nil] An optional description for internal use.
|
145
145
|
#
|
@@ -151,11 +151,11 @@ module ModernTreasury
|
|
151
151
|
#
|
152
152
|
# @param ledgerable_id [String] If the ledger transaction can be reconciled to another object in Modern Treasury
|
153
153
|
#
|
154
|
-
# @param ledgerable_type [Symbol, ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerableType] If the ledger transaction can be reconciled to another object in Modern Treasury
|
154
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerableType] If the ledger transaction can be reconciled to another object in Modern Treasury
|
155
155
|
#
|
156
156
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
157
157
|
#
|
158
|
-
# @param status [Symbol, ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::Status] To post a ledger transaction at creation, use `posted`.
|
158
|
+
# @param status [Symbol, ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction::Status] To post a ledger transaction at creation, use `posted`.
|
159
159
|
|
160
160
|
class LedgerEntry < ModernTreasury::Internal::Type::BaseModel
|
161
161
|
# @!attribute amount
|
@@ -171,7 +171,7 @@ module ModernTreasury
|
|
171
171
|
# `debit` pulls money from someone else's account to your own. Note that wire,
|
172
172
|
# rtp, and check payments will always be `credit`.
|
173
173
|
#
|
174
|
-
# @return [Symbol, ModernTreasury::TransactionDirection]
|
174
|
+
# @return [Symbol, ModernTreasury::Models::TransactionDirection]
|
175
175
|
required :direction, enum: -> { ModernTreasury::TransactionDirection }
|
176
176
|
|
177
177
|
# @!attribute ledger_account_id
|
@@ -231,12 +231,12 @@ module ModernTreasury
|
|
231
231
|
|
232
232
|
# @!method initialize(amount:, direction:, ledger_account_id:, available_balance_amount: nil, lock_version: nil, metadata: nil, pending_balance_amount: nil, posted_balance_amount: nil, show_resulting_ledger_account_balances: nil)
|
233
233
|
# Some parameter documentations has been truncated, see
|
234
|
-
# {ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerEntry}
|
234
|
+
# {ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction::LedgerEntry}
|
235
235
|
# for more details.
|
236
236
|
#
|
237
237
|
# @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
|
238
238
|
#
|
239
|
-
# @param direction [Symbol, ModernTreasury::TransactionDirection] One of `credit`, `debit`. Describes the direction money is flowing in the transa
|
239
|
+
# @param direction [Symbol, ModernTreasury::Models::TransactionDirection] One of `credit`, `debit`. Describes the direction money is flowing in the transa
|
240
240
|
#
|
241
241
|
# @param ledger_account_id [String] The ledger account that this ledger entry is associated with.
|
242
242
|
#
|
@@ -258,7 +258,7 @@ module ModernTreasury
|
|
258
258
|
# payment_order, incoming_payment_detail, expected_payment, return, paper_item, or
|
259
259
|
# reversal.
|
260
260
|
#
|
261
|
-
# @see ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction#ledgerable_type
|
261
|
+
# @see ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction#ledgerable_type
|
262
262
|
module LedgerableType
|
263
263
|
extend ModernTreasury::Internal::Type::Enum
|
264
264
|
|
@@ -275,7 +275,7 @@ module ModernTreasury
|
|
275
275
|
|
276
276
|
# To post a ledger transaction at creation, use `posted`.
|
277
277
|
#
|
278
|
-
# @see ModernTreasury::PaymentOrders::ReversalCreateParams::LedgerTransaction#status
|
278
|
+
# @see ModernTreasury::Models::PaymentOrders::ReversalCreateParams::LedgerTransaction#status
|
279
279
|
module Status
|
280
280
|
extend ModernTreasury::Internal::Type::Enum
|
281
281
|
|
@@ -35,7 +35,7 @@ module ModernTreasury
|
|
35
35
|
# @!attribute reference_number_type
|
36
36
|
# The type of reference number.
|
37
37
|
#
|
38
|
-
# @return [Symbol, ModernTreasury::PaymentReference::ReferenceNumberType]
|
38
|
+
# @return [Symbol, ModernTreasury::Models::PaymentReference::ReferenceNumberType]
|
39
39
|
required :reference_number_type, enum: -> { ModernTreasury::PaymentReference::ReferenceNumberType }
|
40
40
|
|
41
41
|
# @!attribute referenceable_id
|
@@ -49,7 +49,7 @@ module ModernTreasury
|
|
49
49
|
# One of the referenceable types. This must be accompanied by the id of the
|
50
50
|
# referenceable or will return an error.
|
51
51
|
#
|
52
|
-
# @return [Symbol, ModernTreasury::PaymentReference::ReferenceableType]
|
52
|
+
# @return [Symbol, ModernTreasury::Models::PaymentReference::ReferenceableType]
|
53
53
|
required :referenceable_type, enum: -> { ModernTreasury::PaymentReference::ReferenceableType }
|
54
54
|
|
55
55
|
# @!attribute updated_at
|
@@ -59,7 +59,7 @@ module ModernTreasury
|
|
59
59
|
|
60
60
|
# @!method initialize(id:, created_at:, live_mode:, object:, reference_number:, reference_number_type:, referenceable_id:, referenceable_type:, updated_at:)
|
61
61
|
# Some parameter documentations has been truncated, see
|
62
|
-
# {ModernTreasury::PaymentReference} for more details.
|
62
|
+
# {ModernTreasury::Models::PaymentReference} for more details.
|
63
63
|
#
|
64
64
|
# @param id [String]
|
65
65
|
#
|
@@ -71,17 +71,17 @@ module ModernTreasury
|
|
71
71
|
#
|
72
72
|
# @param reference_number [String] The actual reference number assigned by the bank.
|
73
73
|
#
|
74
|
-
# @param reference_number_type [Symbol, ModernTreasury::PaymentReference::ReferenceNumberType] The type of reference number.
|
74
|
+
# @param reference_number_type [Symbol, ModernTreasury::Models::PaymentReference::ReferenceNumberType] The type of reference number.
|
75
75
|
#
|
76
76
|
# @param referenceable_id [String] The id of the referenceable to search for. Must be accompanied by the referencea
|
77
77
|
#
|
78
|
-
# @param referenceable_type [Symbol, ModernTreasury::PaymentReference::ReferenceableType] One of the referenceable types. This must be accompanied by the id of the refere
|
78
|
+
# @param referenceable_type [Symbol, ModernTreasury::Models::PaymentReference::ReferenceableType] One of the referenceable types. This must be accompanied by the id of the refere
|
79
79
|
#
|
80
80
|
# @param updated_at [Time]
|
81
81
|
|
82
82
|
# The type of reference number.
|
83
83
|
#
|
84
|
-
# @see ModernTreasury::PaymentReference#reference_number_type
|
84
|
+
# @see ModernTreasury::Models::PaymentReference#reference_number_type
|
85
85
|
module ReferenceNumberType
|
86
86
|
extend ModernTreasury::Internal::Type::Enum
|
87
87
|
|
@@ -93,6 +93,10 @@ module ModernTreasury
|
|
93
93
|
BNK_DEV_TRANSFER_ID = :bnk_dev_transfer_id
|
94
94
|
BOFA_END_TO_END_ID = :bofa_end_to_end_id
|
95
95
|
BOFA_TRANSACTION_ID = :bofa_transaction_id
|
96
|
+
BRALE_TRANSFER_ID = :brale_transfer_id
|
97
|
+
BRIDGE_DESTINATION_TRANSACTION_HASH = :bridge_destination_transaction_hash
|
98
|
+
BRIDGE_SOURCE_TRANSACTION_HASH = :bridge_source_transaction_hash
|
99
|
+
BRIDGE_TRANSFER_ID = :bridge_transfer_id
|
96
100
|
CHECK_NUMBER = :check_number
|
97
101
|
CITIBANK_REFERENCE_NUMBER = :citibank_reference_number
|
98
102
|
CITIBANK_WORLDLINK_CLEARING_SYSTEM_REFERENCE_NUMBER =
|
@@ -168,7 +172,7 @@ module ModernTreasury
|
|
168
172
|
# One of the referenceable types. This must be accompanied by the id of the
|
169
173
|
# referenceable or will return an error.
|
170
174
|
#
|
171
|
-
# @see ModernTreasury::PaymentReference#referenceable_type
|
175
|
+
# @see ModernTreasury::Models::PaymentReference#referenceable_type
|
172
176
|
module ReferenceableType
|
173
177
|
extend ModernTreasury::Internal::Type::Enum
|
174
178
|
|
@@ -34,7 +34,7 @@ module ModernTreasury
|
|
34
34
|
# One of the referenceable types. This must be accompanied by the id of the
|
35
35
|
# referenceable or will return an error.
|
36
36
|
#
|
37
|
-
# @return [Symbol, ModernTreasury::PaymentReferenceListParams::ReferenceableType, nil]
|
37
|
+
# @return [Symbol, ModernTreasury::Models::PaymentReferenceListParams::ReferenceableType, nil]
|
38
38
|
optional :referenceable_type, enum: -> { ModernTreasury::PaymentReferenceListParams::ReferenceableType }
|
39
39
|
|
40
40
|
# @!method initialize(after_cursor: nil, per_page: nil, reference_number: nil, referenceable_id: nil, referenceable_type: nil, request_options: {})
|
@@ -49,7 +49,7 @@ module ModernTreasury
|
|
49
49
|
#
|
50
50
|
# @param referenceable_id [String] The id of the referenceable to search for. Must be accompanied by the referencea
|
51
51
|
#
|
52
|
-
# @param referenceable_type [Symbol, ModernTreasury::PaymentReferenceListParams::ReferenceableType] One of the referenceable types. This must be accompanied by the id of the refere
|
52
|
+
# @param referenceable_type [Symbol, ModernTreasury::Models::PaymentReferenceListParams::ReferenceableType] One of the referenceable types. This must be accompanied by the id of the refere
|
53
53
|
#
|
54
54
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
55
55
|
|
@@ -21,7 +21,7 @@ module ModernTreasury
|
|
21
21
|
# One of credit or debit. When you are receiving money, use credit. When you are
|
22
22
|
# being charged, use debit.
|
23
23
|
#
|
24
|
-
# @return [Symbol, ModernTreasury::ReconciliationRule::Direction]
|
24
|
+
# @return [Symbol, ModernTreasury::Models::ReconciliationRule::Direction]
|
25
25
|
required :direction, enum: -> { ModernTreasury::ReconciliationRule::Direction }
|
26
26
|
|
27
27
|
# @!attribute internal_account_id
|
@@ -39,7 +39,7 @@ module ModernTreasury
|
|
39
39
|
# @!attribute currency
|
40
40
|
# Must conform to ISO 4217. Defaults to the currency of the internal account
|
41
41
|
#
|
42
|
-
# @return [Symbol, ModernTreasury::Currency, nil]
|
42
|
+
# @return [Symbol, ModernTreasury::Models::Currency, nil]
|
43
43
|
optional :currency, enum: -> { ModernTreasury::Currency }
|
44
44
|
|
45
45
|
# @!attribute custom_identifiers
|
@@ -64,24 +64,24 @@ module ModernTreasury
|
|
64
64
|
# One of ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen,
|
65
65
|
# sepa, signet wire
|
66
66
|
#
|
67
|
-
# @return [Symbol, ModernTreasury::ReconciliationRule::Type, nil]
|
67
|
+
# @return [Symbol, ModernTreasury::Models::ReconciliationRule::Type, nil]
|
68
68
|
optional :type, enum: -> { ModernTreasury::ReconciliationRule::Type }, nil?: true
|
69
69
|
|
70
70
|
# @!method initialize(amount_lower_bound:, amount_upper_bound:, direction:, internal_account_id:, counterparty_id: nil, currency: nil, custom_identifiers: nil, date_lower_bound: nil, date_upper_bound: nil, type: nil)
|
71
71
|
# Some parameter documentations has been truncated, see
|
72
|
-
# {ModernTreasury::ReconciliationRule} for more details.
|
72
|
+
# {ModernTreasury::Models::ReconciliationRule} for more details.
|
73
73
|
#
|
74
74
|
# @param amount_lower_bound [Integer] The lowest amount this expected payment may be equal to. Value in specified curr
|
75
75
|
#
|
76
76
|
# @param amount_upper_bound [Integer] The highest amount this expected payment may be equal to. Value in specified cur
|
77
77
|
#
|
78
|
-
# @param direction [Symbol, ModernTreasury::ReconciliationRule::Direction] One of credit or debit. When you are receiving money, use credit. When you are b
|
78
|
+
# @param direction [Symbol, ModernTreasury::Models::ReconciliationRule::Direction] One of credit or debit. When you are receiving money, use credit. When you are b
|
79
79
|
#
|
80
80
|
# @param internal_account_id [String] The ID of the Internal Account for the expected payment
|
81
81
|
#
|
82
82
|
# @param counterparty_id [String, nil] The ID of the counterparty you expect for this payment
|
83
83
|
#
|
84
|
-
# @param currency [Symbol, ModernTreasury::Currency] Must conform to ISO 4217. Defaults to the currency of the internal account
|
84
|
+
# @param currency [Symbol, ModernTreasury::Models::Currency] Must conform to ISO 4217. Defaults to the currency of the internal account
|
85
85
|
#
|
86
86
|
# @param custom_identifiers [Hash{Symbol=>String}, nil] A hash of custom identifiers for this payment
|
87
87
|
#
|
@@ -89,12 +89,12 @@ module ModernTreasury
|
|
89
89
|
#
|
90
90
|
# @param date_upper_bound [Date, nil] The latest date the payment may come in. Format is yyyy-mm-dd
|
91
91
|
#
|
92
|
-
# @param type [Symbol, ModernTreasury::ReconciliationRule::Type, nil] One of ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen, sep
|
92
|
+
# @param type [Symbol, ModernTreasury::Models::ReconciliationRule::Type, nil] One of ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen, sep
|
93
93
|
|
94
94
|
# One of credit or debit. When you are receiving money, use credit. When you are
|
95
95
|
# being charged, use debit.
|
96
96
|
#
|
97
|
-
# @see ModernTreasury::ReconciliationRule#direction
|
97
|
+
# @see ModernTreasury::Models::ReconciliationRule#direction
|
98
98
|
module Direction
|
99
99
|
extend ModernTreasury::Internal::Type::Enum
|
100
100
|
|
@@ -108,13 +108,14 @@ module ModernTreasury
|
|
108
108
|
# One of ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen,
|
109
109
|
# sepa, signet wire
|
110
110
|
#
|
111
|
-
# @see ModernTreasury::ReconciliationRule#type
|
111
|
+
# @see ModernTreasury::Models::ReconciliationRule#type
|
112
112
|
module Type
|
113
113
|
extend ModernTreasury::Internal::Type::Enum
|
114
114
|
|
115
115
|
ACH = :ach
|
116
116
|
AU_BECS = :au_becs
|
117
117
|
BACS = :bacs
|
118
|
+
BASE = :base
|
118
119
|
BOOK = :book
|
119
120
|
CARD = :card
|
120
121
|
CHATS = :chats
|
@@ -122,6 +123,7 @@ module ModernTreasury
|
|
122
123
|
CROSS_BORDER = :cross_border
|
123
124
|
DK_NETS = :dk_nets
|
124
125
|
EFT = :eft
|
126
|
+
ETHEREUM = :ethereum
|
125
127
|
HU_ICS = :hu_ics
|
126
128
|
INTERAC = :interac
|
127
129
|
MASAV = :masav
|
@@ -130,6 +132,7 @@ module ModernTreasury
|
|
130
132
|
NICS = :nics
|
131
133
|
NZ_BECS = :nz_becs
|
132
134
|
PL_ELIXIR = :pl_elixir
|
135
|
+
POLYGON = :polygon
|
133
136
|
PROVXCHANGE = :provxchange
|
134
137
|
RO_SENT = :ro_sent
|
135
138
|
RTP = :rtp
|
@@ -140,6 +143,7 @@ module ModernTreasury
|
|
140
143
|
SIC = :sic
|
141
144
|
SIGNET = :signet
|
142
145
|
SKNBI = :sknbi
|
146
|
+
SOLANA = :solana
|
143
147
|
WIRE = :wire
|
144
148
|
ZENGIN = :zengin
|
145
149
|
|
@@ -17,7 +17,7 @@ module ModernTreasury
|
|
17
17
|
# The type of object being returned. Currently, this may only be
|
18
18
|
# incoming_payment_detail.
|
19
19
|
#
|
20
|
-
# @return [Symbol, ModernTreasury::ReturnCreateParams::ReturnableType]
|
20
|
+
# @return [Symbol, ModernTreasury::Models::ReturnCreateParams::ReturnableType]
|
21
21
|
required :returnable_type, enum: -> { ModernTreasury::ReturnCreateParams::ReturnableType }
|
22
22
|
|
23
23
|
# @!attribute additional_information
|
@@ -30,7 +30,7 @@ module ModernTreasury
|
|
30
30
|
# @!attribute code
|
31
31
|
# The return code. For ACH returns, this is the required ACH return code.
|
32
32
|
#
|
33
|
-
# @return [Symbol, ModernTreasury::ReturnCreateParams::Code, nil]
|
33
|
+
# @return [Symbol, ModernTreasury::Models::ReturnCreateParams::Code, nil]
|
34
34
|
optional :code, enum: -> { ModernTreasury::ReturnCreateParams::Code }, nil?: true
|
35
35
|
|
36
36
|
# @!attribute data
|
@@ -59,11 +59,11 @@ module ModernTreasury
|
|
59
59
|
#
|
60
60
|
# @param returnable_id [String, nil] The ID of the object being returned or `null`.
|
61
61
|
#
|
62
|
-
# @param returnable_type [Symbol, ModernTreasury::ReturnCreateParams::ReturnableType] The type of object being returned. Currently, this may only be incoming*payment*
|
62
|
+
# @param returnable_type [Symbol, ModernTreasury::Models::ReturnCreateParams::ReturnableType] The type of object being returned. Currently, this may only be incoming*payment*
|
63
63
|
#
|
64
64
|
# @param additional_information [String, nil] Some returns may include additional information from the bank. In these cases, t
|
65
65
|
#
|
66
|
-
# @param code [Symbol, ModernTreasury::ReturnCreateParams::Code, nil] The return code. For ACH returns, this is the required ACH return code.
|
66
|
+
# @param code [Symbol, ModernTreasury::Models::ReturnCreateParams::Code, nil] The return code. For ACH returns, this is the required ACH return code.
|
67
67
|
#
|
68
68
|
# @param data [Object, nil] The raw data from the return file that we get from the bank.
|
69
69
|
#
|
@@ -122,24 +122,64 @@ module ModernTreasury
|
|
122
122
|
R10 = :R10
|
123
123
|
R11 = :R11
|
124
124
|
R12 = :R12
|
125
|
+
R13 = :R13
|
125
126
|
R14 = :R14
|
126
127
|
R15 = :R15
|
127
128
|
R16 = :R16
|
128
129
|
R17 = :R17
|
130
|
+
R18 = :R18
|
131
|
+
R19 = :R19
|
129
132
|
R20 = :R20
|
130
133
|
R21 = :R21
|
131
134
|
R22 = :R22
|
132
135
|
R23 = :R23
|
133
136
|
R24 = :R24
|
137
|
+
R25 = :R25
|
138
|
+
R26 = :R26
|
139
|
+
R27 = :R27
|
140
|
+
R28 = :R28
|
134
141
|
R29 = :R29
|
142
|
+
R30 = :R30
|
135
143
|
R31 = :R31
|
144
|
+
R32 = :R32
|
136
145
|
R33 = :R33
|
146
|
+
R34 = :R34
|
147
|
+
R35 = :R35
|
148
|
+
R36 = :R36
|
137
149
|
R37 = :R37
|
138
150
|
R38 = :R38
|
139
151
|
R39 = :R39
|
152
|
+
R40 = :R40
|
153
|
+
R41 = :R41
|
154
|
+
R42 = :R42
|
155
|
+
R43 = :R43
|
156
|
+
R44 = :R44
|
157
|
+
R45 = :R45
|
158
|
+
R46 = :R46
|
159
|
+
R47 = :R47
|
160
|
+
R50 = :R50
|
140
161
|
R51 = :R51
|
141
162
|
R52 = :R52
|
142
163
|
R53 = :R53
|
164
|
+
R61 = :R61
|
165
|
+
R62 = :R62
|
166
|
+
R67 = :R67
|
167
|
+
R68 = :R68
|
168
|
+
R69 = :R69
|
169
|
+
R70 = :R70
|
170
|
+
R71 = :R71
|
171
|
+
R72 = :R72
|
172
|
+
R73 = :R73
|
173
|
+
R74 = :R74
|
174
|
+
R75 = :R75
|
175
|
+
R76 = :R76
|
176
|
+
R77 = :R77
|
177
|
+
R80 = :R80
|
178
|
+
R81 = :R81
|
179
|
+
R82 = :R82
|
180
|
+
R83 = :R83
|
181
|
+
R84 = :R84
|
182
|
+
R85 = :R85
|
143
183
|
CURRENCYCLOUD = :currencycloud
|
144
184
|
|
145
185
|
# @!method self.values
|
@@ -41,7 +41,7 @@ module ModernTreasury
|
|
41
41
|
# One of `payment_order`, `paper_item`, `reversal`, or `incoming_payment_detail`.
|
42
42
|
# Must be accompanied by `returnable_id`.
|
43
43
|
#
|
44
|
-
# @return [Symbol, ModernTreasury::ReturnListParams::ReturnableType, nil]
|
44
|
+
# @return [Symbol, ModernTreasury::Models::ReturnListParams::ReturnableType, nil]
|
45
45
|
optional :returnable_type, enum: -> { ModernTreasury::ReturnListParams::ReturnableType }
|
46
46
|
|
47
47
|
# @!method initialize(after_cursor: nil, counterparty_id: nil, internal_account_id: nil, per_page: nil, returnable_id: nil, returnable_type: nil, request_options: {})
|
@@ -58,7 +58,7 @@ module ModernTreasury
|
|
58
58
|
#
|
59
59
|
# @param returnable_id [String] The ID of a valid returnable. Must be accompanied by `returnable_type`.
|
60
60
|
#
|
61
|
-
# @param returnable_type [Symbol, ModernTreasury::ReturnListParams::ReturnableType] One of `payment_order`, `paper_item`, `reversal`, or `incoming_payment_detail`.
|
61
|
+
# @param returnable_type [Symbol, ModernTreasury::Models::ReturnListParams::ReturnableType] One of `payment_order`, `paper_item`, `reversal`, or `incoming_payment_detail`.
|
62
62
|
#
|
63
63
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
64
64
|
|