increase 1.250.0 → 1.252.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.
@@ -1,414 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::Entities#create_beneficial_owner
6
- class EntityCreateBeneficialOwnerParams < Increase::Internal::Type::BaseModel
7
- extend Increase::Internal::Type::RequestParameters::Converter
8
- include Increase::Internal::Type::RequestParameters
9
-
10
- # @!attribute entity_id
11
- # The identifier of the Entity to associate with the new Beneficial Owner.
12
- #
13
- # @return [String]
14
- required :entity_id, String
15
-
16
- # @!attribute beneficial_owner
17
- # The identifying details of anyone controlling or owning 25% or more of the
18
- # corporation.
19
- #
20
- # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner]
21
- required :beneficial_owner, -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner }
22
-
23
- # @!method initialize(entity_id:, beneficial_owner:, request_options: {})
24
- # Some parameter documentations has been truncated, see
25
- # {Increase::Models::EntityCreateBeneficialOwnerParams} for more details.
26
- #
27
- # @param entity_id [String] The identifier of the Entity to associate with the new Beneficial Owner.
28
- #
29
- # @param beneficial_owner [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner] The identifying details of anyone controlling or owning 25% or more of the corpo
30
- #
31
- # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
32
-
33
- class BeneficialOwner < Increase::Internal::Type::BaseModel
34
- # @!attribute individual
35
- # Personal details for the beneficial owner.
36
- #
37
- # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual]
38
- required :individual, -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual }
39
-
40
- # @!attribute prongs
41
- # Why this person is considered a beneficial owner of the entity. At least one
42
- # option is required, if a person is both a control person and owner, submit an
43
- # array containing both.
44
- #
45
- # @return [Array<Symbol, Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Prong>]
46
- required :prongs,
47
- -> { Increase::Internal::Type::ArrayOf[enum: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Prong] }
48
-
49
- # @!attribute company_title
50
- # This person's role or title within the entity.
51
- #
52
- # @return [String, nil]
53
- optional :company_title, String
54
-
55
- # @!method initialize(individual:, prongs:, company_title: nil)
56
- # Some parameter documentations has been truncated, see
57
- # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner} for more
58
- # details.
59
- #
60
- # The identifying details of anyone controlling or owning 25% or more of the
61
- # corporation.
62
- #
63
- # @param individual [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual] Personal details for the beneficial owner.
64
- #
65
- # @param prongs [Array<Symbol, Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Prong>] Why this person is considered a beneficial owner of the entity. At least one opt
66
- #
67
- # @param company_title [String] This person's role or title within the entity.
68
-
69
- # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner#individual
70
- class Individual < Increase::Internal::Type::BaseModel
71
- # @!attribute address
72
- # The individual's physical address. Mail receiving locations like PO Boxes and
73
- # PMB's are disallowed.
74
- #
75
- # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address]
76
- required :address,
77
- -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address }
78
-
79
- # @!attribute date_of_birth
80
- # The person's date of birth in YYYY-MM-DD format.
81
- #
82
- # @return [Date]
83
- required :date_of_birth, Date
84
-
85
- # @!attribute identification
86
- # A means of verifying the person's identity.
87
- #
88
- # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification]
89
- required :identification,
90
- -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification }
91
-
92
- # @!attribute name
93
- # The person's legal name.
94
- #
95
- # @return [String]
96
- required :name, String
97
-
98
- # @!attribute confirmed_no_us_tax_id
99
- # The identification method for an individual can only be a passport, driver's
100
- # license, or other document if you've confirmed the individual does not have a US
101
- # tax id (either a Social Security Number or Individual Taxpayer Identification
102
- # Number).
103
- #
104
- # @return [Boolean, nil]
105
- optional :confirmed_no_us_tax_id, Increase::Internal::Type::Boolean
106
-
107
- # @!method initialize(address:, date_of_birth:, identification:, name:, confirmed_no_us_tax_id: nil)
108
- # Some parameter documentations has been truncated, see
109
- # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual}
110
- # for more details.
111
- #
112
- # Personal details for the beneficial owner.
113
- #
114
- # @param address [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM
115
- #
116
- # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
117
- #
118
- # @param identification [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification] A means of verifying the person's identity.
119
- #
120
- # @param name [String] The person's legal name.
121
- #
122
- # @param confirmed_no_us_tax_id [Boolean] The identification method for an individual can only be a passport, driver's lic
123
-
124
- # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual#address
125
- class Address < Increase::Internal::Type::BaseModel
126
- # @!attribute city
127
- # The city, district, town, or village of the address.
128
- #
129
- # @return [String]
130
- required :city, String
131
-
132
- # @!attribute country
133
- # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
134
- #
135
- # @return [String]
136
- required :country, String
137
-
138
- # @!attribute line1
139
- # The first line of the address. This is usually the street number and street.
140
- #
141
- # @return [String]
142
- required :line1, String
143
-
144
- # @!attribute line2
145
- # The second line of the address. This might be the floor or room number.
146
- #
147
- # @return [String, nil]
148
- optional :line2, String
149
-
150
- # @!attribute state
151
- # The two-letter United States Postal Service (USPS) abbreviation for the US
152
- # state, province, or region of the address. Required in certain countries.
153
- #
154
- # @return [String, nil]
155
- optional :state, String
156
-
157
- # @!attribute zip
158
- # The ZIP or postal code of the address. Required in certain countries.
159
- #
160
- # @return [String, nil]
161
- optional :zip, String
162
-
163
- # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
164
- # Some parameter documentations has been truncated, see
165
- # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address}
166
- # for more details.
167
- #
168
- # The individual's physical address. Mail receiving locations like PO Boxes and
169
- # PMB's are disallowed.
170
- #
171
- # @param city [String] The city, district, town, or village of the address.
172
- #
173
- # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
174
- #
175
- # @param line1 [String] The first line of the address. This is usually the street number and street.
176
- #
177
- # @param line2 [String] The second line of the address. This might be the floor or room number.
178
- #
179
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
180
- #
181
- # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
182
- end
183
-
184
- # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual#identification
185
- class Identification < Increase::Internal::Type::BaseModel
186
- # @!attribute method_
187
- # A method that can be used to verify the individual's identity.
188
- #
189
- # @return [Symbol, Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Method]
190
- required :method_,
191
- enum: -> {
192
- Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Method
193
- },
194
- api_name: :method
195
-
196
- # @!attribute number
197
- # An identification number that can be used to verify the individual's identity,
198
- # such as a social security number.
199
- #
200
- # @return [String]
201
- required :number, String
202
-
203
- # @!attribute drivers_license
204
- # Information about the United States driver's license used for identification.
205
- # Required if `method` is equal to `drivers_license`.
206
- #
207
- # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense, nil]
208
- optional :drivers_license,
209
- -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense }
210
-
211
- # @!attribute other
212
- # Information about the identification document provided. Required if `method` is
213
- # equal to `other`.
214
- #
215
- # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other, nil]
216
- optional :other,
217
- -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other }
218
-
219
- # @!attribute passport
220
- # Information about the passport used for identification. Required if `method` is
221
- # equal to `passport`.
222
- #
223
- # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport, nil]
224
- optional :passport,
225
- -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport }
226
-
227
- # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil)
228
- # Some parameter documentations has been truncated, see
229
- # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification}
230
- # for more details.
231
- #
232
- # A means of verifying the person's identity.
233
- #
234
- # @param method_ [Symbol, Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity.
235
- #
236
- # @param number [String] An identification number that can be used to verify the individual's identity, s
237
- #
238
- # @param drivers_license [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense] Information about the United States driver's license used for identification. Re
239
- #
240
- # @param other [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other] Information about the identification document provided. Required if `method` is
241
- #
242
- # @param passport [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport] Information about the passport used for identification. Required if `method` is
243
-
244
- # A method that can be used to verify the individual's identity.
245
- #
246
- # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#method_
247
- module Method
248
- extend Increase::Internal::Type::Enum
249
-
250
- # A social security number.
251
- SOCIAL_SECURITY_NUMBER = :social_security_number
252
-
253
- # An individual taxpayer identification number (ITIN).
254
- INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
255
-
256
- # A passport number.
257
- PASSPORT = :passport
258
-
259
- # A driver's license number.
260
- DRIVERS_LICENSE = :drivers_license
261
-
262
- # Another identifying document.
263
- OTHER = :other
264
-
265
- # @!method self.values
266
- # @return [Array<Symbol>]
267
- end
268
-
269
- # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#drivers_license
270
- class DriversLicense < Increase::Internal::Type::BaseModel
271
- # @!attribute expiration_date
272
- # The driver's license's expiration date in YYYY-MM-DD format.
273
- #
274
- # @return [Date]
275
- required :expiration_date, Date
276
-
277
- # @!attribute file_id
278
- # The identifier of the File containing the front of the driver's license.
279
- #
280
- # @return [String]
281
- required :file_id, String
282
-
283
- # @!attribute state
284
- # The state that issued the provided driver's license.
285
- #
286
- # @return [String]
287
- required :state, String
288
-
289
- # @!attribute back_file_id
290
- # The identifier of the File containing the back of the driver's license.
291
- #
292
- # @return [String, nil]
293
- optional :back_file_id, String
294
-
295
- # @!method initialize(expiration_date:, file_id:, state:, back_file_id: nil)
296
- # Information about the United States driver's license used for identification.
297
- # Required if `method` is equal to `drivers_license`.
298
- #
299
- # @param expiration_date [Date] The driver's license's expiration date in YYYY-MM-DD format.
300
- #
301
- # @param file_id [String] The identifier of the File containing the front of the driver's license.
302
- #
303
- # @param state [String] The state that issued the provided driver's license.
304
- #
305
- # @param back_file_id [String] The identifier of the File containing the back of the driver's license.
306
- end
307
-
308
- # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#other
309
- class Other < Increase::Internal::Type::BaseModel
310
- # @!attribute country
311
- # The two-character ISO 3166-1 code representing the country that issued the
312
- # document (e.g., `US`).
313
- #
314
- # @return [String]
315
- required :country, String
316
-
317
- # @!attribute description
318
- # A description of the document submitted.
319
- #
320
- # @return [String]
321
- required :description, String
322
-
323
- # @!attribute file_id
324
- # The identifier of the File containing the front of the document.
325
- #
326
- # @return [String]
327
- required :file_id, String
328
-
329
- # @!attribute back_file_id
330
- # The identifier of the File containing the back of the document. Not every
331
- # document has a reverse side.
332
- #
333
- # @return [String, nil]
334
- optional :back_file_id, String
335
-
336
- # @!attribute expiration_date
337
- # The document's expiration date in YYYY-MM-DD format.
338
- #
339
- # @return [Date, nil]
340
- optional :expiration_date, Date
341
-
342
- # @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil)
343
- # Some parameter documentations has been truncated, see
344
- # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other}
345
- # for more details.
346
- #
347
- # Information about the identification document provided. Required if `method` is
348
- # equal to `other`.
349
- #
350
- # @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
351
- #
352
- # @param description [String] A description of the document submitted.
353
- #
354
- # @param file_id [String] The identifier of the File containing the front of the document.
355
- #
356
- # @param back_file_id [String] The identifier of the File containing the back of the document. Not every docume
357
- #
358
- # @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format.
359
- end
360
-
361
- # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#passport
362
- class Passport < Increase::Internal::Type::BaseModel
363
- # @!attribute country
364
- # The two-character ISO 3166-1 code representing the country that issued the
365
- # document (e.g., `US`).
366
- #
367
- # @return [String]
368
- required :country, String
369
-
370
- # @!attribute expiration_date
371
- # The passport's expiration date in YYYY-MM-DD format.
372
- #
373
- # @return [Date]
374
- required :expiration_date, Date
375
-
376
- # @!attribute file_id
377
- # The identifier of the File containing the passport.
378
- #
379
- # @return [String]
380
- required :file_id, String
381
-
382
- # @!method initialize(country:, expiration_date:, file_id:)
383
- # Some parameter documentations has been truncated, see
384
- # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport}
385
- # for more details.
386
- #
387
- # Information about the passport used for identification. Required if `method` is
388
- # equal to `passport`.
389
- #
390
- # @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
391
- #
392
- # @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
393
- #
394
- # @param file_id [String] The identifier of the File containing the passport.
395
- end
396
- end
397
- end
398
-
399
- module Prong
400
- extend Increase::Internal::Type::Enum
401
-
402
- # A person with 25% or greater direct or indirect ownership of the entity.
403
- OWNERSHIP = :ownership
404
-
405
- # A person who manages, directs, or has significant control of the entity.
406
- CONTROL = :control
407
-
408
- # @!method self.values
409
- # @return [Array<Symbol>]
410
- end
411
- end
412
- end
413
- end
414
- end