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
|
@@ -7,12 +7,12 @@ module Increase
|
|
|
7
7
|
account_number: String,
|
|
8
8
|
created_at: Time,
|
|
9
9
|
idempotency_key: String?,
|
|
10
|
-
|
|
11
|
-
inbound_checks: Increase::AccountNumber::InboundChecks,
|
|
10
|
+
inbound_ach_debits: Increase::Models::AccountNumber::inbound_ach_debits,
|
|
12
11
|
name: String,
|
|
13
12
|
routing_number: String,
|
|
14
13
|
status: Increase::Models::AccountNumber::status,
|
|
15
|
-
type: Increase::Models::AccountNumber::type_
|
|
14
|
+
type: Increase::Models::AccountNumber::type_,
|
|
15
|
+
unregistered_inbound_checks: Increase::Models::AccountNumber::unregistered_inbound_checks
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
class AccountNumber < Increase::Internal::Type::BaseModel
|
|
@@ -26,9 +26,7 @@ module Increase
|
|
|
26
26
|
|
|
27
27
|
attr_accessor idempotency_key: String?
|
|
28
28
|
|
|
29
|
-
attr_accessor
|
|
30
|
-
|
|
31
|
-
attr_accessor inbound_checks: Increase::AccountNumber::InboundChecks
|
|
29
|
+
attr_accessor inbound_ach_debits: Increase::Models::AccountNumber::inbound_ach_debits
|
|
32
30
|
|
|
33
31
|
attr_accessor name: String
|
|
34
32
|
|
|
@@ -38,18 +36,20 @@ module Increase
|
|
|
38
36
|
|
|
39
37
|
attr_accessor type: Increase::Models::AccountNumber::type_
|
|
40
38
|
|
|
39
|
+
attr_accessor unregistered_inbound_checks: Increase::Models::AccountNumber::unregistered_inbound_checks
|
|
40
|
+
|
|
41
41
|
def initialize: (
|
|
42
42
|
id: String,
|
|
43
43
|
account_id: String,
|
|
44
44
|
account_number: String,
|
|
45
45
|
created_at: Time,
|
|
46
46
|
idempotency_key: String?,
|
|
47
|
-
|
|
48
|
-
inbound_checks: Increase::AccountNumber::InboundChecks,
|
|
47
|
+
inbound_ach_debits: Increase::Models::AccountNumber::inbound_ach_debits,
|
|
49
48
|
name: String,
|
|
50
49
|
routing_number: String,
|
|
51
50
|
status: Increase::Models::AccountNumber::status,
|
|
52
|
-
type: Increase::Models::AccountNumber::type_
|
|
51
|
+
type: Increase::Models::AccountNumber::type_,
|
|
52
|
+
unregistered_inbound_checks: Increase::Models::AccountNumber::unregistered_inbound_checks
|
|
53
53
|
) -> void
|
|
54
54
|
|
|
55
55
|
def to_hash: -> {
|
|
@@ -58,72 +58,26 @@ module Increase
|
|
|
58
58
|
account_number: String,
|
|
59
59
|
created_at: Time,
|
|
60
60
|
idempotency_key: String?,
|
|
61
|
-
|
|
62
|
-
inbound_checks: Increase::AccountNumber::InboundChecks,
|
|
61
|
+
inbound_ach_debits: Increase::Models::AccountNumber::inbound_ach_debits,
|
|
63
62
|
name: String,
|
|
64
63
|
routing_number: String,
|
|
65
64
|
status: Increase::Models::AccountNumber::status,
|
|
66
|
-
type: Increase::Models::AccountNumber::type_
|
|
65
|
+
type: Increase::Models::AccountNumber::type_,
|
|
66
|
+
unregistered_inbound_checks: Increase::Models::AccountNumber::unregistered_inbound_checks
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
type
|
|
70
|
-
{
|
|
71
|
-
debit_status: Increase::Models::AccountNumber::InboundACH::debit_status
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
class InboundACH < Increase::Internal::Type::BaseModel
|
|
75
|
-
attr_accessor debit_status: Increase::Models::AccountNumber::InboundACH::debit_status
|
|
76
|
-
|
|
77
|
-
def initialize: (
|
|
78
|
-
debit_status: Increase::Models::AccountNumber::InboundACH::debit_status
|
|
79
|
-
) -> void
|
|
80
|
-
|
|
81
|
-
def to_hash: -> {
|
|
82
|
-
debit_status: Increase::Models::AccountNumber::InboundACH::debit_status
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
type debit_status = :allowed | :blocked
|
|
86
|
-
|
|
87
|
-
module DebitStatus
|
|
88
|
-
extend Increase::Internal::Type::Enum
|
|
89
|
-
|
|
90
|
-
# ACH Debits are allowed.
|
|
91
|
-
ALLOWED: :allowed
|
|
92
|
-
|
|
93
|
-
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
94
|
-
BLOCKED: :blocked
|
|
95
|
-
|
|
96
|
-
def self?.values: -> ::Array[Increase::Models::AccountNumber::InboundACH::debit_status]
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
|
-
|
|
100
|
-
type inbound_checks =
|
|
101
|
-
{ status: Increase::Models::AccountNumber::InboundChecks::status }
|
|
69
|
+
type inbound_ach_debits = :allowed | :blocked
|
|
102
70
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
def initialize: (
|
|
107
|
-
status: Increase::Models::AccountNumber::InboundChecks::status
|
|
108
|
-
) -> void
|
|
109
|
-
|
|
110
|
-
def to_hash: -> {
|
|
111
|
-
status: Increase::Models::AccountNumber::InboundChecks::status
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
type status = :allowed | :check_transfers_only
|
|
115
|
-
|
|
116
|
-
module Status
|
|
117
|
-
extend Increase::Internal::Type::Enum
|
|
71
|
+
module InboundACHDebits
|
|
72
|
+
extend Increase::Internal::Type::Enum
|
|
118
73
|
|
|
119
|
-
|
|
120
|
-
|
|
74
|
+
# ACH Debits are allowed.
|
|
75
|
+
ALLOWED: :allowed
|
|
121
76
|
|
|
122
|
-
|
|
123
|
-
|
|
77
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
78
|
+
BLOCKED: :blocked
|
|
124
79
|
|
|
125
|
-
|
|
126
|
-
end
|
|
80
|
+
def self?.values: -> ::Array[Increase::Models::AccountNumber::inbound_ach_debits]
|
|
127
81
|
end
|
|
128
82
|
|
|
129
83
|
type status = :active | :disabled | :canceled
|
|
@@ -152,6 +106,20 @@ module Increase
|
|
|
152
106
|
|
|
153
107
|
def self?.values: -> ::Array[Increase::Models::AccountNumber::type_]
|
|
154
108
|
end
|
|
109
|
+
|
|
110
|
+
type unregistered_inbound_checks = :allowed | :blocked
|
|
111
|
+
|
|
112
|
+
module UnregisteredInboundChecks
|
|
113
|
+
extend Increase::Internal::Type::Enum
|
|
114
|
+
|
|
115
|
+
# Accept all Inbound Check Deposits, even if they are not associated with a Check Transfer or Checkbook Check.
|
|
116
|
+
ALLOWED: :allowed
|
|
117
|
+
|
|
118
|
+
# Only accept Inbound Check Deposits if they can be matched to a Check Transfer or Checkbook Check.
|
|
119
|
+
BLOCKED: :blocked
|
|
120
|
+
|
|
121
|
+
def self?.values: -> ::Array[Increase::Models::AccountNumber::unregistered_inbound_checks]
|
|
122
|
+
end
|
|
155
123
|
end
|
|
156
124
|
end
|
|
157
125
|
end
|
|
@@ -4,8 +4,8 @@ module Increase
|
|
|
4
4
|
{
|
|
5
5
|
account_id: String,
|
|
6
6
|
name: String,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
inbound_ach_debits: Increase::Models::AccountNumberCreateParams::inbound_ach_debits,
|
|
8
|
+
unregistered_inbound_checks: Increase::Models::AccountNumberCreateParams::unregistered_inbound_checks
|
|
9
9
|
}
|
|
10
10
|
& Increase::Internal::Type::request_parameters
|
|
11
11
|
|
|
@@ -17,94 +17,60 @@ module Increase
|
|
|
17
17
|
|
|
18
18
|
attr_accessor name: String
|
|
19
19
|
|
|
20
|
-
attr_reader
|
|
20
|
+
attr_reader inbound_ach_debits: Increase::Models::AccountNumberCreateParams::inbound_ach_debits?
|
|
21
21
|
|
|
22
|
-
def
|
|
23
|
-
Increase::AccountNumberCreateParams::
|
|
24
|
-
) -> Increase::AccountNumberCreateParams::
|
|
22
|
+
def inbound_ach_debits=: (
|
|
23
|
+
Increase::Models::AccountNumberCreateParams::inbound_ach_debits
|
|
24
|
+
) -> Increase::Models::AccountNumberCreateParams::inbound_ach_debits
|
|
25
25
|
|
|
26
|
-
attr_reader
|
|
26
|
+
attr_reader unregistered_inbound_checks: Increase::Models::AccountNumberCreateParams::unregistered_inbound_checks?
|
|
27
27
|
|
|
28
|
-
def
|
|
29
|
-
Increase::AccountNumberCreateParams::
|
|
30
|
-
) -> Increase::AccountNumberCreateParams::
|
|
28
|
+
def unregistered_inbound_checks=: (
|
|
29
|
+
Increase::Models::AccountNumberCreateParams::unregistered_inbound_checks
|
|
30
|
+
) -> Increase::Models::AccountNumberCreateParams::unregistered_inbound_checks
|
|
31
31
|
|
|
32
32
|
def initialize: (
|
|
33
33
|
account_id: String,
|
|
34
34
|
name: String,
|
|
35
|
-
?
|
|
36
|
-
?
|
|
35
|
+
?inbound_ach_debits: Increase::Models::AccountNumberCreateParams::inbound_ach_debits,
|
|
36
|
+
?unregistered_inbound_checks: Increase::Models::AccountNumberCreateParams::unregistered_inbound_checks,
|
|
37
37
|
?request_options: Increase::request_opts
|
|
38
38
|
) -> void
|
|
39
39
|
|
|
40
40
|
def to_hash: -> {
|
|
41
41
|
account_id: String,
|
|
42
42
|
name: String,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
inbound_ach_debits: Increase::Models::AccountNumberCreateParams::inbound_ach_debits,
|
|
44
|
+
unregistered_inbound_checks: Increase::Models::AccountNumberCreateParams::unregistered_inbound_checks,
|
|
45
45
|
request_options: Increase::RequestOptions
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
type
|
|
49
|
-
{
|
|
50
|
-
debit_status: Increase::Models::AccountNumberCreateParams::InboundACH::debit_status
|
|
51
|
-
}
|
|
48
|
+
type inbound_ach_debits = :allowed | :blocked
|
|
52
49
|
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
module InboundACHDebits
|
|
51
|
+
extend Increase::Internal::Type::Enum
|
|
55
52
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
) -> void
|
|
53
|
+
# ACH Debits are allowed.
|
|
54
|
+
ALLOWED: :allowed
|
|
59
55
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
56
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
57
|
+
BLOCKED: :blocked
|
|
63
58
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
module DebitStatus
|
|
67
|
-
extend Increase::Internal::Type::Enum
|
|
68
|
-
|
|
69
|
-
# ACH Debits are allowed.
|
|
70
|
-
ALLOWED: :allowed
|
|
71
|
-
|
|
72
|
-
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
73
|
-
BLOCKED: :blocked
|
|
74
|
-
|
|
75
|
-
def self?.values: -> ::Array[Increase::Models::AccountNumberCreateParams::InboundACH::debit_status]
|
|
76
|
-
end
|
|
59
|
+
def self?.values: -> ::Array[Increase::Models::AccountNumberCreateParams::inbound_ach_debits]
|
|
77
60
|
end
|
|
78
61
|
|
|
79
|
-
type
|
|
80
|
-
{
|
|
81
|
-
status: Increase::Models::AccountNumberCreateParams::InboundChecks::status
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
class InboundChecks < Increase::Internal::Type::BaseModel
|
|
85
|
-
attr_accessor status: Increase::Models::AccountNumberCreateParams::InboundChecks::status
|
|
86
|
-
|
|
87
|
-
def initialize: (
|
|
88
|
-
status: Increase::Models::AccountNumberCreateParams::InboundChecks::status
|
|
89
|
-
) -> void
|
|
90
|
-
|
|
91
|
-
def to_hash: -> {
|
|
92
|
-
status: Increase::Models::AccountNumberCreateParams::InboundChecks::status
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
type status = :allowed | :check_transfers_only
|
|
62
|
+
type unregistered_inbound_checks = :allowed | :blocked
|
|
96
63
|
|
|
97
|
-
|
|
98
|
-
|
|
64
|
+
module UnregisteredInboundChecks
|
|
65
|
+
extend Increase::Internal::Type::Enum
|
|
99
66
|
|
|
100
|
-
|
|
101
|
-
|
|
67
|
+
# Accept all Inbound Check Deposits, even if they are not associated with a Check Transfer or Checkbook Check.
|
|
68
|
+
ALLOWED: :allowed
|
|
102
69
|
|
|
103
|
-
|
|
104
|
-
|
|
70
|
+
# Only accept Inbound Check Deposits if they can be matched to a Check Transfer or Checkbook Check.
|
|
71
|
+
BLOCKED: :blocked
|
|
105
72
|
|
|
106
|
-
|
|
107
|
-
end
|
|
73
|
+
def self?.values: -> ::Array[Increase::Models::AccountNumberCreateParams::unregistered_inbound_checks]
|
|
108
74
|
end
|
|
109
75
|
end
|
|
110
76
|
end
|
|
@@ -3,10 +3,10 @@ module Increase
|
|
|
3
3
|
type account_number_list_params =
|
|
4
4
|
{
|
|
5
5
|
account_id: String,
|
|
6
|
-
ach_debit_status: Increase::AccountNumberListParams::ACHDebitStatus,
|
|
7
6
|
created_at: Increase::AccountNumberListParams::CreatedAt,
|
|
8
7
|
cursor: String,
|
|
9
8
|
idempotency_key: String,
|
|
9
|
+
inbound_ach_debits: Increase::AccountNumberListParams::InboundACHDebits,
|
|
10
10
|
limit: Integer,
|
|
11
11
|
status: Increase::AccountNumberListParams::Status
|
|
12
12
|
}
|
|
@@ -20,12 +20,6 @@ module Increase
|
|
|
20
20
|
|
|
21
21
|
def account_id=: (String) -> String
|
|
22
22
|
|
|
23
|
-
attr_reader ach_debit_status: Increase::AccountNumberListParams::ACHDebitStatus?
|
|
24
|
-
|
|
25
|
-
def ach_debit_status=: (
|
|
26
|
-
Increase::AccountNumberListParams::ACHDebitStatus
|
|
27
|
-
) -> Increase::AccountNumberListParams::ACHDebitStatus
|
|
28
|
-
|
|
29
23
|
attr_reader created_at: Increase::AccountNumberListParams::CreatedAt?
|
|
30
24
|
|
|
31
25
|
def created_at=: (
|
|
@@ -40,6 +34,12 @@ module Increase
|
|
|
40
34
|
|
|
41
35
|
def idempotency_key=: (String) -> String
|
|
42
36
|
|
|
37
|
+
attr_reader inbound_ach_debits: Increase::AccountNumberListParams::InboundACHDebits?
|
|
38
|
+
|
|
39
|
+
def inbound_ach_debits=: (
|
|
40
|
+
Increase::AccountNumberListParams::InboundACHDebits
|
|
41
|
+
) -> Increase::AccountNumberListParams::InboundACHDebits
|
|
42
|
+
|
|
43
43
|
attr_reader limit: Integer?
|
|
44
44
|
|
|
45
45
|
def limit=: (Integer) -> Integer
|
|
@@ -52,10 +52,10 @@ module Increase
|
|
|
52
52
|
|
|
53
53
|
def initialize: (
|
|
54
54
|
?account_id: String,
|
|
55
|
-
?ach_debit_status: Increase::AccountNumberListParams::ACHDebitStatus,
|
|
56
55
|
?created_at: Increase::AccountNumberListParams::CreatedAt,
|
|
57
56
|
?cursor: String,
|
|
58
57
|
?idempotency_key: String,
|
|
58
|
+
?inbound_ach_debits: Increase::AccountNumberListParams::InboundACHDebits,
|
|
59
59
|
?limit: Integer,
|
|
60
60
|
?status: Increase::AccountNumberListParams::Status,
|
|
61
61
|
?request_options: Increase::request_opts
|
|
@@ -63,50 +63,15 @@ module Increase
|
|
|
63
63
|
|
|
64
64
|
def to_hash: -> {
|
|
65
65
|
account_id: String,
|
|
66
|
-
ach_debit_status: Increase::AccountNumberListParams::ACHDebitStatus,
|
|
67
66
|
created_at: Increase::AccountNumberListParams::CreatedAt,
|
|
68
67
|
cursor: String,
|
|
69
68
|
idempotency_key: String,
|
|
69
|
+
inbound_ach_debits: Increase::AccountNumberListParams::InboundACHDebits,
|
|
70
70
|
limit: Integer,
|
|
71
71
|
status: Increase::AccountNumberListParams::Status,
|
|
72
72
|
request_options: Increase::RequestOptions
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
type ach_debit_status =
|
|
76
|
-
{
|
|
77
|
-
in_: ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_]
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
class ACHDebitStatus < Increase::Internal::Type::BaseModel
|
|
81
|
-
attr_reader in_: ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_]?
|
|
82
|
-
|
|
83
|
-
def in_=: (
|
|
84
|
-
::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_]
|
|
85
|
-
) -> ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_]
|
|
86
|
-
|
|
87
|
-
def initialize: (
|
|
88
|
-
?in_: ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_]
|
|
89
|
-
) -> void
|
|
90
|
-
|
|
91
|
-
def to_hash: -> {
|
|
92
|
-
in_: ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_]
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
type in_ = :allowed | :blocked
|
|
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
|
-
def self?.values: -> ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_]
|
|
107
|
-
end
|
|
108
|
-
end
|
|
109
|
-
|
|
110
75
|
type created_at =
|
|
111
76
|
{ after: Time, before: Time, on_or_after: Time, on_or_before: Time }
|
|
112
77
|
|
|
@@ -142,6 +107,41 @@ module Increase
|
|
|
142
107
|
}
|
|
143
108
|
end
|
|
144
109
|
|
|
110
|
+
type inbound_ach_debits =
|
|
111
|
+
{
|
|
112
|
+
in_: ::Array[Increase::Models::AccountNumberListParams::InboundACHDebits::in_]
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
class InboundACHDebits < Increase::Internal::Type::BaseModel
|
|
116
|
+
attr_reader in_: ::Array[Increase::Models::AccountNumberListParams::InboundACHDebits::in_]?
|
|
117
|
+
|
|
118
|
+
def in_=: (
|
|
119
|
+
::Array[Increase::Models::AccountNumberListParams::InboundACHDebits::in_]
|
|
120
|
+
) -> ::Array[Increase::Models::AccountNumberListParams::InboundACHDebits::in_]
|
|
121
|
+
|
|
122
|
+
def initialize: (
|
|
123
|
+
?in_: ::Array[Increase::Models::AccountNumberListParams::InboundACHDebits::in_]
|
|
124
|
+
) -> void
|
|
125
|
+
|
|
126
|
+
def to_hash: -> {
|
|
127
|
+
in_: ::Array[Increase::Models::AccountNumberListParams::InboundACHDebits::in_]
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
type in_ = :allowed | :blocked
|
|
131
|
+
|
|
132
|
+
module In
|
|
133
|
+
extend Increase::Internal::Type::Enum
|
|
134
|
+
|
|
135
|
+
# ACH Debits are allowed.
|
|
136
|
+
ALLOWED: :allowed
|
|
137
|
+
|
|
138
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
139
|
+
BLOCKED: :blocked
|
|
140
|
+
|
|
141
|
+
def self?.values: -> ::Array[Increase::Models::AccountNumberListParams::InboundACHDebits::in_]
|
|
142
|
+
end
|
|
143
|
+
end
|
|
144
|
+
|
|
145
145
|
type status =
|
|
146
146
|
{ in_: ::Array[Increase::Models::AccountNumberListParams::Status::in_] }
|
|
147
147
|
|
|
@@ -3,10 +3,10 @@ module Increase
|
|
|
3
3
|
type account_number_update_params =
|
|
4
4
|
{
|
|
5
5
|
account_number_id: String,
|
|
6
|
-
|
|
7
|
-
inbound_checks: Increase::AccountNumberUpdateParams::InboundChecks,
|
|
6
|
+
inbound_ach_debits: Increase::Models::AccountNumberUpdateParams::inbound_ach_debits,
|
|
8
7
|
name: String,
|
|
9
|
-
status: Increase::Models::AccountNumberUpdateParams::status
|
|
8
|
+
status: Increase::Models::AccountNumberUpdateParams::status,
|
|
9
|
+
unregistered_inbound_checks: Increase::Models::AccountNumberUpdateParams::unregistered_inbound_checks
|
|
10
10
|
}
|
|
11
11
|
& Increase::Internal::Type::request_parameters
|
|
12
12
|
|
|
@@ -16,17 +16,11 @@ module Increase
|
|
|
16
16
|
|
|
17
17
|
attr_accessor account_number_id: String
|
|
18
18
|
|
|
19
|
-
attr_reader
|
|
20
|
-
|
|
21
|
-
def inbound_ach=: (
|
|
22
|
-
Increase::AccountNumberUpdateParams::InboundACH
|
|
23
|
-
) -> Increase::AccountNumberUpdateParams::InboundACH
|
|
19
|
+
attr_reader inbound_ach_debits: Increase::Models::AccountNumberUpdateParams::inbound_ach_debits?
|
|
24
20
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Increase::AccountNumberUpdateParams::InboundChecks
|
|
29
|
-
) -> Increase::AccountNumberUpdateParams::InboundChecks
|
|
21
|
+
def inbound_ach_debits=: (
|
|
22
|
+
Increase::Models::AccountNumberUpdateParams::inbound_ach_debits
|
|
23
|
+
) -> Increase::Models::AccountNumberUpdateParams::inbound_ach_debits
|
|
30
24
|
|
|
31
25
|
attr_reader name: String?
|
|
32
26
|
|
|
@@ -38,88 +32,42 @@ module Increase
|
|
|
38
32
|
Increase::Models::AccountNumberUpdateParams::status
|
|
39
33
|
) -> Increase::Models::AccountNumberUpdateParams::status
|
|
40
34
|
|
|
35
|
+
attr_reader unregistered_inbound_checks: Increase::Models::AccountNumberUpdateParams::unregistered_inbound_checks?
|
|
36
|
+
|
|
37
|
+
def unregistered_inbound_checks=: (
|
|
38
|
+
Increase::Models::AccountNumberUpdateParams::unregistered_inbound_checks
|
|
39
|
+
) -> Increase::Models::AccountNumberUpdateParams::unregistered_inbound_checks
|
|
40
|
+
|
|
41
41
|
def initialize: (
|
|
42
42
|
account_number_id: String,
|
|
43
|
-
?
|
|
44
|
-
?inbound_checks: Increase::AccountNumberUpdateParams::InboundChecks,
|
|
43
|
+
?inbound_ach_debits: Increase::Models::AccountNumberUpdateParams::inbound_ach_debits,
|
|
45
44
|
?name: String,
|
|
46
45
|
?status: Increase::Models::AccountNumberUpdateParams::status,
|
|
46
|
+
?unregistered_inbound_checks: Increase::Models::AccountNumberUpdateParams::unregistered_inbound_checks,
|
|
47
47
|
?request_options: Increase::request_opts
|
|
48
48
|
) -> void
|
|
49
49
|
|
|
50
50
|
def to_hash: -> {
|
|
51
51
|
account_number_id: String,
|
|
52
|
-
|
|
53
|
-
inbound_checks: Increase::AccountNumberUpdateParams::InboundChecks,
|
|
52
|
+
inbound_ach_debits: Increase::Models::AccountNumberUpdateParams::inbound_ach_debits,
|
|
54
53
|
name: String,
|
|
55
54
|
status: Increase::Models::AccountNumberUpdateParams::status,
|
|
55
|
+
unregistered_inbound_checks: Increase::Models::AccountNumberUpdateParams::unregistered_inbound_checks,
|
|
56
56
|
request_options: Increase::RequestOptions
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
type
|
|
60
|
-
{
|
|
61
|
-
debit_status: Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
class InboundACH < Increase::Internal::Type::BaseModel
|
|
65
|
-
attr_reader debit_status: Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status?
|
|
66
|
-
|
|
67
|
-
def debit_status=: (
|
|
68
|
-
Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status
|
|
69
|
-
) -> Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status
|
|
70
|
-
|
|
71
|
-
def initialize: (
|
|
72
|
-
?debit_status: Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status
|
|
73
|
-
) -> void
|
|
74
|
-
|
|
75
|
-
def to_hash: -> {
|
|
76
|
-
debit_status: Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
type debit_status = :allowed | :blocked
|
|
80
|
-
|
|
81
|
-
module DebitStatus
|
|
82
|
-
extend Increase::Internal::Type::Enum
|
|
83
|
-
|
|
84
|
-
# ACH Debits are allowed.
|
|
85
|
-
ALLOWED: :allowed
|
|
86
|
-
|
|
87
|
-
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
88
|
-
BLOCKED: :blocked
|
|
89
|
-
|
|
90
|
-
def self?.values: -> ::Array[Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status]
|
|
91
|
-
end
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
type inbound_checks =
|
|
95
|
-
{
|
|
96
|
-
status: Increase::Models::AccountNumberUpdateParams::InboundChecks::status
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
class InboundChecks < Increase::Internal::Type::BaseModel
|
|
100
|
-
attr_accessor status: Increase::Models::AccountNumberUpdateParams::InboundChecks::status
|
|
101
|
-
|
|
102
|
-
def initialize: (
|
|
103
|
-
status: Increase::Models::AccountNumberUpdateParams::InboundChecks::status
|
|
104
|
-
) -> void
|
|
59
|
+
type inbound_ach_debits = :allowed | :blocked
|
|
105
60
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
type status = :allowed | :check_transfers_only
|
|
111
|
-
|
|
112
|
-
module Status
|
|
113
|
-
extend Increase::Internal::Type::Enum
|
|
61
|
+
module InboundACHDebits
|
|
62
|
+
extend Increase::Internal::Type::Enum
|
|
114
63
|
|
|
115
|
-
|
|
116
|
-
|
|
64
|
+
# ACH Debits are allowed.
|
|
65
|
+
ALLOWED: :allowed
|
|
117
66
|
|
|
118
|
-
|
|
119
|
-
|
|
67
|
+
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
|
|
68
|
+
BLOCKED: :blocked
|
|
120
69
|
|
|
121
|
-
|
|
122
|
-
end
|
|
70
|
+
def self?.values: -> ::Array[Increase::Models::AccountNumberUpdateParams::inbound_ach_debits]
|
|
123
71
|
end
|
|
124
72
|
|
|
125
73
|
type status = :active | :disabled | :canceled
|
|
@@ -138,6 +86,20 @@ module Increase
|
|
|
138
86
|
|
|
139
87
|
def self?.values: -> ::Array[Increase::Models::AccountNumberUpdateParams::status]
|
|
140
88
|
end
|
|
89
|
+
|
|
90
|
+
type unregistered_inbound_checks = :allowed | :blocked
|
|
91
|
+
|
|
92
|
+
module UnregisteredInboundChecks
|
|
93
|
+
extend Increase::Internal::Type::Enum
|
|
94
|
+
|
|
95
|
+
# Accept all Inbound Check Deposits, even if they are not associated with a Check Transfer or Checkbook Check.
|
|
96
|
+
ALLOWED: :allowed
|
|
97
|
+
|
|
98
|
+
# Only accept Inbound Check Deposits if they can be matched to a Check Transfer or Checkbook Check.
|
|
99
|
+
BLOCKED: :blocked
|
|
100
|
+
|
|
101
|
+
def self?.values: -> ::Array[Increase::Models::AccountNumberUpdateParams::unregistered_inbound_checks]
|
|
102
|
+
end
|
|
141
103
|
end
|
|
142
104
|
end
|
|
143
105
|
end
|
|
@@ -6826,6 +6826,7 @@ module Increase
|
|
|
6826
6826
|
| :electric_vehicle_charging_level_1_110_volt
|
|
6827
6827
|
| :electric_vehicle_charging_level_2_240_volt
|
|
6828
6828
|
| :electric_vehicle_charging_level_3_480_volt
|
|
6829
|
+
| :diesel_1_off_road_non_taxable
|
|
6829
6830
|
| :renewable_diesel_r95_or_greater_off_road_non_taxable
|
|
6830
6831
|
| :biodiesel_blend_1_off_road_non_taxable
|
|
6831
6832
|
| :biodiesel_blend_75_off_road_non_taxable
|
|
@@ -7108,6 +7109,9 @@ module Increase
|
|
|
7108
7109
|
# Electric vehicle charging level 3 480 volt
|
|
7109
7110
|
ELECTRIC_VEHICLE_CHARGING_LEVEL_3_480_VOLT: :electric_vehicle_charging_level_3_480_volt
|
|
7110
7111
|
|
|
7112
|
+
# Diesel 1 off-road non-taxable
|
|
7113
|
+
DIESEL_1_OFF_ROAD_NON_TAXABLE: :diesel_1_off_road_non_taxable
|
|
7114
|
+
|
|
7111
7115
|
# Renewable diesel R95 or greater off-road non-taxable
|
|
7112
7116
|
RENEWABLE_DIESEL_R95_OR_GREATER_OFF_ROAD_NON_TAXABLE: :renewable_diesel_r95_or_greater_off_road_non_taxable
|
|
7113
7117
|
|
|
@@ -9023,6 +9027,7 @@ module Increase
|
|
|
9023
9027
|
| :electric_vehicle_charging_level_1_110_volt
|
|
9024
9028
|
| :electric_vehicle_charging_level_2_240_volt
|
|
9025
9029
|
| :electric_vehicle_charging_level_3_480_volt
|
|
9030
|
+
| :diesel_1_off_road_non_taxable
|
|
9026
9031
|
| :renewable_diesel_r95_or_greater_off_road_non_taxable
|
|
9027
9032
|
| :biodiesel_blend_1_off_road_non_taxable
|
|
9028
9033
|
| :biodiesel_blend_75_off_road_non_taxable
|
|
@@ -9305,6 +9310,9 @@ module Increase
|
|
|
9305
9310
|
# Electric vehicle charging level 3 480 volt
|
|
9306
9311
|
ELECTRIC_VEHICLE_CHARGING_LEVEL_3_480_VOLT: :electric_vehicle_charging_level_3_480_volt
|
|
9307
9312
|
|
|
9313
|
+
# Diesel 1 off-road non-taxable
|
|
9314
|
+
DIESEL_1_OFF_ROAD_NON_TAXABLE: :diesel_1_off_road_non_taxable
|
|
9315
|
+
|
|
9308
9316
|
# Renewable diesel R95 or greater off-road non-taxable
|
|
9309
9317
|
RENEWABLE_DIESEL_R95_OR_GREATER_OFF_ROAD_NON_TAXABLE: :renewable_diesel_r95_or_greater_off_road_non_taxable
|
|
9310
9318
|
|
|
@@ -498,31 +498,27 @@ module Increase
|
|
|
498
498
|
end
|
|
499
499
|
|
|
500
500
|
type digital_wallet =
|
|
501
|
-
{ digital_card_profile_id: String, email: String
|
|
501
|
+
{ digital_card_profile_id: String, email: String?, phone: String? }
|
|
502
502
|
|
|
503
503
|
class DigitalWallet < Increase::Internal::Type::BaseModel
|
|
504
504
|
attr_reader digital_card_profile_id: String?
|
|
505
505
|
|
|
506
506
|
def digital_card_profile_id=: (String) -> String
|
|
507
507
|
|
|
508
|
-
|
|
508
|
+
attr_accessor email: String?
|
|
509
509
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
attr_reader phone: String?
|
|
513
|
-
|
|
514
|
-
def phone=: (String) -> String
|
|
510
|
+
attr_accessor phone: String?
|
|
515
511
|
|
|
516
512
|
def initialize: (
|
|
517
513
|
?digital_card_profile_id: String,
|
|
518
|
-
?email: String
|
|
519
|
-
?phone: String
|
|
514
|
+
?email: String?,
|
|
515
|
+
?phone: String?
|
|
520
516
|
) -> void
|
|
521
517
|
|
|
522
518
|
def to_hash: -> {
|
|
523
519
|
digital_card_profile_id: String,
|
|
524
|
-
email: String
|
|
525
|
-
phone: String
|
|
520
|
+
email: String?,
|
|
521
|
+
phone: String?
|
|
526
522
|
}
|
|
527
523
|
end
|
|
528
524
|
|