modern_treasury 0.11.0 → 0.12.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 +10 -1
- data/lib/modern_treasury/internal/transport/pooled_net_requester.rb +12 -10
- data/lib/modern_treasury/internal/util.rb +7 -2
- data/lib/modern_treasury/models/bulk_request_create_params.rb +146 -2
- data/lib/modern_treasury/models/child_legal_entity.rb +609 -0
- data/lib/modern_treasury/models/child_legal_entity_create.rb +63 -1
- data/lib/modern_treasury/models/connection_legal_entity.rb +2 -0
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +54 -63
- data/lib/modern_treasury/models/connection_legal_entity_list_params.rb +2 -0
- data/lib/modern_treasury/models/counterparty_create_params.rb +54 -59
- data/lib/modern_treasury/models/expected_payment.rb +69 -1
- data/lib/modern_treasury/models/expected_payment_create_params.rb +65 -1
- data/lib/modern_treasury/models/expected_payment_update_params.rb +65 -1
- data/lib/modern_treasury/models/incoming_payment_detail.rb +5 -0
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +5 -0
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +5 -0
- data/lib/modern_treasury/models/internal_account.rb +10 -1
- data/lib/modern_treasury/models/internal_account_update_params.rb +9 -1
- data/lib/modern_treasury/models/invoice.rb +2 -0
- data/lib/modern_treasury/models/invoice_create_params.rb +1 -19
- data/lib/modern_treasury/models/invoice_update_params.rb +1 -19
- data/lib/modern_treasury/models/ledger_entry.rb +10 -1
- data/lib/modern_treasury/models/ledger_entry_create_request.rb +10 -1
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +10 -1
- data/lib/modern_treasury/models/legal_entity.rb +61 -11
- data/lib/modern_treasury/models/legal_entity_association.rb +3 -559
- data/lib/modern_treasury/models/legal_entity_association_inline_create.rb +60 -0
- data/lib/modern_treasury/models/legal_entity_create_params.rb +54 -59
- data/lib/modern_treasury/models/legal_entity_update_params.rb +51 -1
- data/lib/modern_treasury/models/payment_order.rb +4 -0
- data/lib/modern_treasury/models/payment_reference.rb +4 -0
- data/lib/modern_treasury/models/return_object.rb +5 -0
- data/lib/modern_treasury/models/transaction.rb +1 -0
- data/lib/modern_treasury/models.rb +4 -0
- data/lib/modern_treasury/resources/expected_payments.rb +18 -2
- data/lib/modern_treasury/resources/internal_accounts.rb +3 -1
- data/lib/modern_treasury/resources/invoices.rb +2 -10
- data/lib/modern_treasury/resources/ledger_accounts.rb +3 -3
- data/lib/modern_treasury/resources/ledger_transactions.rb +5 -2
- data/lib/modern_treasury/resources/legal_entities.rb +27 -3
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +3 -0
- data/manifest.yaml +1 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +272 -0
- data/rbi/modern_treasury/models/child_legal_entity.rbi +969 -0
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +78 -0
- data/rbi/modern_treasury/models/connection_legal_entity.rbi +10 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +61 -135
- data/rbi/modern_treasury/models/connection_legal_entity_list_params.rbi +10 -0
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +61 -135
- data/rbi/modern_treasury/models/expected_payment.rbi +136 -0
- data/rbi/modern_treasury/models/expected_payment_create_params.rbi +136 -0
- data/rbi/modern_treasury/models/expected_payment_update_params.rbi +136 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +25 -0
- data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +25 -0
- data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +25 -0
- data/rbi/modern_treasury/models/internal_account.rbi +10 -0
- data/rbi/modern_treasury/models/internal_account_update_params.rbi +11 -0
- data/rbi/modern_treasury/models/invoice_create_params.rbi +0 -20
- data/rbi/modern_treasury/models/invoice_update_params.rbi +0 -20
- data/rbi/modern_treasury/models/ledger_entry.rbi +10 -0
- data/rbi/modern_treasury/models/ledger_entry_create_request.rbi +13 -0
- data/rbi/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +10 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +67 -15
- data/rbi/modern_treasury/models/legal_entity_association.rbi +4 -962
- data/rbi/modern_treasury/models/legal_entity_association_inline_create.rbi +130 -0
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +61 -134
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +58 -0
- data/rbi/modern_treasury/models/payment_order.rbi +20 -0
- data/rbi/modern_treasury/models/payment_reference.rbi +20 -0
- data/rbi/modern_treasury/models/return_object.rbi +22 -0
- data/rbi/modern_treasury/models/transaction.rbi +5 -0
- data/rbi/modern_treasury/models.rbi +5 -0
- data/rbi/modern_treasury/resources/expected_payments.rbi +44 -0
- data/rbi/modern_treasury/resources/internal_accounts.rbi +3 -0
- data/rbi/modern_treasury/resources/invoices.rbi +0 -16
- data/rbi/modern_treasury/resources/ledger_accounts.rbi +3 -3
- data/rbi/modern_treasury/resources/ledger_transactions.rbi +3 -2
- data/rbi/modern_treasury/resources/legal_entities.rbi +41 -1
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +84 -0
- data/sig/modern_treasury/models/child_legal_entity.rbs +469 -0
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +39 -0
- data/sig/modern_treasury/models/connection_legal_entity.rbs +4 -1
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +38 -60
- data/sig/modern_treasury/models/connection_legal_entity_list_params.rbs +4 -1
- data/sig/modern_treasury/models/counterparty_create_params.rbs +38 -60
- data/sig/modern_treasury/models/expected_payment.rbs +42 -0
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +42 -0
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +42 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +10 -0
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +10 -0
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +10 -0
- data/sig/modern_treasury/models/internal_account.rbs +5 -0
- data/sig/modern_treasury/models/internal_account_update_params.rbs +7 -0
- data/sig/modern_treasury/models/invoice_create_params.rbs +0 -10
- data/sig/modern_treasury/models/invoice_update_params.rbs +0 -10
- data/sig/modern_treasury/models/ledger_entry.rbs +5 -0
- data/sig/modern_treasury/models/ledger_entry_create_request.rbs +7 -0
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +5 -0
- data/sig/modern_treasury/models/legal_entity.rbs +38 -8
- data/sig/modern_treasury/models/legal_entity_association.rbs +4 -435
- data/sig/modern_treasury/models/legal_entity_association_inline_create.rbs +59 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +38 -60
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +34 -0
- data/sig/modern_treasury/models/payment_order.rbs +8 -0
- data/sig/modern_treasury/models/payment_reference.rbs +8 -0
- data/sig/modern_treasury/models/return_object.rbs +10 -0
- data/sig/modern_treasury/models/transaction.rbs +2 -0
- data/sig/modern_treasury/models.rbs +4 -0
- data/sig/modern_treasury/resources/expected_payments.rbs +8 -0
- data/sig/modern_treasury/resources/internal_accounts.rbs +1 -0
- data/sig/modern_treasury/resources/invoices.rbs +0 -4
- data/sig/modern_treasury/resources/legal_entities.rbs +13 -1
- metadata +8 -2
|
@@ -4,25 +4,32 @@ module ModernTreasury
|
|
|
4
4
|
{
|
|
5
5
|
addresses: ::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
6
6
|
bank_settings: ModernTreasury::LegalEntityBankSettings?,
|
|
7
|
+
business_description: String?,
|
|
7
8
|
business_name: String?,
|
|
8
9
|
citizenship_country: String?,
|
|
9
10
|
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
|
11
|
+
country_of_incorporation: String?,
|
|
10
12
|
date_formed: Date?,
|
|
11
13
|
date_of_birth: Date?,
|
|
12
14
|
doing_business_as_names: ::Array[String],
|
|
13
15
|
email: String?,
|
|
16
|
+
expected_activity_volume: Integer?,
|
|
14
17
|
first_name: String?,
|
|
15
18
|
identifications: ::Array[ModernTreasury::IdentificationCreateRequest],
|
|
16
19
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
20
|
+
intended_use: String?,
|
|
17
21
|
last_name: String?,
|
|
22
|
+
legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?,
|
|
18
23
|
legal_entity_type: ModernTreasury::Models::ChildLegalEntityCreate::legal_entity_type,
|
|
19
24
|
legal_structure: ModernTreasury::Models::ChildLegalEntityCreate::legal_structure?,
|
|
20
25
|
metadata: ::Hash[Symbol, String],
|
|
21
26
|
middle_name: String?,
|
|
27
|
+
operating_jurisdictions: ::Array[String],
|
|
22
28
|
phone_numbers: ::Array[ModernTreasury::ChildLegalEntityCreate::PhoneNumber],
|
|
23
29
|
politically_exposed_person: bool?,
|
|
24
30
|
preferred_name: String?,
|
|
25
31
|
prefix: String?,
|
|
32
|
+
primary_social_media_sites: ::Array[String],
|
|
26
33
|
risk_rating: ModernTreasury::Models::ChildLegalEntityCreate::risk_rating?,
|
|
27
34
|
suffix: String?,
|
|
28
35
|
wealth_and_employment_details: ModernTreasury::LegalEntityWealthEmploymentDetail?,
|
|
@@ -38,12 +45,16 @@ module ModernTreasury
|
|
|
38
45
|
|
|
39
46
|
attr_accessor bank_settings: ModernTreasury::LegalEntityBankSettings?
|
|
40
47
|
|
|
48
|
+
attr_accessor business_description: String?
|
|
49
|
+
|
|
41
50
|
attr_accessor business_name: String?
|
|
42
51
|
|
|
43
52
|
attr_accessor citizenship_country: String?
|
|
44
53
|
|
|
45
54
|
attr_accessor compliance_details: ModernTreasury::LegalEntityComplianceDetail?
|
|
46
55
|
|
|
56
|
+
attr_accessor country_of_incorporation: String?
|
|
57
|
+
|
|
47
58
|
attr_accessor date_formed: Date?
|
|
48
59
|
|
|
49
60
|
attr_accessor date_of_birth: Date?
|
|
@@ -54,6 +65,8 @@ module ModernTreasury
|
|
|
54
65
|
|
|
55
66
|
attr_accessor email: String?
|
|
56
67
|
|
|
68
|
+
attr_accessor expected_activity_volume: Integer?
|
|
69
|
+
|
|
57
70
|
attr_accessor first_name: String?
|
|
58
71
|
|
|
59
72
|
attr_reader identifications: ::Array[ModernTreasury::IdentificationCreateRequest]?
|
|
@@ -68,8 +81,12 @@ module ModernTreasury
|
|
|
68
81
|
::Array[ModernTreasury::LegalEntityIndustryClassification]
|
|
69
82
|
) -> ::Array[ModernTreasury::LegalEntityIndustryClassification]
|
|
70
83
|
|
|
84
|
+
attr_accessor intended_use: String?
|
|
85
|
+
|
|
71
86
|
attr_accessor last_name: String?
|
|
72
87
|
|
|
88
|
+
attr_accessor legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?
|
|
89
|
+
|
|
73
90
|
attr_reader legal_entity_type: ModernTreasury::Models::ChildLegalEntityCreate::legal_entity_type?
|
|
74
91
|
|
|
75
92
|
def legal_entity_type=: (
|
|
@@ -84,6 +101,10 @@ module ModernTreasury
|
|
|
84
101
|
|
|
85
102
|
attr_accessor middle_name: String?
|
|
86
103
|
|
|
104
|
+
attr_reader operating_jurisdictions: ::Array[String]?
|
|
105
|
+
|
|
106
|
+
def operating_jurisdictions=: (::Array[String]) -> ::Array[String]
|
|
107
|
+
|
|
87
108
|
attr_reader phone_numbers: ::Array[ModernTreasury::ChildLegalEntityCreate::PhoneNumber]?
|
|
88
109
|
|
|
89
110
|
def phone_numbers=: (
|
|
@@ -96,6 +117,10 @@ module ModernTreasury
|
|
|
96
117
|
|
|
97
118
|
attr_accessor prefix: String?
|
|
98
119
|
|
|
120
|
+
attr_reader primary_social_media_sites: ::Array[String]?
|
|
121
|
+
|
|
122
|
+
def primary_social_media_sites=: (::Array[String]) -> ::Array[String]
|
|
123
|
+
|
|
99
124
|
attr_accessor risk_rating: ModernTreasury::Models::ChildLegalEntityCreate::risk_rating?
|
|
100
125
|
|
|
101
126
|
attr_accessor suffix: String?
|
|
@@ -107,25 +132,32 @@ module ModernTreasury
|
|
|
107
132
|
def initialize: (
|
|
108
133
|
?addresses: ::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
109
134
|
?bank_settings: ModernTreasury::LegalEntityBankSettings?,
|
|
135
|
+
?business_description: String?,
|
|
110
136
|
?business_name: String?,
|
|
111
137
|
?citizenship_country: String?,
|
|
112
138
|
?compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
|
139
|
+
?country_of_incorporation: String?,
|
|
113
140
|
?date_formed: Date?,
|
|
114
141
|
?date_of_birth: Date?,
|
|
115
142
|
?doing_business_as_names: ::Array[String],
|
|
116
143
|
?email: String?,
|
|
144
|
+
?expected_activity_volume: Integer?,
|
|
117
145
|
?first_name: String?,
|
|
118
146
|
?identifications: ::Array[ModernTreasury::IdentificationCreateRequest],
|
|
119
147
|
?industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
148
|
+
?intended_use: String?,
|
|
120
149
|
?last_name: String?,
|
|
150
|
+
?legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?,
|
|
121
151
|
?legal_entity_type: ModernTreasury::Models::ChildLegalEntityCreate::legal_entity_type,
|
|
122
152
|
?legal_structure: ModernTreasury::Models::ChildLegalEntityCreate::legal_structure?,
|
|
123
153
|
?metadata: ::Hash[Symbol, String],
|
|
124
154
|
?middle_name: String?,
|
|
155
|
+
?operating_jurisdictions: ::Array[String],
|
|
125
156
|
?phone_numbers: ::Array[ModernTreasury::ChildLegalEntityCreate::PhoneNumber],
|
|
126
157
|
?politically_exposed_person: bool?,
|
|
127
158
|
?preferred_name: String?,
|
|
128
159
|
?prefix: String?,
|
|
160
|
+
?primary_social_media_sites: ::Array[String],
|
|
129
161
|
?risk_rating: ModernTreasury::Models::ChildLegalEntityCreate::risk_rating?,
|
|
130
162
|
?suffix: String?,
|
|
131
163
|
?wealth_and_employment_details: ModernTreasury::LegalEntityWealthEmploymentDetail?,
|
|
@@ -135,25 +167,32 @@ module ModernTreasury
|
|
|
135
167
|
def to_hash: -> {
|
|
136
168
|
addresses: ::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
137
169
|
bank_settings: ModernTreasury::LegalEntityBankSettings?,
|
|
170
|
+
business_description: String?,
|
|
138
171
|
business_name: String?,
|
|
139
172
|
citizenship_country: String?,
|
|
140
173
|
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
|
174
|
+
country_of_incorporation: String?,
|
|
141
175
|
date_formed: Date?,
|
|
142
176
|
date_of_birth: Date?,
|
|
143
177
|
doing_business_as_names: ::Array[String],
|
|
144
178
|
email: String?,
|
|
179
|
+
expected_activity_volume: Integer?,
|
|
145
180
|
first_name: String?,
|
|
146
181
|
identifications: ::Array[ModernTreasury::IdentificationCreateRequest],
|
|
147
182
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
183
|
+
intended_use: String?,
|
|
148
184
|
last_name: String?,
|
|
185
|
+
legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?,
|
|
149
186
|
legal_entity_type: ModernTreasury::Models::ChildLegalEntityCreate::legal_entity_type,
|
|
150
187
|
legal_structure: ModernTreasury::Models::ChildLegalEntityCreate::legal_structure?,
|
|
151
188
|
metadata: ::Hash[Symbol, String],
|
|
152
189
|
middle_name: String?,
|
|
190
|
+
operating_jurisdictions: ::Array[String],
|
|
153
191
|
phone_numbers: ::Array[ModernTreasury::ChildLegalEntityCreate::PhoneNumber],
|
|
154
192
|
politically_exposed_person: bool?,
|
|
155
193
|
preferred_name: String?,
|
|
156
194
|
prefix: String?,
|
|
195
|
+
primary_social_media_sites: ::Array[String],
|
|
157
196
|
risk_rating: ModernTreasury::Models::ChildLegalEntityCreate::risk_rating?,
|
|
158
197
|
suffix: String?,
|
|
159
198
|
wealth_and_employment_details: ModernTreasury::LegalEntityWealthEmploymentDetail?,
|
|
@@ -61,15 +61,18 @@ module ModernTreasury
|
|
|
61
61
|
vendor_id: String
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
type status =
|
|
64
|
+
type status =
|
|
65
|
+
:closed | :completed | :denied | :failed | :processing | :suspended
|
|
65
66
|
|
|
66
67
|
module Status
|
|
67
68
|
extend ModernTreasury::Internal::Type::Enum
|
|
68
69
|
|
|
70
|
+
CLOSED: :closed
|
|
69
71
|
COMPLETED: :completed
|
|
70
72
|
DENIED: :denied
|
|
71
73
|
FAILED: :failed
|
|
72
74
|
PROCESSING: :processing
|
|
75
|
+
SUSPENDED: :suspended
|
|
73
76
|
|
|
74
77
|
def self?.values: -> ::Array[ModernTreasury::Models::ConnectionLegalEntity::status]
|
|
75
78
|
end
|
|
@@ -42,26 +42,32 @@ module ModernTreasury
|
|
|
42
42
|
{
|
|
43
43
|
addresses: ::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
44
44
|
bank_settings: ModernTreasury::LegalEntityBankSettings?,
|
|
45
|
+
business_description: String?,
|
|
45
46
|
business_name: String?,
|
|
46
47
|
citizenship_country: String?,
|
|
47
48
|
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
|
49
|
+
country_of_incorporation: String?,
|
|
48
50
|
date_formed: Date?,
|
|
49
51
|
date_of_birth: Date?,
|
|
50
52
|
doing_business_as_names: ::Array[String],
|
|
51
53
|
email: String?,
|
|
54
|
+
expected_activity_volume: Integer?,
|
|
52
55
|
first_name: String?,
|
|
53
56
|
identifications: ::Array[ModernTreasury::IdentificationCreateRequest],
|
|
54
57
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
58
|
+
intended_use: String?,
|
|
55
59
|
last_name: String?,
|
|
56
|
-
legal_entity_associations: ::Array[ModernTreasury::
|
|
60
|
+
legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?,
|
|
57
61
|
legal_entity_type: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::legal_entity_type,
|
|
58
62
|
legal_structure: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::legal_structure?,
|
|
59
63
|
metadata: ::Hash[Symbol, String],
|
|
60
64
|
middle_name: String?,
|
|
65
|
+
operating_jurisdictions: ::Array[String],
|
|
61
66
|
phone_numbers: ::Array[ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::PhoneNumber],
|
|
62
67
|
politically_exposed_person: bool?,
|
|
63
68
|
preferred_name: String?,
|
|
64
69
|
prefix: String?,
|
|
70
|
+
primary_social_media_sites: ::Array[String],
|
|
65
71
|
risk_rating: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::risk_rating?,
|
|
66
72
|
suffix: String?,
|
|
67
73
|
wealth_and_employment_details: ModernTreasury::LegalEntityWealthEmploymentDetail?,
|
|
@@ -77,12 +83,16 @@ module ModernTreasury
|
|
|
77
83
|
|
|
78
84
|
attr_accessor bank_settings: ModernTreasury::LegalEntityBankSettings?
|
|
79
85
|
|
|
86
|
+
attr_accessor business_description: String?
|
|
87
|
+
|
|
80
88
|
attr_accessor business_name: String?
|
|
81
89
|
|
|
82
90
|
attr_accessor citizenship_country: String?
|
|
83
91
|
|
|
84
92
|
attr_accessor compliance_details: ModernTreasury::LegalEntityComplianceDetail?
|
|
85
93
|
|
|
94
|
+
attr_accessor country_of_incorporation: String?
|
|
95
|
+
|
|
86
96
|
attr_accessor date_formed: Date?
|
|
87
97
|
|
|
88
98
|
attr_accessor date_of_birth: Date?
|
|
@@ -93,6 +103,8 @@ module ModernTreasury
|
|
|
93
103
|
|
|
94
104
|
attr_accessor email: String?
|
|
95
105
|
|
|
106
|
+
attr_accessor expected_activity_volume: Integer?
|
|
107
|
+
|
|
96
108
|
attr_accessor first_name: String?
|
|
97
109
|
|
|
98
110
|
attr_reader identifications: ::Array[ModernTreasury::IdentificationCreateRequest]?
|
|
@@ -107,9 +119,11 @@ module ModernTreasury
|
|
|
107
119
|
::Array[ModernTreasury::LegalEntityIndustryClassification]
|
|
108
120
|
) -> ::Array[ModernTreasury::LegalEntityIndustryClassification]
|
|
109
121
|
|
|
122
|
+
attr_accessor intended_use: String?
|
|
123
|
+
|
|
110
124
|
attr_accessor last_name: String?
|
|
111
125
|
|
|
112
|
-
attr_accessor legal_entity_associations: ::Array[ModernTreasury::
|
|
126
|
+
attr_accessor legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?
|
|
113
127
|
|
|
114
128
|
attr_reader legal_entity_type: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::legal_entity_type?
|
|
115
129
|
|
|
@@ -125,6 +139,10 @@ module ModernTreasury
|
|
|
125
139
|
|
|
126
140
|
attr_accessor middle_name: String?
|
|
127
141
|
|
|
142
|
+
attr_reader operating_jurisdictions: ::Array[String]?
|
|
143
|
+
|
|
144
|
+
def operating_jurisdictions=: (::Array[String]) -> ::Array[String]
|
|
145
|
+
|
|
128
146
|
attr_reader phone_numbers: ::Array[ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::PhoneNumber]?
|
|
129
147
|
|
|
130
148
|
def phone_numbers=: (
|
|
@@ -137,6 +155,10 @@ module ModernTreasury
|
|
|
137
155
|
|
|
138
156
|
attr_accessor prefix: String?
|
|
139
157
|
|
|
158
|
+
attr_reader primary_social_media_sites: ::Array[String]?
|
|
159
|
+
|
|
160
|
+
def primary_social_media_sites=: (::Array[String]) -> ::Array[String]
|
|
161
|
+
|
|
140
162
|
attr_accessor risk_rating: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::risk_rating?
|
|
141
163
|
|
|
142
164
|
attr_accessor suffix: String?
|
|
@@ -148,26 +170,32 @@ module ModernTreasury
|
|
|
148
170
|
def initialize: (
|
|
149
171
|
?addresses: ::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
150
172
|
?bank_settings: ModernTreasury::LegalEntityBankSettings?,
|
|
173
|
+
?business_description: String?,
|
|
151
174
|
?business_name: String?,
|
|
152
175
|
?citizenship_country: String?,
|
|
153
176
|
?compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
|
177
|
+
?country_of_incorporation: String?,
|
|
154
178
|
?date_formed: Date?,
|
|
155
179
|
?date_of_birth: Date?,
|
|
156
180
|
?doing_business_as_names: ::Array[String],
|
|
157
181
|
?email: String?,
|
|
182
|
+
?expected_activity_volume: Integer?,
|
|
158
183
|
?first_name: String?,
|
|
159
184
|
?identifications: ::Array[ModernTreasury::IdentificationCreateRequest],
|
|
160
185
|
?industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
186
|
+
?intended_use: String?,
|
|
161
187
|
?last_name: String?,
|
|
162
|
-
?legal_entity_associations: ::Array[ModernTreasury::
|
|
188
|
+
?legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?,
|
|
163
189
|
?legal_entity_type: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::legal_entity_type,
|
|
164
190
|
?legal_structure: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::legal_structure?,
|
|
165
191
|
?metadata: ::Hash[Symbol, String],
|
|
166
192
|
?middle_name: String?,
|
|
193
|
+
?operating_jurisdictions: ::Array[String],
|
|
167
194
|
?phone_numbers: ::Array[ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::PhoneNumber],
|
|
168
195
|
?politically_exposed_person: bool?,
|
|
169
196
|
?preferred_name: String?,
|
|
170
197
|
?prefix: String?,
|
|
198
|
+
?primary_social_media_sites: ::Array[String],
|
|
171
199
|
?risk_rating: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::risk_rating?,
|
|
172
200
|
?suffix: String?,
|
|
173
201
|
?wealth_and_employment_details: ModernTreasury::LegalEntityWealthEmploymentDetail?,
|
|
@@ -177,88 +205,38 @@ module ModernTreasury
|
|
|
177
205
|
def to_hash: -> {
|
|
178
206
|
addresses: ::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
179
207
|
bank_settings: ModernTreasury::LegalEntityBankSettings?,
|
|
208
|
+
business_description: String?,
|
|
180
209
|
business_name: String?,
|
|
181
210
|
citizenship_country: String?,
|
|
182
211
|
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
|
212
|
+
country_of_incorporation: String?,
|
|
183
213
|
date_formed: Date?,
|
|
184
214
|
date_of_birth: Date?,
|
|
185
215
|
doing_business_as_names: ::Array[String],
|
|
186
216
|
email: String?,
|
|
217
|
+
expected_activity_volume: Integer?,
|
|
187
218
|
first_name: String?,
|
|
188
219
|
identifications: ::Array[ModernTreasury::IdentificationCreateRequest],
|
|
189
220
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
221
|
+
intended_use: String?,
|
|
190
222
|
last_name: String?,
|
|
191
|
-
legal_entity_associations: ::Array[ModernTreasury::
|
|
223
|
+
legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?,
|
|
192
224
|
legal_entity_type: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::legal_entity_type,
|
|
193
225
|
legal_structure: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::legal_structure?,
|
|
194
226
|
metadata: ::Hash[Symbol, String],
|
|
195
227
|
middle_name: String?,
|
|
228
|
+
operating_jurisdictions: ::Array[String],
|
|
196
229
|
phone_numbers: ::Array[ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::PhoneNumber],
|
|
197
230
|
politically_exposed_person: bool?,
|
|
198
231
|
preferred_name: String?,
|
|
199
232
|
prefix: String?,
|
|
233
|
+
primary_social_media_sites: ::Array[String],
|
|
200
234
|
risk_rating: ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::risk_rating?,
|
|
201
235
|
suffix: String?,
|
|
202
236
|
wealth_and_employment_details: ModernTreasury::LegalEntityWealthEmploymentDetail?,
|
|
203
237
|
website: String?
|
|
204
238
|
}
|
|
205
239
|
|
|
206
|
-
type legal_entity_association =
|
|
207
|
-
{
|
|
208
|
-
relationship_types: ::Array[ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::relationship_type],
|
|
209
|
-
child_legal_entity: ModernTreasury::ChildLegalEntityCreate,
|
|
210
|
-
child_legal_entity_id: String,
|
|
211
|
-
ownership_percentage: Integer?,
|
|
212
|
-
title: String?
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
class LegalEntityAssociation < ModernTreasury::Internal::Type::BaseModel
|
|
216
|
-
attr_accessor relationship_types: ::Array[ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::relationship_type]
|
|
217
|
-
|
|
218
|
-
attr_reader child_legal_entity: ModernTreasury::ChildLegalEntityCreate?
|
|
219
|
-
|
|
220
|
-
def child_legal_entity=: (
|
|
221
|
-
ModernTreasury::ChildLegalEntityCreate
|
|
222
|
-
) -> ModernTreasury::ChildLegalEntityCreate
|
|
223
|
-
|
|
224
|
-
attr_reader child_legal_entity_id: String?
|
|
225
|
-
|
|
226
|
-
def child_legal_entity_id=: (String) -> String
|
|
227
|
-
|
|
228
|
-
attr_accessor ownership_percentage: Integer?
|
|
229
|
-
|
|
230
|
-
attr_accessor title: String?
|
|
231
|
-
|
|
232
|
-
def initialize: (
|
|
233
|
-
relationship_types: ::Array[ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::relationship_type],
|
|
234
|
-
?child_legal_entity: ModernTreasury::ChildLegalEntityCreate,
|
|
235
|
-
?child_legal_entity_id: String,
|
|
236
|
-
?ownership_percentage: Integer?,
|
|
237
|
-
?title: String?
|
|
238
|
-
) -> void
|
|
239
|
-
|
|
240
|
-
def to_hash: -> {
|
|
241
|
-
relationship_types: ::Array[ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::relationship_type],
|
|
242
|
-
child_legal_entity: ModernTreasury::ChildLegalEntityCreate,
|
|
243
|
-
child_legal_entity_id: String,
|
|
244
|
-
ownership_percentage: Integer?,
|
|
245
|
-
title: String?
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
type relationship_type =
|
|
249
|
-
:authorized_signer | :beneficial_owner | :control_person
|
|
250
|
-
|
|
251
|
-
module RelationshipType
|
|
252
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
253
|
-
|
|
254
|
-
AUTHORIZED_SIGNER: :authorized_signer
|
|
255
|
-
BENEFICIAL_OWNER: :beneficial_owner
|
|
256
|
-
CONTROL_PERSON: :control_person
|
|
257
|
-
|
|
258
|
-
def self?.values: -> ::Array[ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::relationship_type]
|
|
259
|
-
end
|
|
260
|
-
end
|
|
261
|
-
|
|
262
240
|
type legal_entity_type = :business | :individual
|
|
263
241
|
|
|
264
242
|
module LegalEntityType
|
|
@@ -52,15 +52,18 @@ module ModernTreasury
|
|
|
52
52
|
request_options: ModernTreasury::RequestOptions
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
type status =
|
|
55
|
+
type status =
|
|
56
|
+
:closed | :completed | :denied | :failed | :processing | :suspended
|
|
56
57
|
|
|
57
58
|
module Status
|
|
58
59
|
extend ModernTreasury::Internal::Type::Enum
|
|
59
60
|
|
|
61
|
+
CLOSED: :closed
|
|
60
62
|
COMPLETED: :completed
|
|
61
63
|
DENIED: :denied
|
|
62
64
|
FAILED: :failed
|
|
63
65
|
PROCESSING: :processing
|
|
66
|
+
SUSPENDED: :suspended
|
|
64
67
|
|
|
65
68
|
def self?.values: -> ::Array[ModernTreasury::Models::ConnectionLegalEntityListParams::status]
|
|
66
69
|
end
|
|
@@ -495,25 +495,31 @@ module ModernTreasury
|
|
|
495
495
|
legal_entity_type: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::legal_entity_type,
|
|
496
496
|
addresses: ::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
497
497
|
bank_settings: ModernTreasury::LegalEntityBankSettings?,
|
|
498
|
+
business_description: String?,
|
|
498
499
|
business_name: String?,
|
|
499
500
|
citizenship_country: String?,
|
|
500
501
|
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
|
502
|
+
country_of_incorporation: String?,
|
|
501
503
|
date_formed: Date?,
|
|
502
504
|
date_of_birth: Date?,
|
|
503
505
|
doing_business_as_names: ::Array[String],
|
|
504
506
|
email: String?,
|
|
507
|
+
expected_activity_volume: Integer?,
|
|
505
508
|
first_name: String?,
|
|
506
509
|
identifications: ::Array[ModernTreasury::IdentificationCreateRequest],
|
|
507
510
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
511
|
+
intended_use: String?,
|
|
508
512
|
last_name: String?,
|
|
509
|
-
legal_entity_associations: ::Array[ModernTreasury::
|
|
513
|
+
legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?,
|
|
510
514
|
legal_structure: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::legal_structure?,
|
|
511
515
|
metadata: ::Hash[Symbol, String],
|
|
512
516
|
middle_name: String?,
|
|
517
|
+
operating_jurisdictions: ::Array[String],
|
|
513
518
|
phone_numbers: ::Array[ModernTreasury::CounterpartyCreateParams::LegalEntity::PhoneNumber],
|
|
514
519
|
politically_exposed_person: bool?,
|
|
515
520
|
preferred_name: String?,
|
|
516
521
|
prefix: String?,
|
|
522
|
+
primary_social_media_sites: ::Array[String],
|
|
517
523
|
risk_rating: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::risk_rating?,
|
|
518
524
|
suffix: String?,
|
|
519
525
|
wealth_and_employment_details: ModernTreasury::LegalEntityWealthEmploymentDetail?,
|
|
@@ -531,12 +537,16 @@ module ModernTreasury
|
|
|
531
537
|
|
|
532
538
|
attr_accessor bank_settings: ModernTreasury::LegalEntityBankSettings?
|
|
533
539
|
|
|
540
|
+
attr_accessor business_description: String?
|
|
541
|
+
|
|
534
542
|
attr_accessor business_name: String?
|
|
535
543
|
|
|
536
544
|
attr_accessor citizenship_country: String?
|
|
537
545
|
|
|
538
546
|
attr_accessor compliance_details: ModernTreasury::LegalEntityComplianceDetail?
|
|
539
547
|
|
|
548
|
+
attr_accessor country_of_incorporation: String?
|
|
549
|
+
|
|
540
550
|
attr_accessor date_formed: Date?
|
|
541
551
|
|
|
542
552
|
attr_accessor date_of_birth: Date?
|
|
@@ -547,6 +557,8 @@ module ModernTreasury
|
|
|
547
557
|
|
|
548
558
|
attr_accessor email: String?
|
|
549
559
|
|
|
560
|
+
attr_accessor expected_activity_volume: Integer?
|
|
561
|
+
|
|
550
562
|
attr_accessor first_name: String?
|
|
551
563
|
|
|
552
564
|
attr_reader identifications: ::Array[ModernTreasury::IdentificationCreateRequest]?
|
|
@@ -561,9 +573,11 @@ module ModernTreasury
|
|
|
561
573
|
::Array[ModernTreasury::LegalEntityIndustryClassification]
|
|
562
574
|
) -> ::Array[ModernTreasury::LegalEntityIndustryClassification]
|
|
563
575
|
|
|
576
|
+
attr_accessor intended_use: String?
|
|
577
|
+
|
|
564
578
|
attr_accessor last_name: String?
|
|
565
579
|
|
|
566
|
-
attr_accessor legal_entity_associations: ::Array[ModernTreasury::
|
|
580
|
+
attr_accessor legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?
|
|
567
581
|
|
|
568
582
|
attr_accessor legal_structure: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::legal_structure?
|
|
569
583
|
|
|
@@ -573,6 +587,10 @@ module ModernTreasury
|
|
|
573
587
|
|
|
574
588
|
attr_accessor middle_name: String?
|
|
575
589
|
|
|
590
|
+
attr_reader operating_jurisdictions: ::Array[String]?
|
|
591
|
+
|
|
592
|
+
def operating_jurisdictions=: (::Array[String]) -> ::Array[String]
|
|
593
|
+
|
|
576
594
|
attr_reader phone_numbers: ::Array[ModernTreasury::CounterpartyCreateParams::LegalEntity::PhoneNumber]?
|
|
577
595
|
|
|
578
596
|
def phone_numbers=: (
|
|
@@ -585,6 +603,10 @@ module ModernTreasury
|
|
|
585
603
|
|
|
586
604
|
attr_accessor prefix: String?
|
|
587
605
|
|
|
606
|
+
attr_reader primary_social_media_sites: ::Array[String]?
|
|
607
|
+
|
|
608
|
+
def primary_social_media_sites=: (::Array[String]) -> ::Array[String]
|
|
609
|
+
|
|
588
610
|
attr_accessor risk_rating: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::risk_rating?
|
|
589
611
|
|
|
590
612
|
attr_accessor suffix: String?
|
|
@@ -597,25 +619,31 @@ module ModernTreasury
|
|
|
597
619
|
legal_entity_type: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::legal_entity_type,
|
|
598
620
|
?addresses: ::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
599
621
|
?bank_settings: ModernTreasury::LegalEntityBankSettings?,
|
|
622
|
+
?business_description: String?,
|
|
600
623
|
?business_name: String?,
|
|
601
624
|
?citizenship_country: String?,
|
|
602
625
|
?compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
|
626
|
+
?country_of_incorporation: String?,
|
|
603
627
|
?date_formed: Date?,
|
|
604
628
|
?date_of_birth: Date?,
|
|
605
629
|
?doing_business_as_names: ::Array[String],
|
|
606
630
|
?email: String?,
|
|
631
|
+
?expected_activity_volume: Integer?,
|
|
607
632
|
?first_name: String?,
|
|
608
633
|
?identifications: ::Array[ModernTreasury::IdentificationCreateRequest],
|
|
609
634
|
?industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
635
|
+
?intended_use: String?,
|
|
610
636
|
?last_name: String?,
|
|
611
|
-
?legal_entity_associations: ::Array[ModernTreasury::
|
|
637
|
+
?legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?,
|
|
612
638
|
?legal_structure: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::legal_structure?,
|
|
613
639
|
?metadata: ::Hash[Symbol, String],
|
|
614
640
|
?middle_name: String?,
|
|
641
|
+
?operating_jurisdictions: ::Array[String],
|
|
615
642
|
?phone_numbers: ::Array[ModernTreasury::CounterpartyCreateParams::LegalEntity::PhoneNumber],
|
|
616
643
|
?politically_exposed_person: bool?,
|
|
617
644
|
?preferred_name: String?,
|
|
618
645
|
?prefix: String?,
|
|
646
|
+
?primary_social_media_sites: ::Array[String],
|
|
619
647
|
?risk_rating: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::risk_rating?,
|
|
620
648
|
?suffix: String?,
|
|
621
649
|
?wealth_and_employment_details: ModernTreasury::LegalEntityWealthEmploymentDetail?,
|
|
@@ -626,25 +654,31 @@ module ModernTreasury
|
|
|
626
654
|
legal_entity_type: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::legal_entity_type,
|
|
627
655
|
addresses: ::Array[ModernTreasury::LegalEntityAddressCreateRequest],
|
|
628
656
|
bank_settings: ModernTreasury::LegalEntityBankSettings?,
|
|
657
|
+
business_description: String?,
|
|
629
658
|
business_name: String?,
|
|
630
659
|
citizenship_country: String?,
|
|
631
660
|
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
|
661
|
+
country_of_incorporation: String?,
|
|
632
662
|
date_formed: Date?,
|
|
633
663
|
date_of_birth: Date?,
|
|
634
664
|
doing_business_as_names: ::Array[String],
|
|
635
665
|
email: String?,
|
|
666
|
+
expected_activity_volume: Integer?,
|
|
636
667
|
first_name: String?,
|
|
637
668
|
identifications: ::Array[ModernTreasury::IdentificationCreateRequest],
|
|
638
669
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
670
|
+
intended_use: String?,
|
|
639
671
|
last_name: String?,
|
|
640
|
-
legal_entity_associations: ::Array[ModernTreasury::
|
|
672
|
+
legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociationInlineCreate]?,
|
|
641
673
|
legal_structure: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::legal_structure?,
|
|
642
674
|
metadata: ::Hash[Symbol, String],
|
|
643
675
|
middle_name: String?,
|
|
676
|
+
operating_jurisdictions: ::Array[String],
|
|
644
677
|
phone_numbers: ::Array[ModernTreasury::CounterpartyCreateParams::LegalEntity::PhoneNumber],
|
|
645
678
|
politically_exposed_person: bool?,
|
|
646
679
|
preferred_name: String?,
|
|
647
680
|
prefix: String?,
|
|
681
|
+
primary_social_media_sites: ::Array[String],
|
|
648
682
|
risk_rating: ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::risk_rating?,
|
|
649
683
|
suffix: String?,
|
|
650
684
|
wealth_and_employment_details: ModernTreasury::LegalEntityWealthEmploymentDetail?,
|
|
@@ -662,62 +696,6 @@ module ModernTreasury
|
|
|
662
696
|
def self?.values: -> ::Array[ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::legal_entity_type]
|
|
663
697
|
end
|
|
664
698
|
|
|
665
|
-
type legal_entity_association =
|
|
666
|
-
{
|
|
667
|
-
relationship_types: ::Array[ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::LegalEntityAssociation::relationship_type],
|
|
668
|
-
child_legal_entity: ModernTreasury::ChildLegalEntityCreate,
|
|
669
|
-
child_legal_entity_id: String,
|
|
670
|
-
ownership_percentage: Integer?,
|
|
671
|
-
title: String?
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
class LegalEntityAssociation < ModernTreasury::Internal::Type::BaseModel
|
|
675
|
-
attr_accessor relationship_types: ::Array[ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::LegalEntityAssociation::relationship_type]
|
|
676
|
-
|
|
677
|
-
attr_reader child_legal_entity: ModernTreasury::ChildLegalEntityCreate?
|
|
678
|
-
|
|
679
|
-
def child_legal_entity=: (
|
|
680
|
-
ModernTreasury::ChildLegalEntityCreate
|
|
681
|
-
) -> ModernTreasury::ChildLegalEntityCreate
|
|
682
|
-
|
|
683
|
-
attr_reader child_legal_entity_id: String?
|
|
684
|
-
|
|
685
|
-
def child_legal_entity_id=: (String) -> String
|
|
686
|
-
|
|
687
|
-
attr_accessor ownership_percentage: Integer?
|
|
688
|
-
|
|
689
|
-
attr_accessor title: String?
|
|
690
|
-
|
|
691
|
-
def initialize: (
|
|
692
|
-
relationship_types: ::Array[ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::LegalEntityAssociation::relationship_type],
|
|
693
|
-
?child_legal_entity: ModernTreasury::ChildLegalEntityCreate,
|
|
694
|
-
?child_legal_entity_id: String,
|
|
695
|
-
?ownership_percentage: Integer?,
|
|
696
|
-
?title: String?
|
|
697
|
-
) -> void
|
|
698
|
-
|
|
699
|
-
def to_hash: -> {
|
|
700
|
-
relationship_types: ::Array[ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::LegalEntityAssociation::relationship_type],
|
|
701
|
-
child_legal_entity: ModernTreasury::ChildLegalEntityCreate,
|
|
702
|
-
child_legal_entity_id: String,
|
|
703
|
-
ownership_percentage: Integer?,
|
|
704
|
-
title: String?
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
type relationship_type =
|
|
708
|
-
:authorized_signer | :beneficial_owner | :control_person
|
|
709
|
-
|
|
710
|
-
module RelationshipType
|
|
711
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
712
|
-
|
|
713
|
-
AUTHORIZED_SIGNER: :authorized_signer
|
|
714
|
-
BENEFICIAL_OWNER: :beneficial_owner
|
|
715
|
-
CONTROL_PERSON: :control_person
|
|
716
|
-
|
|
717
|
-
def self?.values: -> ::Array[ModernTreasury::Models::CounterpartyCreateParams::LegalEntity::LegalEntityAssociation::relationship_type]
|
|
718
|
-
end
|
|
719
|
-
end
|
|
720
|
-
|
|
721
699
|
type legal_structure =
|
|
722
700
|
:corporation
|
|
723
701
|
| :llc
|