increase 1.362.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 -16
- 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 +38 -23
- data/lib/increase/models/card_payment.rb +6 -0
- data/lib/increase/models/card_update_params.rb +12 -8
- data/lib/increase/models/check_transfer.rb +58 -44
- data/lib/increase/models/check_transfer_create_params.rb +35 -21
- 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/export.rb +12 -1
- data/lib/increase/models/export_create_params.rb +26 -4
- data/lib/increase/models/inbound_ach_transfer.rb +6 -6
- data/lib/increase/models/inbound_check_deposit.rb +12 -1
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +10 -1
- data/lib/increase/models/inbound_real_time_payments_transfer_return_params.rb +36 -0
- data/lib/increase/models/real_time_decision.rb +65 -1
- data/lib/increase/models/real_time_payments_transfer.rb +21 -1
- data/lib/increase/models/simulations/checkbook_mail_params.rb +24 -0
- data/lib/increase/models/transaction.rb +27 -5
- data/lib/increase/models.rb +21 -20
- 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/inbound_real_time_payments_transfers.rb +28 -0
- 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 +14 -14
- data/rbi/increase/client.rbi +6 -12
- 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 +35 -23
- data/rbi/increase/models/card_payment.rbi +14 -0
- data/rbi/increase/models/card_update_params.rbi +17 -15
- data/rbi/increase/models/check_transfer.rbi +72 -54
- data/rbi/increase/models/check_transfer_create_params.rbi +55 -21
- 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/{oauth_connection_retrieve_params.rbi → checkbook_check_retrieve_params.rbi} +8 -8
- data/rbi/increase/models/{oauth_application_retrieve_params.rbi → checkbook_check_stop_params.rbi} +8 -11
- 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/export.rbi +15 -3
- data/rbi/increase/models/export_create_params.rbi +27 -3
- data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
- data/rbi/increase/models/inbound_check_deposit.rbi +10 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +8 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer_return_params.rbi +61 -0
- data/rbi/increase/models/real_time_decision.rbi +134 -3
- data/rbi/increase/models/real_time_payments_transfer.rbi +18 -0
- data/rbi/increase/models/simulations/checkbook_mail_params.rbi +45 -0
- data/rbi/increase/models/transaction.rbi +33 -3
- data/rbi/increase/models.rbi +21 -22
- 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/inbound_real_time_payments_transfers.rbi +19 -0
- data/rbi/increase/resources/simulations/checkbooks.rbi +30 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +4 -8
- 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.rbs +4 -4
- data/sig/increase/models/card_payment.rbs +8 -0
- data/sig/increase/models/card_update_params.rbs +7 -11
- data/sig/increase/models/check_transfer.rbs +59 -49
- data/sig/increase/models/check_transfer_create_params.rbs +20 -12
- 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/{oauth_connection_retrieve_params.rbs → checkbook_check_retrieve_params.rbs} +6 -6
- data/sig/increase/models/{oauth_application_retrieve_params.rbs → checkbook_check_stop_params.rbs} +6 -6
- 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/export.rbs +13 -3
- data/sig/increase/models/export_create_params.rbs +7 -0
- data/sig/increase/models/inbound_check_deposit.rbs +5 -0
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +5 -0
- data/sig/increase/models/inbound_real_time_payments_transfer_return_params.rbs +30 -0
- data/sig/increase/models/real_time_decision.rbs +69 -3
- data/sig/increase/models/real_time_payments_transfer.rbs +10 -0
- data/sig/increase/models/simulations/checkbook_mail_params.rbs +25 -0
- data/sig/increase/models/transaction.rbs +26 -5
- data/sig/increase/models.rbs +20 -20
- 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/inbound_real_time_payments_transfers.rbs +6 -0
- data/sig/increase/resources/simulations/checkbooks.rbs +14 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +45 -45
- data/lib/increase/models/group.rb +0 -57
- data/lib/increase/models/group_retrieve_params.rb +0 -14
- data/lib/increase/models/oauth_application.rb +0 -111
- data/lib/increase/models/oauth_application_list_params.rb +0 -129
- data/lib/increase/models/oauth_application_retrieve_params.rb +0 -22
- data/lib/increase/models/oauth_connection.rb +0 -107
- data/lib/increase/models/oauth_connection_list_params.rb +0 -88
- data/lib/increase/models/oauth_connection_retrieve_params.rb +0 -22
- data/lib/increase/models/oauth_token.rb +0 -76
- data/lib/increase/models/oauth_token_create_params.rb +0 -85
- data/lib/increase/resources/groups.rb +0 -32
- data/lib/increase/resources/oauth_applications.rb +0 -68
- data/lib/increase/resources/oauth_connections.rb +0 -70
- data/lib/increase/resources/oauth_tokens.rb +0 -54
- data/rbi/increase/models/group.rbi +0 -74
- data/rbi/increase/models/group_retrieve_params.rbi +0 -27
- data/rbi/increase/models/oauth_application.rbi +0 -146
- data/rbi/increase/models/oauth_application_list_params.rbi +0 -263
- data/rbi/increase/models/oauth_connection.rbi +0 -142
- data/rbi/increase/models/oauth_connection_list_params.rbi +0 -187
- data/rbi/increase/models/oauth_token.rbi +0 -106
- data/rbi/increase/models/oauth_token_create_params.rbi +0 -133
- data/rbi/increase/resources/groups.rbi +0 -21
- data/rbi/increase/resources/oauth_applications.rbi +0 -50
- data/rbi/increase/resources/oauth_connections.rbi +0 -52
- data/rbi/increase/resources/oauth_tokens.rbi +0 -44
- data/sig/increase/models/group.rbs +0 -36
- data/sig/increase/models/group_retrieve_params.rbs +0 -15
- data/sig/increase/models/oauth_application.rbs +0 -74
- data/sig/increase/models/oauth_application_list_params.rbs +0 -123
- data/sig/increase/models/oauth_connection.rbs +0 -74
- data/sig/increase/models/oauth_connection_list_params.rbs +0 -86
- data/sig/increase/models/oauth_token.rbs +0 -55
- data/sig/increase/models/oauth_token_create_params.rbs +0 -68
- data/sig/increase/resources/groups.rbs +0 -11
- data/sig/increase/resources/oauth_applications.rbs +0 -20
- data/sig/increase/resources/oauth_connections.rbs +0 -20
- data/sig/increase/resources/oauth_tokens.rbs +0 -16
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class CheckbookCheckListParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Increase::CheckbookCheckListParams, Increase::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Filter Checkbook Checks to those drawn on the specified Account Number.
|
|
15
|
+
sig { returns(T.nilable(String)) }
|
|
16
|
+
attr_reader :account_number_id
|
|
17
|
+
|
|
18
|
+
sig { params(account_number_id: String).void }
|
|
19
|
+
attr_writer :account_number_id
|
|
20
|
+
|
|
21
|
+
# Filter Checkbook Checks to the one with the specified check number.
|
|
22
|
+
sig { returns(T.nilable(Integer)) }
|
|
23
|
+
attr_reader :check_number
|
|
24
|
+
|
|
25
|
+
sig { params(check_number: Integer).void }
|
|
26
|
+
attr_writer :check_number
|
|
27
|
+
|
|
28
|
+
# Filter Checkbook Checks to those belonging to the specified Checkbook.
|
|
29
|
+
sig { returns(T.nilable(String)) }
|
|
30
|
+
attr_reader :checkbook_id
|
|
31
|
+
|
|
32
|
+
sig { params(checkbook_id: String).void }
|
|
33
|
+
attr_writer :checkbook_id
|
|
34
|
+
|
|
35
|
+
# Return the page of entries after this one.
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
attr_reader :cursor
|
|
38
|
+
|
|
39
|
+
sig { params(cursor: String).void }
|
|
40
|
+
attr_writer :cursor
|
|
41
|
+
|
|
42
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
43
|
+
# objects.
|
|
44
|
+
#
|
|
45
|
+
# Defaults to `100`.
|
|
46
|
+
sig { returns(T.nilable(Integer)) }
|
|
47
|
+
attr_reader :limit
|
|
48
|
+
|
|
49
|
+
sig { params(limit: Integer).void }
|
|
50
|
+
attr_writer :limit
|
|
51
|
+
|
|
52
|
+
sig do
|
|
53
|
+
params(
|
|
54
|
+
account_number_id: String,
|
|
55
|
+
check_number: Integer,
|
|
56
|
+
checkbook_id: String,
|
|
57
|
+
cursor: String,
|
|
58
|
+
limit: Integer,
|
|
59
|
+
request_options: Increase::RequestOptions::OrHash
|
|
60
|
+
).returns(T.attached_class)
|
|
61
|
+
end
|
|
62
|
+
def self.new(
|
|
63
|
+
# Filter Checkbook Checks to those drawn on the specified Account Number.
|
|
64
|
+
account_number_id: nil,
|
|
65
|
+
# Filter Checkbook Checks to the one with the specified check number.
|
|
66
|
+
check_number: nil,
|
|
67
|
+
# Filter Checkbook Checks to those belonging to the specified Checkbook.
|
|
68
|
+
checkbook_id: nil,
|
|
69
|
+
# Return the page of entries after this one.
|
|
70
|
+
cursor: nil,
|
|
71
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
72
|
+
# objects.
|
|
73
|
+
#
|
|
74
|
+
# Defaults to `100`.
|
|
75
|
+
limit: nil,
|
|
76
|
+
request_options: {}
|
|
77
|
+
)
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
sig do
|
|
81
|
+
override.returns(
|
|
82
|
+
{
|
|
83
|
+
account_number_id: String,
|
|
84
|
+
check_number: Integer,
|
|
85
|
+
checkbook_id: String,
|
|
86
|
+
cursor: String,
|
|
87
|
+
limit: Integer,
|
|
88
|
+
request_options: Increase::RequestOptions
|
|
89
|
+
}
|
|
90
|
+
)
|
|
91
|
+
end
|
|
92
|
+
def to_hash
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
module Increase
|
|
4
4
|
module Models
|
|
5
|
-
class
|
|
5
|
+
class CheckbookCheckRetrieveParams < Increase::Internal::Type::BaseModel
|
|
6
6
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
7
|
include Increase::Internal::Type::RequestParameters
|
|
8
8
|
|
|
9
9
|
OrHash =
|
|
10
10
|
T.type_alias do
|
|
11
11
|
T.any(
|
|
12
|
-
Increase::
|
|
12
|
+
Increase::CheckbookCheckRetrieveParams,
|
|
13
13
|
Increase::Internal::AnyHash
|
|
14
14
|
)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
# The identifier of the
|
|
17
|
+
# The identifier of the Checkbook Check.
|
|
18
18
|
sig { returns(String) }
|
|
19
|
-
attr_accessor :
|
|
19
|
+
attr_accessor :checkbook_check_id
|
|
20
20
|
|
|
21
21
|
sig do
|
|
22
22
|
params(
|
|
23
|
-
|
|
23
|
+
checkbook_check_id: String,
|
|
24
24
|
request_options: Increase::RequestOptions::OrHash
|
|
25
25
|
).returns(T.attached_class)
|
|
26
26
|
end
|
|
27
27
|
def self.new(
|
|
28
|
-
# The identifier of the
|
|
29
|
-
|
|
28
|
+
# The identifier of the Checkbook Check.
|
|
29
|
+
checkbook_check_id:,
|
|
30
30
|
request_options: {}
|
|
31
31
|
)
|
|
32
32
|
end
|
|
@@ -34,7 +34,7 @@ module Increase
|
|
|
34
34
|
sig do
|
|
35
35
|
override.returns(
|
|
36
36
|
{
|
|
37
|
-
|
|
37
|
+
checkbook_check_id: String,
|
|
38
38
|
request_options: Increase::RequestOptions
|
|
39
39
|
}
|
|
40
40
|
)
|
data/rbi/increase/models/{oauth_application_retrieve_params.rbi → checkbook_check_stop_params.rbi}
RENAMED
|
@@ -2,31 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
module Increase
|
|
4
4
|
module Models
|
|
5
|
-
class
|
|
5
|
+
class CheckbookCheckStopParams < Increase::Internal::Type::BaseModel
|
|
6
6
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
7
|
include Increase::Internal::Type::RequestParameters
|
|
8
8
|
|
|
9
9
|
OrHash =
|
|
10
10
|
T.type_alias do
|
|
11
|
-
T.any(
|
|
12
|
-
Increase::OAuthApplicationRetrieveParams,
|
|
13
|
-
Increase::Internal::AnyHash
|
|
14
|
-
)
|
|
11
|
+
T.any(Increase::CheckbookCheckStopParams, Increase::Internal::AnyHash)
|
|
15
12
|
end
|
|
16
13
|
|
|
17
|
-
# The identifier of the
|
|
14
|
+
# The identifier of the Checkbook Check to stop.
|
|
18
15
|
sig { returns(String) }
|
|
19
|
-
attr_accessor :
|
|
16
|
+
attr_accessor :checkbook_check_id
|
|
20
17
|
|
|
21
18
|
sig do
|
|
22
19
|
params(
|
|
23
|
-
|
|
20
|
+
checkbook_check_id: String,
|
|
24
21
|
request_options: Increase::RequestOptions::OrHash
|
|
25
22
|
).returns(T.attached_class)
|
|
26
23
|
end
|
|
27
24
|
def self.new(
|
|
28
|
-
# The identifier of the
|
|
29
|
-
|
|
25
|
+
# The identifier of the Checkbook Check to stop.
|
|
26
|
+
checkbook_check_id:,
|
|
30
27
|
request_options: {}
|
|
31
28
|
)
|
|
32
29
|
end
|
|
@@ -34,7 +31,7 @@ module Increase
|
|
|
34
31
|
sig do
|
|
35
32
|
override.returns(
|
|
36
33
|
{
|
|
37
|
-
|
|
34
|
+
checkbook_check_id: String,
|
|
38
35
|
request_options: Increase::RequestOptions
|
|
39
36
|
}
|
|
40
37
|
)
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class CheckbookCreateParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Increase::CheckbookCreateParams, Increase::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The identifier of the Account Number that the checks will draw from. The Account
|
|
15
|
+
# Number must be active.
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :account_number_id
|
|
18
|
+
|
|
19
|
+
# The destination address that the Checkbook will be mailed to.
|
|
20
|
+
sig { returns(Increase::CheckbookCreateParams::MailingAddress) }
|
|
21
|
+
attr_reader :mailing_address
|
|
22
|
+
|
|
23
|
+
sig do
|
|
24
|
+
params(
|
|
25
|
+
mailing_address:
|
|
26
|
+
Increase::CheckbookCreateParams::MailingAddress::OrHash
|
|
27
|
+
).void
|
|
28
|
+
end
|
|
29
|
+
attr_writer :mailing_address
|
|
30
|
+
|
|
31
|
+
# The payer of the checks. This will be printed on the top-left corner of each
|
|
32
|
+
# check. This should be an array of up to 4 elements, each of which represents a
|
|
33
|
+
# line of the payer.
|
|
34
|
+
sig { returns(T::Array[Increase::CheckbookCreateParams::Payer]) }
|
|
35
|
+
attr_accessor :payer
|
|
36
|
+
|
|
37
|
+
sig do
|
|
38
|
+
params(
|
|
39
|
+
account_number_id: String,
|
|
40
|
+
mailing_address:
|
|
41
|
+
Increase::CheckbookCreateParams::MailingAddress::OrHash,
|
|
42
|
+
payer: T::Array[Increase::CheckbookCreateParams::Payer::OrHash],
|
|
43
|
+
request_options: Increase::RequestOptions::OrHash
|
|
44
|
+
).returns(T.attached_class)
|
|
45
|
+
end
|
|
46
|
+
def self.new(
|
|
47
|
+
# The identifier of the Account Number that the checks will draw from. The Account
|
|
48
|
+
# Number must be active.
|
|
49
|
+
account_number_id:,
|
|
50
|
+
# The destination address that the Checkbook will be mailed to.
|
|
51
|
+
mailing_address:,
|
|
52
|
+
# The payer of the checks. This will be printed on the top-left corner of each
|
|
53
|
+
# check. This should be an array of up to 4 elements, each of which represents a
|
|
54
|
+
# line of the payer.
|
|
55
|
+
payer:,
|
|
56
|
+
request_options: {}
|
|
57
|
+
)
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
sig do
|
|
61
|
+
override.returns(
|
|
62
|
+
{
|
|
63
|
+
account_number_id: String,
|
|
64
|
+
mailing_address: Increase::CheckbookCreateParams::MailingAddress,
|
|
65
|
+
payer: T::Array[Increase::CheckbookCreateParams::Payer],
|
|
66
|
+
request_options: Increase::RequestOptions
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
end
|
|
70
|
+
def to_hash
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
74
|
+
OrHash =
|
|
75
|
+
T.type_alias do
|
|
76
|
+
T.any(
|
|
77
|
+
Increase::CheckbookCreateParams::MailingAddress,
|
|
78
|
+
Increase::Internal::AnyHash
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# The city of the destination address.
|
|
83
|
+
sig { returns(String) }
|
|
84
|
+
attr_accessor :city
|
|
85
|
+
|
|
86
|
+
# The first line of the destination address.
|
|
87
|
+
sig { returns(String) }
|
|
88
|
+
attr_accessor :line1
|
|
89
|
+
|
|
90
|
+
# The recipient at the destination address.
|
|
91
|
+
sig { returns(String) }
|
|
92
|
+
attr_accessor :name
|
|
93
|
+
|
|
94
|
+
# The postal code of the destination address.
|
|
95
|
+
sig { returns(String) }
|
|
96
|
+
attr_accessor :postal_code
|
|
97
|
+
|
|
98
|
+
# The US state of the destination address.
|
|
99
|
+
sig { returns(String) }
|
|
100
|
+
attr_accessor :state
|
|
101
|
+
|
|
102
|
+
# The second line of the destination address.
|
|
103
|
+
sig { returns(T.nilable(String)) }
|
|
104
|
+
attr_reader :line2
|
|
105
|
+
|
|
106
|
+
sig { params(line2: String).void }
|
|
107
|
+
attr_writer :line2
|
|
108
|
+
|
|
109
|
+
# The destination address that the Checkbook will be mailed to.
|
|
110
|
+
sig do
|
|
111
|
+
params(
|
|
112
|
+
city: String,
|
|
113
|
+
line1: String,
|
|
114
|
+
name: String,
|
|
115
|
+
postal_code: String,
|
|
116
|
+
state: String,
|
|
117
|
+
line2: String
|
|
118
|
+
).returns(T.attached_class)
|
|
119
|
+
end
|
|
120
|
+
def self.new(
|
|
121
|
+
# The city of the destination address.
|
|
122
|
+
city:,
|
|
123
|
+
# The first line of the destination address.
|
|
124
|
+
line1:,
|
|
125
|
+
# The recipient at the destination address.
|
|
126
|
+
name:,
|
|
127
|
+
# The postal code of the destination address.
|
|
128
|
+
postal_code:,
|
|
129
|
+
# The US state of the destination address.
|
|
130
|
+
state:,
|
|
131
|
+
# The second line of the destination address.
|
|
132
|
+
line2: nil
|
|
133
|
+
)
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
sig do
|
|
137
|
+
override.returns(
|
|
138
|
+
{
|
|
139
|
+
city: String,
|
|
140
|
+
line1: String,
|
|
141
|
+
name: String,
|
|
142
|
+
postal_code: String,
|
|
143
|
+
state: String,
|
|
144
|
+
line2: String
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
end
|
|
148
|
+
def to_hash
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
class Payer < Increase::Internal::Type::BaseModel
|
|
153
|
+
OrHash =
|
|
154
|
+
T.type_alias do
|
|
155
|
+
T.any(
|
|
156
|
+
Increase::CheckbookCreateParams::Payer,
|
|
157
|
+
Increase::Internal::AnyHash
|
|
158
|
+
)
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# The contents of the line.
|
|
162
|
+
sig { returns(String) }
|
|
163
|
+
attr_accessor :contents
|
|
164
|
+
|
|
165
|
+
sig { params(contents: String).returns(T.attached_class) }
|
|
166
|
+
def self.new(
|
|
167
|
+
# The contents of the line.
|
|
168
|
+
contents:
|
|
169
|
+
)
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
sig { override.returns({ contents: String }) }
|
|
173
|
+
def to_hash
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
end
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class CheckbookListParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Increase::CheckbookListParams, Increase::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Filter Checkbooks to those attached to the specified Account Number.
|
|
15
|
+
sig { returns(T.nilable(String)) }
|
|
16
|
+
attr_reader :account_number_id
|
|
17
|
+
|
|
18
|
+
sig { params(account_number_id: String).void }
|
|
19
|
+
attr_writer :account_number_id
|
|
20
|
+
|
|
21
|
+
# Return the page of entries after this one.
|
|
22
|
+
sig { returns(T.nilable(String)) }
|
|
23
|
+
attr_reader :cursor
|
|
24
|
+
|
|
25
|
+
sig { params(cursor: String).void }
|
|
26
|
+
attr_writer :cursor
|
|
27
|
+
|
|
28
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
29
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
30
|
+
# request is only processed once. Learn more about
|
|
31
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
32
|
+
sig { returns(T.nilable(String)) }
|
|
33
|
+
attr_reader :idempotency_key
|
|
34
|
+
|
|
35
|
+
sig { params(idempotency_key: String).void }
|
|
36
|
+
attr_writer :idempotency_key
|
|
37
|
+
|
|
38
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
39
|
+
# objects.
|
|
40
|
+
#
|
|
41
|
+
# Defaults to `100`.
|
|
42
|
+
sig { returns(T.nilable(Integer)) }
|
|
43
|
+
attr_reader :limit
|
|
44
|
+
|
|
45
|
+
sig { params(limit: Integer).void }
|
|
46
|
+
attr_writer :limit
|
|
47
|
+
|
|
48
|
+
sig { returns(T.nilable(Increase::CheckbookListParams::Status)) }
|
|
49
|
+
attr_reader :status
|
|
50
|
+
|
|
51
|
+
sig { params(status: Increase::CheckbookListParams::Status::OrHash).void }
|
|
52
|
+
attr_writer :status
|
|
53
|
+
|
|
54
|
+
sig do
|
|
55
|
+
params(
|
|
56
|
+
account_number_id: String,
|
|
57
|
+
cursor: String,
|
|
58
|
+
idempotency_key: String,
|
|
59
|
+
limit: Integer,
|
|
60
|
+
status: Increase::CheckbookListParams::Status::OrHash,
|
|
61
|
+
request_options: Increase::RequestOptions::OrHash
|
|
62
|
+
).returns(T.attached_class)
|
|
63
|
+
end
|
|
64
|
+
def self.new(
|
|
65
|
+
# Filter Checkbooks to those attached to the specified Account Number.
|
|
66
|
+
account_number_id: nil,
|
|
67
|
+
# Return the page of entries after this one.
|
|
68
|
+
cursor: nil,
|
|
69
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
70
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
71
|
+
# request is only processed once. Learn more about
|
|
72
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
73
|
+
idempotency_key: nil,
|
|
74
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
75
|
+
# objects.
|
|
76
|
+
#
|
|
77
|
+
# Defaults to `100`.
|
|
78
|
+
limit: nil,
|
|
79
|
+
status: nil,
|
|
80
|
+
request_options: {}
|
|
81
|
+
)
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
sig do
|
|
85
|
+
override.returns(
|
|
86
|
+
{
|
|
87
|
+
account_number_id: String,
|
|
88
|
+
cursor: String,
|
|
89
|
+
idempotency_key: String,
|
|
90
|
+
limit: Integer,
|
|
91
|
+
status: Increase::CheckbookListParams::Status,
|
|
92
|
+
request_options: Increase::RequestOptions
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
end
|
|
96
|
+
def to_hash
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
class Status < Increase::Internal::Type::BaseModel
|
|
100
|
+
OrHash =
|
|
101
|
+
T.type_alias do
|
|
102
|
+
T.any(
|
|
103
|
+
Increase::CheckbookListParams::Status,
|
|
104
|
+
Increase::Internal::AnyHash
|
|
105
|
+
)
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Filter Checkbooks for those with the specified status or statuses. For GET
|
|
109
|
+
# requests, this should be encoded as a comma-delimited string, such as
|
|
110
|
+
# `?in=one,two,three`.
|
|
111
|
+
sig do
|
|
112
|
+
returns(
|
|
113
|
+
T.nilable(
|
|
114
|
+
T::Array[Increase::CheckbookListParams::Status::In::OrSymbol]
|
|
115
|
+
)
|
|
116
|
+
)
|
|
117
|
+
end
|
|
118
|
+
attr_reader :in_
|
|
119
|
+
|
|
120
|
+
sig do
|
|
121
|
+
params(
|
|
122
|
+
in_: T::Array[Increase::CheckbookListParams::Status::In::OrSymbol]
|
|
123
|
+
).void
|
|
124
|
+
end
|
|
125
|
+
attr_writer :in_
|
|
126
|
+
|
|
127
|
+
sig do
|
|
128
|
+
params(
|
|
129
|
+
in_: T::Array[Increase::CheckbookListParams::Status::In::OrSymbol]
|
|
130
|
+
).returns(T.attached_class)
|
|
131
|
+
end
|
|
132
|
+
def self.new(
|
|
133
|
+
# Filter Checkbooks for those with the specified status or statuses. For GET
|
|
134
|
+
# requests, this should be encoded as a comma-delimited string, such as
|
|
135
|
+
# `?in=one,two,three`.
|
|
136
|
+
in_: nil
|
|
137
|
+
)
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
sig do
|
|
141
|
+
override.returns(
|
|
142
|
+
{
|
|
143
|
+
in_: T::Array[Increase::CheckbookListParams::Status::In::OrSymbol]
|
|
144
|
+
}
|
|
145
|
+
)
|
|
146
|
+
end
|
|
147
|
+
def to_hash
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
module In
|
|
151
|
+
extend Increase::Internal::Type::Enum
|
|
152
|
+
|
|
153
|
+
TaggedSymbol =
|
|
154
|
+
T.type_alias do
|
|
155
|
+
T.all(Symbol, Increase::CheckbookListParams::Status::In)
|
|
156
|
+
end
|
|
157
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
158
|
+
|
|
159
|
+
# The Checkbook is pending submission to the printer.
|
|
160
|
+
PENDING_SUBMISSION =
|
|
161
|
+
T.let(
|
|
162
|
+
:pending_submission,
|
|
163
|
+
Increase::CheckbookListParams::Status::In::TaggedSymbol
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
# The Checkbook has been submitted to the printer and is pending mailing.
|
|
167
|
+
PENDING_MAILING =
|
|
168
|
+
T.let(
|
|
169
|
+
:pending_mailing,
|
|
170
|
+
Increase::CheckbookListParams::Status::In::TaggedSymbol
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
# The Checkbook has been mailed.
|
|
174
|
+
MAILED =
|
|
175
|
+
T.let(
|
|
176
|
+
:mailed,
|
|
177
|
+
Increase::CheckbookListParams::Status::In::TaggedSymbol
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
# The Checkbook has been stopped and its checks can no longer be deposited.
|
|
181
|
+
STOPPED =
|
|
182
|
+
T.let(
|
|
183
|
+
:stopped,
|
|
184
|
+
Increase::CheckbookListParams::Status::In::TaggedSymbol
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
sig do
|
|
188
|
+
override.returns(
|
|
189
|
+
T::Array[Increase::CheckbookListParams::Status::In::TaggedSymbol]
|
|
190
|
+
)
|
|
191
|
+
end
|
|
192
|
+
def self.values
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class CheckbookRetrieveParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Increase::CheckbookRetrieveParams, Increase::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The identifier of the Checkbook.
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :checkbook_id
|
|
17
|
+
|
|
18
|
+
sig do
|
|
19
|
+
params(
|
|
20
|
+
checkbook_id: String,
|
|
21
|
+
request_options: Increase::RequestOptions::OrHash
|
|
22
|
+
).returns(T.attached_class)
|
|
23
|
+
end
|
|
24
|
+
def self.new(
|
|
25
|
+
# The identifier of the Checkbook.
|
|
26
|
+
checkbook_id:,
|
|
27
|
+
request_options: {}
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
sig do
|
|
32
|
+
override.returns(
|
|
33
|
+
{ checkbook_id: String, request_options: Increase::RequestOptions }
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
def to_hash
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class CheckbookStopParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Increase::CheckbookStopParams, Increase::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The identifier of the Checkbook to stop.
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :checkbook_id
|
|
17
|
+
|
|
18
|
+
sig do
|
|
19
|
+
params(
|
|
20
|
+
checkbook_id: String,
|
|
21
|
+
request_options: Increase::RequestOptions::OrHash
|
|
22
|
+
).returns(T.attached_class)
|
|
23
|
+
end
|
|
24
|
+
def self.new(
|
|
25
|
+
# The identifier of the Checkbook to stop.
|
|
26
|
+
checkbook_id:,
|
|
27
|
+
request_options: {}
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
sig do
|
|
32
|
+
override.returns(
|
|
33
|
+
{ checkbook_id: String, request_options: Increase::RequestOptions }
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
def to_hash
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -3962,6 +3962,10 @@ module Increase
|
|
|
3962
3962
|
sig { returns(T.nilable(String)) }
|
|
3963
3963
|
attr_accessor :check_transfer_id
|
|
3964
3964
|
|
|
3965
|
+
# The identifier of the Checkbook Check object associated with this decline.
|
|
3966
|
+
sig { returns(T.nilable(String)) }
|
|
3967
|
+
attr_accessor :checkbook_check_id
|
|
3968
|
+
|
|
3965
3969
|
# The identifier of the API File object containing an image of the front of the
|
|
3966
3970
|
# declined check.
|
|
3967
3971
|
sig { returns(T.nilable(String)) }
|
|
@@ -3987,6 +3991,7 @@ module Increase
|
|
|
3987
3991
|
auxiliary_on_us: T.nilable(String),
|
|
3988
3992
|
back_image_file_id: T.nilable(String),
|
|
3989
3993
|
check_transfer_id: T.nilable(String),
|
|
3994
|
+
checkbook_check_id: T.nilable(String),
|
|
3990
3995
|
front_image_file_id: T.nilable(String),
|
|
3991
3996
|
inbound_check_deposit_id: T.nilable(String),
|
|
3992
3997
|
reason:
|
|
@@ -4005,6 +4010,8 @@ module Increase
|
|
|
4005
4010
|
back_image_file_id:,
|
|
4006
4011
|
# The identifier of the Check Transfer object associated with this decline.
|
|
4007
4012
|
check_transfer_id:,
|
|
4013
|
+
# The identifier of the Checkbook Check object associated with this decline.
|
|
4014
|
+
checkbook_check_id:,
|
|
4008
4015
|
# The identifier of the API File object containing an image of the front of the
|
|
4009
4016
|
# declined check.
|
|
4010
4017
|
front_image_file_id:,
|
|
@@ -4022,6 +4029,7 @@ module Increase
|
|
|
4022
4029
|
auxiliary_on_us: T.nilable(String),
|
|
4023
4030
|
back_image_file_id: T.nilable(String),
|
|
4024
4031
|
check_transfer_id: T.nilable(String),
|
|
4032
|
+
checkbook_check_id: T.nilable(String),
|
|
4025
4033
|
front_image_file_id: T.nilable(String),
|
|
4026
4034
|
inbound_check_deposit_id: T.nilable(String),
|
|
4027
4035
|
reason:
|