increase 1.237.0 → 1.239.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/client.rb +4 -0
- data/lib/increase/models/beneficial_owner_list_params.rb +54 -0
- data/lib/increase/models/beneficial_owner_retrieve_params.rb +22 -0
- data/lib/increase/models/card_payment.rb +139 -90
- data/lib/increase/models/entity.rb +3 -207
- data/lib/increase/models/entity_beneficial_owner.rb +238 -0
- data/lib/increase/models/real_time_decision.rb +138 -86
- data/lib/increase/models.rb +6 -0
- data/lib/increase/resources/beneficial_owners.rb +67 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +4 -0
- data/rbi/increase/client.rbi +3 -0
- data/rbi/increase/models/beneficial_owner_list_params.rbi +89 -0
- data/rbi/increase/models/beneficial_owner_retrieve_params.rbi +46 -0
- data/rbi/increase/models/card_payment.rbi +316 -165
- data/rbi/increase/models/entity.rbi +3 -403
- data/rbi/increase/models/entity_beneficial_owner.rbi +412 -0
- data/rbi/increase/models/real_time_decision.rbi +316 -165
- data/rbi/increase/models.rbi +7 -0
- data/rbi/increase/resources/beneficial_owners.rbi +54 -0
- data/sig/increase/client.rbs +2 -0
- data/sig/increase/models/beneficial_owner_list_params.rbs +47 -0
- data/sig/increase/models/beneficial_owner_retrieve_params.rbs +24 -0
- data/sig/increase/models/card_payment.rbs +115 -67
- data/sig/increase/models/entity.rbs +4 -174
- data/sig/increase/models/entity_beneficial_owner.rbs +193 -0
- data/sig/increase/models/real_time_decision.rbs +114 -67
- data/sig/increase/models.rbs +6 -0
- data/sig/increase/resources/beneficial_owners.rbs +20 -0
- metadata +14 -2
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type beneficial_owner_list_params =
|
|
4
|
+
{
|
|
5
|
+
entity_id: String,
|
|
6
|
+
cursor: String,
|
|
7
|
+
idempotency_key: String,
|
|
8
|
+
limit: Integer
|
|
9
|
+
}
|
|
10
|
+
& Increase::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class BeneficialOwnerListParams < Increase::Internal::Type::BaseModel
|
|
13
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Increase::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_accessor entity_id: String
|
|
17
|
+
|
|
18
|
+
attr_reader cursor: String?
|
|
19
|
+
|
|
20
|
+
def cursor=: (String) -> String
|
|
21
|
+
|
|
22
|
+
attr_reader idempotency_key: String?
|
|
23
|
+
|
|
24
|
+
def idempotency_key=: (String) -> String
|
|
25
|
+
|
|
26
|
+
attr_reader limit: Integer?
|
|
27
|
+
|
|
28
|
+
def limit=: (Integer) -> Integer
|
|
29
|
+
|
|
30
|
+
def initialize: (
|
|
31
|
+
entity_id: String,
|
|
32
|
+
?cursor: String,
|
|
33
|
+
?idempotency_key: String,
|
|
34
|
+
?limit: Integer,
|
|
35
|
+
?request_options: Increase::request_opts
|
|
36
|
+
) -> void
|
|
37
|
+
|
|
38
|
+
def to_hash: -> {
|
|
39
|
+
entity_id: String,
|
|
40
|
+
cursor: String,
|
|
41
|
+
idempotency_key: String,
|
|
42
|
+
limit: Integer,
|
|
43
|
+
request_options: Increase::RequestOptions
|
|
44
|
+
}
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type beneficial_owner_retrieve_params =
|
|
4
|
+
{ entity_beneficial_owner_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class BeneficialOwnerRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor entity_beneficial_owner_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
entity_beneficial_owner_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
entity_beneficial_owner_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -222,7 +222,6 @@ module Increase
|
|
|
222
222
|
card_payment_id: String,
|
|
223
223
|
cardholder_email: String?,
|
|
224
224
|
cardholder_name: String?,
|
|
225
|
-
category: Increase::Models::CardPayment::Element::CardAuthentication::category?,
|
|
226
225
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
227
226
|
created_at: Time,
|
|
228
227
|
deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?,
|
|
@@ -232,10 +231,8 @@ module Increase
|
|
|
232
231
|
merchant_category_code: String?,
|
|
233
232
|
merchant_country: String?,
|
|
234
233
|
merchant_name: String?,
|
|
234
|
+
message_category: Increase::CardPayment::Element::CardAuthentication::MessageCategory,
|
|
235
235
|
prior_authenticated_card_payment_id: String?,
|
|
236
|
-
purchase_amount: Integer?,
|
|
237
|
-
purchase_amount_cardholder_estimated: Integer?,
|
|
238
|
-
purchase_currency: String?,
|
|
239
236
|
real_time_decision_id: String?,
|
|
240
237
|
requestor_authentication_indicator: Increase::Models::CardPayment::Element::CardAuthentication::requestor_authentication_indicator?,
|
|
241
238
|
requestor_challenge_indicator: Increase::Models::CardPayment::Element::CardAuthentication::requestor_challenge_indicator?,
|
|
@@ -250,7 +247,6 @@ module Increase
|
|
|
250
247
|
shipping_address_state: String?,
|
|
251
248
|
status: Increase::Models::CardPayment::Element::CardAuthentication::status,
|
|
252
249
|
three_d_secure_server_transaction_id: String,
|
|
253
|
-
transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::transaction_type?,
|
|
254
250
|
type: Increase::Models::CardPayment::Element::CardAuthentication::type_
|
|
255
251
|
}
|
|
256
252
|
|
|
@@ -281,8 +277,6 @@ module Increase
|
|
|
281
277
|
|
|
282
278
|
attr_accessor cardholder_name: String?
|
|
283
279
|
|
|
284
|
-
attr_accessor category: Increase::Models::CardPayment::Element::CardAuthentication::category?
|
|
285
|
-
|
|
286
280
|
attr_accessor challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?
|
|
287
281
|
|
|
288
282
|
attr_accessor created_at: Time
|
|
@@ -301,13 +295,9 @@ module Increase
|
|
|
301
295
|
|
|
302
296
|
attr_accessor merchant_name: String?
|
|
303
297
|
|
|
304
|
-
attr_accessor
|
|
305
|
-
|
|
306
|
-
attr_accessor purchase_amount: Integer?
|
|
298
|
+
attr_accessor message_category: Increase::CardPayment::Element::CardAuthentication::MessageCategory
|
|
307
299
|
|
|
308
|
-
attr_accessor
|
|
309
|
-
|
|
310
|
-
attr_accessor purchase_currency: String?
|
|
300
|
+
attr_accessor prior_authenticated_card_payment_id: String?
|
|
311
301
|
|
|
312
302
|
attr_accessor real_time_decision_id: String?
|
|
313
303
|
|
|
@@ -337,8 +327,6 @@ module Increase
|
|
|
337
327
|
|
|
338
328
|
attr_accessor three_d_secure_server_transaction_id: String
|
|
339
329
|
|
|
340
|
-
attr_accessor transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::transaction_type?
|
|
341
|
-
|
|
342
330
|
attr_accessor type: Increase::Models::CardPayment::Element::CardAuthentication::type_
|
|
343
331
|
|
|
344
332
|
def initialize: (
|
|
@@ -355,7 +343,6 @@ module Increase
|
|
|
355
343
|
card_payment_id: String,
|
|
356
344
|
cardholder_email: String?,
|
|
357
345
|
cardholder_name: String?,
|
|
358
|
-
category: Increase::Models::CardPayment::Element::CardAuthentication::category?,
|
|
359
346
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
360
347
|
created_at: Time,
|
|
361
348
|
deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?,
|
|
@@ -365,10 +352,8 @@ module Increase
|
|
|
365
352
|
merchant_category_code: String?,
|
|
366
353
|
merchant_country: String?,
|
|
367
354
|
merchant_name: String?,
|
|
355
|
+
message_category: Increase::CardPayment::Element::CardAuthentication::MessageCategory,
|
|
368
356
|
prior_authenticated_card_payment_id: String?,
|
|
369
|
-
purchase_amount: Integer?,
|
|
370
|
-
purchase_amount_cardholder_estimated: Integer?,
|
|
371
|
-
purchase_currency: String?,
|
|
372
357
|
real_time_decision_id: String?,
|
|
373
358
|
requestor_authentication_indicator: Increase::Models::CardPayment::Element::CardAuthentication::requestor_authentication_indicator?,
|
|
374
359
|
requestor_challenge_indicator: Increase::Models::CardPayment::Element::CardAuthentication::requestor_challenge_indicator?,
|
|
@@ -383,7 +368,6 @@ module Increase
|
|
|
383
368
|
shipping_address_state: String?,
|
|
384
369
|
status: Increase::Models::CardPayment::Element::CardAuthentication::status,
|
|
385
370
|
three_d_secure_server_transaction_id: String,
|
|
386
|
-
transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::transaction_type?,
|
|
387
371
|
type: Increase::Models::CardPayment::Element::CardAuthentication::type_
|
|
388
372
|
) -> void
|
|
389
373
|
|
|
@@ -401,7 +385,6 @@ module Increase
|
|
|
401
385
|
card_payment_id: String,
|
|
402
386
|
cardholder_email: String?,
|
|
403
387
|
cardholder_name: String?,
|
|
404
|
-
category: Increase::Models::CardPayment::Element::CardAuthentication::category?,
|
|
405
388
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
406
389
|
created_at: Time,
|
|
407
390
|
deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?,
|
|
@@ -411,10 +394,8 @@ module Increase
|
|
|
411
394
|
merchant_category_code: String?,
|
|
412
395
|
merchant_country: String?,
|
|
413
396
|
merchant_name: String?,
|
|
397
|
+
message_category: Increase::CardPayment::Element::CardAuthentication::MessageCategory,
|
|
414
398
|
prior_authenticated_card_payment_id: String?,
|
|
415
|
-
purchase_amount: Integer?,
|
|
416
|
-
purchase_amount_cardholder_estimated: Integer?,
|
|
417
|
-
purchase_currency: String?,
|
|
418
399
|
real_time_decision_id: String?,
|
|
419
400
|
requestor_authentication_indicator: Increase::Models::CardPayment::Element::CardAuthentication::requestor_authentication_indicator?,
|
|
420
401
|
requestor_challenge_indicator: Increase::Models::CardPayment::Element::CardAuthentication::requestor_challenge_indicator?,
|
|
@@ -429,24 +410,9 @@ module Increase
|
|
|
429
410
|
shipping_address_state: String?,
|
|
430
411
|
status: Increase::Models::CardPayment::Element::CardAuthentication::status,
|
|
431
412
|
three_d_secure_server_transaction_id: String,
|
|
432
|
-
transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::transaction_type?,
|
|
433
413
|
type: Increase::Models::CardPayment::Element::CardAuthentication::type_
|
|
434
414
|
}
|
|
435
415
|
|
|
436
|
-
type category = :payment_authentication | :non_payment_authentication
|
|
437
|
-
|
|
438
|
-
module Category
|
|
439
|
-
extend Increase::Internal::Type::Enum
|
|
440
|
-
|
|
441
|
-
# The authentication attempt is for a payment.
|
|
442
|
-
PAYMENT_AUTHENTICATION: :payment_authentication
|
|
443
|
-
|
|
444
|
-
# The authentication attempt is not for a payment.
|
|
445
|
-
NON_PAYMENT_AUTHENTICATION: :non_payment_authentication
|
|
446
|
-
|
|
447
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::category]
|
|
448
|
-
end
|
|
449
|
-
|
|
450
416
|
type challenge =
|
|
451
417
|
{
|
|
452
418
|
attempts: ::Array[Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt],
|
|
@@ -765,6 +731,116 @@ module Increase
|
|
|
765
731
|
end
|
|
766
732
|
end
|
|
767
733
|
|
|
734
|
+
type message_category =
|
|
735
|
+
{
|
|
736
|
+
category: Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::category,
|
|
737
|
+
non_payment: Increase::CardPayment::Element::CardAuthentication::MessageCategory::NonPayment?,
|
|
738
|
+
payment: Increase::CardPayment::Element::CardAuthentication::MessageCategory::Payment?
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
class MessageCategory < Increase::Internal::Type::BaseModel
|
|
742
|
+
attr_accessor category: Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::category
|
|
743
|
+
|
|
744
|
+
attr_accessor non_payment: Increase::CardPayment::Element::CardAuthentication::MessageCategory::NonPayment?
|
|
745
|
+
|
|
746
|
+
attr_accessor payment: Increase::CardPayment::Element::CardAuthentication::MessageCategory::Payment?
|
|
747
|
+
|
|
748
|
+
def initialize: (
|
|
749
|
+
category: Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::category,
|
|
750
|
+
non_payment: Increase::CardPayment::Element::CardAuthentication::MessageCategory::NonPayment?,
|
|
751
|
+
payment: Increase::CardPayment::Element::CardAuthentication::MessageCategory::Payment?
|
|
752
|
+
) -> void
|
|
753
|
+
|
|
754
|
+
def to_hash: -> {
|
|
755
|
+
category: Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::category,
|
|
756
|
+
non_payment: Increase::CardPayment::Element::CardAuthentication::MessageCategory::NonPayment?,
|
|
757
|
+
payment: Increase::CardPayment::Element::CardAuthentication::MessageCategory::Payment?
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
type category =
|
|
761
|
+
:payment_authentication | :non_payment_authentication
|
|
762
|
+
|
|
763
|
+
module Category
|
|
764
|
+
extend Increase::Internal::Type::Enum
|
|
765
|
+
|
|
766
|
+
# The authentication attempt is for a payment.
|
|
767
|
+
PAYMENT_AUTHENTICATION: :payment_authentication
|
|
768
|
+
|
|
769
|
+
# The authentication attempt is not for a payment.
|
|
770
|
+
NON_PAYMENT_AUTHENTICATION: :non_payment_authentication
|
|
771
|
+
|
|
772
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::category]
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
type non_payment = { }
|
|
776
|
+
|
|
777
|
+
class NonPayment < Increase::Internal::Type::BaseModel
|
|
778
|
+
def initialize: -> void
|
|
779
|
+
|
|
780
|
+
def to_hash: -> { }
|
|
781
|
+
end
|
|
782
|
+
|
|
783
|
+
type payment =
|
|
784
|
+
{
|
|
785
|
+
purchase_amount: Integer,
|
|
786
|
+
purchase_amount_cardholder_estimated: Integer?,
|
|
787
|
+
purchase_currency: String,
|
|
788
|
+
transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::Payment::transaction_type?
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
class Payment < Increase::Internal::Type::BaseModel
|
|
792
|
+
attr_accessor purchase_amount: Integer
|
|
793
|
+
|
|
794
|
+
attr_accessor purchase_amount_cardholder_estimated: Integer?
|
|
795
|
+
|
|
796
|
+
attr_accessor purchase_currency: String
|
|
797
|
+
|
|
798
|
+
attr_accessor transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::Payment::transaction_type?
|
|
799
|
+
|
|
800
|
+
def initialize: (
|
|
801
|
+
purchase_amount: Integer,
|
|
802
|
+
purchase_amount_cardholder_estimated: Integer?,
|
|
803
|
+
purchase_currency: String,
|
|
804
|
+
transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::Payment::transaction_type?
|
|
805
|
+
) -> void
|
|
806
|
+
|
|
807
|
+
def to_hash: -> {
|
|
808
|
+
purchase_amount: Integer,
|
|
809
|
+
purchase_amount_cardholder_estimated: Integer?,
|
|
810
|
+
purchase_currency: String,
|
|
811
|
+
transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::Payment::transaction_type?
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
type transaction_type =
|
|
815
|
+
:goods_service_purchase
|
|
816
|
+
| :check_acceptance
|
|
817
|
+
| :account_funding
|
|
818
|
+
| :quasi_cash_transaction
|
|
819
|
+
| :prepaid_activation_and_load
|
|
820
|
+
|
|
821
|
+
module TransactionType
|
|
822
|
+
extend Increase::Internal::Type::Enum
|
|
823
|
+
|
|
824
|
+
# Purchase of goods or services.
|
|
825
|
+
GOODS_SERVICE_PURCHASE: :goods_service_purchase
|
|
826
|
+
|
|
827
|
+
# Check acceptance.
|
|
828
|
+
CHECK_ACCEPTANCE: :check_acceptance
|
|
829
|
+
|
|
830
|
+
# Account funding.
|
|
831
|
+
ACCOUNT_FUNDING: :account_funding
|
|
832
|
+
|
|
833
|
+
# Quasi-cash transaction.
|
|
834
|
+
QUASI_CASH_TRANSACTION: :quasi_cash_transaction
|
|
835
|
+
|
|
836
|
+
# Prepaid activation and load.
|
|
837
|
+
PREPAID_ACTIVATION_AND_LOAD: :prepaid_activation_and_load
|
|
838
|
+
|
|
839
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::MessageCategory::Payment::transaction_type]
|
|
840
|
+
end
|
|
841
|
+
end
|
|
842
|
+
end
|
|
843
|
+
|
|
768
844
|
type requestor_authentication_indicator =
|
|
769
845
|
:payment_transaction
|
|
770
846
|
| :recurring_transaction
|
|
@@ -889,34 +965,6 @@ module Increase
|
|
|
889
965
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::status]
|
|
890
966
|
end
|
|
891
967
|
|
|
892
|
-
type transaction_type =
|
|
893
|
-
:goods_service_purchase
|
|
894
|
-
| :check_acceptance
|
|
895
|
-
| :account_funding
|
|
896
|
-
| :quasi_cash_transaction
|
|
897
|
-
| :prepaid_activation_and_load
|
|
898
|
-
|
|
899
|
-
module TransactionType
|
|
900
|
-
extend Increase::Internal::Type::Enum
|
|
901
|
-
|
|
902
|
-
# Purchase of goods or services.
|
|
903
|
-
GOODS_SERVICE_PURCHASE: :goods_service_purchase
|
|
904
|
-
|
|
905
|
-
# Check acceptance.
|
|
906
|
-
CHECK_ACCEPTANCE: :check_acceptance
|
|
907
|
-
|
|
908
|
-
# Account funding.
|
|
909
|
-
ACCOUNT_FUNDING: :account_funding
|
|
910
|
-
|
|
911
|
-
# Quasi-cash transaction.
|
|
912
|
-
QUASI_CASH_TRANSACTION: :quasi_cash_transaction
|
|
913
|
-
|
|
914
|
-
# Prepaid activation and load.
|
|
915
|
-
PREPAID_ACTIVATION_AND_LOAD: :prepaid_activation_and_load
|
|
916
|
-
|
|
917
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::transaction_type]
|
|
918
|
-
end
|
|
919
|
-
|
|
920
968
|
type type_ = :card_authentication
|
|
921
969
|
|
|
922
970
|
module Type
|
|
@@ -99,7 +99,7 @@ module Increase
|
|
|
99
99
|
type corporation =
|
|
100
100
|
{
|
|
101
101
|
address: Increase::Entity::Corporation::Address,
|
|
102
|
-
beneficial_owners: ::Array[Increase::
|
|
102
|
+
beneficial_owners: ::Array[Increase::EntityBeneficialOwner],
|
|
103
103
|
email: String?,
|
|
104
104
|
incorporation_state: String?,
|
|
105
105
|
industry_code: String?,
|
|
@@ -111,7 +111,7 @@ module Increase
|
|
|
111
111
|
class Corporation < Increase::Internal::Type::BaseModel
|
|
112
112
|
attr_accessor address: Increase::Entity::Corporation::Address
|
|
113
113
|
|
|
114
|
-
attr_accessor beneficial_owners: ::Array[Increase::
|
|
114
|
+
attr_accessor beneficial_owners: ::Array[Increase::EntityBeneficialOwner]
|
|
115
115
|
|
|
116
116
|
attr_accessor email: String?
|
|
117
117
|
|
|
@@ -127,7 +127,7 @@ module Increase
|
|
|
127
127
|
|
|
128
128
|
def initialize: (
|
|
129
129
|
address: Increase::Entity::Corporation::Address,
|
|
130
|
-
beneficial_owners: ::Array[Increase::
|
|
130
|
+
beneficial_owners: ::Array[Increase::EntityBeneficialOwner],
|
|
131
131
|
email: String?,
|
|
132
132
|
incorporation_state: String?,
|
|
133
133
|
industry_code: String?,
|
|
@@ -138,7 +138,7 @@ module Increase
|
|
|
138
138
|
|
|
139
139
|
def to_hash: -> {
|
|
140
140
|
address: Increase::Entity::Corporation::Address,
|
|
141
|
-
beneficial_owners: ::Array[Increase::
|
|
141
|
+
beneficial_owners: ::Array[Increase::EntityBeneficialOwner],
|
|
142
142
|
email: String?,
|
|
143
143
|
incorporation_state: String?,
|
|
144
144
|
industry_code: String?,
|
|
@@ -183,176 +183,6 @@ module Increase
|
|
|
183
183
|
zip: String
|
|
184
184
|
}
|
|
185
185
|
end
|
|
186
|
-
|
|
187
|
-
type beneficial_owner =
|
|
188
|
-
{
|
|
189
|
-
id: String,
|
|
190
|
-
company_title: String?,
|
|
191
|
-
individual: Increase::Entity::Corporation::BeneficialOwner::Individual,
|
|
192
|
-
prongs: ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
class BeneficialOwner < Increase::Internal::Type::BaseModel
|
|
196
|
-
attr_accessor id: String
|
|
197
|
-
|
|
198
|
-
attr_accessor company_title: String?
|
|
199
|
-
|
|
200
|
-
attr_accessor individual: Increase::Entity::Corporation::BeneficialOwner::Individual
|
|
201
|
-
|
|
202
|
-
attr_accessor prongs: ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
203
|
-
|
|
204
|
-
def initialize: (
|
|
205
|
-
id: String,
|
|
206
|
-
company_title: String?,
|
|
207
|
-
individual: Increase::Entity::Corporation::BeneficialOwner::Individual,
|
|
208
|
-
prongs: ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
209
|
-
) -> void
|
|
210
|
-
|
|
211
|
-
def to_hash: -> {
|
|
212
|
-
id: String,
|
|
213
|
-
company_title: String?,
|
|
214
|
-
individual: Increase::Entity::Corporation::BeneficialOwner::Individual,
|
|
215
|
-
prongs: ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
type individual =
|
|
219
|
-
{
|
|
220
|
-
address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address,
|
|
221
|
-
date_of_birth: Date,
|
|
222
|
-
identification: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification,
|
|
223
|
-
name: String
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
class Individual < Increase::Internal::Type::BaseModel
|
|
227
|
-
attr_accessor address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address
|
|
228
|
-
|
|
229
|
-
attr_accessor date_of_birth: Date
|
|
230
|
-
|
|
231
|
-
attr_accessor identification: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification
|
|
232
|
-
|
|
233
|
-
attr_accessor name: String
|
|
234
|
-
|
|
235
|
-
def initialize: (
|
|
236
|
-
address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address,
|
|
237
|
-
date_of_birth: Date,
|
|
238
|
-
identification: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification,
|
|
239
|
-
name: String
|
|
240
|
-
) -> void
|
|
241
|
-
|
|
242
|
-
def to_hash: -> {
|
|
243
|
-
address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address,
|
|
244
|
-
date_of_birth: Date,
|
|
245
|
-
identification: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification,
|
|
246
|
-
name: String
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
type address =
|
|
250
|
-
{
|
|
251
|
-
city: String?,
|
|
252
|
-
country: String,
|
|
253
|
-
:line1 => String,
|
|
254
|
-
:line2 => String?,
|
|
255
|
-
state: String?,
|
|
256
|
-
zip: String?
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
class Address < Increase::Internal::Type::BaseModel
|
|
260
|
-
attr_accessor city: String?
|
|
261
|
-
|
|
262
|
-
attr_accessor country: String
|
|
263
|
-
|
|
264
|
-
attr_accessor line1: String
|
|
265
|
-
|
|
266
|
-
attr_accessor line2: String?
|
|
267
|
-
|
|
268
|
-
attr_accessor state: String?
|
|
269
|
-
|
|
270
|
-
attr_accessor zip: String?
|
|
271
|
-
|
|
272
|
-
def initialize: (
|
|
273
|
-
city: String?,
|
|
274
|
-
country: String,
|
|
275
|
-
line1: String,
|
|
276
|
-
line2: String?,
|
|
277
|
-
state: String?,
|
|
278
|
-
zip: String?
|
|
279
|
-
) -> void
|
|
280
|
-
|
|
281
|
-
def to_hash: -> {
|
|
282
|
-
city: String?,
|
|
283
|
-
country: String,
|
|
284
|
-
:line1 => String,
|
|
285
|
-
:line2 => String?,
|
|
286
|
-
state: String?,
|
|
287
|
-
zip: String?
|
|
288
|
-
}
|
|
289
|
-
end
|
|
290
|
-
|
|
291
|
-
type identification =
|
|
292
|
-
{
|
|
293
|
-
method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_,
|
|
294
|
-
:number_last4 => String
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
class Identification < Increase::Internal::Type::BaseModel
|
|
298
|
-
attr_accessor method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_
|
|
299
|
-
|
|
300
|
-
attr_accessor number_last4: String
|
|
301
|
-
|
|
302
|
-
def initialize: (
|
|
303
|
-
method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_,
|
|
304
|
-
number_last4: String
|
|
305
|
-
) -> void
|
|
306
|
-
|
|
307
|
-
def to_hash: -> {
|
|
308
|
-
method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_,
|
|
309
|
-
:number_last4 => String
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
type method_ =
|
|
313
|
-
:social_security_number
|
|
314
|
-
| :individual_taxpayer_identification_number
|
|
315
|
-
| :passport
|
|
316
|
-
| :drivers_license
|
|
317
|
-
| :other
|
|
318
|
-
|
|
319
|
-
module Method
|
|
320
|
-
extend Increase::Internal::Type::Enum
|
|
321
|
-
|
|
322
|
-
# A social security number.
|
|
323
|
-
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
324
|
-
|
|
325
|
-
# An individual taxpayer identification number (ITIN).
|
|
326
|
-
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
|
|
327
|
-
|
|
328
|
-
# A passport number.
|
|
329
|
-
PASSPORT: :passport
|
|
330
|
-
|
|
331
|
-
# A driver's license number.
|
|
332
|
-
DRIVERS_LICENSE: :drivers_license
|
|
333
|
-
|
|
334
|
-
# Another identifying document.
|
|
335
|
-
OTHER: :other
|
|
336
|
-
|
|
337
|
-
def self?.values: -> ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_]
|
|
338
|
-
end
|
|
339
|
-
end
|
|
340
|
-
end
|
|
341
|
-
|
|
342
|
-
type prong = :ownership | :control
|
|
343
|
-
|
|
344
|
-
module Prong
|
|
345
|
-
extend Increase::Internal::Type::Enum
|
|
346
|
-
|
|
347
|
-
# A person with 25% or greater direct or indirect ownership of the entity.
|
|
348
|
-
OWNERSHIP: :ownership
|
|
349
|
-
|
|
350
|
-
# A person who manages, directs, or has significant control of the entity.
|
|
351
|
-
CONTROL: :control
|
|
352
|
-
|
|
353
|
-
def self?.values: -> ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
|
|
354
|
-
end
|
|
355
|
-
end
|
|
356
186
|
end
|
|
357
187
|
|
|
358
188
|
type government_authority =
|