increase 1.363.0 → 1.364.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/README.md +1 -1
- data/lib/increase/client.rb +8 -0
- data/lib/increase/models/account_number.rb +51 -81
- data/lib/increase/models/account_number_create_params.rb +41 -75
- data/lib/increase/models/account_number_list_params.rb +39 -39
- data/lib/increase/models/account_number_update_params.rb +48 -79
- data/lib/increase/models/card_payment.rb +6 -0
- data/lib/increase/models/card_update_params.rb +12 -8
- data/lib/increase/models/checkbook.rb +352 -0
- data/lib/increase/models/checkbook_check.rb +100 -0
- data/lib/increase/models/checkbook_check_list_params.rb +61 -0
- data/lib/increase/models/checkbook_check_retrieve_params.rb +22 -0
- data/lib/increase/models/checkbook_check_stop_params.rb +22 -0
- data/lib/increase/models/checkbook_create_params.rb +111 -0
- data/lib/increase/models/checkbook_list_params.rb +104 -0
- data/lib/increase/models/checkbook_retrieve_params.rb +22 -0
- data/lib/increase/models/checkbook_stop_params.rb +22 -0
- data/lib/increase/models/declined_transaction.rb +10 -1
- data/lib/increase/models/entity.rb +1 -65
- data/lib/increase/models/entity_create_params.rb +1 -65
- data/lib/increase/models/entity_update_params.rb +1 -57
- data/lib/increase/models/inbound_ach_transfer.rb +6 -6
- data/lib/increase/models/inbound_check_deposit.rb +12 -1
- data/lib/increase/models/real_time_decision.rb +65 -1
- data/lib/increase/models/simulations/checkbook_mail_params.rb +24 -0
- data/lib/increase/models/transaction.rb +24 -2
- data/lib/increase/models.rb +18 -0
- data/lib/increase/resources/account_numbers.rb +19 -16
- data/lib/increase/resources/checkbook_checks.rb +90 -0
- data/lib/increase/resources/checkbooks.rb +127 -0
- data/lib/increase/resources/entities.rb +2 -12
- data/lib/increase/resources/simulations/checkbooks.rb +38 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +13 -0
- data/rbi/increase/client.rbi +6 -0
- data/rbi/increase/models/account_number.rbi +86 -173
- data/rbi/increase/models/account_number_create_params.rbi +87 -165
- data/rbi/increase/models/account_number_list_params.rbi +106 -105
- data/rbi/increase/models/account_number_update_params.rbi +105 -190
- data/rbi/increase/models/card_payment.rbi +14 -0
- data/rbi/increase/models/card_update_params.rbi +17 -15
- data/rbi/increase/models/checkbook.rbi +507 -0
- data/rbi/increase/models/checkbook_check.rbi +142 -0
- data/rbi/increase/models/checkbook_check_list_params.rbi +96 -0
- data/rbi/increase/models/checkbook_check_retrieve_params.rbi +46 -0
- data/rbi/increase/models/checkbook_check_stop_params.rbi +43 -0
- data/rbi/increase/models/checkbook_create_params.rbi +178 -0
- data/rbi/increase/models/checkbook_list_params.rbi +198 -0
- data/rbi/increase/models/checkbook_retrieve_params.rbi +40 -0
- data/rbi/increase/models/checkbook_stop_params.rbi +40 -0
- data/rbi/increase/models/declined_transaction.rbi +8 -0
- data/rbi/increase/models/entity.rbi +0 -97
- data/rbi/increase/models/entity_create_params.rbi +0 -119
- data/rbi/increase/models/entity_update_params.rbi +0 -108
- data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
- data/rbi/increase/models/inbound_check_deposit.rbi +10 -0
- data/rbi/increase/models/real_time_decision.rbi +134 -3
- data/rbi/increase/models/simulations/checkbook_mail_params.rbi +45 -0
- data/rbi/increase/models/transaction.rbi +30 -0
- data/rbi/increase/models.rbi +18 -0
- data/rbi/increase/resources/account_numbers.rbi +24 -19
- data/rbi/increase/resources/checkbook_checks.rbi +69 -0
- data/rbi/increase/resources/checkbooks.rbi +96 -0
- data/rbi/increase/resources/entities.rbi +0 -11
- data/rbi/increase/resources/simulations/checkbooks.rbi +30 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +4 -0
- data/sig/increase/models/account_number.rbs +34 -66
- data/sig/increase/models/account_number_create_params.rbs +30 -64
- data/sig/increase/models/account_number_list_params.rbs +44 -44
- data/sig/increase/models/account_number_update_params.rbs +39 -77
- data/sig/increase/models/card_payment.rbs +8 -0
- data/sig/increase/models/card_update_params.rbs +7 -11
- data/sig/increase/models/checkbook.rbs +272 -0
- data/sig/increase/models/checkbook_check.rbs +76 -0
- data/sig/increase/models/checkbook_check_list_params.rbs +56 -0
- data/sig/increase/models/checkbook_check_retrieve_params.rbs +24 -0
- data/sig/increase/models/checkbook_check_stop_params.rbs +24 -0
- data/sig/increase/models/checkbook_create_params.rbs +90 -0
- data/sig/increase/models/checkbook_list_params.rbs +97 -0
- data/sig/increase/models/checkbook_retrieve_params.rbs +23 -0
- data/sig/increase/models/checkbook_stop_params.rbs +23 -0
- data/sig/increase/models/declined_transaction.rbs +5 -0
- data/sig/increase/models/entity.rbs +0 -46
- data/sig/increase/models/entity_create_params.rbs +0 -55
- data/sig/increase/models/entity_update_params.rbs +0 -48
- data/sig/increase/models/inbound_check_deposit.rbs +5 -0
- data/sig/increase/models/real_time_decision.rbs +69 -3
- data/sig/increase/models/simulations/checkbook_mail_params.rbs +25 -0
- data/sig/increase/models/transaction.rbs +22 -1
- data/sig/increase/models.rbs +18 -0
- data/sig/increase/resources/account_numbers.rbs +5 -5
- data/sig/increase/resources/checkbook_checks.rbs +26 -0
- data/sig/increase/resources/checkbooks.rbs +33 -0
- data/sig/increase/resources/entities.rbs +0 -3
- data/sig/increase/resources/simulations/checkbooks.rbs +14 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +41 -2
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::Checkbooks#create
|
|
6
|
+
class CheckbookCreateParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute account_number_id
|
|
11
|
+
# The identifier of the Account Number that the checks will draw from. The Account
|
|
12
|
+
# Number must be active.
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :account_number_id, String
|
|
16
|
+
|
|
17
|
+
# @!attribute mailing_address
|
|
18
|
+
# The destination address that the Checkbook will be mailed to.
|
|
19
|
+
#
|
|
20
|
+
# @return [Increase::Models::CheckbookCreateParams::MailingAddress]
|
|
21
|
+
required :mailing_address, -> { Increase::CheckbookCreateParams::MailingAddress }
|
|
22
|
+
|
|
23
|
+
# @!attribute payer
|
|
24
|
+
# The payer of the checks. This will be printed on the top-left corner of each
|
|
25
|
+
# check. This should be an array of up to 4 elements, each of which represents a
|
|
26
|
+
# line of the payer.
|
|
27
|
+
#
|
|
28
|
+
# @return [Array<Increase::Models::CheckbookCreateParams::Payer>]
|
|
29
|
+
required :payer, -> { Increase::Internal::Type::ArrayOf[Increase::CheckbookCreateParams::Payer] }
|
|
30
|
+
|
|
31
|
+
# @!method initialize(account_number_id:, mailing_address:, payer:, request_options: {})
|
|
32
|
+
# @param account_number_id [String]
|
|
33
|
+
# The identifier of the Account Number that the checks will draw from. The Account
|
|
34
|
+
# Number must be active.
|
|
35
|
+
#
|
|
36
|
+
# @param mailing_address [Increase::Models::CheckbookCreateParams::MailingAddress]
|
|
37
|
+
# The destination address that the Checkbook will be mailed to.
|
|
38
|
+
#
|
|
39
|
+
# @param payer [Array<Increase::Models::CheckbookCreateParams::Payer>]
|
|
40
|
+
# The payer of the checks. This will be printed on the top-left corner of each
|
|
41
|
+
# check. This should be an array of up to 4 elements, each of which represents a
|
|
42
|
+
# line of the payer.
|
|
43
|
+
#
|
|
44
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
45
|
+
|
|
46
|
+
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
47
|
+
# @!attribute city
|
|
48
|
+
# The city of the destination address.
|
|
49
|
+
#
|
|
50
|
+
# @return [String]
|
|
51
|
+
required :city, String
|
|
52
|
+
|
|
53
|
+
# @!attribute line1
|
|
54
|
+
# The first line of the destination address.
|
|
55
|
+
#
|
|
56
|
+
# @return [String]
|
|
57
|
+
required :line1, String
|
|
58
|
+
|
|
59
|
+
# @!attribute name
|
|
60
|
+
# The recipient at the destination address.
|
|
61
|
+
#
|
|
62
|
+
# @return [String]
|
|
63
|
+
required :name, String
|
|
64
|
+
|
|
65
|
+
# @!attribute postal_code
|
|
66
|
+
# The postal code of the destination address.
|
|
67
|
+
#
|
|
68
|
+
# @return [String]
|
|
69
|
+
required :postal_code, String
|
|
70
|
+
|
|
71
|
+
# @!attribute state
|
|
72
|
+
# The US state of the destination address.
|
|
73
|
+
#
|
|
74
|
+
# @return [String]
|
|
75
|
+
required :state, String
|
|
76
|
+
|
|
77
|
+
# @!attribute line2
|
|
78
|
+
# The second line of the destination address.
|
|
79
|
+
#
|
|
80
|
+
# @return [String, nil]
|
|
81
|
+
optional :line2, String
|
|
82
|
+
|
|
83
|
+
# @!method initialize(city:, line1:, name:, postal_code:, state:, line2: nil)
|
|
84
|
+
# The destination address that the Checkbook will be mailed to.
|
|
85
|
+
#
|
|
86
|
+
# @param city [String] The city of the destination address.
|
|
87
|
+
#
|
|
88
|
+
# @param line1 [String] The first line of the destination address.
|
|
89
|
+
#
|
|
90
|
+
# @param name [String] The recipient at the destination address.
|
|
91
|
+
#
|
|
92
|
+
# @param postal_code [String] The postal code of the destination address.
|
|
93
|
+
#
|
|
94
|
+
# @param state [String] The US state of the destination address.
|
|
95
|
+
#
|
|
96
|
+
# @param line2 [String] The second line of the destination address.
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
class Payer < Increase::Internal::Type::BaseModel
|
|
100
|
+
# @!attribute contents
|
|
101
|
+
# The contents of the line.
|
|
102
|
+
#
|
|
103
|
+
# @return [String]
|
|
104
|
+
required :contents, String
|
|
105
|
+
|
|
106
|
+
# @!method initialize(contents:)
|
|
107
|
+
# @param contents [String] The contents of the line.
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::Checkbooks#list
|
|
6
|
+
class CheckbookListParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute account_number_id
|
|
11
|
+
# Filter Checkbooks to those attached to the specified Account Number.
|
|
12
|
+
#
|
|
13
|
+
# @return [String, nil]
|
|
14
|
+
optional :account_number_id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute cursor
|
|
17
|
+
# Return the page of entries after this one.
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
optional :cursor, String
|
|
21
|
+
|
|
22
|
+
# @!attribute idempotency_key
|
|
23
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
24
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
25
|
+
# request is only processed once. Learn more about
|
|
26
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
27
|
+
#
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
optional :idempotency_key, String
|
|
30
|
+
|
|
31
|
+
# @!attribute limit
|
|
32
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
33
|
+
# objects.
|
|
34
|
+
#
|
|
35
|
+
# Defaults to `100`.
|
|
36
|
+
#
|
|
37
|
+
# @return [Integer, nil]
|
|
38
|
+
optional :limit, Integer
|
|
39
|
+
|
|
40
|
+
# @!attribute status
|
|
41
|
+
#
|
|
42
|
+
# @return [Increase::Models::CheckbookListParams::Status, nil]
|
|
43
|
+
optional :status, -> { Increase::CheckbookListParams::Status }
|
|
44
|
+
|
|
45
|
+
# @!method initialize(account_number_id: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
|
|
46
|
+
# @param account_number_id [String] Filter Checkbooks to those attached to the specified Account Number.
|
|
47
|
+
#
|
|
48
|
+
# @param cursor [String] Return the page of entries after this one.
|
|
49
|
+
#
|
|
50
|
+
# @param idempotency_key [String]
|
|
51
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
52
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
53
|
+
# request is only processed once. Learn more about
|
|
54
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
55
|
+
#
|
|
56
|
+
# @param limit [Integer]
|
|
57
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
58
|
+
# objects.
|
|
59
|
+
#
|
|
60
|
+
# Defaults to `100`.
|
|
61
|
+
#
|
|
62
|
+
# @param status [Increase::Models::CheckbookListParams::Status]
|
|
63
|
+
#
|
|
64
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
65
|
+
|
|
66
|
+
class Status < Increase::Internal::Type::BaseModel
|
|
67
|
+
# @!attribute in_
|
|
68
|
+
# Filter Checkbooks for those with the specified status or statuses. For GET
|
|
69
|
+
# requests, this should be encoded as a comma-delimited string, such as
|
|
70
|
+
# `?in=one,two,three`.
|
|
71
|
+
#
|
|
72
|
+
# @return [Array<Symbol, Increase::Models::CheckbookListParams::Status::In>, nil]
|
|
73
|
+
optional :in_,
|
|
74
|
+
-> { Increase::Internal::Type::ArrayOf[enum: Increase::CheckbookListParams::Status::In] },
|
|
75
|
+
api_name: :in
|
|
76
|
+
|
|
77
|
+
# @!method initialize(in_: nil)
|
|
78
|
+
# @param in_ [Array<Symbol, Increase::Models::CheckbookListParams::Status::In>]
|
|
79
|
+
# Filter Checkbooks for those with the specified status or statuses. For GET
|
|
80
|
+
# requests, this should be encoded as a comma-delimited string, such as
|
|
81
|
+
# `?in=one,two,three`.
|
|
82
|
+
|
|
83
|
+
module In
|
|
84
|
+
extend Increase::Internal::Type::Enum
|
|
85
|
+
|
|
86
|
+
# The Checkbook is pending submission to the printer.
|
|
87
|
+
PENDING_SUBMISSION = :pending_submission
|
|
88
|
+
|
|
89
|
+
# The Checkbook has been submitted to the printer and is pending mailing.
|
|
90
|
+
PENDING_MAILING = :pending_mailing
|
|
91
|
+
|
|
92
|
+
# The Checkbook has been mailed.
|
|
93
|
+
MAILED = :mailed
|
|
94
|
+
|
|
95
|
+
# The Checkbook has been stopped and its checks can no longer be deposited.
|
|
96
|
+
STOPPED = :stopped
|
|
97
|
+
|
|
98
|
+
# @!method self.values
|
|
99
|
+
# @return [Array<Symbol>]
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::Checkbooks#retrieve
|
|
6
|
+
class CheckbookRetrieveParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute checkbook_id
|
|
11
|
+
# The identifier of the Checkbook.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :checkbook_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(checkbook_id:, request_options: {})
|
|
17
|
+
# @param checkbook_id [String] The identifier of the Checkbook.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::Checkbooks#stop
|
|
6
|
+
class CheckbookStopParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute checkbook_id
|
|
11
|
+
# The identifier of the Checkbook to stop.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :checkbook_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(checkbook_id:, request_options: {})
|
|
17
|
+
# @param checkbook_id [String] The identifier of the Checkbook to stop.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -2166,6 +2166,12 @@ module Increase
|
|
|
2166
2166
|
# @return [String, nil]
|
|
2167
2167
|
required :check_transfer_id, String, nil?: true
|
|
2168
2168
|
|
|
2169
|
+
# @!attribute checkbook_check_id
|
|
2170
|
+
# The identifier of the Checkbook Check object associated with this decline.
|
|
2171
|
+
#
|
|
2172
|
+
# @return [String, nil]
|
|
2173
|
+
required :checkbook_check_id, String, nil?: true
|
|
2174
|
+
|
|
2169
2175
|
# @!attribute front_image_file_id
|
|
2170
2176
|
# The identifier of the API File object containing an image of the front of the
|
|
2171
2177
|
# declined check.
|
|
@@ -2185,7 +2191,7 @@ module Increase
|
|
|
2185
2191
|
# @return [Symbol, Increase::Models::DeclinedTransaction::Source::CheckDecline::Reason]
|
|
2186
2192
|
required :reason, enum: -> { Increase::DeclinedTransaction::Source::CheckDecline::Reason }
|
|
2187
2193
|
|
|
2188
|
-
# @!method initialize(amount:, auxiliary_on_us:, back_image_file_id:, check_transfer_id:, front_image_file_id:, inbound_check_deposit_id:, reason:)
|
|
2194
|
+
# @!method initialize(amount:, auxiliary_on_us:, back_image_file_id:, check_transfer_id:, checkbook_check_id:, front_image_file_id:, inbound_check_deposit_id:, reason:)
|
|
2189
2195
|
# A Check Decline object. This field will be present in the JSON response if and
|
|
2190
2196
|
# only if `category` is equal to `check_decline`.
|
|
2191
2197
|
#
|
|
@@ -2203,6 +2209,9 @@ module Increase
|
|
|
2203
2209
|
# @param check_transfer_id [String, nil]
|
|
2204
2210
|
# The identifier of the Check Transfer object associated with this decline.
|
|
2205
2211
|
#
|
|
2212
|
+
# @param checkbook_check_id [String, nil]
|
|
2213
|
+
# The identifier of the Checkbook Check object associated with this decline.
|
|
2214
|
+
#
|
|
2206
2215
|
# @param front_image_file_id [String, nil]
|
|
2207
2216
|
# The identifier of the API File object containing an image of the front of the
|
|
2208
2217
|
# declined check.
|
|
@@ -31,12 +31,6 @@ module Increase
|
|
|
31
31
|
# @return [String, nil]
|
|
32
32
|
required :creating_entity_onboarding_session_id, String, nil?: true
|
|
33
33
|
|
|
34
|
-
# @!attribute description
|
|
35
|
-
# The entity's description for display purposes.
|
|
36
|
-
#
|
|
37
|
-
# @return [String, nil]
|
|
38
|
-
required :description, String, nil?: true
|
|
39
|
-
|
|
40
34
|
# @!attribute details_confirmed_at
|
|
41
35
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
|
|
42
36
|
# Entity's details were most recently confirmed.
|
|
@@ -72,13 +66,6 @@ module Increase
|
|
|
72
66
|
# @return [Increase::Models::Entity::NaturalPerson, nil]
|
|
73
67
|
required :natural_person, -> { Increase::Entity::NaturalPerson }, nil?: true
|
|
74
68
|
|
|
75
|
-
# @!attribute risk_rating
|
|
76
|
-
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
77
|
-
# such as money laundering.
|
|
78
|
-
#
|
|
79
|
-
# @return [Increase::Models::Entity::RiskRating, nil]
|
|
80
|
-
required :risk_rating, -> { Increase::Entity::RiskRating }, nil?: true
|
|
81
|
-
|
|
82
69
|
# @!attribute sole_proprietorship
|
|
83
70
|
# Details of the sole proprietorship entity. Will be present if `structure` is
|
|
84
71
|
# equal to `sole_proprietorship`.
|
|
@@ -142,7 +129,7 @@ module Increase
|
|
|
142
129
|
# @return [Increase::Models::Entity::Validation, nil]
|
|
143
130
|
required :validation, -> { Increase::Entity::Validation }, nil?: true
|
|
144
131
|
|
|
145
|
-
# @!method initialize(id:, corporation:, created_at:, creating_entity_onboarding_session_id:,
|
|
132
|
+
# @!method initialize(id:, corporation:, created_at:, creating_entity_onboarding_session_id:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, sole_proprietorship:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:, validation:)
|
|
146
133
|
# Entities are the legal entities that own accounts. They can be people,
|
|
147
134
|
# corporations, joint accounts, trusts, or government authorities. To learn more,
|
|
148
135
|
# see [Entities](/documentation/entities).
|
|
@@ -161,8 +148,6 @@ module Increase
|
|
|
161
148
|
# The identifier of the Entity Onboarding Session that was used to create this
|
|
162
149
|
# Entity, if any.
|
|
163
150
|
#
|
|
164
|
-
# @param description [String, nil] The entity's description for display purposes.
|
|
165
|
-
#
|
|
166
151
|
# @param details_confirmed_at [Time, nil]
|
|
167
152
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
|
|
168
153
|
# Entity's details were most recently confirmed.
|
|
@@ -183,10 +168,6 @@ module Increase
|
|
|
183
168
|
# Details of the natural person entity. Will be present if `structure` is equal to
|
|
184
169
|
# `natural_person`.
|
|
185
170
|
#
|
|
186
|
-
# @param risk_rating [Increase::Models::Entity::RiskRating, nil]
|
|
187
|
-
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
188
|
-
# such as money laundering.
|
|
189
|
-
#
|
|
190
171
|
# @param sole_proprietorship [Increase::Models::Entity::SoleProprietorship, nil]
|
|
191
172
|
# Details of the sole proprietorship entity. Will be present if `structure` is
|
|
192
173
|
# equal to `sole_proprietorship`.
|
|
@@ -1129,51 +1110,6 @@ module Increase
|
|
|
1129
1110
|
end
|
|
1130
1111
|
end
|
|
1131
1112
|
|
|
1132
|
-
# @see Increase::Models::Entity#risk_rating
|
|
1133
|
-
class RiskRating < Increase::Internal::Type::BaseModel
|
|
1134
|
-
# @!attribute rated_at
|
|
1135
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
1136
|
-
# rating was performed.
|
|
1137
|
-
#
|
|
1138
|
-
# @return [Time]
|
|
1139
|
-
required :rated_at, Time
|
|
1140
|
-
|
|
1141
|
-
# @!attribute rating
|
|
1142
|
-
# The rating given to this entity.
|
|
1143
|
-
#
|
|
1144
|
-
# @return [Symbol, Increase::Models::Entity::RiskRating::Rating]
|
|
1145
|
-
required :rating, enum: -> { Increase::Entity::RiskRating::Rating }
|
|
1146
|
-
|
|
1147
|
-
# @!method initialize(rated_at:, rating:)
|
|
1148
|
-
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
1149
|
-
# such as money laundering.
|
|
1150
|
-
#
|
|
1151
|
-
# @param rated_at [Time]
|
|
1152
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
1153
|
-
# rating was performed.
|
|
1154
|
-
#
|
|
1155
|
-
# @param rating [Symbol, Increase::Models::Entity::RiskRating::Rating] The rating given to this entity.
|
|
1156
|
-
|
|
1157
|
-
# The rating given to this entity.
|
|
1158
|
-
#
|
|
1159
|
-
# @see Increase::Models::Entity::RiskRating#rating
|
|
1160
|
-
module Rating
|
|
1161
|
-
extend Increase::Internal::Type::Enum
|
|
1162
|
-
|
|
1163
|
-
# Minimal risk of involvement in financial crime.
|
|
1164
|
-
LOW = :low
|
|
1165
|
-
|
|
1166
|
-
# Moderate risk of involvement in financial crime.
|
|
1167
|
-
MEDIUM = :medium
|
|
1168
|
-
|
|
1169
|
-
# Elevated risk of involvement in financial crime.
|
|
1170
|
-
HIGH = :high
|
|
1171
|
-
|
|
1172
|
-
# @!method self.values
|
|
1173
|
-
# @return [Array<Symbol>]
|
|
1174
|
-
end
|
|
1175
|
-
end
|
|
1176
|
-
|
|
1177
1113
|
# @see Increase::Models::Entity#sole_proprietorship
|
|
1178
1114
|
class SoleProprietorship < Increase::Internal::Type::BaseModel
|
|
1179
1115
|
# @!attribute address
|
|
@@ -20,12 +20,6 @@ module Increase
|
|
|
20
20
|
# @return [Increase::Models::EntityCreateParams::Corporation, nil]
|
|
21
21
|
optional :corporation, -> { Increase::EntityCreateParams::Corporation }
|
|
22
22
|
|
|
23
|
-
# @!attribute description
|
|
24
|
-
# The description you choose to give the entity.
|
|
25
|
-
#
|
|
26
|
-
# @return [String, nil]
|
|
27
|
-
optional :description, String
|
|
28
|
-
|
|
29
23
|
# @!attribute government_authority
|
|
30
24
|
# Details of the Government Authority entity to create. Required if `structure` is
|
|
31
25
|
# equal to `government_authority`.
|
|
@@ -49,13 +43,6 @@ module Increase
|
|
|
49
43
|
# @return [Increase::Models::EntityCreateParams::NaturalPerson, nil]
|
|
50
44
|
optional :natural_person, -> { Increase::EntityCreateParams::NaturalPerson }
|
|
51
45
|
|
|
52
|
-
# @!attribute risk_rating
|
|
53
|
-
# An assessment of the entity's potential risk of involvement in financial crimes,
|
|
54
|
-
# such as money laundering.
|
|
55
|
-
#
|
|
56
|
-
# @return [Increase::Models::EntityCreateParams::RiskRating, nil]
|
|
57
|
-
optional :risk_rating, -> { Increase::EntityCreateParams::RiskRating }
|
|
58
|
-
|
|
59
46
|
# @!attribute sole_proprietorship
|
|
60
47
|
# Details of the sole proprietorship entity to create. Required if `structure` is
|
|
61
48
|
# equal to `sole_proprietorship`.
|
|
@@ -93,15 +80,13 @@ module Increase
|
|
|
93
80
|
# @return [Increase::Models::EntityCreateParams::Trust, nil]
|
|
94
81
|
optional :trust, -> { Increase::EntityCreateParams::Trust }
|
|
95
82
|
|
|
96
|
-
# @!method initialize(structure:, corporation: nil,
|
|
83
|
+
# @!method initialize(structure:, corporation: nil, government_authority: nil, joint: nil, natural_person: nil, sole_proprietorship: nil, supplemental_documents: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
97
84
|
# @param structure [Symbol, Increase::Models::EntityCreateParams::Structure] The type of Entity to create.
|
|
98
85
|
#
|
|
99
86
|
# @param corporation [Increase::Models::EntityCreateParams::Corporation]
|
|
100
87
|
# Details of the corporation entity to create. Required if `structure` is equal to
|
|
101
88
|
# `corporation`.
|
|
102
89
|
#
|
|
103
|
-
# @param description [String] The description you choose to give the entity.
|
|
104
|
-
#
|
|
105
90
|
# @param government_authority [Increase::Models::EntityCreateParams::GovernmentAuthority]
|
|
106
91
|
# Details of the Government Authority entity to create. Required if `structure` is
|
|
107
92
|
# equal to `government_authority`.
|
|
@@ -116,10 +101,6 @@ module Increase
|
|
|
116
101
|
# `social_security_number` or `individual_taxpayer_identification_number`
|
|
117
102
|
# identification methods.
|
|
118
103
|
#
|
|
119
|
-
# @param risk_rating [Increase::Models::EntityCreateParams::RiskRating]
|
|
120
|
-
# An assessment of the entity's potential risk of involvement in financial crimes,
|
|
121
|
-
# such as money laundering.
|
|
122
|
-
#
|
|
123
104
|
# @param sole_proprietorship [Increase::Models::EntityCreateParams::SoleProprietorship]
|
|
124
105
|
# Details of the sole proprietorship entity to create. Required if `structure` is
|
|
125
106
|
# equal to `sole_proprietorship`.
|
|
@@ -1675,51 +1656,6 @@ module Increase
|
|
|
1675
1656
|
end
|
|
1676
1657
|
end
|
|
1677
1658
|
|
|
1678
|
-
class RiskRating < Increase::Internal::Type::BaseModel
|
|
1679
|
-
# @!attribute rated_at
|
|
1680
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
1681
|
-
# rating was performed.
|
|
1682
|
-
#
|
|
1683
|
-
# @return [Time]
|
|
1684
|
-
required :rated_at, Time
|
|
1685
|
-
|
|
1686
|
-
# @!attribute rating
|
|
1687
|
-
# The rating given to this entity.
|
|
1688
|
-
#
|
|
1689
|
-
# @return [Symbol, Increase::Models::EntityCreateParams::RiskRating::Rating]
|
|
1690
|
-
required :rating, enum: -> { Increase::EntityCreateParams::RiskRating::Rating }
|
|
1691
|
-
|
|
1692
|
-
# @!method initialize(rated_at:, rating:)
|
|
1693
|
-
# An assessment of the entity's potential risk of involvement in financial crimes,
|
|
1694
|
-
# such as money laundering.
|
|
1695
|
-
#
|
|
1696
|
-
# @param rated_at [Time]
|
|
1697
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
1698
|
-
# rating was performed.
|
|
1699
|
-
#
|
|
1700
|
-
# @param rating [Symbol, Increase::Models::EntityCreateParams::RiskRating::Rating]
|
|
1701
|
-
# The rating given to this entity.
|
|
1702
|
-
|
|
1703
|
-
# The rating given to this entity.
|
|
1704
|
-
#
|
|
1705
|
-
# @see Increase::Models::EntityCreateParams::RiskRating#rating
|
|
1706
|
-
module Rating
|
|
1707
|
-
extend Increase::Internal::Type::Enum
|
|
1708
|
-
|
|
1709
|
-
# Minimal risk of involvement in financial crime.
|
|
1710
|
-
LOW = :low
|
|
1711
|
-
|
|
1712
|
-
# Moderate risk of involvement in financial crime.
|
|
1713
|
-
MEDIUM = :medium
|
|
1714
|
-
|
|
1715
|
-
# Elevated risk of involvement in financial crime.
|
|
1716
|
-
HIGH = :high
|
|
1717
|
-
|
|
1718
|
-
# @!method self.values
|
|
1719
|
-
# @return [Array<Symbol>]
|
|
1720
|
-
end
|
|
1721
|
-
end
|
|
1722
|
-
|
|
1723
1659
|
class SoleProprietorship < Increase::Internal::Type::BaseModel
|
|
1724
1660
|
# @!attribute address
|
|
1725
1661
|
# The sole proprietorship's business address. Mail receiving locations like PO
|
|
@@ -42,13 +42,6 @@ module Increase
|
|
|
42
42
|
# @return [Increase::Models::EntityUpdateParams::NaturalPerson, nil]
|
|
43
43
|
optional :natural_person, -> { Increase::EntityUpdateParams::NaturalPerson }
|
|
44
44
|
|
|
45
|
-
# @!attribute risk_rating
|
|
46
|
-
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
47
|
-
# such as money laundering.
|
|
48
|
-
#
|
|
49
|
-
# @return [Increase::Models::EntityUpdateParams::RiskRating, nil]
|
|
50
|
-
optional :risk_rating, -> { Increase::EntityUpdateParams::RiskRating }
|
|
51
|
-
|
|
52
45
|
# @!attribute sole_proprietorship
|
|
53
46
|
# Details of the sole proprietorship entity to update. If you specify this
|
|
54
47
|
# parameter and the entity is not a sole proprietorship, the request will fail.
|
|
@@ -79,7 +72,7 @@ module Increase
|
|
|
79
72
|
# @return [Increase::Models::EntityUpdateParams::Trust, nil]
|
|
80
73
|
optional :trust, -> { Increase::EntityUpdateParams::Trust }
|
|
81
74
|
|
|
82
|
-
# @!method initialize(entity_id:, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil,
|
|
75
|
+
# @!method initialize(entity_id:, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, sole_proprietorship: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
83
76
|
# @param entity_id [String] The entity identifier.
|
|
84
77
|
#
|
|
85
78
|
# @param corporation [Increase::Models::EntityUpdateParams::Corporation]
|
|
@@ -99,10 +92,6 @@ module Increase
|
|
|
99
92
|
# Details of the natural person entity to update. If you specify this parameter
|
|
100
93
|
# and the entity is not a natural person, the request will fail.
|
|
101
94
|
#
|
|
102
|
-
# @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating]
|
|
103
|
-
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
104
|
-
# such as money laundering.
|
|
105
|
-
#
|
|
106
95
|
# @param sole_proprietorship [Increase::Models::EntityUpdateParams::SoleProprietorship]
|
|
107
96
|
# Details of the sole proprietorship entity to update. If you specify this
|
|
108
97
|
# parameter and the entity is not a sole proprietorship, the request will fail.
|
|
@@ -730,51 +719,6 @@ module Increase
|
|
|
730
719
|
end
|
|
731
720
|
end
|
|
732
721
|
|
|
733
|
-
class RiskRating < Increase::Internal::Type::BaseModel
|
|
734
|
-
# @!attribute rated_at
|
|
735
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
736
|
-
# rating was performed.
|
|
737
|
-
#
|
|
738
|
-
# @return [Time]
|
|
739
|
-
required :rated_at, Time
|
|
740
|
-
|
|
741
|
-
# @!attribute rating
|
|
742
|
-
# The rating given to this entity.
|
|
743
|
-
#
|
|
744
|
-
# @return [Symbol, Increase::Models::EntityUpdateParams::RiskRating::Rating]
|
|
745
|
-
required :rating, enum: -> { Increase::EntityUpdateParams::RiskRating::Rating }
|
|
746
|
-
|
|
747
|
-
# @!method initialize(rated_at:, rating:)
|
|
748
|
-
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
749
|
-
# such as money laundering.
|
|
750
|
-
#
|
|
751
|
-
# @param rated_at [Time]
|
|
752
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
753
|
-
# rating was performed.
|
|
754
|
-
#
|
|
755
|
-
# @param rating [Symbol, Increase::Models::EntityUpdateParams::RiskRating::Rating]
|
|
756
|
-
# The rating given to this entity.
|
|
757
|
-
|
|
758
|
-
# The rating given to this entity.
|
|
759
|
-
#
|
|
760
|
-
# @see Increase::Models::EntityUpdateParams::RiskRating#rating
|
|
761
|
-
module Rating
|
|
762
|
-
extend Increase::Internal::Type::Enum
|
|
763
|
-
|
|
764
|
-
# Minimal risk of involvement in financial crime.
|
|
765
|
-
LOW = :low
|
|
766
|
-
|
|
767
|
-
# Moderate risk of involvement in financial crime.
|
|
768
|
-
MEDIUM = :medium
|
|
769
|
-
|
|
770
|
-
# Elevated risk of involvement in financial crime.
|
|
771
|
-
HIGH = :high
|
|
772
|
-
|
|
773
|
-
# @!method self.values
|
|
774
|
-
# @return [Array<Symbol>]
|
|
775
|
-
end
|
|
776
|
-
end
|
|
777
|
-
|
|
778
722
|
class SoleProprietorship < Increase::Internal::Type::BaseModel
|
|
779
723
|
# @!attribute address
|
|
780
724
|
# The sole proprietorship's business address. Mail receiving locations like PO
|
|
@@ -136,8 +136,8 @@ module Increase
|
|
|
136
136
|
required :receiver_name, String, nil?: true
|
|
137
137
|
|
|
138
138
|
# @!attribute settlement
|
|
139
|
-
# A subhash containing information about when
|
|
140
|
-
# Federal Reserve.
|
|
139
|
+
# A subhash containing information about when the transfer settled (or will
|
|
140
|
+
# settle) at the Federal Reserve.
|
|
141
141
|
#
|
|
142
142
|
# @return [Increase::Models::InboundACHTransfer::Settlement]
|
|
143
143
|
required :settlement, -> { Increase::InboundACHTransfer::Settlement }
|
|
@@ -237,8 +237,8 @@ module Increase
|
|
|
237
237
|
# @param receiver_name [String, nil] The name of the receiver of the transfer.
|
|
238
238
|
#
|
|
239
239
|
# @param settlement [Increase::Models::InboundACHTransfer::Settlement]
|
|
240
|
-
# A subhash containing information about when
|
|
241
|
-
# Federal Reserve.
|
|
240
|
+
# A subhash containing information about when the transfer settled (or will
|
|
241
|
+
# settle) at the Federal Reserve.
|
|
242
242
|
#
|
|
243
243
|
# @param standard_entry_class_code [Symbol, Increase::Models::InboundACHTransfer::StandardEntryClassCode]
|
|
244
244
|
# The Standard Entry Class (SEC) code of the transfer.
|
|
@@ -979,8 +979,8 @@ module Increase
|
|
|
979
979
|
required :settlement_schedule, enum: -> { Increase::InboundACHTransfer::Settlement::SettlementSchedule }
|
|
980
980
|
|
|
981
981
|
# @!method initialize(settled_at:, settlement_schedule:)
|
|
982
|
-
# A subhash containing information about when
|
|
983
|
-
# Federal Reserve.
|
|
982
|
+
# A subhash containing information about when the transfer settled (or will
|
|
983
|
+
# settle) at the Federal Reserve.
|
|
984
984
|
#
|
|
985
985
|
# @param settled_at [Time]
|
|
986
986
|
# When the funds for this transfer settle at the recipient bank at the Federal
|
|
@@ -78,6 +78,13 @@ module Increase
|
|
|
78
78
|
# @return [String, nil]
|
|
79
79
|
required :check_transfer_id, String, nil?: true
|
|
80
80
|
|
|
81
|
+
# @!attribute checkbook_check_id
|
|
82
|
+
# If this deposit is for an existing Checkbook Check, the identifier of that
|
|
83
|
+
# Checkbook Check.
|
|
84
|
+
#
|
|
85
|
+
# @return [String, nil]
|
|
86
|
+
required :checkbook_check_id, String, nil?: true
|
|
87
|
+
|
|
81
88
|
# @!attribute created_at
|
|
82
89
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
83
90
|
# the deposit was attempted.
|
|
@@ -146,7 +153,7 @@ module Increase
|
|
|
146
153
|
# @return [Symbol, Increase::Models::InboundCheckDeposit::Type]
|
|
147
154
|
required :type, enum: -> { Increase::InboundCheckDeposit::Type }
|
|
148
155
|
|
|
149
|
-
# @!method initialize(id:, accepted_at:, account_id:, account_number_id:, adjustments:, amount:, automatically_resolves_at:, back_image_file_id:, bank_of_first_deposit_routing_number:, check_number:, check_transfer_id:, created_at:, currency:, declined_at:, declined_transaction_id:, deposit_return:, front_image_file_id:, payee_name_analysis:, status:, transaction_id:, type:)
|
|
156
|
+
# @!method initialize(id:, accepted_at:, account_id:, account_number_id:, adjustments:, amount:, automatically_resolves_at:, back_image_file_id:, bank_of_first_deposit_routing_number:, check_number:, check_transfer_id:, checkbook_check_id:, created_at:, currency:, declined_at:, declined_transaction_id:, deposit_return:, front_image_file_id:, payee_name_analysis:, status:, transaction_id:, type:)
|
|
150
157
|
# Inbound Check Deposits are records of third-parties attempting to deposit checks
|
|
151
158
|
# against your account.
|
|
152
159
|
#
|
|
@@ -185,6 +192,10 @@ module Increase
|
|
|
185
192
|
# If this deposit is for an existing Check Transfer, the identifier of that Check
|
|
186
193
|
# Transfer.
|
|
187
194
|
#
|
|
195
|
+
# @param checkbook_check_id [String, nil]
|
|
196
|
+
# If this deposit is for an existing Checkbook Check, the identifier of that
|
|
197
|
+
# Checkbook Check.
|
|
198
|
+
#
|
|
188
199
|
# @param created_at [Time]
|
|
189
200
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
190
201
|
# the deposit was attempted.
|