increase 1.363.0 → 1.365.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/ach_transfer.rb +9 -2
- data/lib/increase/models/ach_transfer_create_params.rb +31 -50
- data/lib/increase/models/card_create_params.rb +10 -3
- data/lib/increase/models/card_payment.rb +6 -0
- data/lib/increase/models/card_update_params.rb +21 -11
- 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/fednow_transfer.rb +10 -1
- 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/ach_transfers.rb +14 -22
- data/lib/increase/resources/cards.rb +7 -2
- 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/ach_transfer.rbi +8 -2
- data/rbi/increase/models/ach_transfer_create_params.rbi +30 -54
- data/rbi/increase/models/card_create_params.rbi +9 -3
- data/rbi/increase/models/card_payment.rbi +14 -0
- data/rbi/increase/models/card_update_params.rbi +26 -18
- 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/fednow_transfer.rbi +8 -0
- 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/ach_transfers.rbi +14 -22
- data/rbi/increase/resources/cards.rbi +6 -2
- 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/ach_transfer_create_params.rbs +9 -18
- 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/fednow_transfer.rbs +5 -0
- 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/ach_transfers.rbs +2 -3
- 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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae30bf0558ef4dcd7f6c606fa989019600d19712f54440b0d03342e9cac5713b
|
|
4
|
+
data.tar.gz: 58ee46d1a2797d8baa5761e5ef95b5a08d57f3eff4fdcfe0e7878d73c6f38419
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bcbe7bc136e89b0edb416519fcc4c0a7f76bc5f6fb07304d46f8ed6d1218a22c4ba84e66d614d14b3a30df9b17b26b735bc95ce6b0a1efaec1c97689c23f8567
|
|
7
|
+
data.tar.gz: 34364314be2e3ae7edaaabc5dcb19ded77072920dc628e28eb9a3a03c606cc953981f456c188b2ae068f6101ed502c78bccceb5145311d947f131ff1633e239c
|
data/README.md
CHANGED
data/lib/increase/client.rb
CHANGED
|
@@ -95,6 +95,12 @@ module Increase
|
|
|
95
95
|
# @return [Increase::Resources::CheckTransfers]
|
|
96
96
|
attr_reader :check_transfers
|
|
97
97
|
|
|
98
|
+
# @return [Increase::Resources::Checkbooks]
|
|
99
|
+
attr_reader :checkbooks
|
|
100
|
+
|
|
101
|
+
# @return [Increase::Resources::CheckbookChecks]
|
|
102
|
+
attr_reader :checkbook_checks
|
|
103
|
+
|
|
98
104
|
# @return [Increase::Resources::InboundCheckDeposits]
|
|
99
105
|
attr_reader :inbound_check_deposits
|
|
100
106
|
|
|
@@ -302,6 +308,8 @@ module Increase
|
|
|
302
308
|
@wire_drawdown_requests = Increase::Resources::WireDrawdownRequests.new(client: self)
|
|
303
309
|
@inbound_wire_drawdown_requests = Increase::Resources::InboundWireDrawdownRequests.new(client: self)
|
|
304
310
|
@check_transfers = Increase::Resources::CheckTransfers.new(client: self)
|
|
311
|
+
@checkbooks = Increase::Resources::Checkbooks.new(client: self)
|
|
312
|
+
@checkbook_checks = Increase::Resources::CheckbookChecks.new(client: self)
|
|
305
313
|
@inbound_check_deposits = Increase::Resources::InboundCheckDeposits.new(client: self)
|
|
306
314
|
@real_time_payments_transfers = Increase::Resources::RealTimePaymentsTransfers.new(client: self)
|
|
307
315
|
@inbound_real_time_payments_transfers =
|
|
@@ -37,18 +37,13 @@ module Increase
|
|
|
37
37
|
# @return [String, nil]
|
|
38
38
|
required :idempotency_key, String, nil?: true
|
|
39
39
|
|
|
40
|
-
# @!attribute
|
|
41
|
-
#
|
|
40
|
+
# @!attribute inbound_ach_debits
|
|
41
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
42
|
+
# they will still be declined if this is `allowed` but the Account Number is not
|
|
43
|
+
# active.
|
|
42
44
|
#
|
|
43
|
-
# @return [Increase::Models::AccountNumber::
|
|
44
|
-
required :
|
|
45
|
-
|
|
46
|
-
# @!attribute inbound_checks
|
|
47
|
-
# Properties related to how this Account Number should handle inbound check
|
|
48
|
-
# withdrawals.
|
|
49
|
-
#
|
|
50
|
-
# @return [Increase::Models::AccountNumber::InboundChecks]
|
|
51
|
-
required :inbound_checks, -> { Increase::AccountNumber::InboundChecks }
|
|
45
|
+
# @return [Symbol, Increase::Models::AccountNumber::InboundACHDebits]
|
|
46
|
+
required :inbound_ach_debits, enum: -> { Increase::AccountNumber::InboundACHDebits }
|
|
52
47
|
|
|
53
48
|
# @!attribute name
|
|
54
49
|
# The name you choose for the Account Number.
|
|
@@ -75,7 +70,13 @@ module Increase
|
|
|
75
70
|
# @return [Symbol, Increase::Models::AccountNumber::Type]
|
|
76
71
|
required :type, enum: -> { Increase::AccountNumber::Type }
|
|
77
72
|
|
|
78
|
-
# @!
|
|
73
|
+
# @!attribute unregistered_inbound_checks
|
|
74
|
+
# Whether unregistered inbound checks for this Account Number can be deposited.
|
|
75
|
+
#
|
|
76
|
+
# @return [Symbol, Increase::Models::AccountNumber::UnregisteredInboundChecks]
|
|
77
|
+
required :unregistered_inbound_checks, enum: -> { Increase::AccountNumber::UnregisteredInboundChecks }
|
|
78
|
+
|
|
79
|
+
# @!method initialize(id:, account_id:, account_number:, created_at:, idempotency_key:, inbound_ach_debits:, name:, routing_number:, status:, type:, unregistered_inbound_checks:)
|
|
79
80
|
# Each account can have multiple account and routing numbers. We recommend that
|
|
80
81
|
# you use a set per vendor. This is similar to how you use different passwords for
|
|
81
82
|
# different websites. Account numbers can also be used to seamlessly reconcile
|
|
@@ -97,12 +98,10 @@ module Increase
|
|
|
97
98
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
98
99
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
99
100
|
#
|
|
100
|
-
# @param
|
|
101
|
-
#
|
|
102
|
-
#
|
|
103
|
-
#
|
|
104
|
-
# Properties related to how this Account Number should handle inbound check
|
|
105
|
-
# withdrawals.
|
|
101
|
+
# @param inbound_ach_debits [Symbol, Increase::Models::AccountNumber::InboundACHDebits]
|
|
102
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
103
|
+
# they will still be declined if this is `allowed` but the Account Number is not
|
|
104
|
+
# active.
|
|
106
105
|
#
|
|
107
106
|
# @param name [String] The name you choose for the Account Number.
|
|
108
107
|
#
|
|
@@ -114,71 +113,26 @@ module Increase
|
|
|
114
113
|
# @param type [Symbol, Increase::Models::AccountNumber::Type]
|
|
115
114
|
# A constant representing the object's type. For this resource it will always be
|
|
116
115
|
# `account_number`.
|
|
116
|
+
#
|
|
117
|
+
# @param unregistered_inbound_checks [Symbol, Increase::Models::AccountNumber::UnregisteredInboundChecks]
|
|
118
|
+
# Whether unregistered inbound checks for this Account Number can be deposited.
|
|
117
119
|
|
|
118
|
-
#
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
#
|
|
130
|
-
|
|
131
|
-
# Whether ACH debits are allowed against this Account Number. Note that they will
|
|
132
|
-
# still be declined if this is `allowed` but the Account Number is not active.
|
|
133
|
-
|
|
134
|
-
# Whether ACH debits are allowed against this Account Number. Note that they will
|
|
135
|
-
# still be declined if this is `allowed` but the Account Number is not active.
|
|
136
|
-
#
|
|
137
|
-
# @see Increase::Models::AccountNumber::InboundACH#debit_status
|
|
138
|
-
module DebitStatus
|
|
139
|
-
extend Increase::Internal::Type::Enum
|
|
140
|
-
|
|
141
|
-
# ACH Debits are allowed.
|
|
142
|
-
ALLOWED = :allowed
|
|
143
|
-
|
|
144
|
-
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
145
|
-
BLOCKED = :blocked
|
|
146
|
-
|
|
147
|
-
# @!method self.values
|
|
148
|
-
# @return [Array<Symbol>]
|
|
149
|
-
end
|
|
150
|
-
end
|
|
120
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
121
|
+
# they will still be declined if this is `allowed` but the Account Number is not
|
|
122
|
+
# active.
|
|
123
|
+
#
|
|
124
|
+
# @see Increase::Models::AccountNumber#inbound_ach_debits
|
|
125
|
+
module InboundACHDebits
|
|
126
|
+
extend Increase::Internal::Type::Enum
|
|
127
|
+
|
|
128
|
+
# ACH Debits are allowed.
|
|
129
|
+
ALLOWED = :allowed
|
|
130
|
+
|
|
131
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
132
|
+
BLOCKED = :blocked
|
|
151
133
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
# @!attribute status
|
|
155
|
-
# How Increase should process checks with this account number printed on them.
|
|
156
|
-
#
|
|
157
|
-
# @return [Symbol, Increase::Models::AccountNumber::InboundChecks::Status]
|
|
158
|
-
required :status, enum: -> { Increase::AccountNumber::InboundChecks::Status }
|
|
159
|
-
|
|
160
|
-
# @!method initialize(status:)
|
|
161
|
-
# Properties related to how this Account Number should handle inbound check
|
|
162
|
-
# withdrawals.
|
|
163
|
-
#
|
|
164
|
-
# @param status [Symbol, Increase::Models::AccountNumber::InboundChecks::Status]
|
|
165
|
-
# How Increase should process checks with this account number printed on them.
|
|
166
|
-
|
|
167
|
-
# How Increase should process checks with this account number printed on them.
|
|
168
|
-
#
|
|
169
|
-
# @see Increase::Models::AccountNumber::InboundChecks#status
|
|
170
|
-
module Status
|
|
171
|
-
extend Increase::Internal::Type::Enum
|
|
172
|
-
|
|
173
|
-
# Checks with this Account Number will be processed even if they are not associated with a Check Transfer.
|
|
174
|
-
ALLOWED = :allowed
|
|
175
|
-
|
|
176
|
-
# Checks with this Account Number will be processed only if they can be matched to an existing Check Transfer.
|
|
177
|
-
CHECK_TRANSFERS_ONLY = :check_transfers_only
|
|
178
|
-
|
|
179
|
-
# @!method self.values
|
|
180
|
-
# @return [Array<Symbol>]
|
|
181
|
-
end
|
|
134
|
+
# @!method self.values
|
|
135
|
+
# @return [Array<Symbol>]
|
|
182
136
|
end
|
|
183
137
|
|
|
184
138
|
# This indicates if payments can be made to the Account Number.
|
|
@@ -212,6 +166,22 @@ module Increase
|
|
|
212
166
|
# @!method self.values
|
|
213
167
|
# @return [Array<Symbol>]
|
|
214
168
|
end
|
|
169
|
+
|
|
170
|
+
# Whether unregistered inbound checks for this Account Number can be deposited.
|
|
171
|
+
#
|
|
172
|
+
# @see Increase::Models::AccountNumber#unregistered_inbound_checks
|
|
173
|
+
module UnregisteredInboundChecks
|
|
174
|
+
extend Increase::Internal::Type::Enum
|
|
175
|
+
|
|
176
|
+
# Accept all Inbound Check Deposits, even if they are not associated with a Check Transfer or Checkbook Check.
|
|
177
|
+
ALLOWED = :allowed
|
|
178
|
+
|
|
179
|
+
# Only accept Inbound Check Deposits if they can be matched to a Check Transfer or Checkbook Check.
|
|
180
|
+
BLOCKED = :blocked
|
|
181
|
+
|
|
182
|
+
# @!method self.values
|
|
183
|
+
# @return [Array<Symbol>]
|
|
184
|
+
end
|
|
215
185
|
end
|
|
216
186
|
end
|
|
217
187
|
end
|
|
@@ -19,101 +19,67 @@ module Increase
|
|
|
19
19
|
# @return [String]
|
|
20
20
|
required :name, String
|
|
21
21
|
|
|
22
|
-
# @!attribute
|
|
23
|
-
#
|
|
22
|
+
# @!attribute inbound_ach_debits
|
|
23
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
24
|
+
# ACH debits will be declined if this is `allowed` but the Account Number is not
|
|
25
|
+
# active. If you do not specify this field, the default is `allowed`.
|
|
24
26
|
#
|
|
25
|
-
# @return [Increase::Models::AccountNumberCreateParams::
|
|
26
|
-
optional :
|
|
27
|
+
# @return [Symbol, Increase::Models::AccountNumberCreateParams::InboundACHDebits, nil]
|
|
28
|
+
optional :inbound_ach_debits, enum: -> { Increase::AccountNumberCreateParams::InboundACHDebits }
|
|
27
29
|
|
|
28
|
-
# @!attribute
|
|
29
|
-
#
|
|
30
|
-
#
|
|
30
|
+
# @!attribute unregistered_inbound_checks
|
|
31
|
+
# Whether unregistered inbound checks for this Account Number can be deposited. If
|
|
32
|
+
# you do not specify this field, the default is `blocked`.
|
|
31
33
|
#
|
|
32
|
-
# @return [Increase::Models::AccountNumberCreateParams::
|
|
33
|
-
optional :
|
|
34
|
+
# @return [Symbol, Increase::Models::AccountNumberCreateParams::UnregisteredInboundChecks, nil]
|
|
35
|
+
optional :unregistered_inbound_checks,
|
|
36
|
+
enum: -> { Increase::AccountNumberCreateParams::UnregisteredInboundChecks }
|
|
34
37
|
|
|
35
|
-
# @!method initialize(account_id:, name:,
|
|
38
|
+
# @!method initialize(account_id:, name:, inbound_ach_debits: nil, unregistered_inbound_checks: nil, request_options: {})
|
|
36
39
|
# @param account_id [String] The Account the Account Number should belong to.
|
|
37
40
|
#
|
|
38
41
|
# @param name [String] The name you choose for the Account Number.
|
|
39
42
|
#
|
|
40
|
-
# @param
|
|
41
|
-
#
|
|
43
|
+
# @param inbound_ach_debits [Symbol, Increase::Models::AccountNumberCreateParams::InboundACHDebits]
|
|
44
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
45
|
+
# ACH debits will be declined if this is `allowed` but the Account Number is not
|
|
46
|
+
# active. If you do not specify this field, the default is `allowed`.
|
|
42
47
|
#
|
|
43
|
-
# @param
|
|
44
|
-
#
|
|
45
|
-
#
|
|
48
|
+
# @param unregistered_inbound_checks [Symbol, Increase::Models::AccountNumberCreateParams::UnregisteredInboundChecks]
|
|
49
|
+
# Whether unregistered inbound checks for this Account Number can be deposited. If
|
|
50
|
+
# you do not specify this field, the default is `blocked`.
|
|
46
51
|
#
|
|
47
52
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
48
53
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
#
|
|
55
|
-
# @return [Symbol, Increase::Models::AccountNumberCreateParams::InboundACH::DebitStatus]
|
|
56
|
-
required :debit_status, enum: -> { Increase::AccountNumberCreateParams::InboundACH::DebitStatus }
|
|
54
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
55
|
+
# ACH debits will be declined if this is `allowed` but the Account Number is not
|
|
56
|
+
# active. If you do not specify this field, the default is `allowed`.
|
|
57
|
+
module InboundACHDebits
|
|
58
|
+
extend Increase::Internal::Type::Enum
|
|
57
59
|
|
|
58
|
-
#
|
|
59
|
-
|
|
60
|
-
#
|
|
61
|
-
# @param debit_status [Symbol, Increase::Models::AccountNumberCreateParams::InboundACH::DebitStatus]
|
|
62
|
-
# Whether ACH debits are allowed against this Account Number. Note that ACH debits
|
|
63
|
-
# will be declined if this is `allowed` but the Account Number is not active. If
|
|
64
|
-
# you do not specify this field, the default is `allowed`.
|
|
60
|
+
# ACH Debits are allowed.
|
|
61
|
+
ALLOWED = :allowed
|
|
65
62
|
|
|
66
|
-
#
|
|
67
|
-
|
|
68
|
-
# you do not specify this field, the default is `allowed`.
|
|
69
|
-
#
|
|
70
|
-
# @see Increase::Models::AccountNumberCreateParams::InboundACH#debit_status
|
|
71
|
-
module DebitStatus
|
|
72
|
-
extend Increase::Internal::Type::Enum
|
|
63
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
64
|
+
BLOCKED = :blocked
|
|
73
65
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
78
|
-
BLOCKED = :blocked
|
|
79
|
-
|
|
80
|
-
# @!method self.values
|
|
81
|
-
# @return [Array<Symbol>]
|
|
82
|
-
end
|
|
66
|
+
# @!method self.values
|
|
67
|
+
# @return [Array<Symbol>]
|
|
83
68
|
end
|
|
84
69
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
#
|
|
90
|
-
# @return [Symbol, Increase::Models::AccountNumberCreateParams::InboundChecks::Status]
|
|
91
|
-
required :status, enum: -> { Increase::AccountNumberCreateParams::InboundChecks::Status }
|
|
92
|
-
|
|
93
|
-
# @!method initialize(status:)
|
|
94
|
-
# Options related to how this Account Number should handle inbound check
|
|
95
|
-
# withdrawals.
|
|
96
|
-
#
|
|
97
|
-
# @param status [Symbol, Increase::Models::AccountNumberCreateParams::InboundChecks::Status]
|
|
98
|
-
# How Increase should process checks with this account number printed on them. If
|
|
99
|
-
# you do not specify this field, the default is `check_transfers_only`.
|
|
100
|
-
|
|
101
|
-
# How Increase should process checks with this account number printed on them. If
|
|
102
|
-
# you do not specify this field, the default is `check_transfers_only`.
|
|
103
|
-
#
|
|
104
|
-
# @see Increase::Models::AccountNumberCreateParams::InboundChecks#status
|
|
105
|
-
module Status
|
|
106
|
-
extend Increase::Internal::Type::Enum
|
|
70
|
+
# Whether unregistered inbound checks for this Account Number can be deposited. If
|
|
71
|
+
# you do not specify this field, the default is `blocked`.
|
|
72
|
+
module UnregisteredInboundChecks
|
|
73
|
+
extend Increase::Internal::Type::Enum
|
|
107
74
|
|
|
108
|
-
|
|
109
|
-
|
|
75
|
+
# Accept all Inbound Check Deposits, even if they are not associated with a Check Transfer or Checkbook Check.
|
|
76
|
+
ALLOWED = :allowed
|
|
110
77
|
|
|
111
|
-
|
|
112
|
-
|
|
78
|
+
# Only accept Inbound Check Deposits if they can be matched to a Check Transfer or Checkbook Check.
|
|
79
|
+
BLOCKED = :blocked
|
|
113
80
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
end
|
|
81
|
+
# @!method self.values
|
|
82
|
+
# @return [Array<Symbol>]
|
|
117
83
|
end
|
|
118
84
|
end
|
|
119
85
|
end
|
|
@@ -13,11 +13,6 @@ module Increase
|
|
|
13
13
|
# @return [String, nil]
|
|
14
14
|
optional :account_id, String
|
|
15
15
|
|
|
16
|
-
# @!attribute ach_debit_status
|
|
17
|
-
#
|
|
18
|
-
# @return [Increase::Models::AccountNumberListParams::ACHDebitStatus, nil]
|
|
19
|
-
optional :ach_debit_status, -> { Increase::AccountNumberListParams::ACHDebitStatus }
|
|
20
|
-
|
|
21
16
|
# @!attribute created_at
|
|
22
17
|
#
|
|
23
18
|
# @return [Increase::Models::AccountNumberListParams::CreatedAt, nil]
|
|
@@ -38,6 +33,11 @@ module Increase
|
|
|
38
33
|
# @return [String, nil]
|
|
39
34
|
optional :idempotency_key, String
|
|
40
35
|
|
|
36
|
+
# @!attribute inbound_ach_debits
|
|
37
|
+
#
|
|
38
|
+
# @return [Increase::Models::AccountNumberListParams::InboundACHDebits, nil]
|
|
39
|
+
optional :inbound_ach_debits, -> { Increase::AccountNumberListParams::InboundACHDebits }
|
|
40
|
+
|
|
41
41
|
# @!attribute limit
|
|
42
42
|
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
43
43
|
# objects.
|
|
@@ -52,11 +52,9 @@ module Increase
|
|
|
52
52
|
# @return [Increase::Models::AccountNumberListParams::Status, nil]
|
|
53
53
|
optional :status, -> { Increase::AccountNumberListParams::Status }
|
|
54
54
|
|
|
55
|
-
# @!method initialize(account_id: nil,
|
|
55
|
+
# @!method initialize(account_id: nil, created_at: nil, cursor: nil, idempotency_key: nil, inbound_ach_debits: nil, limit: nil, status: nil, request_options: {})
|
|
56
56
|
# @param account_id [String] Filter Account Numbers to those belonging to the specified Account.
|
|
57
57
|
#
|
|
58
|
-
# @param ach_debit_status [Increase::Models::AccountNumberListParams::ACHDebitStatus]
|
|
59
|
-
#
|
|
60
58
|
# @param created_at [Increase::Models::AccountNumberListParams::CreatedAt]
|
|
61
59
|
#
|
|
62
60
|
# @param cursor [String] Return the page of entries after this one.
|
|
@@ -67,6 +65,8 @@ module Increase
|
|
|
67
65
|
# request is only processed once. Learn more about
|
|
68
66
|
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
69
67
|
#
|
|
68
|
+
# @param inbound_ach_debits [Increase::Models::AccountNumberListParams::InboundACHDebits]
|
|
69
|
+
#
|
|
70
70
|
# @param limit [Integer]
|
|
71
71
|
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
72
72
|
# objects.
|
|
@@ -77,37 +77,6 @@ module Increase
|
|
|
77
77
|
#
|
|
78
78
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
79
79
|
|
|
80
|
-
class ACHDebitStatus < Increase::Internal::Type::BaseModel
|
|
81
|
-
# @!attribute in_
|
|
82
|
-
# The ACH Debit status to retrieve Account Numbers for. For GET requests, this
|
|
83
|
-
# should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
84
|
-
#
|
|
85
|
-
# @return [Array<Symbol, Increase::Models::AccountNumberListParams::ACHDebitStatus::In>, nil]
|
|
86
|
-
optional :in_,
|
|
87
|
-
-> {
|
|
88
|
-
Increase::Internal::Type::ArrayOf[enum: Increase::AccountNumberListParams::ACHDebitStatus::In]
|
|
89
|
-
},
|
|
90
|
-
api_name: :in
|
|
91
|
-
|
|
92
|
-
# @!method initialize(in_: nil)
|
|
93
|
-
# @param in_ [Array<Symbol, Increase::Models::AccountNumberListParams::ACHDebitStatus::In>]
|
|
94
|
-
# The ACH Debit status to retrieve Account Numbers for. For GET requests, this
|
|
95
|
-
# should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
96
|
-
|
|
97
|
-
module In
|
|
98
|
-
extend Increase::Internal::Type::Enum
|
|
99
|
-
|
|
100
|
-
# ACH Debits are allowed.
|
|
101
|
-
ALLOWED = :allowed
|
|
102
|
-
|
|
103
|
-
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
104
|
-
BLOCKED = :blocked
|
|
105
|
-
|
|
106
|
-
# @!method self.values
|
|
107
|
-
# @return [Array<Symbol>]
|
|
108
|
-
end
|
|
109
|
-
end
|
|
110
|
-
|
|
111
80
|
class CreatedAt < Increase::Internal::Type::BaseModel
|
|
112
81
|
# @!attribute after
|
|
113
82
|
# Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
@@ -155,6 +124,37 @@ module Increase
|
|
|
155
124
|
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
156
125
|
end
|
|
157
126
|
|
|
127
|
+
class InboundACHDebits < Increase::Internal::Type::BaseModel
|
|
128
|
+
# @!attribute in_
|
|
129
|
+
# The inbound ACH debits status to retrieve Account Numbers for. For GET requests,
|
|
130
|
+
# this should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
131
|
+
#
|
|
132
|
+
# @return [Array<Symbol, Increase::Models::AccountNumberListParams::InboundACHDebits::In>, nil]
|
|
133
|
+
optional :in_,
|
|
134
|
+
-> {
|
|
135
|
+
Increase::Internal::Type::ArrayOf[enum: Increase::AccountNumberListParams::InboundACHDebits::In]
|
|
136
|
+
},
|
|
137
|
+
api_name: :in
|
|
138
|
+
|
|
139
|
+
# @!method initialize(in_: nil)
|
|
140
|
+
# @param in_ [Array<Symbol, Increase::Models::AccountNumberListParams::InboundACHDebits::In>]
|
|
141
|
+
# The inbound ACH debits status to retrieve Account Numbers for. For GET requests,
|
|
142
|
+
# this should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
143
|
+
|
|
144
|
+
module In
|
|
145
|
+
extend Increase::Internal::Type::Enum
|
|
146
|
+
|
|
147
|
+
# ACH Debits are allowed.
|
|
148
|
+
ALLOWED = :allowed
|
|
149
|
+
|
|
150
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
151
|
+
BLOCKED = :blocked
|
|
152
|
+
|
|
153
|
+
# @!method self.values
|
|
154
|
+
# @return [Array<Symbol>]
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
|
|
158
158
|
class Status < Increase::Internal::Type::BaseModel
|
|
159
159
|
# @!attribute in_
|
|
160
160
|
# The status to retrieve Account Numbers for. For GET requests, this should be
|
|
@@ -13,18 +13,13 @@ module Increase
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :account_number_id, String
|
|
15
15
|
|
|
16
|
-
# @!attribute
|
|
17
|
-
#
|
|
16
|
+
# @!attribute inbound_ach_debits
|
|
17
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
18
|
+
# ACH debits will be declined if this is `allowed` but the Account Number is not
|
|
19
|
+
# active.
|
|
18
20
|
#
|
|
19
|
-
# @return [Increase::Models::AccountNumberUpdateParams::
|
|
20
|
-
optional :
|
|
21
|
-
|
|
22
|
-
# @!attribute inbound_checks
|
|
23
|
-
# Options related to how this Account Number should handle inbound check
|
|
24
|
-
# withdrawals.
|
|
25
|
-
#
|
|
26
|
-
# @return [Increase::Models::AccountNumberUpdateParams::InboundChecks, nil]
|
|
27
|
-
optional :inbound_checks, -> { Increase::AccountNumberUpdateParams::InboundChecks }
|
|
21
|
+
# @return [Symbol, Increase::Models::AccountNumberUpdateParams::InboundACHDebits, nil]
|
|
22
|
+
optional :inbound_ach_debits, enum: -> { Increase::AccountNumberUpdateParams::InboundACHDebits }
|
|
28
23
|
|
|
29
24
|
# @!attribute name
|
|
30
25
|
# The name you choose for the Account Number.
|
|
@@ -38,85 +33,45 @@ module Increase
|
|
|
38
33
|
# @return [Symbol, Increase::Models::AccountNumberUpdateParams::Status, nil]
|
|
39
34
|
optional :status, enum: -> { Increase::AccountNumberUpdateParams::Status }
|
|
40
35
|
|
|
41
|
-
# @!
|
|
42
|
-
#
|
|
36
|
+
# @!attribute unregistered_inbound_checks
|
|
37
|
+
# Whether unregistered inbound checks for this Account Number can be deposited.
|
|
43
38
|
#
|
|
44
|
-
# @
|
|
45
|
-
|
|
39
|
+
# @return [Symbol, Increase::Models::AccountNumberUpdateParams::UnregisteredInboundChecks, nil]
|
|
40
|
+
optional :unregistered_inbound_checks,
|
|
41
|
+
enum: -> { Increase::AccountNumberUpdateParams::UnregisteredInboundChecks }
|
|
42
|
+
|
|
43
|
+
# @!method initialize(account_number_id:, inbound_ach_debits: nil, name: nil, status: nil, unregistered_inbound_checks: nil, request_options: {})
|
|
44
|
+
# @param account_number_id [String] The identifier of the Account Number.
|
|
46
45
|
#
|
|
47
|
-
# @param
|
|
48
|
-
#
|
|
49
|
-
#
|
|
46
|
+
# @param inbound_ach_debits [Symbol, Increase::Models::AccountNumberUpdateParams::InboundACHDebits]
|
|
47
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
48
|
+
# ACH debits will be declined if this is `allowed` but the Account Number is not
|
|
49
|
+
# active.
|
|
50
50
|
#
|
|
51
51
|
# @param name [String] The name you choose for the Account Number.
|
|
52
52
|
#
|
|
53
53
|
# @param status [Symbol, Increase::Models::AccountNumberUpdateParams::Status]
|
|
54
54
|
# This indicates if transfers can be made to the Account Number.
|
|
55
55
|
#
|
|
56
|
+
# @param unregistered_inbound_checks [Symbol, Increase::Models::AccountNumberUpdateParams::UnregisteredInboundChecks]
|
|
57
|
+
# Whether unregistered inbound checks for this Account Number can be deposited.
|
|
58
|
+
#
|
|
56
59
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
57
60
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
#
|
|
68
|
-
|
|
69
|
-
# @param debit_status [Symbol, Increase::Models::AccountNumberUpdateParams::InboundACH::DebitStatus]
|
|
70
|
-
# Whether ACH debits are allowed against this Account Number. Note that ACH debits
|
|
71
|
-
# will be declined if this is `allowed` but the Account Number is not active.
|
|
72
|
-
|
|
73
|
-
# Whether ACH debits are allowed against this Account Number. Note that ACH debits
|
|
74
|
-
# will be declined if this is `allowed` but the Account Number is not active.
|
|
75
|
-
#
|
|
76
|
-
# @see Increase::Models::AccountNumberUpdateParams::InboundACH#debit_status
|
|
77
|
-
module DebitStatus
|
|
78
|
-
extend Increase::Internal::Type::Enum
|
|
79
|
-
|
|
80
|
-
# ACH Debits are allowed.
|
|
81
|
-
ALLOWED = :allowed
|
|
82
|
-
|
|
83
|
-
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
84
|
-
BLOCKED = :blocked
|
|
85
|
-
|
|
86
|
-
# @!method self.values
|
|
87
|
-
# @return [Array<Symbol>]
|
|
88
|
-
end
|
|
89
|
-
end
|
|
61
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
62
|
+
# ACH debits will be declined if this is `allowed` but the Account Number is not
|
|
63
|
+
# active.
|
|
64
|
+
module InboundACHDebits
|
|
65
|
+
extend Increase::Internal::Type::Enum
|
|
66
|
+
|
|
67
|
+
# ACH Debits are allowed.
|
|
68
|
+
ALLOWED = :allowed
|
|
69
|
+
|
|
70
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
71
|
+
BLOCKED = :blocked
|
|
90
72
|
|
|
91
|
-
|
|
92
|
-
#
|
|
93
|
-
# How Increase should process checks with this account number printed on them.
|
|
94
|
-
#
|
|
95
|
-
# @return [Symbol, Increase::Models::AccountNumberUpdateParams::InboundChecks::Status]
|
|
96
|
-
required :status, enum: -> { Increase::AccountNumberUpdateParams::InboundChecks::Status }
|
|
97
|
-
|
|
98
|
-
# @!method initialize(status:)
|
|
99
|
-
# Options related to how this Account Number should handle inbound check
|
|
100
|
-
# withdrawals.
|
|
101
|
-
#
|
|
102
|
-
# @param status [Symbol, Increase::Models::AccountNumberUpdateParams::InboundChecks::Status]
|
|
103
|
-
# How Increase should process checks with this account number printed on them.
|
|
104
|
-
|
|
105
|
-
# How Increase should process checks with this account number printed on them.
|
|
106
|
-
#
|
|
107
|
-
# @see Increase::Models::AccountNumberUpdateParams::InboundChecks#status
|
|
108
|
-
module Status
|
|
109
|
-
extend Increase::Internal::Type::Enum
|
|
110
|
-
|
|
111
|
-
# Checks with this Account Number will be processed even if they are not associated with a Check Transfer.
|
|
112
|
-
ALLOWED = :allowed
|
|
113
|
-
|
|
114
|
-
# Checks with this Account Number will be processed only if they can be matched to an existing Check Transfer.
|
|
115
|
-
CHECK_TRANSFERS_ONLY = :check_transfers_only
|
|
116
|
-
|
|
117
|
-
# @!method self.values
|
|
118
|
-
# @return [Array<Symbol>]
|
|
119
|
-
end
|
|
73
|
+
# @!method self.values
|
|
74
|
+
# @return [Array<Symbol>]
|
|
120
75
|
end
|
|
121
76
|
|
|
122
77
|
# This indicates if transfers can be made to the Account Number.
|
|
@@ -135,6 +90,20 @@ module Increase
|
|
|
135
90
|
# @!method self.values
|
|
136
91
|
# @return [Array<Symbol>]
|
|
137
92
|
end
|
|
93
|
+
|
|
94
|
+
# Whether unregistered inbound checks for this Account Number can be deposited.
|
|
95
|
+
module UnregisteredInboundChecks
|
|
96
|
+
extend Increase::Internal::Type::Enum
|
|
97
|
+
|
|
98
|
+
# Accept all Inbound Check Deposits, even if they are not associated with a Check Transfer or Checkbook Check.
|
|
99
|
+
ALLOWED = :allowed
|
|
100
|
+
|
|
101
|
+
# Only accept Inbound Check Deposits if they can be matched to a Check Transfer or Checkbook Check.
|
|
102
|
+
BLOCKED = :blocked
|
|
103
|
+
|
|
104
|
+
# @!method self.values
|
|
105
|
+
# @return [Array<Symbol>]
|
|
106
|
+
end
|
|
138
107
|
end
|
|
139
108
|
end
|
|
140
109
|
end
|