modern_treasury 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +31 -0
- data/README.md +1 -1
- data/lib/modern_treasury/internal/transport/base_client.rb +1 -4
- data/lib/modern_treasury/internal/transport/pooled_net_requester.rb +1 -9
- data/lib/modern_treasury/internal/type/base_model.rb +6 -12
- data/lib/modern_treasury/internal/util.rb +1 -1
- data/lib/modern_treasury/models/account_collection_flow.rb +2 -6
- data/lib/modern_treasury/models/account_collection_flow_create_params.rb +1 -3
- data/lib/modern_treasury/models/bulk_request_create_params.rb +28 -107
- data/lib/modern_treasury/models/bulk_result.rb +1 -3
- data/lib/modern_treasury/models/child_legal_entity_create.rb +10 -12
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +11 -15
- data/lib/modern_treasury/models/counterparty.rb +4 -16
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +1 -3
- data/lib/modern_treasury/models/counterparty_create_params.rb +18 -33
- data/lib/modern_treasury/models/expected_payment_create_params.rb +1 -3
- data/lib/modern_treasury/models/expected_payment_list_params.rb +1 -0
- data/lib/modern_treasury/models/expected_payment_type.rb +1 -0
- data/lib/modern_treasury/models/external_account_create_params.rb +3 -6
- data/lib/modern_treasury/models/external_account_verify_params.rb +1 -0
- data/lib/modern_treasury/models/external_account_verify_response.rb +1 -0
- data/lib/modern_treasury/models/internal_account.rb +2 -3
- data/lib/modern_treasury/models/internal_account_create_params.rb +2 -3
- data/lib/modern_treasury/models/internal_account_list_params.rb +1 -0
- data/lib/modern_treasury/models/internal_account_update_account_capability_response.rb +1 -0
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +2 -7
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +2 -6
- data/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rb +1 -3
- data/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rb +1 -4
- data/lib/modern_treasury/models/ledger_account_list_params.rb +1 -4
- data/lib/modern_treasury/models/ledger_account_settlement.rb +3 -3
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +46 -4
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +2 -6
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +45 -1
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +2 -6
- data/lib/modern_treasury/models/legal_entity.rb +11 -16
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +1 -3
- data/lib/modern_treasury/models/legal_entity_association.rb +15 -27
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +1 -3
- data/lib/modern_treasury/models/legal_entity_bank_settings.rb +91 -0
- data/lib/modern_treasury/models/legal_entity_create_params.rb +11 -15
- data/lib/modern_treasury/models/legal_entity_update_params.rb +10 -12
- data/lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb +312 -0
- data/lib/modern_treasury/models/line_item.rb +1 -18
- data/lib/modern_treasury/models/payment_action_create_response.rb +1 -1
- data/lib/modern_treasury/models/payment_action_list_params.rb +1 -2
- data/lib/modern_treasury/models/payment_action_list_response.rb +1 -1
- data/lib/modern_treasury/models/payment_action_retrieve_response.rb +1 -1
- data/lib/modern_treasury/models/payment_action_update_params.rb +1 -0
- data/lib/modern_treasury/models/payment_action_update_response.rb +1 -1
- data/lib/modern_treasury/models/payment_flow.rb +1 -4
- data/lib/modern_treasury/models/payment_order.rb +2 -19
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +8 -37
- data/lib/modern_treasury/models/payment_order_create_params.rb +9 -40
- data/lib/modern_treasury/models/payment_order_list_params.rb +1 -0
- data/lib/modern_treasury/models/payment_order_type.rb +1 -0
- data/lib/modern_treasury/models/payment_order_update_params.rb +8 -37
- data/lib/modern_treasury/models/payment_reference.rb +1 -0
- data/lib/modern_treasury/models/reconciliation_rule.rb +1 -0
- data/lib/modern_treasury/models/return_object.rb +1 -0
- data/lib/modern_treasury/models/routing_detail.rb +1 -0
- data/lib/modern_treasury/models/routing_detail_create_params.rb +1 -0
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +3 -7
- data/lib/modern_treasury/models/transaction.rb +1 -0
- data/lib/modern_treasury/models/transaction_create_params.rb +1 -0
- data/lib/modern_treasury/models/virtual_account_create_params.rb +3 -6
- data/lib/modern_treasury/models.rb +4 -2
- data/lib/modern_treasury/resources/ledger_entries.rb +3 -1
- data/lib/modern_treasury/resources/ledger_transactions.rb +3 -1
- data/lib/modern_treasury/resources/legal_entities.rb +4 -4
- data/lib/modern_treasury/resources/payment_orders.rb +3 -15
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +2 -1
- data/rbi/modern_treasury/errors.rbi +2 -2
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +15 -38
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +14 -8
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +16 -8
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +21 -8
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/expected_payment_type.rbi +1 -0
- data/rbi/modern_treasury/models/external_account_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/external_account_verify_params.rbi +5 -0
- data/rbi/modern_treasury/models/external_account_verify_response.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account_update_account_capability_response.rbi +5 -0
- data/rbi/modern_treasury/models/ledger_account_settlement.rbi +3 -3
- data/rbi/modern_treasury/models/ledger_entry_list_params.rbi +82 -0
- data/rbi/modern_treasury/models/ledger_transaction_list_params.rbi +84 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +14 -8
- data/rbi/modern_treasury/models/legal_entity_association.rbi +16 -8
- data/rbi/modern_treasury/models/legal_entity_bank_settings.rbi +112 -0
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +14 -8
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +14 -8
- data/rbi/modern_treasury/models/legal_entity_wealth_employment_detail.rbi +815 -0
- data/rbi/modern_treasury/models/line_item.rbi +0 -21
- data/rbi/modern_treasury/models/payment_action_create_response.rbi +2 -2
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +5 -10
- data/rbi/modern_treasury/models/payment_action_list_response.rbi +2 -2
- data/rbi/modern_treasury/models/payment_action_retrieve_response.rbi +2 -2
- data/rbi/modern_treasury/models/payment_action_update_params.rbi +5 -0
- data/rbi/modern_treasury/models/payment_action_update_response.rbi +2 -2
- data/rbi/modern_treasury/models/payment_order.rbi +5 -19
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +5 -19
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +5 -19
- data/rbi/modern_treasury/models/payment_order_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order_type.rbi +1 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +5 -19
- data/rbi/modern_treasury/models/payment_reference.rbi +5 -0
- data/rbi/modern_treasury/models/reconciliation_rule.rbi +2 -0
- data/rbi/modern_treasury/models/return_object.rbi +5 -0
- data/rbi/modern_treasury/models/routing_detail.rbi +5 -0
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +5 -0
- data/rbi/modern_treasury/models/transaction.rbi +1 -0
- data/rbi/modern_treasury/models/transaction_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +5 -0
- data/rbi/modern_treasury/models.rbi +5 -2
- data/rbi/modern_treasury/resources/ledger_entries.rbi +3 -0
- data/rbi/modern_treasury/resources/ledger_transactions.rbi +3 -0
- data/rbi/modern_treasury/resources/legal_entities.rbi +10 -4
- data/rbi/modern_treasury/resources/payment_orders.rbi +0 -18
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +6 -28
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +8 -8
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +8 -8
- data/sig/modern_treasury/models/counterparty_create_params.rbs +10 -8
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment_type.rbs +2 -0
- data/sig/modern_treasury/models/external_account_create_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_verify_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_verify_response.rbs +2 -0
- data/sig/modern_treasury/models/internal_account.rbs +2 -0
- data/sig/modern_treasury/models/internal_account_create_params.rbs +2 -0
- data/sig/modern_treasury/models/internal_account_list_params.rbs +2 -0
- data/sig/modern_treasury/models/internal_account_update_account_capability_response.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_settlement.rbs +4 -4
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +50 -0
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +50 -0
- data/sig/modern_treasury/models/legal_entity.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_association.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_bank_settings.rbs +65 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_wealth_employment_detail.rbs +325 -0
- data/sig/modern_treasury/models/line_item.rbs +0 -10
- data/sig/modern_treasury/models/payment_action_list_params.rbs +9 -5
- data/sig/modern_treasury/models/payment_action_update_params.rbs +8 -1
- data/sig/modern_treasury/models/payment_order.rbs +2 -10
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +2 -14
- data/sig/modern_treasury/models/payment_order_create_params.rbs +2 -14
- data/sig/modern_treasury/models/payment_order_list_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_order_type.rbs +2 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +2 -14
- data/sig/modern_treasury/models/payment_reference.rbs +2 -0
- data/sig/modern_treasury/models/reconciliation_rule.rbs +2 -0
- data/sig/modern_treasury/models/return_object.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +2 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +2 -0
- data/sig/modern_treasury/models/transaction.rbs +2 -0
- data/sig/modern_treasury/models/transaction_create_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +2 -0
- data/sig/modern_treasury/models.rbs +4 -2
- data/sig/modern_treasury/resources/ledger_entries.rbs +1 -0
- data/sig/modern_treasury/resources/ledger_transactions.rbs +1 -0
- data/sig/modern_treasury/resources/legal_entities.rbs +4 -4
- data/sig/modern_treasury/resources/payment_orders.rbs +0 -6
- metadata +8 -5
- data/lib/modern_treasury/models/accounting.rb +0 -30
- data/rbi/modern_treasury/models/accounting.rbi +0 -48
- data/sig/modern_treasury/models/accounting.rbs +0 -15
|
@@ -274,22 +274,11 @@ module ModernTreasury
|
|
|
274
274
|
sig { returns(ModernTreasury::PaymentOrderType::OrSymbol) }
|
|
275
275
|
attr_accessor :type
|
|
276
276
|
|
|
277
|
-
sig { returns(T.nilable(ModernTreasury::Accounting)) }
|
|
278
|
-
attr_reader :accounting
|
|
279
|
-
|
|
280
|
-
sig { params(accounting: ModernTreasury::Accounting::OrHash).void }
|
|
281
|
-
attr_writer :accounting
|
|
282
|
-
|
|
283
277
|
# The ID of one of your accounting categories. Note that these will only be
|
|
284
278
|
# accessible if your accounting system has been connected.
|
|
285
279
|
sig { returns(T.nilable(String)) }
|
|
286
280
|
attr_accessor :accounting_category_id
|
|
287
281
|
|
|
288
|
-
# The ID of one of your accounting ledger classes. Note that these will only be
|
|
289
|
-
# accessible if your accounting system has been connected.
|
|
290
|
-
sig { returns(T.nilable(String)) }
|
|
291
|
-
attr_accessor :accounting_ledger_class_id
|
|
292
|
-
|
|
293
282
|
# The party that will pay the fees for the payment order. See
|
|
294
283
|
# https://docs.moderntreasury.com/payments/docs/charge-bearer to understand the
|
|
295
284
|
# differences between the options.
|
|
@@ -558,9 +547,7 @@ module ModernTreasury
|
|
|
558
547
|
ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::Direction::OrSymbol,
|
|
559
548
|
originating_account_id: String,
|
|
560
549
|
type: ModernTreasury::PaymentOrderType::OrSymbol,
|
|
561
|
-
accounting: ModernTreasury::Accounting::OrHash,
|
|
562
550
|
accounting_category_id: T.nilable(String),
|
|
563
|
-
accounting_ledger_class_id: T.nilable(String),
|
|
564
551
|
charge_bearer:
|
|
565
552
|
T.nilable(
|
|
566
553
|
ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ChargeBearer::OrSymbol
|
|
@@ -619,13 +606,9 @@ module ModernTreasury
|
|
|
619
606
|
# `sepa`, `bacs`, `au_becs`, `interac`, `neft`, `nics`,
|
|
620
607
|
# `nz_national_clearing_code`, `sic`, `signet`, `provexchange`, `zengin`.
|
|
621
608
|
type:,
|
|
622
|
-
accounting: nil,
|
|
623
609
|
# The ID of one of your accounting categories. Note that these will only be
|
|
624
610
|
# accessible if your accounting system has been connected.
|
|
625
611
|
accounting_category_id: nil,
|
|
626
|
-
# The ID of one of your accounting ledger classes. Note that these will only be
|
|
627
|
-
# accessible if your accounting system has been connected.
|
|
628
|
-
accounting_ledger_class_id: nil,
|
|
629
612
|
# The party that will pay the fees for the payment order. See
|
|
630
613
|
# https://docs.moderntreasury.com/payments/docs/charge-bearer to understand the
|
|
631
614
|
# differences between the options.
|
|
@@ -737,9 +720,7 @@ module ModernTreasury
|
|
|
737
720
|
ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::Direction::OrSymbol,
|
|
738
721
|
originating_account_id: String,
|
|
739
722
|
type: ModernTreasury::PaymentOrderType::OrSymbol,
|
|
740
|
-
accounting: ModernTreasury::Accounting,
|
|
741
723
|
accounting_category_id: T.nilable(String),
|
|
742
|
-
accounting_ledger_class_id: T.nilable(String),
|
|
743
724
|
charge_bearer:
|
|
744
725
|
T.nilable(
|
|
745
726
|
ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ChargeBearer::OrSymbol
|
|
@@ -1745,6 +1726,11 @@ module ModernTreasury
|
|
|
1745
1726
|
:ethereum,
|
|
1746
1727
|
ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount::RoutingDetail::PaymentType::TaggedSymbol
|
|
1747
1728
|
)
|
|
1729
|
+
GB_FPS =
|
|
1730
|
+
T.let(
|
|
1731
|
+
:gb_fps,
|
|
1732
|
+
ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest::ReceivingAccount::RoutingDetail::PaymentType::TaggedSymbol
|
|
1733
|
+
)
|
|
1748
1734
|
HU_ICS =
|
|
1749
1735
|
T.let(
|
|
1750
1736
|
:hu_ics,
|
|
@@ -2473,6 +2459,11 @@ module ModernTreasury
|
|
|
2473
2459
|
:ethereum,
|
|
2474
2460
|
ModernTreasury::BulkRequestCreateParams::Resource::TransactionCreateRequest::Type::TaggedSymbol
|
|
2475
2461
|
)
|
|
2462
|
+
GB_FPS =
|
|
2463
|
+
T.let(
|
|
2464
|
+
:gb_fps,
|
|
2465
|
+
ModernTreasury::BulkRequestCreateParams::Resource::TransactionCreateRequest::Type::TaggedSymbol
|
|
2466
|
+
)
|
|
2476
2467
|
HU_ICS =
|
|
2477
2468
|
T.let(
|
|
2478
2469
|
:hu_ics,
|
|
@@ -2640,22 +2631,11 @@ module ModernTreasury
|
|
|
2640
2631
|
sig { params(id: String).void }
|
|
2641
2632
|
attr_writer :id
|
|
2642
2633
|
|
|
2643
|
-
sig { returns(T.nilable(ModernTreasury::Accounting)) }
|
|
2644
|
-
attr_reader :accounting
|
|
2645
|
-
|
|
2646
|
-
sig { params(accounting: ModernTreasury::Accounting::OrHash).void }
|
|
2647
|
-
attr_writer :accounting
|
|
2648
|
-
|
|
2649
2634
|
# The ID of one of your accounting categories. Note that these will only be
|
|
2650
2635
|
# accessible if your accounting system has been connected.
|
|
2651
2636
|
sig { returns(T.nilable(String)) }
|
|
2652
2637
|
attr_accessor :accounting_category_id
|
|
2653
2638
|
|
|
2654
|
-
# The ID of one of your accounting ledger classes. Note that these will only be
|
|
2655
|
-
# accessible if your accounting system has been connected.
|
|
2656
|
-
sig { returns(T.nilable(String)) }
|
|
2657
|
-
attr_accessor :accounting_ledger_class_id
|
|
2658
|
-
|
|
2659
2639
|
# Value in specified currency's smallest unit. e.g. $10 would be represented as
|
|
2660
2640
|
# 1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
|
|
2661
2641
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -2962,9 +2942,7 @@ module ModernTreasury
|
|
|
2962
2942
|
sig do
|
|
2963
2943
|
params(
|
|
2964
2944
|
id: String,
|
|
2965
|
-
accounting: ModernTreasury::Accounting::OrHash,
|
|
2966
2945
|
accounting_category_id: T.nilable(String),
|
|
2967
|
-
accounting_ledger_class_id: T.nilable(String),
|
|
2968
2946
|
amount: Integer,
|
|
2969
2947
|
charge_bearer:
|
|
2970
2948
|
T.nilable(
|
|
@@ -3014,13 +2992,9 @@ module ModernTreasury
|
|
|
3014
2992
|
end
|
|
3015
2993
|
def self.new(
|
|
3016
2994
|
id: nil,
|
|
3017
|
-
accounting: nil,
|
|
3018
2995
|
# The ID of one of your accounting categories. Note that these will only be
|
|
3019
2996
|
# accessible if your accounting system has been connected.
|
|
3020
2997
|
accounting_category_id: nil,
|
|
3021
|
-
# The ID of one of your accounting ledger classes. Note that these will only be
|
|
3022
|
-
# accessible if your accounting system has been connected.
|
|
3023
|
-
accounting_ledger_class_id: nil,
|
|
3024
2998
|
# Value in specified currency's smallest unit. e.g. $10 would be represented as
|
|
3025
2999
|
# 1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
|
|
3026
3000
|
amount: nil,
|
|
@@ -3143,9 +3117,7 @@ module ModernTreasury
|
|
|
3143
3117
|
override.returns(
|
|
3144
3118
|
{
|
|
3145
3119
|
id: String,
|
|
3146
|
-
accounting: ModernTreasury::Accounting,
|
|
3147
3120
|
accounting_category_id: T.nilable(String),
|
|
3148
|
-
accounting_ledger_class_id: T.nilable(String),
|
|
3149
3121
|
amount: Integer,
|
|
3150
3122
|
charge_bearer:
|
|
3151
3123
|
T.nilable(
|
|
@@ -4155,6 +4127,11 @@ module ModernTreasury
|
|
|
4155
4127
|
:ethereum,
|
|
4156
4128
|
ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::RoutingDetail::PaymentType::TaggedSymbol
|
|
4157
4129
|
)
|
|
4130
|
+
GB_FPS =
|
|
4131
|
+
T.let(
|
|
4132
|
+
:gb_fps,
|
|
4133
|
+
ModernTreasury::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID::ReceivingAccount::RoutingDetail::PaymentType::TaggedSymbol
|
|
4134
|
+
)
|
|
4158
4135
|
HU_ICS =
|
|
4159
4136
|
T.let(
|
|
4160
4137
|
:hu_ics,
|
|
@@ -27,12 +27,13 @@ module ModernTreasury
|
|
|
27
27
|
end
|
|
28
28
|
attr_writer :addresses
|
|
29
29
|
|
|
30
|
-
sig { returns(T.nilable(ModernTreasury::
|
|
30
|
+
sig { returns(T.nilable(ModernTreasury::LegalEntityBankSettings)) }
|
|
31
31
|
attr_reader :bank_settings
|
|
32
32
|
|
|
33
33
|
sig do
|
|
34
34
|
params(
|
|
35
|
-
bank_settings:
|
|
35
|
+
bank_settings:
|
|
36
|
+
T.nilable(ModernTreasury::LegalEntityBankSettings::OrHash)
|
|
36
37
|
).void
|
|
37
38
|
end
|
|
38
39
|
attr_writer :bank_settings
|
|
@@ -199,13 +200,15 @@ module ModernTreasury
|
|
|
199
200
|
sig { returns(T.nilable(String)) }
|
|
200
201
|
attr_accessor :suffix
|
|
201
202
|
|
|
202
|
-
sig
|
|
203
|
+
sig do
|
|
204
|
+
returns(T.nilable(ModernTreasury::LegalEntityWealthEmploymentDetail))
|
|
205
|
+
end
|
|
203
206
|
attr_reader :wealth_and_employment_details
|
|
204
207
|
|
|
205
208
|
sig do
|
|
206
209
|
params(
|
|
207
210
|
wealth_and_employment_details:
|
|
208
|
-
T.nilable(ModernTreasury::
|
|
211
|
+
T.nilable(ModernTreasury::LegalEntityWealthEmploymentDetail::OrHash)
|
|
209
212
|
).void
|
|
210
213
|
end
|
|
211
214
|
attr_writer :wealth_and_employment_details
|
|
@@ -218,7 +221,8 @@ module ModernTreasury
|
|
|
218
221
|
params(
|
|
219
222
|
addresses:
|
|
220
223
|
T::Array[ModernTreasury::LegalEntityAddressCreateRequest::OrHash],
|
|
221
|
-
bank_settings:
|
|
224
|
+
bank_settings:
|
|
225
|
+
T.nilable(ModernTreasury::LegalEntityBankSettings::OrHash),
|
|
222
226
|
business_name: T.nilable(String),
|
|
223
227
|
citizenship_country: T.nilable(String),
|
|
224
228
|
compliance_details:
|
|
@@ -254,7 +258,9 @@ module ModernTreasury
|
|
|
254
258
|
),
|
|
255
259
|
suffix: T.nilable(String),
|
|
256
260
|
wealth_and_employment_details:
|
|
257
|
-
T.nilable(
|
|
261
|
+
T.nilable(
|
|
262
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::OrHash
|
|
263
|
+
),
|
|
258
264
|
website: T.nilable(String)
|
|
259
265
|
).returns(T.attached_class)
|
|
260
266
|
end
|
|
@@ -313,7 +319,7 @@ module ModernTreasury
|
|
|
313
319
|
{
|
|
314
320
|
addresses:
|
|
315
321
|
T::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
316
|
-
bank_settings: T.nilable(ModernTreasury::
|
|
322
|
+
bank_settings: T.nilable(ModernTreasury::LegalEntityBankSettings),
|
|
317
323
|
business_name: T.nilable(String),
|
|
318
324
|
citizenship_country: T.nilable(String),
|
|
319
325
|
compliance_details:
|
|
@@ -347,7 +353,7 @@ module ModernTreasury
|
|
|
347
353
|
),
|
|
348
354
|
suffix: T.nilable(String),
|
|
349
355
|
wealth_and_employment_details:
|
|
350
|
-
T.nilable(ModernTreasury::
|
|
356
|
+
T.nilable(ModernTreasury::LegalEntityWealthEmploymentDetail),
|
|
351
357
|
website: T.nilable(String)
|
|
352
358
|
}
|
|
353
359
|
)
|
|
@@ -102,12 +102,13 @@ module ModernTreasury
|
|
|
102
102
|
end
|
|
103
103
|
attr_writer :addresses
|
|
104
104
|
|
|
105
|
-
sig { returns(T.nilable(ModernTreasury::
|
|
105
|
+
sig { returns(T.nilable(ModernTreasury::LegalEntityBankSettings)) }
|
|
106
106
|
attr_reader :bank_settings
|
|
107
107
|
|
|
108
108
|
sig do
|
|
109
109
|
params(
|
|
110
|
-
bank_settings:
|
|
110
|
+
bank_settings:
|
|
111
|
+
T.nilable(ModernTreasury::LegalEntityBankSettings::OrHash)
|
|
111
112
|
).void
|
|
112
113
|
end
|
|
113
114
|
attr_writer :bank_settings
|
|
@@ -292,13 +293,17 @@ module ModernTreasury
|
|
|
292
293
|
sig { returns(T.nilable(String)) }
|
|
293
294
|
attr_accessor :suffix
|
|
294
295
|
|
|
295
|
-
sig
|
|
296
|
+
sig do
|
|
297
|
+
returns(T.nilable(ModernTreasury::LegalEntityWealthEmploymentDetail))
|
|
298
|
+
end
|
|
296
299
|
attr_reader :wealth_and_employment_details
|
|
297
300
|
|
|
298
301
|
sig do
|
|
299
302
|
params(
|
|
300
303
|
wealth_and_employment_details:
|
|
301
|
-
T.nilable(
|
|
304
|
+
T.nilable(
|
|
305
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::OrHash
|
|
306
|
+
)
|
|
302
307
|
).void
|
|
303
308
|
end
|
|
304
309
|
attr_writer :wealth_and_employment_details
|
|
@@ -312,7 +317,8 @@ module ModernTreasury
|
|
|
312
317
|
params(
|
|
313
318
|
addresses:
|
|
314
319
|
T::Array[ModernTreasury::LegalEntityAddressCreateRequest::OrHash],
|
|
315
|
-
bank_settings:
|
|
320
|
+
bank_settings:
|
|
321
|
+
T.nilable(ModernTreasury::LegalEntityBankSettings::OrHash),
|
|
316
322
|
business_name: T.nilable(String),
|
|
317
323
|
citizenship_country: T.nilable(String),
|
|
318
324
|
compliance_details:
|
|
@@ -356,7 +362,9 @@ module ModernTreasury
|
|
|
356
362
|
),
|
|
357
363
|
suffix: T.nilable(String),
|
|
358
364
|
wealth_and_employment_details:
|
|
359
|
-
T.nilable(
|
|
365
|
+
T.nilable(
|
|
366
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::OrHash
|
|
367
|
+
),
|
|
360
368
|
website: T.nilable(String)
|
|
361
369
|
).returns(T.attached_class)
|
|
362
370
|
end
|
|
@@ -417,7 +425,7 @@ module ModernTreasury
|
|
|
417
425
|
{
|
|
418
426
|
addresses:
|
|
419
427
|
T::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
420
|
-
bank_settings: T.nilable(ModernTreasury::
|
|
428
|
+
bank_settings: T.nilable(ModernTreasury::LegalEntityBankSettings),
|
|
421
429
|
business_name: T.nilable(String),
|
|
422
430
|
citizenship_country: T.nilable(String),
|
|
423
431
|
compliance_details:
|
|
@@ -459,7 +467,7 @@ module ModernTreasury
|
|
|
459
467
|
),
|
|
460
468
|
suffix: T.nilable(String),
|
|
461
469
|
wealth_and_employment_details:
|
|
462
|
-
T.nilable(ModernTreasury::
|
|
470
|
+
T.nilable(ModernTreasury::LegalEntityWealthEmploymentDetail),
|
|
463
471
|
website: T.nilable(String)
|
|
464
472
|
}
|
|
465
473
|
)
|
|
@@ -992,6 +992,11 @@ module ModernTreasury
|
|
|
992
992
|
:ethereum,
|
|
993
993
|
ModernTreasury::CounterpartyCreateParams::Account::RoutingDetail::PaymentType::TaggedSymbol
|
|
994
994
|
)
|
|
995
|
+
GB_FPS =
|
|
996
|
+
T.let(
|
|
997
|
+
:gb_fps,
|
|
998
|
+
ModernTreasury::CounterpartyCreateParams::Account::RoutingDetail::PaymentType::TaggedSymbol
|
|
999
|
+
)
|
|
995
1000
|
HU_ICS =
|
|
996
1001
|
T.let(
|
|
997
1002
|
:hu_ics,
|
|
@@ -1182,12 +1187,13 @@ module ModernTreasury
|
|
|
1182
1187
|
end
|
|
1183
1188
|
attr_writer :addresses
|
|
1184
1189
|
|
|
1185
|
-
sig { returns(T.nilable(ModernTreasury::
|
|
1190
|
+
sig { returns(T.nilable(ModernTreasury::LegalEntityBankSettings)) }
|
|
1186
1191
|
attr_reader :bank_settings
|
|
1187
1192
|
|
|
1188
1193
|
sig do
|
|
1189
1194
|
params(
|
|
1190
|
-
bank_settings:
|
|
1195
|
+
bank_settings:
|
|
1196
|
+
T.nilable(ModernTreasury::LegalEntityBankSettings::OrHash)
|
|
1191
1197
|
).void
|
|
1192
1198
|
end
|
|
1193
1199
|
attr_writer :bank_settings
|
|
@@ -1354,13 +1360,17 @@ module ModernTreasury
|
|
|
1354
1360
|
sig { returns(T.nilable(String)) }
|
|
1355
1361
|
attr_accessor :suffix
|
|
1356
1362
|
|
|
1357
|
-
sig
|
|
1363
|
+
sig do
|
|
1364
|
+
returns(T.nilable(ModernTreasury::LegalEntityWealthEmploymentDetail))
|
|
1365
|
+
end
|
|
1358
1366
|
attr_reader :wealth_and_employment_details
|
|
1359
1367
|
|
|
1360
1368
|
sig do
|
|
1361
1369
|
params(
|
|
1362
1370
|
wealth_and_employment_details:
|
|
1363
|
-
T.nilable(
|
|
1371
|
+
T.nilable(
|
|
1372
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::OrHash
|
|
1373
|
+
)
|
|
1364
1374
|
).void
|
|
1365
1375
|
end
|
|
1366
1376
|
attr_writer :wealth_and_employment_details
|
|
@@ -1375,7 +1385,8 @@ module ModernTreasury
|
|
|
1375
1385
|
ModernTreasury::CounterpartyCreateParams::LegalEntity::LegalEntityType::OrSymbol,
|
|
1376
1386
|
addresses:
|
|
1377
1387
|
T::Array[ModernTreasury::LegalEntityAddressCreateRequest::OrHash],
|
|
1378
|
-
bank_settings:
|
|
1388
|
+
bank_settings:
|
|
1389
|
+
T.nilable(ModernTreasury::LegalEntityBankSettings::OrHash),
|
|
1379
1390
|
business_name: T.nilable(String),
|
|
1380
1391
|
citizenship_country: T.nilable(String),
|
|
1381
1392
|
compliance_details:
|
|
@@ -1417,7 +1428,9 @@ module ModernTreasury
|
|
|
1417
1428
|
),
|
|
1418
1429
|
suffix: T.nilable(String),
|
|
1419
1430
|
wealth_and_employment_details:
|
|
1420
|
-
T.nilable(
|
|
1431
|
+
T.nilable(
|
|
1432
|
+
ModernTreasury::LegalEntityWealthEmploymentDetail::OrHash
|
|
1433
|
+
),
|
|
1421
1434
|
website: T.nilable(String)
|
|
1422
1435
|
).returns(T.attached_class)
|
|
1423
1436
|
end
|
|
@@ -1480,7 +1493,7 @@ module ModernTreasury
|
|
|
1480
1493
|
ModernTreasury::CounterpartyCreateParams::LegalEntity::LegalEntityType::OrSymbol,
|
|
1481
1494
|
addresses:
|
|
1482
1495
|
T::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
1483
|
-
bank_settings: T.nilable(ModernTreasury::
|
|
1496
|
+
bank_settings: T.nilable(ModernTreasury::LegalEntityBankSettings),
|
|
1484
1497
|
business_name: T.nilable(String),
|
|
1485
1498
|
citizenship_country: T.nilable(String),
|
|
1486
1499
|
compliance_details:
|
|
@@ -1520,7 +1533,7 @@ module ModernTreasury
|
|
|
1520
1533
|
),
|
|
1521
1534
|
suffix: T.nilable(String),
|
|
1522
1535
|
wealth_and_employment_details:
|
|
1523
|
-
T.nilable(ModernTreasury::
|
|
1536
|
+
T.nilable(ModernTreasury::LegalEntityWealthEmploymentDetail),
|
|
1524
1537
|
website: T.nilable(String)
|
|
1525
1538
|
}
|
|
1526
1539
|
)
|
|
@@ -305,6 +305,11 @@ module ModernTreasury
|
|
|
305
305
|
:ethereum,
|
|
306
306
|
ModernTreasury::ExpectedPaymentListParams::Type::TaggedSymbol
|
|
307
307
|
)
|
|
308
|
+
GB_FPS =
|
|
309
|
+
T.let(
|
|
310
|
+
:gb_fps,
|
|
311
|
+
ModernTreasury::ExpectedPaymentListParams::Type::TaggedSymbol
|
|
312
|
+
)
|
|
308
313
|
HU_ICS =
|
|
309
314
|
T.let(
|
|
310
315
|
:hu_ics,
|
|
@@ -27,6 +27,7 @@ module ModernTreasury
|
|
|
27
27
|
EFT = T.let(:eft, ModernTreasury::ExpectedPaymentType::TaggedSymbol)
|
|
28
28
|
ETHEREUM =
|
|
29
29
|
T.let(:ethereum, ModernTreasury::ExpectedPaymentType::TaggedSymbol)
|
|
30
|
+
GB_FPS = T.let(:gb_fps, ModernTreasury::ExpectedPaymentType::TaggedSymbol)
|
|
30
31
|
HU_ICS = T.let(:hu_ics, ModernTreasury::ExpectedPaymentType::TaggedSymbol)
|
|
31
32
|
INTERAC =
|
|
32
33
|
T.let(:interac, ModernTreasury::ExpectedPaymentType::TaggedSymbol)
|
|
@@ -694,6 +694,11 @@ module ModernTreasury
|
|
|
694
694
|
:ethereum,
|
|
695
695
|
ModernTreasury::ExternalAccountCreateParams::RoutingDetail::PaymentType::TaggedSymbol
|
|
696
696
|
)
|
|
697
|
+
GB_FPS =
|
|
698
|
+
T.let(
|
|
699
|
+
:gb_fps,
|
|
700
|
+
ModernTreasury::ExternalAccountCreateParams::RoutingDetail::PaymentType::TaggedSymbol
|
|
701
|
+
)
|
|
697
702
|
HU_ICS =
|
|
698
703
|
T.let(
|
|
699
704
|
:hu_ics,
|
|
@@ -196,6 +196,11 @@ module ModernTreasury
|
|
|
196
196
|
:ethereum,
|
|
197
197
|
ModernTreasury::ExternalAccountVerifyParams::PaymentType::TaggedSymbol
|
|
198
198
|
)
|
|
199
|
+
GB_FPS =
|
|
200
|
+
T.let(
|
|
201
|
+
:gb_fps,
|
|
202
|
+
ModernTreasury::ExternalAccountVerifyParams::PaymentType::TaggedSymbol
|
|
203
|
+
)
|
|
199
204
|
HU_ICS =
|
|
200
205
|
T.let(
|
|
201
206
|
:hu_ics,
|
|
@@ -215,6 +215,11 @@ module ModernTreasury
|
|
|
215
215
|
:ethereum,
|
|
216
216
|
ModernTreasury::Models::ExternalAccountVerifyResponse::ExternalAccountVerificationAttempt::PaymentType::TaggedSymbol
|
|
217
217
|
)
|
|
218
|
+
GB_FPS =
|
|
219
|
+
T.let(
|
|
220
|
+
:gb_fps,
|
|
221
|
+
ModernTreasury::Models::ExternalAccountVerifyResponse::ExternalAccountVerificationAttempt::PaymentType::TaggedSymbol
|
|
222
|
+
)
|
|
218
223
|
HU_ICS =
|
|
219
224
|
T.let(
|
|
220
225
|
:hu_ics,
|
|
@@ -402,6 +402,11 @@ module ModernTreasury
|
|
|
402
402
|
:ethereum,
|
|
403
403
|
ModernTreasury::InternalAccount::AccountCapability::PaymentType::TaggedSymbol
|
|
404
404
|
)
|
|
405
|
+
GB_FPS =
|
|
406
|
+
T.let(
|
|
407
|
+
:gb_fps,
|
|
408
|
+
ModernTreasury::InternalAccount::AccountCapability::PaymentType::TaggedSymbol
|
|
409
|
+
)
|
|
405
410
|
HU_ICS =
|
|
406
411
|
T.let(
|
|
407
412
|
:hu_ics,
|
|
@@ -409,6 +409,11 @@ module ModernTreasury
|
|
|
409
409
|
:ethereum,
|
|
410
410
|
ModernTreasury::InternalAccountCreateParams::AccountCapability::PaymentType::TaggedSymbol
|
|
411
411
|
)
|
|
412
|
+
GB_FPS =
|
|
413
|
+
T.let(
|
|
414
|
+
:gb_fps,
|
|
415
|
+
ModernTreasury::InternalAccountCreateParams::AccountCapability::PaymentType::TaggedSymbol
|
|
416
|
+
)
|
|
412
417
|
HU_ICS =
|
|
413
418
|
T.let(
|
|
414
419
|
:hu_ics,
|
|
@@ -209,6 +209,11 @@ module ModernTreasury
|
|
|
209
209
|
:ethereum,
|
|
210
210
|
ModernTreasury::InternalAccountListParams::PaymentType::TaggedSymbol
|
|
211
211
|
)
|
|
212
|
+
GB_FPS =
|
|
213
|
+
T.let(
|
|
214
|
+
:gb_fps,
|
|
215
|
+
ModernTreasury::InternalAccountListParams::PaymentType::TaggedSymbol
|
|
216
|
+
)
|
|
212
217
|
HU_ICS =
|
|
213
218
|
T.let(
|
|
214
219
|
:hu_ics,
|
|
@@ -178,6 +178,11 @@ module ModernTreasury
|
|
|
178
178
|
:ethereum,
|
|
179
179
|
ModernTreasury::Models::InternalAccountUpdateAccountCapabilityResponse::PaymentType::TaggedSymbol
|
|
180
180
|
)
|
|
181
|
+
GB_FPS =
|
|
182
|
+
T.let(
|
|
183
|
+
:gb_fps,
|
|
184
|
+
ModernTreasury::Models::InternalAccountUpdateAccountCapabilityResponse::PaymentType::TaggedSymbol
|
|
185
|
+
)
|
|
181
186
|
HU_ICS =
|
|
182
187
|
T.let(
|
|
183
188
|
:hu_ics,
|
|
@@ -41,7 +41,7 @@ module ModernTreasury
|
|
|
41
41
|
# The exclusive upper bound of the effective_at timestamp of the ledger entries to
|
|
42
42
|
# be included in the ledger account settlement. The default value is the
|
|
43
43
|
# created_at timestamp of the ledger account settlement.
|
|
44
|
-
sig { returns(Time) }
|
|
44
|
+
sig { returns(T.nilable(Time)) }
|
|
45
45
|
attr_accessor :effective_at_upper_bound
|
|
46
46
|
|
|
47
47
|
# The id of the ledger that this ledger account settlement belongs to.
|
|
@@ -93,7 +93,7 @@ module ModernTreasury
|
|
|
93
93
|
currency: String,
|
|
94
94
|
currency_exponent: T.nilable(Integer),
|
|
95
95
|
description: T.nilable(String),
|
|
96
|
-
effective_at_upper_bound: Time,
|
|
96
|
+
effective_at_upper_bound: T.nilable(Time),
|
|
97
97
|
ledger_id: String,
|
|
98
98
|
ledger_transaction_id: T.nilable(String),
|
|
99
99
|
live_mode: T::Boolean,
|
|
@@ -156,7 +156,7 @@ module ModernTreasury
|
|
|
156
156
|
currency: String,
|
|
157
157
|
currency_exponent: T.nilable(Integer),
|
|
158
158
|
description: T.nilable(String),
|
|
159
|
-
effective_at_upper_bound: Time,
|
|
159
|
+
effective_at_upper_bound: T.nilable(Time),
|
|
160
160
|
ledger_id: String,
|
|
161
161
|
ledger_transaction_id: T.nilable(String),
|
|
162
162
|
live_mode: T::Boolean,
|
|
@@ -25,6 +25,17 @@ module ModernTreasury
|
|
|
25
25
|
sig { returns(T.nilable(String)) }
|
|
26
26
|
attr_accessor :after_cursor
|
|
27
27
|
|
|
28
|
+
# Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by amount.
|
|
29
|
+
sig { returns(T.nilable(ModernTreasury::LedgerEntryListParams::Amount)) }
|
|
30
|
+
attr_reader :amount
|
|
31
|
+
|
|
32
|
+
sig do
|
|
33
|
+
params(
|
|
34
|
+
amount: ModernTreasury::LedgerEntryListParams::Amount::OrHash
|
|
35
|
+
).void
|
|
36
|
+
end
|
|
37
|
+
attr_writer :amount
|
|
38
|
+
|
|
28
39
|
# Shows all ledger entries that were present on a ledger account at a particular
|
|
29
40
|
# `lock_version`. You must also specify `ledger_account_id`.
|
|
30
41
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -187,6 +198,7 @@ module ModernTreasury
|
|
|
187
198
|
params(
|
|
188
199
|
id: T::Array[String],
|
|
189
200
|
after_cursor: T.nilable(String),
|
|
201
|
+
amount: ModernTreasury::LedgerEntryListParams::Amount::OrHash,
|
|
190
202
|
as_of_lock_version: Integer,
|
|
191
203
|
direction: ModernTreasury::TransactionDirection::OrSymbol,
|
|
192
204
|
effective_at: T::Hash[Symbol, Time],
|
|
@@ -214,6 +226,8 @@ module ModernTreasury
|
|
|
214
226
|
# parameters delimited with `id[]=`, for example `?id[]=123&id[]=abc`.
|
|
215
227
|
id: nil,
|
|
216
228
|
after_cursor: nil,
|
|
229
|
+
# Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by amount.
|
|
230
|
+
amount: nil,
|
|
217
231
|
# Shows all ledger entries that were present on a ledger account at a particular
|
|
218
232
|
# `lock_version`. You must also specify `ledger_account_id`.
|
|
219
233
|
as_of_lock_version: nil,
|
|
@@ -274,6 +288,7 @@ module ModernTreasury
|
|
|
274
288
|
{
|
|
275
289
|
id: T::Array[String],
|
|
276
290
|
after_cursor: T.nilable(String),
|
|
291
|
+
amount: ModernTreasury::LedgerEntryListParams::Amount,
|
|
277
292
|
as_of_lock_version: Integer,
|
|
278
293
|
direction: ModernTreasury::TransactionDirection::OrSymbol,
|
|
279
294
|
effective_at: T::Hash[Symbol, Time],
|
|
@@ -300,6 +315,73 @@ module ModernTreasury
|
|
|
300
315
|
def to_hash
|
|
301
316
|
end
|
|
302
317
|
|
|
318
|
+
class Amount < ModernTreasury::Internal::Type::BaseModel
|
|
319
|
+
OrHash =
|
|
320
|
+
T.type_alias do
|
|
321
|
+
T.any(
|
|
322
|
+
ModernTreasury::LedgerEntryListParams::Amount,
|
|
323
|
+
ModernTreasury::Internal::AnyHash
|
|
324
|
+
)
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
sig { returns(T.nilable(Integer)) }
|
|
328
|
+
attr_reader :eq
|
|
329
|
+
|
|
330
|
+
sig { params(eq: Integer).void }
|
|
331
|
+
attr_writer :eq
|
|
332
|
+
|
|
333
|
+
sig { returns(T.nilable(Integer)) }
|
|
334
|
+
attr_reader :gt
|
|
335
|
+
|
|
336
|
+
sig { params(gt: Integer).void }
|
|
337
|
+
attr_writer :gt
|
|
338
|
+
|
|
339
|
+
sig { returns(T.nilable(Integer)) }
|
|
340
|
+
attr_reader :gte
|
|
341
|
+
|
|
342
|
+
sig { params(gte: Integer).void }
|
|
343
|
+
attr_writer :gte
|
|
344
|
+
|
|
345
|
+
sig { returns(T.nilable(Integer)) }
|
|
346
|
+
attr_reader :lt
|
|
347
|
+
|
|
348
|
+
sig { params(lt: Integer).void }
|
|
349
|
+
attr_writer :lt
|
|
350
|
+
|
|
351
|
+
sig { returns(T.nilable(Integer)) }
|
|
352
|
+
attr_reader :lte
|
|
353
|
+
|
|
354
|
+
sig { params(lte: Integer).void }
|
|
355
|
+
attr_writer :lte
|
|
356
|
+
|
|
357
|
+
# Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by amount.
|
|
358
|
+
sig do
|
|
359
|
+
params(
|
|
360
|
+
eq: Integer,
|
|
361
|
+
gt: Integer,
|
|
362
|
+
gte: Integer,
|
|
363
|
+
lt: Integer,
|
|
364
|
+
lte: Integer
|
|
365
|
+
).returns(T.attached_class)
|
|
366
|
+
end
|
|
367
|
+
def self.new(eq: nil, gt: nil, gte: nil, lt: nil, lte: nil)
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
sig do
|
|
371
|
+
override.returns(
|
|
372
|
+
{
|
|
373
|
+
eq: Integer,
|
|
374
|
+
gt: Integer,
|
|
375
|
+
gte: Integer,
|
|
376
|
+
lt: Integer,
|
|
377
|
+
lte: Integer
|
|
378
|
+
}
|
|
379
|
+
)
|
|
380
|
+
end
|
|
381
|
+
def to_hash
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
|
|
303
385
|
class OrderBy < ModernTreasury::Internal::Type::BaseModel
|
|
304
386
|
OrHash =
|
|
305
387
|
T.type_alias do
|