DealMakerAPI 0.84.4 → 0.85.3
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/DealMakerAPI.gemspec +1 -1
- data/README.md +6 -5
- data/docs/BulkUploadInvestorsRequest.md +3 -1
- data/docs/CompanyApi.md +1 -1
- data/docs/CreateBulkUploadRequest.md +5 -1
- data/docs/CreateCorporationProfileRequest.md +7 -3
- data/docs/CreateTrustProfileRequest.md +2 -2
- data/docs/InvestorProfileApi.md +6 -8
- data/docs/PatchCorporationProfileRequest.md +31 -1
- data/docs/V1EntitiesInvestorProfileCorporation.md +2 -2
- data/docs/V1EntitiesInvestorProfileFieldsSigningOfficer.md +30 -0
- data/lib/DealMakerAPI/api/company_api.rb +1 -1
- data/lib/DealMakerAPI/api/deal_api.rb +1 -1
- data/lib/DealMakerAPI/api/deal_setup_api.rb +1 -1
- data/lib/DealMakerAPI/api/deals_api.rb +1 -1
- data/lib/DealMakerAPI/api/default_api.rb +1 -1
- data/lib/DealMakerAPI/api/investor_api.rb +1 -1
- data/lib/DealMakerAPI/api/investor_profile_api.rb +11 -7
- data/lib/DealMakerAPI/api/shareholder_api.rb +1 -1
- data/lib/DealMakerAPI/api/upload_api.rb +1 -1
- data/lib/DealMakerAPI/api_client.rb +1 -1
- data/lib/DealMakerAPI/api_error.rb +1 -1
- data/lib/DealMakerAPI/configuration.rb +3 -3
- data/lib/DealMakerAPI/models/add506c_document_request.rb +1 -1
- data/lib/DealMakerAPI/models/add_document_request.rb +1 -1
- data/lib/DealMakerAPI/models/bulk_upload_investors_request.rb +15 -5
- data/lib/DealMakerAPI/models/create_bulk_upload_detail_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +39 -5
- data/lib/DealMakerAPI/models/create_company_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_corporation_profile_request.rb +34 -12
- data/lib/DealMakerAPI/models/create_deal_setup_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_individual_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_investor_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_joint_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_shareholder_action_request.rb +1 -1
- data/lib/DealMakerAPI/models/create_trust_profile_request.rb +9 -9
- data/lib/DealMakerAPI/models/edit_investor_tags_request.rb +1 -1
- data/lib/DealMakerAPI/models/generate_url_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_corporation_profile_request.rb +190 -5
- data/lib/DealMakerAPI/models/patch_individual_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_investor_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_joint_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/patch_trust_profile_request.rb +1 -1
- data/lib/DealMakerAPI/models/post_webhooks_request.rb +1 -1
- data/lib/DealMakerAPI/models/put_deals_id_script_tag_environment_request.rb +1 -1
- data/lib/DealMakerAPI/models/put_webhooks_id_request.rb +1 -1
- data/lib/DealMakerAPI/models/update_investor_request.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_address.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_addresses.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_attachment.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_background_check_search.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload_detail.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload_details.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_bulk_uploads.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_company.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_company_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_company_deals.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_enterprise.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_funding_metrics.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_investor_metrics.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_issuer.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_setup.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deal_setup_user.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_deals.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_express_wire_instruction.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_express_wire_instructions.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_generic_response.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_otp_access_link.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_address.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_corporation.rb +3 -3
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_account_holder.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_corporation.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_primary_holder.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_signing_officer.rb +274 -0
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_fields_trust.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_individual.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_item.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_joint.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_owner.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profile_trust.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_profiles.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_user.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_investors.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_presigned_url_result.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholder.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholders.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_shareholders_tags.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_subscription_agreement.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_security_token.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deal.rb +1 -1
- data/lib/DealMakerAPI/models/v1_entities_webhooks_subscription_deals.rb +1 -1
- data/lib/DealMakerAPI/version.rb +2 -2
- data/lib/DealMakerAPI.rb +2 -1
- data/spec/api/company_api_spec.rb +1 -1
- data/spec/api/deal_api_spec.rb +1 -1
- data/spec/api/deal_setup_api_spec.rb +1 -1
- data/spec/api/deals_api_spec.rb +1 -1
- data/spec/api/default_api_spec.rb +1 -1
- data/spec/api/investor_api_spec.rb +1 -1
- data/spec/api/investor_profile_api_spec.rb +2 -2
- data/spec/api/shareholder_api_spec.rb +1 -1
- data/spec/api/upload_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/add506c_document_request_spec.rb +1 -1
- data/spec/models/add_document_request_spec.rb +1 -1
- data/spec/models/bulk_upload_investors_request_spec.rb +7 -1
- data/spec/models/create_bulk_upload_detail_request_spec.rb +1 -1
- data/spec/models/create_bulk_upload_request_spec.rb +13 -1
- data/spec/models/create_company_request_spec.rb +1 -1
- data/spec/models/create_corporation_profile_request_spec.rb +14 -2
- data/spec/models/create_deal_setup_request_spec.rb +1 -1
- data/spec/models/create_individual_profile_request_spec.rb +1 -1
- data/spec/models/create_investor_request_spec.rb +1 -1
- data/spec/models/create_joint_profile_request_spec.rb +1 -1
- data/spec/models/create_shareholder_action_request_spec.rb +1 -1
- data/spec/models/create_trust_profile_request_spec.rb +2 -2
- data/spec/models/edit_investor_tags_request_spec.rb +1 -1
- data/spec/models/generate_url_request_spec.rb +1 -1
- data/spec/models/patch_corporation_profile_request_spec.rb +91 -1
- data/spec/models/patch_individual_profile_request_spec.rb +1 -1
- data/spec/models/patch_investor_request_spec.rb +1 -1
- data/spec/models/patch_joint_profile_request_spec.rb +1 -1
- data/spec/models/patch_trust_profile_request_spec.rb +1 -1
- data/spec/models/post_webhooks_request_spec.rb +1 -1
- data/spec/models/put_deals_id_script_tag_environment_request_spec.rb +1 -1
- data/spec/models/put_webhooks_id_request_spec.rb +1 -1
- data/spec/models/update_investor_request_spec.rb +1 -1
- data/spec/models/v1_entities_address_spec.rb +1 -1
- data/spec/models/v1_entities_addresses_spec.rb +1 -1
- data/spec/models/v1_entities_attachment_spec.rb +1 -1
- data/spec/models/v1_entities_background_check_search_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_upload_detail_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_upload_details_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_upload_spec.rb +1 -1
- data/spec/models/v1_entities_bulk_uploads_spec.rb +1 -1
- data/spec/models/v1_entities_company_deal_spec.rb +1 -1
- data/spec/models/v1_entities_company_deals_spec.rb +1 -1
- data/spec/models/v1_entities_company_spec.rb +1 -1
- data/spec/models/v1_entities_deal_enterprise_spec.rb +1 -1
- data/spec/models/v1_entities_deal_funding_metrics_spec.rb +1 -1
- data/spec/models/v1_entities_deal_investor_metrics_spec.rb +1 -1
- data/spec/models/v1_entities_deal_issuer_spec.rb +1 -1
- data/spec/models/v1_entities_deal_setup_spec.rb +1 -1
- data/spec/models/v1_entities_deal_setup_user_spec.rb +1 -1
- data/spec/models/v1_entities_deal_spec.rb +1 -1
- data/spec/models/v1_entities_deals_spec.rb +1 -1
- data/spec/models/v1_entities_express_wire_instruction_spec.rb +1 -1
- data/spec/models/v1_entities_express_wire_instructions_spec.rb +1 -1
- data/spec/models/v1_entities_generic_response_spec.rb +1 -1
- data/spec/models/v1_entities_investor_otp_access_link_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_address_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_corporation_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_account_holder_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_corporation_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_primary_holder_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_fields_signing_officer_spec.rb +70 -0
- data/spec/models/v1_entities_investor_profile_fields_trust_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_individual_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_item_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_joint_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_owner_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profile_trust_spec.rb +1 -1
- data/spec/models/v1_entities_investor_profiles_spec.rb +1 -1
- data/spec/models/v1_entities_investor_spec.rb +1 -1
- data/spec/models/v1_entities_investor_user_spec.rb +1 -1
- data/spec/models/v1_entities_investors_spec.rb +1 -1
- data/spec/models/v1_entities_presigned_url_result_spec.rb +1 -1
- data/spec/models/v1_entities_shareholder_spec.rb +1 -1
- data/spec/models/v1_entities_shareholders_spec.rb +1 -1
- data/spec/models/v1_entities_shareholders_tags_spec.rb +1 -1
- data/spec/models/v1_entities_subscription_agreement_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_deal_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_security_token_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_subscription_deal_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_subscription_deals_spec.rb +1 -1
- data/spec/models/v1_entities_webhooks_subscription_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +72 -68
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.75.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -24,12 +24,20 @@ module DealMakerAPI
|
|
|
24
24
|
# The bulk upload name
|
|
25
25
|
attr_accessor :upload_name
|
|
26
26
|
|
|
27
|
+
# Send notification to the user
|
|
28
|
+
attr_accessor :send_notification
|
|
29
|
+
|
|
30
|
+
# Notification message
|
|
31
|
+
attr_accessor :notification_message
|
|
32
|
+
|
|
27
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
34
|
def self.attribute_map
|
|
29
35
|
{
|
|
30
36
|
:'file_identifier' => :'file_identifier',
|
|
31
37
|
:'document_type' => :'document_type',
|
|
32
|
-
:'upload_name' => :'upload_name'
|
|
38
|
+
:'upload_name' => :'upload_name',
|
|
39
|
+
:'send_notification' => :'send_notification',
|
|
40
|
+
:'notification_message' => :'notification_message'
|
|
33
41
|
}
|
|
34
42
|
end
|
|
35
43
|
|
|
@@ -43,7 +51,9 @@ module DealMakerAPI
|
|
|
43
51
|
{
|
|
44
52
|
:'file_identifier' => :'String',
|
|
45
53
|
:'document_type' => :'String',
|
|
46
|
-
:'upload_name' => :'String'
|
|
54
|
+
:'upload_name' => :'String',
|
|
55
|
+
:'send_notification' => :'Boolean',
|
|
56
|
+
:'notification_message' => :'String'
|
|
47
57
|
}
|
|
48
58
|
end
|
|
49
59
|
|
|
@@ -85,6 +95,18 @@ module DealMakerAPI
|
|
|
85
95
|
else
|
|
86
96
|
self.upload_name = nil
|
|
87
97
|
end
|
|
98
|
+
|
|
99
|
+
if attributes.key?(:'send_notification')
|
|
100
|
+
self.send_notification = attributes[:'send_notification']
|
|
101
|
+
else
|
|
102
|
+
self.send_notification = nil
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
if attributes.key?(:'notification_message')
|
|
106
|
+
self.notification_message = attributes[:'notification_message']
|
|
107
|
+
else
|
|
108
|
+
self.notification_message = nil
|
|
109
|
+
end
|
|
88
110
|
end
|
|
89
111
|
|
|
90
112
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -104,6 +126,14 @@ module DealMakerAPI
|
|
|
104
126
|
invalid_properties.push('invalid value for "upload_name", upload_name cannot be nil.')
|
|
105
127
|
end
|
|
106
128
|
|
|
129
|
+
if @send_notification.nil?
|
|
130
|
+
invalid_properties.push('invalid value for "send_notification", send_notification cannot be nil.')
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if @notification_message.nil?
|
|
134
|
+
invalid_properties.push('invalid value for "notification_message", notification_message cannot be nil.')
|
|
135
|
+
end
|
|
136
|
+
|
|
107
137
|
invalid_properties
|
|
108
138
|
end
|
|
109
139
|
|
|
@@ -114,6 +144,8 @@ module DealMakerAPI
|
|
|
114
144
|
return false if @file_identifier.nil?
|
|
115
145
|
return false if @document_type.nil?
|
|
116
146
|
return false if @upload_name.nil?
|
|
147
|
+
return false if @send_notification.nil?
|
|
148
|
+
return false if @notification_message.nil?
|
|
117
149
|
true
|
|
118
150
|
end
|
|
119
151
|
|
|
@@ -124,7 +156,9 @@ module DealMakerAPI
|
|
|
124
156
|
self.class == o.class &&
|
|
125
157
|
file_identifier == o.file_identifier &&
|
|
126
158
|
document_type == o.document_type &&
|
|
127
|
-
upload_name == o.upload_name
|
|
159
|
+
upload_name == o.upload_name &&
|
|
160
|
+
send_notification == o.send_notification &&
|
|
161
|
+
notification_message == o.notification_message
|
|
128
162
|
end
|
|
129
163
|
|
|
130
164
|
# @see the `==` method
|
|
@@ -136,7 +170,7 @@ module DealMakerAPI
|
|
|
136
170
|
# Calculates hash code according to all attributes.
|
|
137
171
|
# @return [Integer] Hash code
|
|
138
172
|
def hash
|
|
139
|
-
[file_identifier, document_type, upload_name].hash
|
|
173
|
+
[file_identifier, document_type, upload_name, send_notification, notification_message].hash
|
|
140
174
|
end
|
|
141
175
|
|
|
142
176
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.75.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -93,6 +93,9 @@ module DealMakerAPI
|
|
|
93
93
|
# The taxpayer identification number of the signing officer (required).
|
|
94
94
|
attr_accessor :signing_officer_taxpayer_id
|
|
95
95
|
|
|
96
|
+
# The phone number of the signing officer (required).
|
|
97
|
+
attr_accessor :signing_officer_phone_number
|
|
98
|
+
|
|
96
99
|
# The list of first names for the beneficial owners (required for beneficial owner 1).
|
|
97
100
|
attr_accessor :beneficial_owners_first_name
|
|
98
101
|
|
|
@@ -109,7 +112,7 @@ module DealMakerAPI
|
|
|
109
112
|
attr_accessor :beneficial_owners_street_address
|
|
110
113
|
|
|
111
114
|
# The list of street address line 2 for the beneficial owners.
|
|
112
|
-
attr_accessor :
|
|
115
|
+
attr_accessor :beneficial_owners_unit2
|
|
113
116
|
|
|
114
117
|
# The list of cities for the beneficial owners (required for beneficial owner 1).
|
|
115
118
|
attr_accessor :beneficial_owners_city
|
|
@@ -126,6 +129,9 @@ module DealMakerAPI
|
|
|
126
129
|
# The list of taxpayer identification numbers for the beneficial owners (required for beneficial owner 1).
|
|
127
130
|
attr_accessor :beneficial_owners_taxpayer_id
|
|
128
131
|
|
|
132
|
+
# The list of phone numbers for the beneficial owners (required for beneficial owner 1).
|
|
133
|
+
attr_accessor :beneficial_owners_phone_number
|
|
134
|
+
|
|
129
135
|
class EnumAttributeValidator
|
|
130
136
|
attr_reader :datatype
|
|
131
137
|
attr_reader :allowable_values
|
|
@@ -177,17 +183,19 @@ module DealMakerAPI
|
|
|
177
183
|
:'signing_officer_postal_code' => :'signing_officer_postal_code',
|
|
178
184
|
:'signing_officer_date_of_birth' => :'signing_officer_date_of_birth',
|
|
179
185
|
:'signing_officer_taxpayer_id' => :'signing_officer_taxpayer_id',
|
|
186
|
+
:'signing_officer_phone_number' => :'signing_officer_phone_number',
|
|
180
187
|
:'beneficial_owners_first_name' => :'beneficial_owners[first_name]',
|
|
181
188
|
:'beneficial_owners_last_name' => :'beneficial_owners[last_name]',
|
|
182
189
|
:'beneficial_owners_suffix' => :'beneficial_owners[suffix]',
|
|
183
190
|
:'beneficial_owners_country' => :'beneficial_owners[country]',
|
|
184
191
|
:'beneficial_owners_street_address' => :'beneficial_owners[street_address]',
|
|
185
|
-
:'
|
|
192
|
+
:'beneficial_owners_unit2' => :'beneficial_owners[unit2]',
|
|
186
193
|
:'beneficial_owners_city' => :'beneficial_owners[city]',
|
|
187
194
|
:'beneficial_owners_region' => :'beneficial_owners[region]',
|
|
188
195
|
:'beneficial_owners_postal_code' => :'beneficial_owners[postal_code]',
|
|
189
196
|
:'beneficial_owners_date_of_birth' => :'beneficial_owners[date_of_birth]',
|
|
190
|
-
:'beneficial_owners_taxpayer_id' => :'beneficial_owners[taxpayer_id]'
|
|
197
|
+
:'beneficial_owners_taxpayer_id' => :'beneficial_owners[taxpayer_id]',
|
|
198
|
+
:'beneficial_owners_phone_number' => :'beneficial_owners[phone_number]'
|
|
191
199
|
}
|
|
192
200
|
end
|
|
193
201
|
|
|
@@ -225,17 +233,19 @@ module DealMakerAPI
|
|
|
225
233
|
:'signing_officer_postal_code' => :'String',
|
|
226
234
|
:'signing_officer_date_of_birth' => :'String',
|
|
227
235
|
:'signing_officer_taxpayer_id' => :'String',
|
|
236
|
+
:'signing_officer_phone_number' => :'String',
|
|
228
237
|
:'beneficial_owners_first_name' => :'Array<String>',
|
|
229
238
|
:'beneficial_owners_last_name' => :'Array<String>',
|
|
230
239
|
:'beneficial_owners_suffix' => :'Array<String>',
|
|
231
240
|
:'beneficial_owners_country' => :'Array<String>',
|
|
232
241
|
:'beneficial_owners_street_address' => :'Array<String>',
|
|
233
|
-
:'
|
|
242
|
+
:'beneficial_owners_unit2' => :'Array<String>',
|
|
234
243
|
:'beneficial_owners_city' => :'Array<String>',
|
|
235
244
|
:'beneficial_owners_region' => :'Array<String>',
|
|
236
245
|
:'beneficial_owners_postal_code' => :'Array<String>',
|
|
237
246
|
:'beneficial_owners_date_of_birth' => :'Array<String>',
|
|
238
|
-
:'beneficial_owners_taxpayer_id' => :'Array<String>'
|
|
247
|
+
:'beneficial_owners_taxpayer_id' => :'Array<String>',
|
|
248
|
+
:'beneficial_owners_phone_number' => :'Array<String>'
|
|
239
249
|
}
|
|
240
250
|
end
|
|
241
251
|
|
|
@@ -366,6 +376,10 @@ module DealMakerAPI
|
|
|
366
376
|
self.signing_officer_taxpayer_id = attributes[:'signing_officer_taxpayer_id']
|
|
367
377
|
end
|
|
368
378
|
|
|
379
|
+
if attributes.key?(:'signing_officer_phone_number')
|
|
380
|
+
self.signing_officer_phone_number = attributes[:'signing_officer_phone_number']
|
|
381
|
+
end
|
|
382
|
+
|
|
369
383
|
if attributes.key?(:'beneficial_owners_first_name')
|
|
370
384
|
if (value = attributes[:'beneficial_owners_first_name']).is_a?(Array)
|
|
371
385
|
self.beneficial_owners_first_name = value
|
|
@@ -396,9 +410,9 @@ module DealMakerAPI
|
|
|
396
410
|
end
|
|
397
411
|
end
|
|
398
412
|
|
|
399
|
-
if attributes.key?(:'
|
|
400
|
-
if (value = attributes[:'
|
|
401
|
-
self.
|
|
413
|
+
if attributes.key?(:'beneficial_owners_unit2')
|
|
414
|
+
if (value = attributes[:'beneficial_owners_unit2']).is_a?(Array)
|
|
415
|
+
self.beneficial_owners_unit2 = value
|
|
402
416
|
end
|
|
403
417
|
end
|
|
404
418
|
|
|
@@ -431,6 +445,12 @@ module DealMakerAPI
|
|
|
431
445
|
self.beneficial_owners_taxpayer_id = value
|
|
432
446
|
end
|
|
433
447
|
end
|
|
448
|
+
|
|
449
|
+
if attributes.key?(:'beneficial_owners_phone_number')
|
|
450
|
+
if (value = attributes[:'beneficial_owners_phone_number']).is_a?(Array)
|
|
451
|
+
self.beneficial_owners_phone_number = value
|
|
452
|
+
end
|
|
453
|
+
end
|
|
434
454
|
end
|
|
435
455
|
|
|
436
456
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -508,17 +528,19 @@ module DealMakerAPI
|
|
|
508
528
|
signing_officer_postal_code == o.signing_officer_postal_code &&
|
|
509
529
|
signing_officer_date_of_birth == o.signing_officer_date_of_birth &&
|
|
510
530
|
signing_officer_taxpayer_id == o.signing_officer_taxpayer_id &&
|
|
531
|
+
signing_officer_phone_number == o.signing_officer_phone_number &&
|
|
511
532
|
beneficial_owners_first_name == o.beneficial_owners_first_name &&
|
|
512
533
|
beneficial_owners_last_name == o.beneficial_owners_last_name &&
|
|
513
534
|
beneficial_owners_suffix == o.beneficial_owners_suffix &&
|
|
514
535
|
beneficial_owners_country == o.beneficial_owners_country &&
|
|
515
536
|
beneficial_owners_street_address == o.beneficial_owners_street_address &&
|
|
516
|
-
|
|
537
|
+
beneficial_owners_unit2 == o.beneficial_owners_unit2 &&
|
|
517
538
|
beneficial_owners_city == o.beneficial_owners_city &&
|
|
518
539
|
beneficial_owners_region == o.beneficial_owners_region &&
|
|
519
540
|
beneficial_owners_postal_code == o.beneficial_owners_postal_code &&
|
|
520
541
|
beneficial_owners_date_of_birth == o.beneficial_owners_date_of_birth &&
|
|
521
|
-
beneficial_owners_taxpayer_id == o.beneficial_owners_taxpayer_id
|
|
542
|
+
beneficial_owners_taxpayer_id == o.beneficial_owners_taxpayer_id &&
|
|
543
|
+
beneficial_owners_phone_number == o.beneficial_owners_phone_number
|
|
522
544
|
end
|
|
523
545
|
|
|
524
546
|
# @see the `==` method
|
|
@@ -530,7 +552,7 @@ module DealMakerAPI
|
|
|
530
552
|
# Calculates hash code according to all attributes.
|
|
531
553
|
# @return [Integer] Hash code
|
|
532
554
|
def hash
|
|
533
|
-
[email, us_accredited_category, ca_accredited_investor, name, country, street_address, unit2, city, region, postal_code, business_number, phone_number, income, net_worth, reg_cf_prior_offerings_amount, signing_officer_first_name, signing_officer_last_name, signing_officer_suffix, signing_officer_country, signing_officer_street_address, signing_officer_unit2, signing_officer_city, signing_officer_region, signing_officer_postal_code, signing_officer_date_of_birth, signing_officer_taxpayer_id, beneficial_owners_first_name, beneficial_owners_last_name, beneficial_owners_suffix, beneficial_owners_country, beneficial_owners_street_address,
|
|
555
|
+
[email, us_accredited_category, ca_accredited_investor, name, country, street_address, unit2, city, region, postal_code, business_number, phone_number, income, net_worth, reg_cf_prior_offerings_amount, signing_officer_first_name, signing_officer_last_name, signing_officer_suffix, signing_officer_country, signing_officer_street_address, signing_officer_unit2, signing_officer_city, signing_officer_region, signing_officer_postal_code, signing_officer_date_of_birth, signing_officer_taxpayer_id, signing_officer_phone_number, beneficial_owners_first_name, beneficial_owners_last_name, beneficial_owners_suffix, beneficial_owners_country, beneficial_owners_street_address, beneficial_owners_unit2, beneficial_owners_city, beneficial_owners_region, beneficial_owners_postal_code, beneficial_owners_date_of_birth, beneficial_owners_taxpayer_id, beneficial_owners_phone_number].hash
|
|
534
556
|
end
|
|
535
557
|
|
|
536
558
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.75.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -76,7 +76,7 @@ module DealMakerAPI
|
|
|
76
76
|
attr_accessor :trustees_street_address
|
|
77
77
|
|
|
78
78
|
# The list of street address line 2 for the trustees.
|
|
79
|
-
attr_accessor :
|
|
79
|
+
attr_accessor :trustees_unit2
|
|
80
80
|
|
|
81
81
|
# The list of cities for the trustees (required for trustee 1).
|
|
82
82
|
attr_accessor :trustees_city
|
|
@@ -138,7 +138,7 @@ module DealMakerAPI
|
|
|
138
138
|
:'trustees_suffix' => :'trustees[suffix]',
|
|
139
139
|
:'trustees_country' => :'trustees[country]',
|
|
140
140
|
:'trustees_street_address' => :'trustees[street_address]',
|
|
141
|
-
:'
|
|
141
|
+
:'trustees_unit2' => :'trustees[unit2]',
|
|
142
142
|
:'trustees_city' => :'trustees[city]',
|
|
143
143
|
:'trustees_region' => :'trustees[region]',
|
|
144
144
|
:'trustees_postal_code' => :'trustees[postal_code]',
|
|
@@ -175,7 +175,7 @@ module DealMakerAPI
|
|
|
175
175
|
:'trustees_suffix' => :'Array<String>',
|
|
176
176
|
:'trustees_country' => :'Array<String>',
|
|
177
177
|
:'trustees_street_address' => :'Array<String>',
|
|
178
|
-
:'
|
|
178
|
+
:'trustees_unit2' => :'Array<String>',
|
|
179
179
|
:'trustees_city' => :'Array<String>',
|
|
180
180
|
:'trustees_region' => :'Array<String>',
|
|
181
181
|
:'trustees_postal_code' => :'Array<String>',
|
|
@@ -297,9 +297,9 @@ module DealMakerAPI
|
|
|
297
297
|
end
|
|
298
298
|
end
|
|
299
299
|
|
|
300
|
-
if attributes.key?(:'
|
|
301
|
-
if (value = attributes[:'
|
|
302
|
-
self.
|
|
300
|
+
if attributes.key?(:'trustees_unit2')
|
|
301
|
+
if (value = attributes[:'trustees_unit2']).is_a?(Array)
|
|
302
|
+
self.trustees_unit2 = value
|
|
303
303
|
end
|
|
304
304
|
end
|
|
305
305
|
|
|
@@ -403,7 +403,7 @@ module DealMakerAPI
|
|
|
403
403
|
trustees_suffix == o.trustees_suffix &&
|
|
404
404
|
trustees_country == o.trustees_country &&
|
|
405
405
|
trustees_street_address == o.trustees_street_address &&
|
|
406
|
-
|
|
406
|
+
trustees_unit2 == o.trustees_unit2 &&
|
|
407
407
|
trustees_city == o.trustees_city &&
|
|
408
408
|
trustees_region == o.trustees_region &&
|
|
409
409
|
trustees_postal_code == o.trustees_postal_code &&
|
|
@@ -420,7 +420,7 @@ module DealMakerAPI
|
|
|
420
420
|
# Calculates hash code according to all attributes.
|
|
421
421
|
# @return [Integer] Hash code
|
|
422
422
|
def hash
|
|
423
|
-
[email, us_accredited_category, ca_accredited_investor, name, date, country, street_address, unit2, city, region, postal_code, phone_number, income, net_worth, reg_cf_prior_offerings_amount, trustees_first_name, trustees_last_name, trustees_suffix, trustees_country, trustees_street_address,
|
|
423
|
+
[email, us_accredited_category, ca_accredited_investor, name, date, country, street_address, unit2, city, region, postal_code, phone_number, income, net_worth, reg_cf_prior_offerings_amount, trustees_first_name, trustees_last_name, trustees_suffix, trustees_country, trustees_street_address, trustees_unit2, trustees_city, trustees_region, trustees_postal_code, trustees_date_of_birth, trustees_taxpayer_id].hash
|
|
424
424
|
end
|
|
425
425
|
|
|
426
426
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.75.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0.
|
|
9
|
+
OpenAPI Generator version: 7.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -90,6 +90,51 @@ module DealMakerAPI
|
|
|
90
90
|
# The taxpayer identification number of the investor profile.
|
|
91
91
|
attr_accessor :signing_officer_taxpayer_id
|
|
92
92
|
|
|
93
|
+
# The phone number of the signing officer (required).
|
|
94
|
+
attr_accessor :signing_officer_phone_number
|
|
95
|
+
|
|
96
|
+
# The index of the beneficial owner.
|
|
97
|
+
attr_accessor :beneficial_owners_index
|
|
98
|
+
|
|
99
|
+
# If true, this entry will be cleared.
|
|
100
|
+
attr_accessor :beneficial_owners__delete
|
|
101
|
+
|
|
102
|
+
# The list of first names for the beneficial owners (required for beneficial owner 1).
|
|
103
|
+
attr_accessor :beneficial_owners_first_name
|
|
104
|
+
|
|
105
|
+
# The list of last names for the beneficial owners (required for beneficial owner 1).
|
|
106
|
+
attr_accessor :beneficial_owners_last_name
|
|
107
|
+
|
|
108
|
+
# The list of suffixes for the beneficial owners.
|
|
109
|
+
attr_accessor :beneficial_owners_suffix
|
|
110
|
+
|
|
111
|
+
# The list of countries for the beneficial owners (required for beneficial owner 1).
|
|
112
|
+
attr_accessor :beneficial_owners_country
|
|
113
|
+
|
|
114
|
+
# The list of street addresses for the beneficial owners (required for beneficial owner 1).
|
|
115
|
+
attr_accessor :beneficial_owners_street_address
|
|
116
|
+
|
|
117
|
+
# The list of street address line 2 for the beneficial owners.
|
|
118
|
+
attr_accessor :beneficial_owners_unit2
|
|
119
|
+
|
|
120
|
+
# The list of cities for the beneficial owners (required for beneficial owner 1).
|
|
121
|
+
attr_accessor :beneficial_owners_city
|
|
122
|
+
|
|
123
|
+
# The list of region or states for the beneficial owners (required for beneficial owner 1).
|
|
124
|
+
attr_accessor :beneficial_owners_region
|
|
125
|
+
|
|
126
|
+
# The list of postal codes or zipcodes for the beneficial owners (required for beneficial owner 1).
|
|
127
|
+
attr_accessor :beneficial_owners_postal_code
|
|
128
|
+
|
|
129
|
+
# The list of dates of birth for the beneficial owners (required for beneficial owner 1).
|
|
130
|
+
attr_accessor :beneficial_owners_date_of_birth
|
|
131
|
+
|
|
132
|
+
# The list of taxpayer identification numbers for the beneficial owners (required for beneficial owner 1).
|
|
133
|
+
attr_accessor :beneficial_owners_taxpayer_id
|
|
134
|
+
|
|
135
|
+
# The list of phone numbers for the beneficial owners (required for beneficial owner 1).
|
|
136
|
+
attr_accessor :beneficial_owners_phone_number
|
|
137
|
+
|
|
93
138
|
class EnumAttributeValidator
|
|
94
139
|
attr_reader :datatype
|
|
95
140
|
attr_reader :allowable_values
|
|
@@ -139,7 +184,22 @@ module DealMakerAPI
|
|
|
139
184
|
:'signing_officer_region' => :'signing_officer_region',
|
|
140
185
|
:'signing_officer_postal_code' => :'signing_officer_postal_code',
|
|
141
186
|
:'signing_officer_date_of_birth' => :'signing_officer_date_of_birth',
|
|
142
|
-
:'signing_officer_taxpayer_id' => :'signing_officer_taxpayer_id'
|
|
187
|
+
:'signing_officer_taxpayer_id' => :'signing_officer_taxpayer_id',
|
|
188
|
+
:'signing_officer_phone_number' => :'signing_officer_phone_number',
|
|
189
|
+
:'beneficial_owners_index' => :'beneficial_owners[index]',
|
|
190
|
+
:'beneficial_owners__delete' => :'beneficial_owners[_delete]',
|
|
191
|
+
:'beneficial_owners_first_name' => :'beneficial_owners[first_name]',
|
|
192
|
+
:'beneficial_owners_last_name' => :'beneficial_owners[last_name]',
|
|
193
|
+
:'beneficial_owners_suffix' => :'beneficial_owners[suffix]',
|
|
194
|
+
:'beneficial_owners_country' => :'beneficial_owners[country]',
|
|
195
|
+
:'beneficial_owners_street_address' => :'beneficial_owners[street_address]',
|
|
196
|
+
:'beneficial_owners_unit2' => :'beneficial_owners[unit2]',
|
|
197
|
+
:'beneficial_owners_city' => :'beneficial_owners[city]',
|
|
198
|
+
:'beneficial_owners_region' => :'beneficial_owners[region]',
|
|
199
|
+
:'beneficial_owners_postal_code' => :'beneficial_owners[postal_code]',
|
|
200
|
+
:'beneficial_owners_date_of_birth' => :'beneficial_owners[date_of_birth]',
|
|
201
|
+
:'beneficial_owners_taxpayer_id' => :'beneficial_owners[taxpayer_id]',
|
|
202
|
+
:'beneficial_owners_phone_number' => :'beneficial_owners[phone_number]'
|
|
143
203
|
}
|
|
144
204
|
end
|
|
145
205
|
|
|
@@ -175,7 +235,22 @@ module DealMakerAPI
|
|
|
175
235
|
:'signing_officer_region' => :'String',
|
|
176
236
|
:'signing_officer_postal_code' => :'String',
|
|
177
237
|
:'signing_officer_date_of_birth' => :'String',
|
|
178
|
-
:'signing_officer_taxpayer_id' => :'String'
|
|
238
|
+
:'signing_officer_taxpayer_id' => :'String',
|
|
239
|
+
:'signing_officer_phone_number' => :'String',
|
|
240
|
+
:'beneficial_owners_index' => :'Array<Integer>',
|
|
241
|
+
:'beneficial_owners__delete' => :'Array<Boolean>',
|
|
242
|
+
:'beneficial_owners_first_name' => :'Array<String>',
|
|
243
|
+
:'beneficial_owners_last_name' => :'Array<String>',
|
|
244
|
+
:'beneficial_owners_suffix' => :'Array<String>',
|
|
245
|
+
:'beneficial_owners_country' => :'Array<String>',
|
|
246
|
+
:'beneficial_owners_street_address' => :'Array<String>',
|
|
247
|
+
:'beneficial_owners_unit2' => :'Array<String>',
|
|
248
|
+
:'beneficial_owners_city' => :'Array<String>',
|
|
249
|
+
:'beneficial_owners_region' => :'Array<String>',
|
|
250
|
+
:'beneficial_owners_postal_code' => :'Array<String>',
|
|
251
|
+
:'beneficial_owners_date_of_birth' => :'Array<String>',
|
|
252
|
+
:'beneficial_owners_taxpayer_id' => :'Array<String>',
|
|
253
|
+
:'beneficial_owners_phone_number' => :'Array<String>'
|
|
179
254
|
}
|
|
180
255
|
end
|
|
181
256
|
|
|
@@ -299,6 +374,96 @@ module DealMakerAPI
|
|
|
299
374
|
if attributes.key?(:'signing_officer_taxpayer_id')
|
|
300
375
|
self.signing_officer_taxpayer_id = attributes[:'signing_officer_taxpayer_id']
|
|
301
376
|
end
|
|
377
|
+
|
|
378
|
+
if attributes.key?(:'signing_officer_phone_number')
|
|
379
|
+
self.signing_officer_phone_number = attributes[:'signing_officer_phone_number']
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
if attributes.key?(:'beneficial_owners_index')
|
|
383
|
+
if (value = attributes[:'beneficial_owners_index']).is_a?(Array)
|
|
384
|
+
self.beneficial_owners_index = value
|
|
385
|
+
end
|
|
386
|
+
else
|
|
387
|
+
self.beneficial_owners_index = nil
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
if attributes.key?(:'beneficial_owners__delete')
|
|
391
|
+
if (value = attributes[:'beneficial_owners__delete']).is_a?(Array)
|
|
392
|
+
self.beneficial_owners__delete = value
|
|
393
|
+
end
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
if attributes.key?(:'beneficial_owners_first_name')
|
|
397
|
+
if (value = attributes[:'beneficial_owners_first_name']).is_a?(Array)
|
|
398
|
+
self.beneficial_owners_first_name = value
|
|
399
|
+
end
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
if attributes.key?(:'beneficial_owners_last_name')
|
|
403
|
+
if (value = attributes[:'beneficial_owners_last_name']).is_a?(Array)
|
|
404
|
+
self.beneficial_owners_last_name = value
|
|
405
|
+
end
|
|
406
|
+
end
|
|
407
|
+
|
|
408
|
+
if attributes.key?(:'beneficial_owners_suffix')
|
|
409
|
+
if (value = attributes[:'beneficial_owners_suffix']).is_a?(Array)
|
|
410
|
+
self.beneficial_owners_suffix = value
|
|
411
|
+
end
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
if attributes.key?(:'beneficial_owners_country')
|
|
415
|
+
if (value = attributes[:'beneficial_owners_country']).is_a?(Array)
|
|
416
|
+
self.beneficial_owners_country = value
|
|
417
|
+
end
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
if attributes.key?(:'beneficial_owners_street_address')
|
|
421
|
+
if (value = attributes[:'beneficial_owners_street_address']).is_a?(Array)
|
|
422
|
+
self.beneficial_owners_street_address = value
|
|
423
|
+
end
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
if attributes.key?(:'beneficial_owners_unit2')
|
|
427
|
+
if (value = attributes[:'beneficial_owners_unit2']).is_a?(Array)
|
|
428
|
+
self.beneficial_owners_unit2 = value
|
|
429
|
+
end
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
if attributes.key?(:'beneficial_owners_city')
|
|
433
|
+
if (value = attributes[:'beneficial_owners_city']).is_a?(Array)
|
|
434
|
+
self.beneficial_owners_city = value
|
|
435
|
+
end
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
if attributes.key?(:'beneficial_owners_region')
|
|
439
|
+
if (value = attributes[:'beneficial_owners_region']).is_a?(Array)
|
|
440
|
+
self.beneficial_owners_region = value
|
|
441
|
+
end
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
if attributes.key?(:'beneficial_owners_postal_code')
|
|
445
|
+
if (value = attributes[:'beneficial_owners_postal_code']).is_a?(Array)
|
|
446
|
+
self.beneficial_owners_postal_code = value
|
|
447
|
+
end
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
if attributes.key?(:'beneficial_owners_date_of_birth')
|
|
451
|
+
if (value = attributes[:'beneficial_owners_date_of_birth']).is_a?(Array)
|
|
452
|
+
self.beneficial_owners_date_of_birth = value
|
|
453
|
+
end
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
if attributes.key?(:'beneficial_owners_taxpayer_id')
|
|
457
|
+
if (value = attributes[:'beneficial_owners_taxpayer_id']).is_a?(Array)
|
|
458
|
+
self.beneficial_owners_taxpayer_id = value
|
|
459
|
+
end
|
|
460
|
+
end
|
|
461
|
+
|
|
462
|
+
if attributes.key?(:'beneficial_owners_phone_number')
|
|
463
|
+
if (value = attributes[:'beneficial_owners_phone_number']).is_a?(Array)
|
|
464
|
+
self.beneficial_owners_phone_number = value
|
|
465
|
+
end
|
|
466
|
+
end
|
|
302
467
|
end
|
|
303
468
|
|
|
304
469
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -306,6 +471,10 @@ module DealMakerAPI
|
|
|
306
471
|
def list_invalid_properties
|
|
307
472
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
308
473
|
invalid_properties = Array.new
|
|
474
|
+
if @beneficial_owners_index.nil?
|
|
475
|
+
invalid_properties.push('invalid value for "beneficial_owners_index", beneficial_owners_index cannot be nil.')
|
|
476
|
+
end
|
|
477
|
+
|
|
309
478
|
invalid_properties
|
|
310
479
|
end
|
|
311
480
|
|
|
@@ -317,6 +486,7 @@ module DealMakerAPI
|
|
|
317
486
|
return false unless us_accredited_category_validator.valid?(@us_accredited_category)
|
|
318
487
|
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["a", "b", "c", "d", "f", "g", "h", "i", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "x"])
|
|
319
488
|
return false unless ca_accredited_investor_validator.valid?(@ca_accredited_investor)
|
|
489
|
+
return false if @beneficial_owners_index.nil?
|
|
320
490
|
true
|
|
321
491
|
end
|
|
322
492
|
|
|
@@ -369,7 +539,22 @@ module DealMakerAPI
|
|
|
369
539
|
signing_officer_region == o.signing_officer_region &&
|
|
370
540
|
signing_officer_postal_code == o.signing_officer_postal_code &&
|
|
371
541
|
signing_officer_date_of_birth == o.signing_officer_date_of_birth &&
|
|
372
|
-
signing_officer_taxpayer_id == o.signing_officer_taxpayer_id
|
|
542
|
+
signing_officer_taxpayer_id == o.signing_officer_taxpayer_id &&
|
|
543
|
+
signing_officer_phone_number == o.signing_officer_phone_number &&
|
|
544
|
+
beneficial_owners_index == o.beneficial_owners_index &&
|
|
545
|
+
beneficial_owners__delete == o.beneficial_owners__delete &&
|
|
546
|
+
beneficial_owners_first_name == o.beneficial_owners_first_name &&
|
|
547
|
+
beneficial_owners_last_name == o.beneficial_owners_last_name &&
|
|
548
|
+
beneficial_owners_suffix == o.beneficial_owners_suffix &&
|
|
549
|
+
beneficial_owners_country == o.beneficial_owners_country &&
|
|
550
|
+
beneficial_owners_street_address == o.beneficial_owners_street_address &&
|
|
551
|
+
beneficial_owners_unit2 == o.beneficial_owners_unit2 &&
|
|
552
|
+
beneficial_owners_city == o.beneficial_owners_city &&
|
|
553
|
+
beneficial_owners_region == o.beneficial_owners_region &&
|
|
554
|
+
beneficial_owners_postal_code == o.beneficial_owners_postal_code &&
|
|
555
|
+
beneficial_owners_date_of_birth == o.beneficial_owners_date_of_birth &&
|
|
556
|
+
beneficial_owners_taxpayer_id == o.beneficial_owners_taxpayer_id &&
|
|
557
|
+
beneficial_owners_phone_number == o.beneficial_owners_phone_number
|
|
373
558
|
end
|
|
374
559
|
|
|
375
560
|
# @see the `==` method
|
|
@@ -381,7 +566,7 @@ module DealMakerAPI
|
|
|
381
566
|
# Calculates hash code according to all attributes.
|
|
382
567
|
# @return [Integer] Hash code
|
|
383
568
|
def hash
|
|
384
|
-
[us_accredited_category, ca_accredited_investor, name, country, street_address, unit2, city, region, postal_code, business_number, phone_number, income, net_worth, reg_cf_prior_offerings_amount, signing_officer_first_name, signing_officer_last_name, signing_officer_suffix, signing_officer_country, signing_officer_street_address, signing_officer_unit2, signing_officer_city, signing_officer_region, signing_officer_postal_code, signing_officer_date_of_birth, signing_officer_taxpayer_id].hash
|
|
569
|
+
[us_accredited_category, ca_accredited_investor, name, country, street_address, unit2, city, region, postal_code, business_number, phone_number, income, net_worth, reg_cf_prior_offerings_amount, signing_officer_first_name, signing_officer_last_name, signing_officer_suffix, signing_officer_country, signing_officer_street_address, signing_officer_unit2, signing_officer_city, signing_officer_region, signing_officer_postal_code, signing_officer_date_of_birth, signing_officer_taxpayer_id, signing_officer_phone_number, beneficial_owners_index, beneficial_owners__delete, beneficial_owners_first_name, beneficial_owners_last_name, beneficial_owners_suffix, beneficial_owners_country, beneficial_owners_street_address, beneficial_owners_unit2, beneficial_owners_city, beneficial_owners_region, beneficial_owners_postal_code, beneficial_owners_date_of_birth, beneficial_owners_taxpayer_id, beneficial_owners_phone_number].hash
|
|
385
570
|
end
|
|
386
571
|
|
|
387
572
|
# Builds the object from hash
|