modern_treasury 0.4.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 +22 -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 +2 -6
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +3 -9
- 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 +10 -27
- 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 +1 -3
- 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 +3 -10
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +1 -3
- data/lib/modern_treasury/models/legal_entity_association.rb +7 -21
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +1 -3
- data/lib/modern_treasury/models/legal_entity_create_params.rb +3 -9
- data/lib/modern_treasury/models/legal_entity_update_params.rb +2 -6
- 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 +0 -2
- data/lib/modern_treasury/resources/ledger_transactions.rb +3 -1
- data/lib/modern_treasury/resources/payment_orders.rb +3 -15
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +0 -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/counterparty_create_params.rbi +5 -0
- 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_transaction_list_params.rbi +84 -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 +0 -2
- data/rbi/modern_treasury/resources/ledger_transactions.rbi +3 -0
- 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/counterparty_create_params.rbs +2 -0
- 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_transaction_list_params.rbs +50 -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 +0 -2
- data/sig/modern_treasury/resources/ledger_transactions.rbs +1 -0
- data/sig/modern_treasury/resources/payment_orders.rbs +0 -6
- metadata +2 -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
|
@@ -32,9 +32,7 @@ module ModernTreasury
|
|
|
32
32
|
#
|
|
33
33
|
# @return [Array<Symbol, ModernTreasury::Models::CounterpartyCollectAccountParams::Field>, nil]
|
|
34
34
|
optional :fields,
|
|
35
|
-
-> {
|
|
36
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::CounterpartyCollectAccountParams::Field]
|
|
37
|
-
}
|
|
35
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::CounterpartyCollectAccountParams::Field] }
|
|
38
36
|
|
|
39
37
|
# @!attribute send_email
|
|
40
38
|
# By default, Modern Treasury will send an email to your counterparty that
|
|
@@ -29,9 +29,7 @@ module ModernTreasury
|
|
|
29
29
|
#
|
|
30
30
|
# @return [Array<ModernTreasury::Models::CounterpartyCreateParams::Account>, nil]
|
|
31
31
|
optional :accounts,
|
|
32
|
-
-> {
|
|
33
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::CounterpartyCreateParams::Account]
|
|
34
|
-
}
|
|
32
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::CounterpartyCreateParams::Account] }
|
|
35
33
|
|
|
36
34
|
# @!attribute email
|
|
37
35
|
# The counterparty's email.
|
|
@@ -149,9 +147,7 @@ module ModernTreasury
|
|
|
149
147
|
#
|
|
150
148
|
# @return [Array<ModernTreasury::Models::CounterpartyCreateParams::Account::AccountDetail>, nil]
|
|
151
149
|
optional :account_details,
|
|
152
|
-
-> {
|
|
153
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::CounterpartyCreateParams::Account::AccountDetail]
|
|
154
|
-
}
|
|
150
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::CounterpartyCreateParams::Account::AccountDetail] }
|
|
155
151
|
|
|
156
152
|
# @!attribute account_type
|
|
157
153
|
# Can be `checking`, `savings` or `other`.
|
|
@@ -231,9 +227,7 @@ module ModernTreasury
|
|
|
231
227
|
#
|
|
232
228
|
# @return [Array<ModernTreasury::Models::CounterpartyCreateParams::Account::RoutingDetail>, nil]
|
|
233
229
|
optional :routing_details,
|
|
234
|
-
-> {
|
|
235
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::CounterpartyCreateParams::Account::RoutingDetail]
|
|
236
|
-
}
|
|
230
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::CounterpartyCreateParams::Account::RoutingDetail] }
|
|
237
231
|
|
|
238
232
|
# @!method initialize(account_details: nil, account_type: nil, contact_details: nil, external_id: nil, ledger_account: nil, metadata: nil, name: nil, party_address: nil, party_identifier: nil, party_name: nil, party_type: nil, plaid_processor_token: nil, routing_details: nil)
|
|
239
233
|
# Some parameter documentations has been truncated, see
|
|
@@ -275,9 +269,7 @@ module ModernTreasury
|
|
|
275
269
|
#
|
|
276
270
|
# @return [Symbol, ModernTreasury::Models::CounterpartyCreateParams::Account::AccountDetail::AccountNumberType, nil]
|
|
277
271
|
optional :account_number_type,
|
|
278
|
-
enum: -> {
|
|
279
|
-
ModernTreasury::CounterpartyCreateParams::Account::AccountDetail::AccountNumberType
|
|
280
|
-
}
|
|
272
|
+
enum: -> { ModernTreasury::CounterpartyCreateParams::Account::AccountDetail::AccountNumberType }
|
|
281
273
|
|
|
282
274
|
# @!method initialize(account_number:, account_number_type: nil)
|
|
283
275
|
# @param account_number [String]
|
|
@@ -330,9 +322,7 @@ module ModernTreasury
|
|
|
330
322
|
#
|
|
331
323
|
# @return [Symbol, ModernTreasury::Models::CounterpartyCreateParams::Account::RoutingDetail::RoutingNumberType]
|
|
332
324
|
required :routing_number_type,
|
|
333
|
-
enum: -> {
|
|
334
|
-
ModernTreasury::CounterpartyCreateParams::Account::RoutingDetail::RoutingNumberType
|
|
335
|
-
}
|
|
325
|
+
enum: -> { ModernTreasury::CounterpartyCreateParams::Account::RoutingDetail::RoutingNumberType }
|
|
336
326
|
|
|
337
327
|
# @!attribute payment_type
|
|
338
328
|
#
|
|
@@ -392,6 +382,7 @@ module ModernTreasury
|
|
|
392
382
|
DK_NETS = :dk_nets
|
|
393
383
|
EFT = :eft
|
|
394
384
|
ETHEREUM = :ethereum
|
|
385
|
+
GB_FPS = :gb_fps
|
|
395
386
|
HU_ICS = :hu_ics
|
|
396
387
|
INTERAC = :interac
|
|
397
388
|
MASAV = :masav
|
|
@@ -448,9 +439,7 @@ module ModernTreasury
|
|
|
448
439
|
#
|
|
449
440
|
# @return [Array<ModernTreasury::Models::LegalEntityAddressCreateRequest>, nil]
|
|
450
441
|
optional :addresses,
|
|
451
|
-
-> {
|
|
452
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAddressCreateRequest]
|
|
453
|
-
}
|
|
442
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAddressCreateRequest] }
|
|
454
443
|
|
|
455
444
|
# @!attribute bank_settings
|
|
456
445
|
#
|
|
@@ -515,9 +504,7 @@ module ModernTreasury
|
|
|
515
504
|
#
|
|
516
505
|
# @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>, nil]
|
|
517
506
|
optional :industry_classifications,
|
|
518
|
-
-> {
|
|
519
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification]
|
|
520
|
-
}
|
|
507
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification] }
|
|
521
508
|
|
|
522
509
|
# @!attribute last_name
|
|
523
510
|
# An individual's last name.
|
|
@@ -560,9 +547,7 @@ module ModernTreasury
|
|
|
560
547
|
#
|
|
561
548
|
# @return [Array<ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::PhoneNumber>, nil]
|
|
562
549
|
optional :phone_numbers,
|
|
563
|
-
-> {
|
|
564
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::CounterpartyCreateParams::LegalEntity::PhoneNumber]
|
|
565
|
-
}
|
|
550
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::CounterpartyCreateParams::LegalEntity::PhoneNumber] }
|
|
566
551
|
|
|
567
552
|
# @!attribute politically_exposed_person
|
|
568
553
|
# Whether the individual is a politically exposed person.
|
|
@@ -684,9 +669,7 @@ module ModernTreasury
|
|
|
684
669
|
#
|
|
685
670
|
# @return [Array<Symbol, ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::LegalEntityAssociation::RelationshipType>]
|
|
686
671
|
required :relationship_types,
|
|
687
|
-
-> {
|
|
688
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::CounterpartyCreateParams::LegalEntity::LegalEntityAssociation::RelationshipType]
|
|
689
|
-
}
|
|
672
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::CounterpartyCreateParams::LegalEntity::LegalEntityAssociation::RelationshipType] }
|
|
690
673
|
|
|
691
674
|
# @!attribute child_legal_entity
|
|
692
675
|
# The child legal entity.
|
|
@@ -92,9 +92,7 @@ module ModernTreasury
|
|
|
92
92
|
#
|
|
93
93
|
# @return [Array<ModernTreasury::Models::ExpectedPaymentCreateParams::LineItem>, nil]
|
|
94
94
|
optional :line_items,
|
|
95
|
-
-> {
|
|
96
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ExpectedPaymentCreateParams::LineItem]
|
|
97
|
-
}
|
|
95
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ExpectedPaymentCreateParams::LineItem] }
|
|
98
96
|
|
|
99
97
|
# @!attribute metadata
|
|
100
98
|
# Additional data represented as key-value pairs. Both the key and value must be
|
|
@@ -22,9 +22,7 @@ module ModernTreasury
|
|
|
22
22
|
#
|
|
23
23
|
# @return [Array<ModernTreasury::Models::ExternalAccountCreateParams::AccountDetail>, nil]
|
|
24
24
|
optional :account_details,
|
|
25
|
-
-> {
|
|
26
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ExternalAccountCreateParams::AccountDetail]
|
|
27
|
-
}
|
|
25
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ExternalAccountCreateParams::AccountDetail] }
|
|
28
26
|
|
|
29
27
|
# @!attribute account_type
|
|
30
28
|
# Can be `checking`, `savings` or `other`.
|
|
@@ -96,9 +94,7 @@ module ModernTreasury
|
|
|
96
94
|
#
|
|
97
95
|
# @return [Array<ModernTreasury::Models::ExternalAccountCreateParams::RoutingDetail>, nil]
|
|
98
96
|
optional :routing_details,
|
|
99
|
-
-> {
|
|
100
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ExternalAccountCreateParams::RoutingDetail]
|
|
101
|
-
}
|
|
97
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ExternalAccountCreateParams::RoutingDetail] }
|
|
102
98
|
|
|
103
99
|
# @!method initialize(counterparty_id:, body_external_id: nil, account_details: nil, account_type: nil, contact_details: nil, ledger_account: nil, metadata: nil, name: nil, party_address: nil, party_identifier: nil, party_name: nil, party_type: nil, plaid_processor_token: nil, routing_details: nil, request_options: {})
|
|
104
100
|
# Some parameter documentations has been truncated, see
|
|
@@ -255,6 +251,7 @@ module ModernTreasury
|
|
|
255
251
|
DK_NETS = :dk_nets
|
|
256
252
|
EFT = :eft
|
|
257
253
|
ETHEREUM = :ethereum
|
|
254
|
+
GB_FPS = :gb_fps
|
|
258
255
|
HU_ICS = :hu_ics
|
|
259
256
|
INTERAC = :interac
|
|
260
257
|
MASAV = :masav
|
|
@@ -15,9 +15,7 @@ module ModernTreasury
|
|
|
15
15
|
#
|
|
16
16
|
# @return [Array<ModernTreasury::Models::InternalAccount::AccountCapability>]
|
|
17
17
|
required :account_capabilities,
|
|
18
|
-
-> {
|
|
19
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccount::AccountCapability]
|
|
20
|
-
}
|
|
18
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccount::AccountCapability] }
|
|
21
19
|
|
|
22
20
|
# @!attribute account_details
|
|
23
21
|
# An array of account detail objects.
|
|
@@ -274,6 +272,7 @@ module ModernTreasury
|
|
|
274
272
|
DK_NETS = :dk_nets
|
|
275
273
|
EFT = :eft
|
|
276
274
|
ETHEREUM = :ethereum
|
|
275
|
+
GB_FPS = :gb_fps
|
|
277
276
|
HU_ICS = :hu_ics
|
|
278
277
|
INTERAC = :interac
|
|
279
278
|
MASAV = :masav
|
|
@@ -38,9 +38,7 @@ module ModernTreasury
|
|
|
38
38
|
#
|
|
39
39
|
# @return [Array<ModernTreasury::Models::InternalAccountCreateParams::AccountCapability>, nil]
|
|
40
40
|
optional :account_capabilities,
|
|
41
|
-
-> {
|
|
42
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccountCreateParams::AccountCapability]
|
|
43
|
-
}
|
|
41
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccountCreateParams::AccountCapability] }
|
|
44
42
|
|
|
45
43
|
# @!attribute account_type
|
|
46
44
|
# The account type, used to provision the appropriate account at the financial
|
|
@@ -217,6 +215,7 @@ module ModernTreasury
|
|
|
217
215
|
DK_NETS = :dk_nets
|
|
218
216
|
EFT = :eft
|
|
219
217
|
ETHEREUM = :ethereum
|
|
218
|
+
GB_FPS = :gb_fps
|
|
220
219
|
HU_ICS = :hu_ics
|
|
221
220
|
INTERAC = :interac
|
|
222
221
|
MASAV = :masav
|
|
@@ -35,9 +35,7 @@ module ModernTreasury
|
|
|
35
35
|
#
|
|
36
36
|
# @return [Array<ModernTreasury::Models::InternalAccounts::BalanceReport::Balance>]
|
|
37
37
|
required :balances,
|
|
38
|
-
-> {
|
|
39
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccounts::BalanceReport::Balance]
|
|
40
|
-
}
|
|
38
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccounts::BalanceReport::Balance] }
|
|
41
39
|
|
|
42
40
|
# @!attribute created_at
|
|
43
41
|
#
|
|
@@ -138,10 +136,7 @@ module ModernTreasury
|
|
|
138
136
|
# 'previously_closed_book', or `other`.
|
|
139
137
|
#
|
|
140
138
|
# @return [Symbol, ModernTreasury::Models::InternalAccounts::BalanceReport::Balance::BalanceType]
|
|
141
|
-
required :balance_type,
|
|
142
|
-
enum: -> {
|
|
143
|
-
ModernTreasury::InternalAccounts::BalanceReport::Balance::BalanceType
|
|
144
|
-
}
|
|
139
|
+
required :balance_type, enum: -> { ModernTreasury::InternalAccounts::BalanceReport::Balance::BalanceType }
|
|
145
140
|
|
|
146
141
|
# @!attribute created_at
|
|
147
142
|
#
|
|
@@ -33,9 +33,7 @@ module ModernTreasury
|
|
|
33
33
|
#
|
|
34
34
|
# @return [Array<ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance>]
|
|
35
35
|
required :balances,
|
|
36
|
-
-> {
|
|
37
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccounts::BalanceReportCreateParams::Balance]
|
|
38
|
-
}
|
|
36
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccounts::BalanceReportCreateParams::Balance] }
|
|
39
37
|
|
|
40
38
|
# @!method initialize(as_of_date:, as_of_time:, balance_report_type:, balances:, request_options: {})
|
|
41
39
|
# Some parameter documentations has been truncated, see
|
|
@@ -81,9 +79,7 @@ module ModernTreasury
|
|
|
81
79
|
#
|
|
82
80
|
# @return [Symbol, ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance::BalanceType]
|
|
83
81
|
required :balance_type,
|
|
84
|
-
enum: -> {
|
|
85
|
-
ModernTreasury::InternalAccounts::BalanceReportCreateParams::Balance::BalanceType
|
|
86
|
-
}
|
|
82
|
+
enum: -> { ModernTreasury::InternalAccounts::BalanceReportCreateParams::Balance::BalanceType }
|
|
87
83
|
|
|
88
84
|
# @!attribute vendor_code
|
|
89
85
|
# The code used by the bank when reporting this specific balance.
|
|
@@ -28,9 +28,7 @@ module ModernTreasury
|
|
|
28
28
|
# @return [Array(String, Symbol)]
|
|
29
29
|
|
|
30
30
|
define_sorbet_constant!(:Variants) do
|
|
31
|
-
T.type_alias
|
|
32
|
-
T.any(String, ModernTreasury::InternalAccounts::BalanceReportRetrieveParams::ID::TaggedSymbol)
|
|
33
|
-
end
|
|
31
|
+
T.type_alias { T.any(String, ModernTreasury::InternalAccounts::BalanceReportRetrieveParams::ID::TaggedSymbol) }
|
|
34
32
|
end
|
|
35
33
|
|
|
36
34
|
# @!group
|
|
@@ -11,10 +11,7 @@ module ModernTreasury
|
|
|
11
11
|
# Describes the condition that must be satisfied for the monitor to be triggered.
|
|
12
12
|
#
|
|
13
13
|
# @return [ModernTreasury::Models::LedgerAccountBalanceMonitorCreateParams::AlertCondition]
|
|
14
|
-
required :alert_condition,
|
|
15
|
-
-> {
|
|
16
|
-
ModernTreasury::LedgerAccountBalanceMonitorCreateParams::AlertCondition
|
|
17
|
-
}
|
|
14
|
+
required :alert_condition, -> { ModernTreasury::LedgerAccountBalanceMonitorCreateParams::AlertCondition }
|
|
18
15
|
|
|
19
16
|
# @!attribute ledger_account_id
|
|
20
17
|
# The ledger account associated with this balance monitor.
|
|
@@ -24,10 +24,7 @@ module ModernTreasury
|
|
|
24
24
|
# filter by balance amount.
|
|
25
25
|
#
|
|
26
26
|
# @return [ModernTreasury::Models::LedgerAccountListParams::AvailableBalanceAmount, nil]
|
|
27
|
-
optional :available_balance_amount,
|
|
28
|
-
-> {
|
|
29
|
-
ModernTreasury::LedgerAccountListParams::AvailableBalanceAmount
|
|
30
|
-
}
|
|
27
|
+
optional :available_balance_amount, -> { ModernTreasury::LedgerAccountListParams::AvailableBalanceAmount }
|
|
31
28
|
|
|
32
29
|
# @!attribute balances
|
|
33
30
|
# Use `balances[effective_at_lower_bound]` and
|
|
@@ -50,8 +50,8 @@ module ModernTreasury
|
|
|
50
50
|
# be included in the ledger account settlement. The default value is the
|
|
51
51
|
# created_at timestamp of the ledger account settlement.
|
|
52
52
|
#
|
|
53
|
-
# @return [Time]
|
|
54
|
-
required :effective_at_upper_bound, Time
|
|
53
|
+
# @return [Time, nil]
|
|
54
|
+
required :effective_at_upper_bound, Time, nil?: true
|
|
55
55
|
|
|
56
56
|
# @!attribute ledger_id
|
|
57
57
|
# The id of the ledger that this ledger account settlement belongs to.
|
|
@@ -127,7 +127,7 @@ module ModernTreasury
|
|
|
127
127
|
#
|
|
128
128
|
# @param description [String, nil] The description of the ledger account settlement.
|
|
129
129
|
#
|
|
130
|
-
# @param effective_at_upper_bound [Time] The exclusive upper bound of the effective_at timestamp of the ledger entries to
|
|
130
|
+
# @param effective_at_upper_bound [Time, nil] The exclusive upper bound of the effective_at timestamp of the ledger entries to
|
|
131
131
|
#
|
|
132
132
|
# @param ledger_id [String] The id of the ledger that this ledger account settlement belongs to.
|
|
133
133
|
#
|
|
@@ -139,9 +139,7 @@ module ModernTreasury
|
|
|
139
139
|
#
|
|
140
140
|
# @return [Array<Symbol, ModernTreasury::Models::LedgerEntryListParams::Status>, nil]
|
|
141
141
|
optional :status,
|
|
142
|
-
-> {
|
|
143
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LedgerEntryListParams::Status]
|
|
144
|
-
}
|
|
142
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LedgerEntryListParams::Status] }
|
|
145
143
|
|
|
146
144
|
# @!attribute updated_at
|
|
147
145
|
# Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the
|
|
@@ -14,9 +14,7 @@ module ModernTreasury
|
|
|
14
14
|
#
|
|
15
15
|
# @return [Array<ModernTreasury::Models::LedgerTransactionCreatePartialPostParams::PostedLedgerEntry>]
|
|
16
16
|
required :posted_ledger_entries,
|
|
17
|
-
-> {
|
|
18
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LedgerTransactionCreatePartialPostParams::PostedLedgerEntry]
|
|
19
|
-
}
|
|
17
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LedgerTransactionCreatePartialPostParams::PostedLedgerEntry] }
|
|
20
18
|
|
|
21
19
|
# @!attribute description
|
|
22
20
|
# An optional free-form description for the posted ledger transaction. Maximum of
|
|
@@ -70,9 +68,7 @@ module ModernTreasury
|
|
|
70
68
|
#
|
|
71
69
|
# @return [Symbol, ModernTreasury::Models::LedgerTransactionCreatePartialPostParams::PostedLedgerEntry::Direction]
|
|
72
70
|
required :direction,
|
|
73
|
-
enum: -> {
|
|
74
|
-
ModernTreasury::LedgerTransactionCreatePartialPostParams::PostedLedgerEntry::Direction
|
|
75
|
-
}
|
|
71
|
+
enum: -> { ModernTreasury::LedgerTransactionCreatePartialPostParams::PostedLedgerEntry::Direction }
|
|
76
72
|
|
|
77
73
|
# @!attribute ledger_account_id
|
|
78
74
|
# The ledger account that this ledger entry is associated with.
|
|
@@ -19,6 +19,12 @@ module ModernTreasury
|
|
|
19
19
|
# @return [String, nil]
|
|
20
20
|
optional :after_cursor, String, nil?: true
|
|
21
21
|
|
|
22
|
+
# @!attribute amount
|
|
23
|
+
# Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by amount.
|
|
24
|
+
#
|
|
25
|
+
# @return [ModernTreasury::Models::LedgerTransactionListParams::Amount, nil]
|
|
26
|
+
optional :amount, -> { ModernTreasury::LedgerTransactionListParams::Amount }
|
|
27
|
+
|
|
22
28
|
# @!attribute effective_at
|
|
23
29
|
# Use "gt" (>), "gte" (>=), "lt" (<), "lte" (<=), or "eq" (=) to filter by
|
|
24
30
|
# effective at. For example, for all transactions after Jan 1 2000, use
|
|
@@ -122,7 +128,7 @@ module ModernTreasury
|
|
|
122
128
|
# @return [Hash{Symbol=>Time}, nil]
|
|
123
129
|
optional :updated_at, ModernTreasury::Internal::Type::HashOf[Time]
|
|
124
130
|
|
|
125
|
-
# @!method initialize(id: nil, after_cursor: nil, effective_at: nil, effective_date: nil, external_id: nil, ledger_account_category_id: nil, ledger_account_id: nil, ledger_account_settlement_id: nil, ledger_id: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, order_by: nil, partially_posts_ledger_transaction_id: nil, per_page: nil, posted_at: nil, reverses_ledger_transaction_id: nil, status: nil, updated_at: nil, request_options: {})
|
|
131
|
+
# @!method initialize(id: nil, after_cursor: nil, amount: nil, effective_at: nil, effective_date: nil, external_id: nil, ledger_account_category_id: nil, ledger_account_id: nil, ledger_account_settlement_id: nil, ledger_id: nil, ledgerable_id: nil, ledgerable_type: nil, metadata: nil, order_by: nil, partially_posts_ledger_transaction_id: nil, per_page: nil, posted_at: nil, reverses_ledger_transaction_id: nil, status: nil, updated_at: nil, request_options: {})
|
|
126
132
|
# Some parameter documentations has been truncated, see
|
|
127
133
|
# {ModernTreasury::Models::LedgerTransactionListParams} for more details.
|
|
128
134
|
#
|
|
@@ -130,6 +136,8 @@ module ModernTreasury
|
|
|
130
136
|
#
|
|
131
137
|
# @param after_cursor [String, nil]
|
|
132
138
|
#
|
|
139
|
+
# @param amount [ModernTreasury::Models::LedgerTransactionListParams::Amount] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by amount.
|
|
140
|
+
#
|
|
133
141
|
# @param effective_at [Hash{Symbol=>Time}] Use "gt" (>), "gte" (>=), "lt" (<), "lte" (<=), or "eq" (=) to filter by effecti
|
|
134
142
|
#
|
|
135
143
|
# @param effective_date [Hash{Symbol=>Time}] Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by effecti
|
|
@@ -166,6 +174,42 @@ module ModernTreasury
|
|
|
166
174
|
#
|
|
167
175
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
168
176
|
|
|
177
|
+
class Amount < ModernTreasury::Internal::Type::BaseModel
|
|
178
|
+
# @!attribute eq
|
|
179
|
+
#
|
|
180
|
+
# @return [Integer, nil]
|
|
181
|
+
optional :eq, Integer
|
|
182
|
+
|
|
183
|
+
# @!attribute gt
|
|
184
|
+
#
|
|
185
|
+
# @return [Integer, nil]
|
|
186
|
+
optional :gt, Integer
|
|
187
|
+
|
|
188
|
+
# @!attribute gte
|
|
189
|
+
#
|
|
190
|
+
# @return [Integer, nil]
|
|
191
|
+
optional :gte, Integer
|
|
192
|
+
|
|
193
|
+
# @!attribute lt
|
|
194
|
+
#
|
|
195
|
+
# @return [Integer, nil]
|
|
196
|
+
optional :lt, Integer
|
|
197
|
+
|
|
198
|
+
# @!attribute lte
|
|
199
|
+
#
|
|
200
|
+
# @return [Integer, nil]
|
|
201
|
+
optional :lte, Integer
|
|
202
|
+
|
|
203
|
+
# @!method initialize(eq: nil, gt: nil, gte: nil, lt: nil, lte: nil)
|
|
204
|
+
# Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by amount.
|
|
205
|
+
#
|
|
206
|
+
# @param eq [Integer]
|
|
207
|
+
# @param gt [Integer]
|
|
208
|
+
# @param gte [Integer]
|
|
209
|
+
# @param lt [Integer]
|
|
210
|
+
# @param lte [Integer]
|
|
211
|
+
end
|
|
212
|
+
|
|
169
213
|
module LedgerableType
|
|
170
214
|
extend ModernTreasury::Internal::Type::Enum
|
|
171
215
|
|
|
@@ -56,9 +56,7 @@ module ModernTreasury
|
|
|
56
56
|
#
|
|
57
57
|
# @return [Array<ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry>]
|
|
58
58
|
required :ledger_entries,
|
|
59
|
-
-> {
|
|
60
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry]
|
|
61
|
-
}
|
|
59
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry] }
|
|
62
60
|
|
|
63
61
|
# @!attribute ledger_id
|
|
64
62
|
# The ID of the ledger this ledger transaction belongs to.
|
|
@@ -290,9 +288,7 @@ module ModernTreasury
|
|
|
290
288
|
#
|
|
291
289
|
# @return [Symbol, ModernTreasury::Models::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status]
|
|
292
290
|
required :status,
|
|
293
|
-
enum: -> {
|
|
294
|
-
ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status
|
|
295
|
-
}
|
|
291
|
+
enum: -> { ModernTreasury::LedgerTransactions::LedgerTransactionVersion::LedgerEntry::Status }
|
|
296
292
|
|
|
297
293
|
# @!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:)
|
|
298
294
|
# Some parameter documentations has been truncated, see
|
|
@@ -13,10 +13,7 @@ module ModernTreasury
|
|
|
13
13
|
# A list of addresses for the entity.
|
|
14
14
|
#
|
|
15
15
|
# @return [Array<ModernTreasury::Models::LegalEntity::Address>]
|
|
16
|
-
required :addresses,
|
|
17
|
-
-> {
|
|
18
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntity::Address]
|
|
19
|
-
}
|
|
16
|
+
required :addresses, -> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntity::Address] }
|
|
20
17
|
|
|
21
18
|
# @!attribute bank_settings
|
|
22
19
|
#
|
|
@@ -91,9 +88,7 @@ module ModernTreasury
|
|
|
91
88
|
#
|
|
92
89
|
# @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>]
|
|
93
90
|
required :industry_classifications,
|
|
94
|
-
-> {
|
|
95
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification]
|
|
96
|
-
}
|
|
91
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification] }
|
|
97
92
|
|
|
98
93
|
# @!attribute last_name
|
|
99
94
|
# An individual's last name.
|
|
@@ -279,9 +274,7 @@ module ModernTreasury
|
|
|
279
274
|
#
|
|
280
275
|
# @return [Array<Symbol, ModernTreasury::Models::LegalEntity::Address::AddressType>]
|
|
281
276
|
required :address_types,
|
|
282
|
-
-> {
|
|
283
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntity::Address::AddressType]
|
|
284
|
-
}
|
|
277
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntity::Address::AddressType] }
|
|
285
278
|
|
|
286
279
|
# @!attribute country
|
|
287
280
|
# Country code conforms to [ISO 3166-1 alpha-2]
|
|
@@ -37,9 +37,7 @@ module ModernTreasury
|
|
|
37
37
|
#
|
|
38
38
|
# @return [Array<Symbol, ModernTreasury::Models::LegalEntityAddressCreateRequest::AddressType>, nil]
|
|
39
39
|
optional :address_types,
|
|
40
|
-
-> {
|
|
41
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAddressCreateRequest::AddressType]
|
|
42
|
-
}
|
|
40
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAddressCreateRequest::AddressType] }
|
|
43
41
|
|
|
44
42
|
# @!attribute line2
|
|
45
43
|
#
|
|
@@ -54,9 +54,7 @@ module ModernTreasury
|
|
|
54
54
|
#
|
|
55
55
|
# @return [Array<Symbol, ModernTreasury::Models::LegalEntityAssociation::RelationshipType>]
|
|
56
56
|
required :relationship_types,
|
|
57
|
-
-> {
|
|
58
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociation::RelationshipType]
|
|
59
|
-
}
|
|
57
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociation::RelationshipType] }
|
|
60
58
|
|
|
61
59
|
# @!attribute title
|
|
62
60
|
# The job title of the child entity at the parent entity.
|
|
@@ -107,9 +105,7 @@ module ModernTreasury
|
|
|
107
105
|
#
|
|
108
106
|
# @return [Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address>]
|
|
109
107
|
required :addresses,
|
|
110
|
-
-> {
|
|
111
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address]
|
|
112
|
-
}
|
|
108
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address] }
|
|
113
109
|
|
|
114
110
|
# @!attribute bank_settings
|
|
115
111
|
#
|
|
@@ -177,18 +173,14 @@ module ModernTreasury
|
|
|
177
173
|
#
|
|
178
174
|
# @return [Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification>]
|
|
179
175
|
required :identifications,
|
|
180
|
-
-> {
|
|
181
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification]
|
|
182
|
-
}
|
|
176
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification] }
|
|
183
177
|
|
|
184
178
|
# @!attribute industry_classifications
|
|
185
179
|
# A list of industry classifications for the legal entity.
|
|
186
180
|
#
|
|
187
181
|
# @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>]
|
|
188
182
|
required :industry_classifications,
|
|
189
|
-
-> {
|
|
190
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification]
|
|
191
|
-
}
|
|
183
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification] }
|
|
192
184
|
|
|
193
185
|
# @!attribute last_name
|
|
194
186
|
# An individual's last name.
|
|
@@ -240,9 +232,7 @@ module ModernTreasury
|
|
|
240
232
|
#
|
|
241
233
|
# @return [Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::PhoneNumber>]
|
|
242
234
|
required :phone_numbers,
|
|
243
|
-
-> {
|
|
244
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::PhoneNumber]
|
|
245
|
-
}
|
|
235
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::PhoneNumber] }
|
|
246
236
|
|
|
247
237
|
# @!attribute politically_exposed_person
|
|
248
238
|
# Whether the individual is a politically exposed person.
|
|
@@ -374,9 +364,7 @@ module ModernTreasury
|
|
|
374
364
|
#
|
|
375
365
|
# @return [Array<Symbol, ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address::AddressType>]
|
|
376
366
|
required :address_types,
|
|
377
|
-
-> {
|
|
378
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address::AddressType]
|
|
379
|
-
}
|
|
367
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address::AddressType] }
|
|
380
368
|
|
|
381
369
|
# @!attribute country
|
|
382
370
|
# Country code conforms to [ISO 3166-1 alpha-2]
|
|
@@ -512,9 +500,7 @@ module ModernTreasury
|
|
|
512
500
|
#
|
|
513
501
|
# @return [Symbol, ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification::IDType]
|
|
514
502
|
required :id_type,
|
|
515
|
-
enum: -> {
|
|
516
|
-
ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification::IDType
|
|
517
|
-
}
|
|
503
|
+
enum: -> { ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification::IDType }
|
|
518
504
|
|
|
519
505
|
# @!attribute issuing_country
|
|
520
506
|
# The ISO 3166-1 alpha-2 country code of the country that issued the
|
|
@@ -18,9 +18,7 @@ module ModernTreasury
|
|
|
18
18
|
#
|
|
19
19
|
# @return [Array<Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::RelationshipType>]
|
|
20
20
|
required :relationship_types,
|
|
21
|
-
-> {
|
|
22
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociationCreateParams::RelationshipType]
|
|
23
|
-
}
|
|
21
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociationCreateParams::RelationshipType] }
|
|
24
22
|
|
|
25
23
|
# @!attribute child_legal_entity
|
|
26
24
|
# The child legal entity.
|