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
@@ -39,7 +39,7 @@ module ModernTreasury
|
|
39
39
|
# Specify this if you'd like to link the reversal ledger transaction to a Payment
|
40
40
|
# object like Return or Reversal.
|
41
41
|
#
|
42
|
-
# @return [Symbol, ModernTreasury::LedgerTransactionCreateReversalParams::LedgerableType, nil]
|
42
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactionCreateReversalParams::LedgerableType, nil]
|
43
43
|
optional :ledgerable_type,
|
44
44
|
enum: -> { ModernTreasury::LedgerTransactionCreateReversalParams::LedgerableType }
|
45
45
|
|
@@ -54,7 +54,7 @@ module ModernTreasury
|
|
54
54
|
# Status of the reversal ledger transaction. It defaults to `posted` if not
|
55
55
|
# provided.
|
56
56
|
#
|
57
|
-
# @return [Symbol, ModernTreasury::LedgerTransactionCreateReversalParams::Status, nil]
|
57
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactionCreateReversalParams::Status, nil]
|
58
58
|
optional :status, enum: -> { ModernTreasury::LedgerTransactionCreateReversalParams::Status }
|
59
59
|
|
60
60
|
# @!method initialize(description: nil, effective_at: nil, external_id: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, status: nil, request_options: {})
|
@@ -70,11 +70,11 @@ module ModernTreasury
|
|
70
70
|
#
|
71
71
|
# @param ledgerable_id [String] Specify this if you'd like to link the reversal ledger transaction to a Payment
|
72
72
|
#
|
73
|
-
# @param ledgerable_type [Symbol, ModernTreasury::LedgerTransactionCreateReversalParams::LedgerableType] Specify this if you'd like to link the reversal ledger transaction to a Payment
|
73
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::LedgerTransactionCreateReversalParams::LedgerableType] Specify this if you'd like to link the reversal ledger transaction to a Payment
|
74
74
|
#
|
75
75
|
# @param metadata [Hash{Symbol=>String}] Additional data to be added to the reversal ledger transaction as key-value pair
|
76
76
|
#
|
77
|
-
# @param status [Symbol, ModernTreasury::LedgerTransactionCreateReversalParams::Status] Status of the reversal ledger transaction. It defaults to `posted` if not provid
|
77
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerTransactionCreateReversalParams::Status] Status of the reversal ledger transaction. It defaults to `posted` if not provid
|
78
78
|
#
|
79
79
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
80
80
|
|
@@ -67,7 +67,7 @@ module ModernTreasury
|
|
67
67
|
|
68
68
|
# @!attribute ledgerable_type
|
69
69
|
#
|
70
|
-
# @return [Symbol, ModernTreasury::LedgerTransactionListParams::LedgerableType, nil]
|
70
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactionListParams::LedgerableType, nil]
|
71
71
|
optional :ledgerable_type, enum: -> { ModernTreasury::LedgerTransactionListParams::LedgerableType }
|
72
72
|
|
73
73
|
# @!attribute metadata
|
@@ -83,7 +83,7 @@ module ModernTreasury
|
|
83
83
|
# to order by `effective_at asc`, use `order_by%5Beffective_at%5D=asc`. Ordering
|
84
84
|
# by only one field at a time is supported.
|
85
85
|
#
|
86
|
-
# @return [ModernTreasury::LedgerTransactionListParams::OrderBy, nil]
|
86
|
+
# @return [ModernTreasury::Models::LedgerTransactionListParams::OrderBy, nil]
|
87
87
|
optional :order_by, -> { ModernTreasury::LedgerTransactionListParams::OrderBy }
|
88
88
|
|
89
89
|
# @!attribute partially_posts_ledger_transaction_id
|
@@ -111,7 +111,7 @@ module ModernTreasury
|
|
111
111
|
|
112
112
|
# @!attribute status
|
113
113
|
#
|
114
|
-
# @return [Symbol, ModernTreasury::LedgerTransactionListParams::Status, nil]
|
114
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactionListParams::Status, nil]
|
115
115
|
optional :status, enum: -> { ModernTreasury::LedgerTransactionListParams::Status }
|
116
116
|
|
117
117
|
# @!attribute updated_at
|
@@ -146,11 +146,11 @@ module ModernTreasury
|
|
146
146
|
#
|
147
147
|
# @param ledgerable_id [String]
|
148
148
|
#
|
149
|
-
# @param ledgerable_type [Symbol, ModernTreasury::LedgerTransactionListParams::LedgerableType]
|
149
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::LedgerTransactionListParams::LedgerableType]
|
150
150
|
#
|
151
151
|
# @param metadata [Hash{Symbol=>String}] For example, if you want to query for records with metadata key `Type` and value
|
152
152
|
#
|
153
|
-
# @param order_by [ModernTreasury::LedgerTransactionListParams::OrderBy] Order by `created_at` or `effective_at` in `asc` or `desc` order. For example, t
|
153
|
+
# @param order_by [ModernTreasury::Models::LedgerTransactionListParams::OrderBy] Order by `created_at` or `effective_at` in `asc` or `desc` order. For example, t
|
154
154
|
#
|
155
155
|
# @param partially_posts_ledger_transaction_id [String]
|
156
156
|
#
|
@@ -160,7 +160,7 @@ module ModernTreasury
|
|
160
160
|
#
|
161
161
|
# @param reverses_ledger_transaction_id [String]
|
162
162
|
#
|
163
|
-
# @param status [Symbol, ModernTreasury::LedgerTransactionListParams::Status]
|
163
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerTransactionListParams::Status]
|
164
164
|
#
|
165
165
|
# @param updated_at [Hash{Symbol=>Time}] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the pos
|
166
166
|
#
|
@@ -183,12 +183,12 @@ module ModernTreasury
|
|
183
183
|
class OrderBy < ModernTreasury::Internal::Type::BaseModel
|
184
184
|
# @!attribute created_at
|
185
185
|
#
|
186
|
-
# @return [Symbol, ModernTreasury::LedgerTransactionListParams::OrderBy::CreatedAt, nil]
|
186
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactionListParams::OrderBy::CreatedAt, nil]
|
187
187
|
optional :created_at, enum: -> { ModernTreasury::LedgerTransactionListParams::OrderBy::CreatedAt }
|
188
188
|
|
189
189
|
# @!attribute effective_at
|
190
190
|
#
|
191
|
-
# @return [Symbol, ModernTreasury::LedgerTransactionListParams::OrderBy::EffectiveAt, nil]
|
191
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactionListParams::OrderBy::EffectiveAt, nil]
|
192
192
|
optional :effective_at, enum: -> { ModernTreasury::LedgerTransactionListParams::OrderBy::EffectiveAt }
|
193
193
|
|
194
194
|
# @!method initialize(created_at: nil, effective_at: nil)
|
@@ -196,10 +196,10 @@ module ModernTreasury
|
|
196
196
|
# to order by `effective_at asc`, use `order_by%5Beffective_at%5D=asc`. Ordering
|
197
197
|
# by only one field at a time is supported.
|
198
198
|
#
|
199
|
-
# @param created_at [Symbol, ModernTreasury::LedgerTransactionListParams::OrderBy::CreatedAt]
|
200
|
-
# @param effective_at [Symbol, ModernTreasury::LedgerTransactionListParams::OrderBy::EffectiveAt]
|
199
|
+
# @param created_at [Symbol, ModernTreasury::Models::LedgerTransactionListParams::OrderBy::CreatedAt]
|
200
|
+
# @param effective_at [Symbol, ModernTreasury::Models::LedgerTransactionListParams::OrderBy::EffectiveAt]
|
201
201
|
|
202
|
-
# @see ModernTreasury::LedgerTransactionListParams::OrderBy#created_at
|
202
|
+
# @see ModernTreasury::Models::LedgerTransactionListParams::OrderBy#created_at
|
203
203
|
module CreatedAt
|
204
204
|
extend ModernTreasury::Internal::Type::Enum
|
205
205
|
|
@@ -210,7 +210,7 @@ module ModernTreasury
|
|
210
210
|
# @return [Array<Symbol>]
|
211
211
|
end
|
212
212
|
|
213
|
-
# @see ModernTreasury::LedgerTransactionListParams::OrderBy#effective_at
|
213
|
+
# @see ModernTreasury::Models::LedgerTransactionListParams::OrderBy#effective_at
|
214
214
|
module EffectiveAt
|
215
215
|
extend ModernTreasury::Internal::Type::Enum
|
216
216
|
|
@@ -23,7 +23,7 @@ module ModernTreasury
|
|
23
23
|
# @!attribute ledger_entries
|
24
24
|
# An array of ledger entry objects.
|
25
25
|
#
|
26
|
-
# @return [Array<ModernTreasury::LedgerTransactionUpdateParams::LedgerEntry>, nil]
|
26
|
+
# @return [Array<ModernTreasury::Models::LedgerTransactionUpdateParams::LedgerEntry>, nil]
|
27
27
|
optional :ledger_entries,
|
28
28
|
-> {
|
29
29
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LedgerTransactionUpdateParams::LedgerEntry]
|
@@ -42,7 +42,7 @@ module ModernTreasury
|
|
42
42
|
# payment_order, incoming_payment_detail, expected_payment, return, paper_item, or
|
43
43
|
# reversal.
|
44
44
|
#
|
45
|
-
# @return [Symbol, ModernTreasury::LedgerTransactionUpdateParams::LedgerableType, nil]
|
45
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactionUpdateParams::LedgerableType, nil]
|
46
46
|
optional :ledgerable_type, enum: -> { ModernTreasury::LedgerTransactionUpdateParams::LedgerableType }
|
47
47
|
|
48
48
|
# @!attribute metadata
|
@@ -55,7 +55,7 @@ module ModernTreasury
|
|
55
55
|
# @!attribute status
|
56
56
|
# To post a ledger transaction at creation, use `posted`.
|
57
57
|
#
|
58
|
-
# @return [Symbol, ModernTreasury::LedgerTransactionUpdateParams::Status, nil]
|
58
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactionUpdateParams::Status, nil]
|
59
59
|
optional :status, enum: -> { ModernTreasury::LedgerTransactionUpdateParams::Status }
|
60
60
|
|
61
61
|
# @!method initialize(description: nil, effective_at: nil, ledger_entries: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, status: nil, request_options: {})
|
@@ -66,15 +66,15 @@ module ModernTreasury
|
|
66
66
|
#
|
67
67
|
# @param effective_at [Time] The timestamp (ISO8601 format) at which the ledger transaction happened for repo
|
68
68
|
#
|
69
|
-
# @param ledger_entries [Array<ModernTreasury::LedgerTransactionUpdateParams::LedgerEntry>] An array of ledger entry objects.
|
69
|
+
# @param ledger_entries [Array<ModernTreasury::Models::LedgerTransactionUpdateParams::LedgerEntry>] An array of ledger entry objects.
|
70
70
|
#
|
71
71
|
# @param ledgerable_id [String] If the ledger transaction can be reconciled to another object in Modern Treasury
|
72
72
|
#
|
73
|
-
# @param ledgerable_type [Symbol, ModernTreasury::LedgerTransactionUpdateParams::LedgerableType] If the ledger transaction can be reconciled to another object in Modern Treasury
|
73
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::LedgerTransactionUpdateParams::LedgerableType] If the ledger transaction can be reconciled to another object in Modern Treasury
|
74
74
|
#
|
75
75
|
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
76
76
|
#
|
77
|
-
# @param status [Symbol, ModernTreasury::LedgerTransactionUpdateParams::Status] To post a ledger transaction at creation, use `posted`.
|
77
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerTransactionUpdateParams::Status] To post a ledger transaction at creation, use `posted`.
|
78
78
|
#
|
79
79
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
80
80
|
|
@@ -92,7 +92,7 @@ module ModernTreasury
|
|
92
92
|
# `debit` pulls money from someone else's account to your own. Note that wire,
|
93
93
|
# rtp, and check payments will always be `credit`.
|
94
94
|
#
|
95
|
-
# @return [Symbol, ModernTreasury::TransactionDirection]
|
95
|
+
# @return [Symbol, ModernTreasury::Models::TransactionDirection]
|
96
96
|
required :direction, enum: -> { ModernTreasury::TransactionDirection }
|
97
97
|
|
98
98
|
# @!attribute ledger_account_id
|
@@ -150,11 +150,12 @@ module ModernTreasury
|
|
150
150
|
|
151
151
|
# @!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)
|
152
152
|
# Some parameter documentations has been truncated, see
|
153
|
-
# {ModernTreasury::LedgerTransactionUpdateParams::LedgerEntry} for more
|
153
|
+
# {ModernTreasury::Models::LedgerTransactionUpdateParams::LedgerEntry} for more
|
154
|
+
# details.
|
154
155
|
#
|
155
156
|
# @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
|
156
157
|
#
|
157
|
-
# @param direction [Symbol, ModernTreasury::TransactionDirection] One of `credit`, `debit`. Describes the direction money is flowing in the transa
|
158
|
+
# @param direction [Symbol, ModernTreasury::Models::TransactionDirection] One of `credit`, `debit`. Describes the direction money is flowing in the transa
|
158
159
|
#
|
159
160
|
# @param ledger_account_id [String] The ledger account that this ledger entry is associated with.
|
160
161
|
#
|
@@ -45,7 +45,7 @@ module ModernTreasury
|
|
45
45
|
# @!attribute ledger_entries
|
46
46
|
# An array of ledger entry objects.
|
47
47
|
#
|
48
|
-
# @return [Array<ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry>]
|
48
|
+
# @return [Array<ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry>]
|
49
49
|
required :ledger_entries,
|
50
50
|
-> {
|
51
51
|
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry]
|
@@ -75,7 +75,7 @@ module ModernTreasury
|
|
75
75
|
# Treasury, the type will be populated here, otherwise null. This can be one of
|
76
76
|
# payment_order, incoming_payment_detail, expected_payment, return, or reversal.
|
77
77
|
#
|
78
|
-
# @return [Symbol, ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerableType, nil]
|
78
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerableType, nil]
|
79
79
|
required :ledgerable_type,
|
80
80
|
enum: -> { ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerableType },
|
81
81
|
nil?: true
|
@@ -128,7 +128,7 @@ module ModernTreasury
|
|
128
128
|
# @!attribute status
|
129
129
|
# One of `pending`, `posted`, or `archived`.
|
130
130
|
#
|
131
|
-
# @return [Symbol, ModernTreasury::LedgerTransactions::LedgerTransactionVersion::Status]
|
131
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::Status]
|
132
132
|
required :status, enum: -> { ModernTreasury::LedgerTransactions::LedgerTransactionVersion::Status }
|
133
133
|
|
134
134
|
# @!attribute version
|
@@ -139,7 +139,8 @@ module ModernTreasury
|
|
139
139
|
|
140
140
|
# @!method initialize(id:, created_at:, description:, effective_at:, effective_date:, external_id:, ledger_entries:, ledger_id:, ledger_transaction_id:, ledgerable_id:, ledgerable_type:, live_mode:, metadata:, object:, partially_posts_ledger_transaction_id:, posted_at:, reversed_by_ledger_transaction_id:, reverses_ledger_transaction_id:, status:, version:)
|
141
141
|
# Some parameter documentations has been truncated, see
|
142
|
-
# {ModernTreasury::LedgerTransactions::LedgerTransactionVersion} for more
|
142
|
+
# {ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion} for more
|
143
|
+
# details.
|
143
144
|
#
|
144
145
|
# @param id [String]
|
145
146
|
#
|
@@ -153,7 +154,7 @@ module ModernTreasury
|
|
153
154
|
#
|
154
155
|
# @param external_id [String, nil] A unique string to represent the ledger transaction. Only one pending or posted
|
155
156
|
#
|
156
|
-
# @param ledger_entries [Array<ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry>] An array of ledger entry objects.
|
157
|
+
# @param ledger_entries [Array<ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry>] An array of ledger entry objects.
|
157
158
|
#
|
158
159
|
# @param ledger_id [String] The ID of the ledger this ledger transaction belongs to.
|
159
160
|
#
|
@@ -161,7 +162,7 @@ module ModernTreasury
|
|
161
162
|
#
|
162
163
|
# @param ledgerable_id [String, nil] If the ledger transaction can be reconciled to another object in Modern Treasury
|
163
164
|
#
|
164
|
-
# @param ledgerable_type [Symbol, ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerableType, nil] If the ledger transaction can be reconciled to another object in Modern Treasury
|
165
|
+
# @param ledgerable_type [Symbol, ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerableType, nil] If the ledger transaction can be reconciled to another object in Modern Treasury
|
165
166
|
#
|
166
167
|
# @param live_mode [Boolean] This field will be true if this object exists in the live environment or false i
|
167
168
|
#
|
@@ -177,7 +178,7 @@ module ModernTreasury
|
|
177
178
|
#
|
178
179
|
# @param reverses_ledger_transaction_id [String, nil] The ID of the original ledger transaction. that this ledger transaction reverses
|
179
180
|
#
|
180
|
-
# @param status [Symbol, ModernTreasury::LedgerTransactions::LedgerTransactionVersion::Status] One of `pending`, `posted`, or `archived`.
|
181
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::Status] One of `pending`, `posted`, or `archived`.
|
181
182
|
#
|
182
183
|
# @param version [Integer] Version number of the ledger transaction.
|
183
184
|
|
@@ -205,7 +206,7 @@ module ModernTreasury
|
|
205
206
|
# `debit` pulls money from someone else's account to your own. Note that wire,
|
206
207
|
# rtp, and check payments will always be `credit`.
|
207
208
|
#
|
208
|
-
# @return [Symbol, ModernTreasury::TransactionDirection]
|
209
|
+
# @return [Symbol, ModernTreasury::Models::TransactionDirection]
|
209
210
|
required :direction, enum: -> { ModernTreasury::TransactionDirection }
|
210
211
|
|
211
212
|
# @!attribute ledger_account_currency
|
@@ -269,7 +270,7 @@ module ModernTreasury
|
|
269
270
|
# https://docs.moderntreasury.com/docs/transaction-status-and-balances for more
|
270
271
|
# details.
|
271
272
|
#
|
272
|
-
# @return [ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances, nil]
|
273
|
+
# @return [ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances, nil]
|
273
274
|
required :resulting_ledger_account_balances,
|
274
275
|
-> {
|
275
276
|
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances
|
@@ -280,7 +281,7 @@ module ModernTreasury
|
|
280
281
|
# Equal to the state of the ledger transaction when the ledger entry was created.
|
281
282
|
# One of `pending`, `posted`, or `archived`.
|
282
283
|
#
|
283
|
-
# @return [Symbol, ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status]
|
284
|
+
# @return [Symbol, ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status]
|
284
285
|
required :status,
|
285
286
|
enum: -> {
|
286
287
|
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status
|
@@ -288,8 +289,8 @@ module ModernTreasury
|
|
288
289
|
|
289
290
|
# @!method initialize(id:, amount:, created_at:, direction:, ledger_account_currency:, ledger_account_currency_exponent:, ledger_account_id:, ledger_account_lock_version:, ledger_transaction_id:, live_mode:, metadata:, object:, resulting_ledger_account_balances:, status:)
|
290
291
|
# Some parameter documentations has been truncated, see
|
291
|
-
# {ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry}
|
292
|
-
# more details.
|
292
|
+
# {ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry}
|
293
|
+
# for more details.
|
293
294
|
#
|
294
295
|
# @param id [String]
|
295
296
|
#
|
@@ -297,7 +298,7 @@ module ModernTreasury
|
|
297
298
|
#
|
298
299
|
# @param created_at [Time]
|
299
300
|
#
|
300
|
-
# @param direction [Symbol, ModernTreasury::TransactionDirection] One of `credit`, `debit`. Describes the direction money is flowing in the transa
|
301
|
+
# @param direction [Symbol, ModernTreasury::Models::TransactionDirection] One of `credit`, `debit`. Describes the direction money is flowing in the transa
|
301
302
|
#
|
302
303
|
# @param ledger_account_currency [String] The currency of the ledger account.
|
303
304
|
#
|
@@ -315,11 +316,11 @@ module ModernTreasury
|
|
315
316
|
#
|
316
317
|
# @param object [String]
|
317
318
|
#
|
318
|
-
# @param resulting_ledger_account_balances [ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances, nil] The pending, posted, and available balances for this ledger entry's ledger accou
|
319
|
+
# @param resulting_ledger_account_balances [ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances, nil] The pending, posted, and available balances for this ledger entry's ledger accou
|
319
320
|
#
|
320
|
-
# @param status [Symbol, ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status] Equal to the state of the ledger transaction when the ledger entry was created.
|
321
|
+
# @param status [Symbol, ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status] Equal to the state of the ledger transaction when the ledger entry was created.
|
321
322
|
|
322
|
-
# @see ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry#resulting_ledger_account_balances
|
323
|
+
# @see ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry#resulting_ledger_account_balances
|
323
324
|
class ResultingLedgerAccountBalances < ModernTreasury::Internal::Type::BaseModel
|
324
325
|
# @!attribute available_balance
|
325
326
|
# The available_balance is the sum of all posted inbound entries and pending
|
@@ -327,7 +328,7 @@ module ModernTreasury
|
|
327
328
|
# pending_debits; for debit normal, available_amount = posted_debits -
|
328
329
|
# pending_credits.
|
329
330
|
#
|
330
|
-
# @return [ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance]
|
331
|
+
# @return [ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance]
|
331
332
|
required :available_balance,
|
332
333
|
-> {
|
333
334
|
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance
|
@@ -336,7 +337,7 @@ module ModernTreasury
|
|
336
337
|
# @!attribute pending_balance
|
337
338
|
# The pending_balance is the sum of all pending and posted entries.
|
338
339
|
#
|
339
|
-
# @return [ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance]
|
340
|
+
# @return [ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance]
|
340
341
|
required :pending_balance,
|
341
342
|
-> {
|
342
343
|
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance
|
@@ -345,7 +346,7 @@ module ModernTreasury
|
|
345
346
|
# @!attribute posted_balance
|
346
347
|
# The posted_balance is the sum of all posted entries.
|
347
348
|
#
|
348
|
-
# @return [ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance]
|
349
|
+
# @return [ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance]
|
349
350
|
required :posted_balance,
|
350
351
|
-> {
|
351
352
|
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance
|
@@ -353,7 +354,7 @@ module ModernTreasury
|
|
353
354
|
|
354
355
|
# @!method initialize(available_balance:, pending_balance:, posted_balance:)
|
355
356
|
# Some parameter documentations has been truncated, see
|
356
|
-
# {ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances}
|
357
|
+
# {ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances}
|
357
358
|
# for more details.
|
358
359
|
#
|
359
360
|
# The pending, posted, and available balances for this ledger entry's ledger
|
@@ -364,13 +365,13 @@ module ModernTreasury
|
|
364
365
|
# https://docs.moderntreasury.com/docs/transaction-status-and-balances for more
|
365
366
|
# details.
|
366
367
|
#
|
367
|
-
# @param available_balance [ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance] The available_balance is the sum of all posted inbound entries and pending outbo
|
368
|
+
# @param available_balance [ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::AvailableBalance] The available_balance is the sum of all posted inbound entries and pending outbo
|
368
369
|
#
|
369
|
-
# @param pending_balance [ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance] The pending_balance is the sum of all pending and posted entries.
|
370
|
+
# @param pending_balance [ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PendingBalance] The pending_balance is the sum of all pending and posted entries.
|
370
371
|
#
|
371
|
-
# @param posted_balance [ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance] The posted_balance is the sum of all posted entries.
|
372
|
+
# @param posted_balance [ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances::PostedBalance] The posted_balance is the sum of all posted entries.
|
372
373
|
|
373
|
-
# @see ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances#available_balance
|
374
|
+
# @see ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances#available_balance
|
374
375
|
class AvailableBalance < ModernTreasury::Internal::Type::BaseModel
|
375
376
|
# @!attribute amount
|
376
377
|
#
|
@@ -416,7 +417,7 @@ module ModernTreasury
|
|
416
417
|
# @param debits [Integer]
|
417
418
|
end
|
418
419
|
|
419
|
-
# @see ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances#pending_balance
|
420
|
+
# @see ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances#pending_balance
|
420
421
|
class PendingBalance < ModernTreasury::Internal::Type::BaseModel
|
421
422
|
# @!attribute amount
|
422
423
|
#
|
@@ -459,7 +460,7 @@ module ModernTreasury
|
|
459
460
|
# @param debits [Integer]
|
460
461
|
end
|
461
462
|
|
462
|
-
# @see ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances#posted_balance
|
463
|
+
# @see ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::ResultingLedgerAccountBalances#posted_balance
|
463
464
|
class PostedBalance < ModernTreasury::Internal::Type::BaseModel
|
464
465
|
# @!attribute amount
|
465
466
|
#
|
@@ -506,7 +507,7 @@ module ModernTreasury
|
|
506
507
|
# Equal to the state of the ledger transaction when the ledger entry was created.
|
507
508
|
# One of `pending`, `posted`, or `archived`.
|
508
509
|
#
|
509
|
-
# @see ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry#status
|
510
|
+
# @see ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry#status
|
510
511
|
module Status
|
511
512
|
extend ModernTreasury::Internal::Type::Enum
|
512
513
|
|
@@ -523,7 +524,7 @@ module ModernTreasury
|
|
523
524
|
# Treasury, the type will be populated here, otherwise null. This can be one of
|
524
525
|
# payment_order, incoming_payment_detail, expected_payment, return, or reversal.
|
525
526
|
#
|
526
|
-
# @see ModernTreasury::LedgerTransactions::LedgerTransactionVersion#ledgerable_type
|
527
|
+
# @see ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion#ledgerable_type
|
527
528
|
module LedgerableType
|
528
529
|
extend ModernTreasury::Internal::Type::Enum
|
529
530
|
|
@@ -540,7 +541,7 @@ module ModernTreasury
|
|
540
541
|
|
541
542
|
# One of `pending`, `posted`, or `archived`.
|
542
543
|
#
|
543
|
-
# @see ModernTreasury::LedgerTransactions::LedgerTransactionVersion#status
|
544
|
+
# @see ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion#status
|
544
545
|
module Status
|
545
546
|
extend ModernTreasury::Internal::Type::Enum
|
546
547
|
|
@@ -66,7 +66,7 @@ module ModernTreasury
|
|
66
66
|
|
67
67
|
# @!method initialize(id:, created_at:, custom_data:, description:, ledger_event_handler_id:, live_mode:, metadata:, name:, object:, updated_at:)
|
68
68
|
# Some parameter documentations has been truncated, see
|
69
|
-
# {ModernTreasury::LedgerableEvent} for more details.
|
69
|
+
# {ModernTreasury::Models::LedgerableEvent} for more details.
|
70
70
|
#
|
71
71
|
# @param id [String]
|
72
72
|
#
|