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
@@ -10,7 +10,7 @@ module ModernTreasury
|
|
10
10
|
# @!attribute addresses
|
11
11
|
# A list of addresses for the entity.
|
12
12
|
#
|
13
|
-
# @return [Array<ModernTreasury::LegalEntityUpdateParams::Address>, nil]
|
13
|
+
# @return [Array<ModernTreasury::Models::LegalEntityUpdateParams::Address>, nil]
|
14
14
|
optional :addresses,
|
15
15
|
-> {
|
16
16
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityUpdateParams::Address]
|
@@ -18,7 +18,7 @@ module ModernTreasury
|
|
18
18
|
|
19
19
|
# @!attribute bank_settings
|
20
20
|
#
|
21
|
-
# @return [ModernTreasury::BankSettings, nil]
|
21
|
+
# @return [ModernTreasury::Models::BankSettings, nil]
|
22
22
|
optional :bank_settings, -> { ModernTreasury::BankSettings }, nil?: true
|
23
23
|
|
24
24
|
# @!attribute business_name
|
@@ -35,7 +35,7 @@ module ModernTreasury
|
|
35
35
|
|
36
36
|
# @!attribute compliance_details
|
37
37
|
#
|
38
|
-
# @return [ModernTreasury::LegalEntityComplianceDetail, nil]
|
38
|
+
# @return [ModernTreasury::Models::LegalEntityComplianceDetail, nil]
|
39
39
|
optional :compliance_details, -> { ModernTreasury::LegalEntityComplianceDetail }, nil?: true
|
40
40
|
|
41
41
|
# @!attribute date_formed
|
@@ -70,7 +70,7 @@ module ModernTreasury
|
|
70
70
|
# @!attribute identifications
|
71
71
|
# A list of identifications for the legal entity.
|
72
72
|
#
|
73
|
-
# @return [Array<ModernTreasury::LegalEntityUpdateParams::Identification>, nil]
|
73
|
+
# @return [Array<ModernTreasury::Models::LegalEntityUpdateParams::Identification>, nil]
|
74
74
|
optional :identifications,
|
75
75
|
-> {
|
76
76
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityUpdateParams::Identification]
|
@@ -79,7 +79,7 @@ module ModernTreasury
|
|
79
79
|
# @!attribute industry_classifications
|
80
80
|
# A list of industry classifications for the legal entity.
|
81
81
|
#
|
82
|
-
# @return [Array<ModernTreasury::LegalEntityIndustryClassification>, nil]
|
82
|
+
# @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>, nil]
|
83
83
|
optional :industry_classifications,
|
84
84
|
-> {
|
85
85
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification]
|
@@ -94,7 +94,7 @@ module ModernTreasury
|
|
94
94
|
# @!attribute legal_structure
|
95
95
|
# The business's legal structure.
|
96
96
|
#
|
97
|
-
# @return [Symbol, ModernTreasury::LegalEntityUpdateParams::LegalStructure, nil]
|
97
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::LegalStructure, nil]
|
98
98
|
optional :legal_structure,
|
99
99
|
enum: -> { ModernTreasury::LegalEntityUpdateParams::LegalStructure },
|
100
100
|
nil?: true
|
@@ -114,7 +114,7 @@ module ModernTreasury
|
|
114
114
|
|
115
115
|
# @!attribute phone_numbers
|
116
116
|
#
|
117
|
-
# @return [Array<ModernTreasury::LegalEntityUpdateParams::PhoneNumber>, nil]
|
117
|
+
# @return [Array<ModernTreasury::Models::LegalEntityUpdateParams::PhoneNumber>, nil]
|
118
118
|
optional :phone_numbers,
|
119
119
|
-> {
|
120
120
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityUpdateParams::PhoneNumber]
|
@@ -141,7 +141,7 @@ module ModernTreasury
|
|
141
141
|
# @!attribute risk_rating
|
142
142
|
# The risk rating of the legal entity. One of low, medium, high.
|
143
143
|
#
|
144
|
-
# @return [Symbol, ModernTreasury::LegalEntityUpdateParams::RiskRating, nil]
|
144
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::RiskRating, nil]
|
145
145
|
optional :risk_rating, enum: -> { ModernTreasury::LegalEntityUpdateParams::RiskRating }, nil?: true
|
146
146
|
|
147
147
|
# @!attribute suffix
|
@@ -152,7 +152,7 @@ module ModernTreasury
|
|
152
152
|
|
153
153
|
# @!attribute wealth_and_employment_details
|
154
154
|
#
|
155
|
-
# @return [ModernTreasury::WealthAndEmploymentDetails, nil]
|
155
|
+
# @return [ModernTreasury::Models::WealthAndEmploymentDetails, nil]
|
156
156
|
optional :wealth_and_employment_details, -> { ModernTreasury::WealthAndEmploymentDetails }, nil?: true
|
157
157
|
|
158
158
|
# @!attribute website
|
@@ -165,15 +165,15 @@ module ModernTreasury
|
|
165
165
|
# Some parameter documentations has been truncated, see
|
166
166
|
# {ModernTreasury::Models::LegalEntityUpdateParams} for more details.
|
167
167
|
#
|
168
|
-
# @param addresses [Array<ModernTreasury::LegalEntityUpdateParams::Address>] A list of addresses for the entity.
|
168
|
+
# @param addresses [Array<ModernTreasury::Models::LegalEntityUpdateParams::Address>] A list of addresses for the entity.
|
169
169
|
#
|
170
|
-
# @param bank_settings [ModernTreasury::BankSettings, nil]
|
170
|
+
# @param bank_settings [ModernTreasury::Models::BankSettings, nil]
|
171
171
|
#
|
172
172
|
# @param business_name [String, nil] The business's legal business name.
|
173
173
|
#
|
174
174
|
# @param citizenship_country [String, nil] The country of citizenship for an individual.
|
175
175
|
#
|
176
|
-
# @param compliance_details [ModernTreasury::LegalEntityComplianceDetail, nil]
|
176
|
+
# @param compliance_details [ModernTreasury::Models::LegalEntityComplianceDetail, nil]
|
177
177
|
#
|
178
178
|
# @param date_formed [Date, nil] A business's formation date (YYYY-MM-DD).
|
179
179
|
#
|
@@ -185,19 +185,19 @@ module ModernTreasury
|
|
185
185
|
#
|
186
186
|
# @param first_name [String, nil] An individual's first name.
|
187
187
|
#
|
188
|
-
# @param identifications [Array<ModernTreasury::LegalEntityUpdateParams::Identification>] A list of identifications for the legal entity.
|
188
|
+
# @param identifications [Array<ModernTreasury::Models::LegalEntityUpdateParams::Identification>] A list of identifications for the legal entity.
|
189
189
|
#
|
190
|
-
# @param industry_classifications [Array<ModernTreasury::LegalEntityIndustryClassification>] A list of industry classifications for the legal entity.
|
190
|
+
# @param industry_classifications [Array<ModernTreasury::Models::LegalEntityIndustryClassification>] A list of industry classifications for the legal entity.
|
191
191
|
#
|
192
192
|
# @param last_name [String, nil] An individual's last name.
|
193
193
|
#
|
194
|
-
# @param legal_structure [Symbol, ModernTreasury::LegalEntityUpdateParams::LegalStructure, nil] The business's legal structure.
|
194
|
+
# @param legal_structure [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::LegalStructure, nil] The business's legal structure.
|
195
195
|
#
|
196
196
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
197
197
|
#
|
198
198
|
# @param middle_name [String, nil] An individual's middle name.
|
199
199
|
#
|
200
|
-
# @param phone_numbers [Array<ModernTreasury::LegalEntityUpdateParams::PhoneNumber>]
|
200
|
+
# @param phone_numbers [Array<ModernTreasury::Models::LegalEntityUpdateParams::PhoneNumber>]
|
201
201
|
#
|
202
202
|
# @param politically_exposed_person [Boolean, nil] Whether the individual is a politically exposed person.
|
203
203
|
#
|
@@ -205,11 +205,11 @@ module ModernTreasury
|
|
205
205
|
#
|
206
206
|
# @param prefix [String, nil] An individual's prefix.
|
207
207
|
#
|
208
|
-
# @param risk_rating [Symbol, ModernTreasury::LegalEntityUpdateParams::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
208
|
+
# @param risk_rating [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
209
209
|
#
|
210
210
|
# @param suffix [String, nil] An individual's suffix.
|
211
211
|
#
|
212
|
-
# @param wealth_and_employment_details [ModernTreasury::WealthAndEmploymentDetails, nil]
|
212
|
+
# @param wealth_and_employment_details [ModernTreasury::Models::WealthAndEmploymentDetails, nil]
|
213
213
|
#
|
214
214
|
# @param website [String, nil] The entity's primary website URL.
|
215
215
|
#
|
@@ -248,7 +248,7 @@ module ModernTreasury
|
|
248
248
|
# @!attribute address_types
|
249
249
|
# The types of this address.
|
250
250
|
#
|
251
|
-
# @return [Array<Symbol, ModernTreasury::LegalEntityUpdateParams::Address::AddressType>, nil]
|
251
|
+
# @return [Array<Symbol, ModernTreasury::Models::LegalEntityUpdateParams::Address::AddressType>, nil]
|
252
252
|
optional :address_types,
|
253
253
|
-> {
|
254
254
|
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityUpdateParams::Address::AddressType]
|
@@ -270,7 +270,7 @@ module ModernTreasury
|
|
270
270
|
#
|
271
271
|
# @param region [String, nil] Region or State.
|
272
272
|
#
|
273
|
-
# @param address_types [Array<Symbol, ModernTreasury::LegalEntityUpdateParams::Address::AddressType>] The types of this address.
|
273
|
+
# @param address_types [Array<Symbol, ModernTreasury::Models::LegalEntityUpdateParams::Address::AddressType>] The types of this address.
|
274
274
|
#
|
275
275
|
# @param line2 [String, nil]
|
276
276
|
|
@@ -298,9 +298,16 @@ module ModernTreasury
|
|
298
298
|
# @!attribute id_type
|
299
299
|
# The type of ID number.
|
300
300
|
#
|
301
|
-
# @return [Symbol, ModernTreasury::LegalEntityUpdateParams::Identification::IDType]
|
301
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::Identification::IDType]
|
302
302
|
required :id_type, enum: -> { ModernTreasury::LegalEntityUpdateParams::Identification::IDType }
|
303
303
|
|
304
|
+
# @!attribute expiration_date
|
305
|
+
# The date when the Identification is no longer considered valid by the issuing
|
306
|
+
# authority.
|
307
|
+
#
|
308
|
+
# @return [Date, nil]
|
309
|
+
optional :expiration_date, Date, nil?: true
|
310
|
+
|
304
311
|
# @!attribute issuing_country
|
305
312
|
# The ISO 3166-1 alpha-2 country code of the country that issued the
|
306
313
|
# identification
|
@@ -308,19 +315,30 @@ module ModernTreasury
|
|
308
315
|
# @return [String, nil]
|
309
316
|
optional :issuing_country, String, nil?: true
|
310
317
|
|
311
|
-
# @!
|
318
|
+
# @!attribute issuing_region
|
319
|
+
# The region in which the identifcation was issued.
|
320
|
+
#
|
321
|
+
# @return [String, nil]
|
322
|
+
optional :issuing_region, String, nil?: true
|
323
|
+
|
324
|
+
# @!method initialize(id_number:, id_type:, expiration_date: nil, issuing_country: nil, issuing_region: nil)
|
312
325
|
# Some parameter documentations has been truncated, see
|
313
|
-
# {ModernTreasury::LegalEntityUpdateParams::Identification} for more
|
326
|
+
# {ModernTreasury::Models::LegalEntityUpdateParams::Identification} for more
|
327
|
+
# details.
|
314
328
|
#
|
315
329
|
# @param id_number [String] The ID number of identification document.
|
316
330
|
#
|
317
|
-
# @param id_type [Symbol, ModernTreasury::LegalEntityUpdateParams::Identification::IDType] The type of ID number.
|
331
|
+
# @param id_type [Symbol, ModernTreasury::Models::LegalEntityUpdateParams::Identification::IDType] The type of ID number.
|
332
|
+
#
|
333
|
+
# @param expiration_date [Date, nil] The date when the Identification is no longer considered valid by the issuing au
|
318
334
|
#
|
319
335
|
# @param issuing_country [String, nil] The ISO 3166-1 alpha-2 country code of the country that issued the identificatio
|
336
|
+
#
|
337
|
+
# @param issuing_region [String, nil] The region in which the identifcation was issued.
|
320
338
|
|
321
339
|
# The type of ID number.
|
322
340
|
#
|
323
|
-
# @see ModernTreasury::LegalEntityUpdateParams::Identification#id_type
|
341
|
+
# @see ModernTreasury::Models::LegalEntityUpdateParams::Identification#id_type
|
324
342
|
module IDType
|
325
343
|
extend ModernTreasury::Internal::Type::Enum
|
326
344
|
|
@@ -332,6 +350,7 @@ module ModernTreasury
|
|
332
350
|
CL_RUT = :cl_rut
|
333
351
|
CO_CEDULAS = :co_cedulas
|
334
352
|
CO_NIT = :co_nit
|
353
|
+
DRIVERS_LICENSE = :drivers_license
|
335
354
|
HN_ID = :hn_id
|
336
355
|
HN_RTN = :hn_rtn
|
337
356
|
IN_LEI = :in_lei
|
@@ -11,7 +11,7 @@ module ModernTreasury
|
|
11
11
|
|
12
12
|
# @!attribute accounting
|
13
13
|
#
|
14
|
-
# @return [ModernTreasury::LineItem::Accounting]
|
14
|
+
# @return [ModernTreasury::Models::LineItem::Accounting]
|
15
15
|
required :accounting, -> { ModernTreasury::LineItem::Accounting }
|
16
16
|
|
17
17
|
# @!attribute accounting_category_id
|
@@ -56,7 +56,7 @@ module ModernTreasury
|
|
56
56
|
# @!attribute itemizable_type
|
57
57
|
# One of `payment_orders` or `expected_payments`.
|
58
58
|
#
|
59
|
-
# @return [Symbol, ModernTreasury::LineItem::ItemizableType]
|
59
|
+
# @return [Symbol, ModernTreasury::Models::LineItem::ItemizableType]
|
60
60
|
required :itemizable_type, enum: -> { ModernTreasury::LineItem::ItemizableType }
|
61
61
|
|
62
62
|
# @!attribute live_mode
|
@@ -84,12 +84,12 @@ module ModernTreasury
|
|
84
84
|
required :updated_at, Time
|
85
85
|
|
86
86
|
# @!method initialize(id:, accounting:, accounting_category_id:, accounting_ledger_class_id:, amount:, created_at:, description:, itemizable_id:, itemizable_type:, live_mode:, metadata:, object:, updated_at:)
|
87
|
-
# Some parameter documentations has been truncated, see
|
88
|
-
# for more details.
|
87
|
+
# Some parameter documentations has been truncated, see
|
88
|
+
# {ModernTreasury::Models::LineItem} for more details.
|
89
89
|
#
|
90
90
|
# @param id [String]
|
91
91
|
#
|
92
|
-
# @param accounting [ModernTreasury::LineItem::Accounting]
|
92
|
+
# @param accounting [ModernTreasury::Models::LineItem::Accounting]
|
93
93
|
#
|
94
94
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
95
95
|
#
|
@@ -103,7 +103,7 @@ module ModernTreasury
|
|
103
103
|
#
|
104
104
|
# @param itemizable_id [String] The ID of the payment order or expected payment.
|
105
105
|
#
|
106
|
-
# @param itemizable_type [Symbol, ModernTreasury::LineItem::ItemizableType] One of `payment_orders` or `expected_payments`.
|
106
|
+
# @param itemizable_type [Symbol, ModernTreasury::Models::LineItem::ItemizableType] One of `payment_orders` or `expected_payments`.
|
107
107
|
#
|
108
108
|
# @param live_mode [Boolean] This field will be true if this object exists in the live environment or false i
|
109
109
|
#
|
@@ -113,7 +113,7 @@ module ModernTreasury
|
|
113
113
|
#
|
114
114
|
# @param updated_at [Time]
|
115
115
|
|
116
|
-
# @see ModernTreasury::LineItem#accounting
|
116
|
+
# @see ModernTreasury::Models::LineItem#accounting
|
117
117
|
class Accounting < ModernTreasury::Internal::Type::BaseModel
|
118
118
|
# @!attribute account_id
|
119
119
|
# The ID of one of your accounting categories. Note that these will only be
|
@@ -132,7 +132,7 @@ module ModernTreasury
|
|
132
132
|
|
133
133
|
# @!method initialize(account_id: nil, class_id: nil)
|
134
134
|
# Some parameter documentations has been truncated, see
|
135
|
-
# {ModernTreasury::LineItem::Accounting} for more details.
|
135
|
+
# {ModernTreasury::Models::LineItem::Accounting} for more details.
|
136
136
|
#
|
137
137
|
# @param account_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
138
138
|
#
|
@@ -141,7 +141,7 @@ module ModernTreasury
|
|
141
141
|
|
142
142
|
# One of `payment_orders` or `expected_payments`.
|
143
143
|
#
|
144
|
-
# @see ModernTreasury::LineItem#itemizable_type
|
144
|
+
# @see ModernTreasury::Models::LineItem#itemizable_type
|
145
145
|
module ItemizableType
|
146
146
|
extend ModernTreasury::Internal::Type::Enum
|
147
147
|
|
@@ -9,7 +9,7 @@ module ModernTreasury
|
|
9
9
|
|
10
10
|
# @!attribute itemizable_type
|
11
11
|
#
|
12
|
-
# @return [Symbol, ModernTreasury::LineItemListParams::ItemizableType]
|
12
|
+
# @return [Symbol, ModernTreasury::Models::LineItemListParams::ItemizableType]
|
13
13
|
required :itemizable_type, enum: -> { ModernTreasury::LineItemListParams::ItemizableType }
|
14
14
|
|
15
15
|
# @!attribute after_cursor
|
@@ -23,7 +23,7 @@ module ModernTreasury
|
|
23
23
|
optional :per_page, Integer
|
24
24
|
|
25
25
|
# @!method initialize(itemizable_type:, after_cursor: nil, per_page: nil, request_options: {})
|
26
|
-
# @param itemizable_type [Symbol, ModernTreasury::LineItemListParams::ItemizableType]
|
26
|
+
# @param itemizable_type [Symbol, ModernTreasury::Models::LineItemListParams::ItemizableType]
|
27
27
|
# @param after_cursor [String, nil]
|
28
28
|
# @param per_page [Integer]
|
29
29
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
@@ -9,7 +9,7 @@ module ModernTreasury
|
|
9
9
|
|
10
10
|
# @!attribute itemizable_type
|
11
11
|
#
|
12
|
-
# @return [Symbol, ModernTreasury::LineItemRetrieveParams::ItemizableType]
|
12
|
+
# @return [Symbol, ModernTreasury::Models::LineItemRetrieveParams::ItemizableType]
|
13
13
|
required :itemizable_type, enum: -> { ModernTreasury::LineItemRetrieveParams::ItemizableType }
|
14
14
|
|
15
15
|
# @!attribute itemizable_id
|
@@ -18,7 +18,7 @@ module ModernTreasury
|
|
18
18
|
required :itemizable_id, String
|
19
19
|
|
20
20
|
# @!method initialize(itemizable_type:, itemizable_id:, request_options: {})
|
21
|
-
# @param itemizable_type [Symbol, ModernTreasury::LineItemRetrieveParams::ItemizableType]
|
21
|
+
# @param itemizable_type [Symbol, ModernTreasury::Models::LineItemRetrieveParams::ItemizableType]
|
22
22
|
# @param itemizable_id [String]
|
23
23
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
24
24
|
|
@@ -9,7 +9,7 @@ module ModernTreasury
|
|
9
9
|
|
10
10
|
# @!attribute itemizable_type
|
11
11
|
#
|
12
|
-
# @return [Symbol, ModernTreasury::LineItemUpdateParams::ItemizableType]
|
12
|
+
# @return [Symbol, ModernTreasury::Models::LineItemUpdateParams::ItemizableType]
|
13
13
|
required :itemizable_type, enum: -> { ModernTreasury::LineItemUpdateParams::ItemizableType }
|
14
14
|
|
15
15
|
# @!attribute itemizable_id
|
@@ -28,7 +28,7 @@ module ModernTreasury
|
|
28
28
|
# Some parameter documentations has been truncated, see
|
29
29
|
# {ModernTreasury::Models::LineItemUpdateParams} for more details.
|
30
30
|
#
|
31
|
-
# @param itemizable_type [Symbol, ModernTreasury::LineItemUpdateParams::ItemizableType]
|
31
|
+
# @param itemizable_type [Symbol, ModernTreasury::Models::LineItemUpdateParams::ItemizableType]
|
32
32
|
#
|
33
33
|
# @param itemizable_id [String]
|
34
34
|
#
|
@@ -41,7 +41,7 @@ module ModernTreasury
|
|
41
41
|
# @!attribute currency
|
42
42
|
# The currency of the paper item.
|
43
43
|
#
|
44
|
-
# @return [Symbol, ModernTreasury::Currency]
|
44
|
+
# @return [Symbol, ModernTreasury::Models::Currency]
|
45
45
|
required :currency, enum: -> { ModernTreasury::Currency }
|
46
46
|
|
47
47
|
# @!attribute deposit_date
|
@@ -69,6 +69,13 @@ module ModernTreasury
|
|
69
69
|
# @return [String, nil]
|
70
70
|
required :memo_field, String, nil?: true
|
71
71
|
|
72
|
+
# @!attribute metadata
|
73
|
+
# Additional data represented as key-value pairs. Both the key and value must be
|
74
|
+
# strings.
|
75
|
+
#
|
76
|
+
# @return [Object]
|
77
|
+
required :metadata, ModernTreasury::Internal::Type::Unknown
|
78
|
+
|
72
79
|
# @!attribute object
|
73
80
|
#
|
74
81
|
# @return [String]
|
@@ -90,7 +97,7 @@ module ModernTreasury
|
|
90
97
|
# The current status of the paper item. One of `pending`, `completed`, or
|
91
98
|
# `returned`.
|
92
99
|
#
|
93
|
-
# @return [Symbol, ModernTreasury::PaperItem::Status]
|
100
|
+
# @return [Symbol, ModernTreasury::Models::PaperItem::Status]
|
94
101
|
required :status, enum: -> { ModernTreasury::PaperItem::Status }
|
95
102
|
|
96
103
|
# @!attribute transaction_id
|
@@ -110,9 +117,9 @@ module ModernTreasury
|
|
110
117
|
# @return [Time]
|
111
118
|
required :updated_at, Time
|
112
119
|
|
113
|
-
# @!method initialize(id:, account_number:, account_number_safe:, amount:, check_number:, created_at:, currency:, deposit_date:, live_mode:, lockbox_number:, memo_field:, object:, remitter_name:, routing_number:, status:, transaction_id:, transaction_line_item_id:, updated_at:)
|
120
|
+
# @!method initialize(id:, account_number:, account_number_safe:, amount:, check_number:, created_at:, currency:, deposit_date:, live_mode:, lockbox_number:, memo_field:, metadata:, object:, remitter_name:, routing_number:, status:, transaction_id:, transaction_line_item_id:, updated_at:)
|
114
121
|
# Some parameter documentations has been truncated, see
|
115
|
-
# {ModernTreasury::PaperItem} for more details.
|
122
|
+
# {ModernTreasury::Models::PaperItem} for more details.
|
116
123
|
#
|
117
124
|
# @param id [String]
|
118
125
|
#
|
@@ -126,7 +133,7 @@ module ModernTreasury
|
|
126
133
|
#
|
127
134
|
# @param created_at [Time]
|
128
135
|
#
|
129
|
-
# @param currency [Symbol, ModernTreasury::Currency] The currency of the paper item.
|
136
|
+
# @param currency [Symbol, ModernTreasury::Models::Currency] The currency of the paper item.
|
130
137
|
#
|
131
138
|
# @param deposit_date [Date] The date the paper item was deposited into your organization's bank account.
|
132
139
|
#
|
@@ -136,13 +143,15 @@ module ModernTreasury
|
|
136
143
|
#
|
137
144
|
# @param memo_field [String, nil] The memo field on the paper item.
|
138
145
|
#
|
146
|
+
# @param metadata [Object] Additional data represented as key-value pairs. Both the key and value must be s
|
147
|
+
#
|
139
148
|
# @param object [String]
|
140
149
|
#
|
141
150
|
# @param remitter_name [String, nil] The name of the remitter on the paper item.
|
142
151
|
#
|
143
152
|
# @param routing_number [String, nil] The routing number on the paper item.
|
144
153
|
#
|
145
|
-
# @param status [Symbol, ModernTreasury::PaperItem::Status] The current status of the paper item. One of `pending`, `completed`, or `returne
|
154
|
+
# @param status [Symbol, ModernTreasury::Models::PaperItem::Status] The current status of the paper item. One of `pending`, `completed`, or `returne
|
146
155
|
#
|
147
156
|
# @param transaction_id [String, nil] The ID of the reconciled Transaction or `null`.
|
148
157
|
#
|
@@ -153,7 +162,7 @@ module ModernTreasury
|
|
153
162
|
# The current status of the paper item. One of `pending`, `completed`, or
|
154
163
|
# `returned`.
|
155
164
|
#
|
156
|
-
# @see ModernTreasury::PaperItem#status
|
165
|
+
# @see ModernTreasury::Models::PaperItem#status
|
157
166
|
module Status
|
158
167
|
extend ModernTreasury::Internal::Type::Enum
|
159
168
|
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ModernTreasury
|
4
|
+
module Models
|
5
|
+
# @see ModernTreasury::Resources::PaymentActions#create
|
6
|
+
class PaymentActionCreateParams < ModernTreasury::Internal::Type::BaseModel
|
7
|
+
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
8
|
+
include ModernTreasury::Internal::Type::RequestParameters
|
9
|
+
|
10
|
+
# @!attribute type
|
11
|
+
# Required. The type of the payment action. Determines the action to be taken.
|
12
|
+
#
|
13
|
+
# @return [String]
|
14
|
+
required :type, String
|
15
|
+
|
16
|
+
# @!attribute actionable_id
|
17
|
+
# Optional. The ID of the associated actionable object.
|
18
|
+
#
|
19
|
+
# @return [String, nil]
|
20
|
+
optional :actionable_id, String
|
21
|
+
|
22
|
+
# @!attribute actionable_type
|
23
|
+
# Optional. The type of the associated actionable object. One of `payment_order`,
|
24
|
+
# `expected_payment`. Required if `actionable_id` is passed.
|
25
|
+
#
|
26
|
+
# @return [String, nil]
|
27
|
+
optional :actionable_type, String
|
28
|
+
|
29
|
+
# @!attribute details
|
30
|
+
# Optional. The specifc details of the payment action based on type.
|
31
|
+
#
|
32
|
+
# @return [Object, nil]
|
33
|
+
optional :details, ModernTreasury::Internal::Type::Unknown
|
34
|
+
|
35
|
+
# @!attribute internal_account_id
|
36
|
+
# Optional. The ID of one of your organization's internal accounts. Required if
|
37
|
+
# `actionable_id` is not passed.
|
38
|
+
#
|
39
|
+
# @return [String, nil]
|
40
|
+
optional :internal_account_id, String
|
41
|
+
|
42
|
+
# @!method initialize(type:, actionable_id: nil, actionable_type: nil, details: nil, internal_account_id: nil, request_options: {})
|
43
|
+
# Some parameter documentations has been truncated, see
|
44
|
+
# {ModernTreasury::Models::PaymentActionCreateParams} for more details.
|
45
|
+
#
|
46
|
+
# @param type [String] Required. The type of the payment action. Determines the action to be taken.
|
47
|
+
#
|
48
|
+
# @param actionable_id [String] Optional. The ID of the associated actionable object.
|
49
|
+
#
|
50
|
+
# @param actionable_type [String] Optional. The type of the associated actionable object. One of `payment_order`,
|
51
|
+
#
|
52
|
+
# @param details [Object] Optional. The specifc details of the payment action based on type.
|
53
|
+
#
|
54
|
+
# @param internal_account_id [String] Optional. The ID of one of your organization's internal accounts. Required if `a
|
55
|
+
#
|
56
|
+
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ModernTreasury
|
4
|
+
module Models
|
5
|
+
# @see ModernTreasury::Resources::PaymentActions#create
|
6
|
+
class PaymentActionCreateResponse < ModernTreasury::Internal::Type::BaseModel
|
7
|
+
# @!attribute id
|
8
|
+
#
|
9
|
+
# @return [String]
|
10
|
+
required :id, String
|
11
|
+
|
12
|
+
# @!attribute actionable_id
|
13
|
+
# The ID of the associated actionable object.
|
14
|
+
#
|
15
|
+
# @return [String, nil]
|
16
|
+
required :actionable_id, String, nil?: true
|
17
|
+
|
18
|
+
# @!attribute actionable_type
|
19
|
+
# The type of the associated actionable object. One of `payment_order`,
|
20
|
+
# `expected_payment`.
|
21
|
+
#
|
22
|
+
# @return [String, nil]
|
23
|
+
required :actionable_type, String, nil?: true
|
24
|
+
|
25
|
+
# @!attribute created_at
|
26
|
+
#
|
27
|
+
# @return [Time]
|
28
|
+
required :created_at, Time
|
29
|
+
|
30
|
+
# @!attribute details
|
31
|
+
# The specifc details of the payment action based on type.
|
32
|
+
#
|
33
|
+
# @return [Object]
|
34
|
+
required :details, ModernTreasury::Internal::Type::Unknown
|
35
|
+
|
36
|
+
# @!attribute internal_account_id
|
37
|
+
# The ID of the internal account associated with the payment action.
|
38
|
+
#
|
39
|
+
# @return [String]
|
40
|
+
required :internal_account_id, String
|
41
|
+
|
42
|
+
# @!attribute live_mode
|
43
|
+
# This field will be true if this object exists in the live environment or false
|
44
|
+
# if it exists in the test environment.
|
45
|
+
#
|
46
|
+
# @return [Boolean]
|
47
|
+
required :live_mode, ModernTreasury::Internal::Type::Boolean
|
48
|
+
|
49
|
+
# @!attribute object
|
50
|
+
#
|
51
|
+
# @return [String]
|
52
|
+
required :object, String
|
53
|
+
|
54
|
+
# @!attribute status
|
55
|
+
# The current status of the payment action. One of `pending`, `processing`,
|
56
|
+
# `sent`, `cancelled`, or `failed`.
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
required :status, String
|
60
|
+
|
61
|
+
# @!attribute type
|
62
|
+
# The type of the payment action. Determines the action to be taken.
|
63
|
+
#
|
64
|
+
# @return [String]
|
65
|
+
required :type, String
|
66
|
+
|
67
|
+
# @!attribute updated_at
|
68
|
+
#
|
69
|
+
# @return [Time]
|
70
|
+
required :updated_at, Time
|
71
|
+
|
72
|
+
# @!method initialize(id:, actionable_id:, actionable_type:, created_at:, details:, internal_account_id:, live_mode:, object:, status:, type:, updated_at:)
|
73
|
+
# Some parameter documentations has been truncated, see
|
74
|
+
# {ModernTreasury::Models::PaymentActionCreateResponse} for more details.
|
75
|
+
#
|
76
|
+
# @param id [String]
|
77
|
+
#
|
78
|
+
# @param actionable_id [String, nil] The ID of the associated actionable object.
|
79
|
+
#
|
80
|
+
# @param actionable_type [String, nil] The type of the associated actionable object. One of `payment_order`,
|
81
|
+
# `expected\_
|
82
|
+
#
|
83
|
+
# @param created_at [Time]
|
84
|
+
#
|
85
|
+
# @param details [Object] The specifc details of the payment action based on type.
|
86
|
+
#
|
87
|
+
# @param internal_account_id [String] The ID of the internal account associated with the payment action.
|
88
|
+
#
|
89
|
+
# @param live_mode [Boolean] This field will be true if this object exists in the live environment or false i
|
90
|
+
#
|
91
|
+
# @param object [String]
|
92
|
+
#
|
93
|
+
# @param status [String] The current status of the payment action. One of `pending`, `processing`, `sent`
|
94
|
+
#
|
95
|
+
# @param type [String] The type of the payment action. Determines the action to be taken.
|
96
|
+
#
|
97
|
+
# @param updated_at [Time]
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|