increase 1.58.0 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/simulations/ach_transfer_settle_params.rb +31 -1
- data/lib/increase/models/simulations/inbound_check_deposit_create_params.rb +35 -1
- data/lib/increase/resources/simulations/ach_transfers.rb +13 -3
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +7 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/simulations/ach_transfer_settle_params.rbi +80 -4
- data/rbi/increase/models/simulations/inbound_check_deposit_create_params.rbi +75 -0
- data/rbi/increase/resources/simulations/ach_transfers.rbi +10 -1
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +6 -0
- data/sig/increase/models/simulations/ach_transfer_settle_params.rbs +33 -3
- data/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs +32 -1
- data/sig/increase/resources/simulations/ach_transfers.rbs +1 -0
- data/sig/increase/resources/simulations/inbound_check_deposits.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea7bd919cb0d2a7fc569775de0da419730220719592ae6466d6e9accff0d96c0
|
4
|
+
data.tar.gz: c3901bda964156f699f9ebab3fc3d6539bf895b8039d39a5fe3ae92cfa3bdc6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fac05179f1f6cdaff2496c40d45678303b619d1f096021ad07a339070dd266fe02826b25be73ac9f7435e604d8d0a25f224424f9c7fc632e6a7581051d24fe9b
|
7
|
+
data.tar.gz: 38e6cbd4e4ec82831f873585b6d55e48e0df14992ac287337faed4d5e8fe2d8850b28a0009639da603134e4050630122fe0be8d62c288fedbbd4ec5ea86467eb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.60.0 (2025-08-29)
|
4
|
+
|
5
|
+
Full Changelog: [v1.59.0...v1.60.0](https://github.com/Increase/increase-ruby/compare/v1.59.0...v1.60.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([c4222d8](https://github.com/Increase/increase-ruby/commit/c4222d890092bb99d6c7226667dcc73f3ecea48c))
|
10
|
+
|
11
|
+
## 1.59.0 (2025-08-28)
|
12
|
+
|
13
|
+
Full Changelog: [v1.58.0...v1.59.0](https://github.com/Increase/increase-ruby/compare/v1.58.0...v1.59.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([281534f](https://github.com/Increase/increase-ruby/commit/281534fd972e76bc08d4ef4bfbce7665bfeca852))
|
18
|
+
|
3
19
|
## 1.58.0 (2025-08-28)
|
4
20
|
|
5
21
|
Full Changelog: [v1.57.0...v1.58.0](https://github.com/Increase/increase-ruby/compare/v1.57.0...v1.58.0)
|
data/README.md
CHANGED
@@ -8,8 +8,38 @@ module Increase
|
|
8
8
|
extend Increase::Internal::Type::RequestParameters::Converter
|
9
9
|
include Increase::Internal::Type::RequestParameters
|
10
10
|
|
11
|
-
# @!
|
11
|
+
# @!attribute inbound_funds_hold_behavior
|
12
|
+
# The behavior of the inbound funds hold that is created when the ACH Transfer is
|
13
|
+
# settled. If no behavior is specified, the inbound funds hold will be released
|
14
|
+
# immediately in order for the funds to be available for use.
|
15
|
+
#
|
16
|
+
# @return [Symbol, Increase::Models::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior, nil]
|
17
|
+
optional :inbound_funds_hold_behavior,
|
18
|
+
enum: -> { Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior }
|
19
|
+
|
20
|
+
# @!method initialize(inbound_funds_hold_behavior: nil, request_options: {})
|
21
|
+
# Some parameter documentations has been truncated, see
|
22
|
+
# {Increase::Models::Simulations::ACHTransferSettleParams} for more details.
|
23
|
+
#
|
24
|
+
# @param inbound_funds_hold_behavior [Symbol, Increase::Models::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior] The behavior of the inbound funds hold that is created when the ACH Transfer is
|
25
|
+
#
|
12
26
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
27
|
+
|
28
|
+
# The behavior of the inbound funds hold that is created when the ACH Transfer is
|
29
|
+
# settled. If no behavior is specified, the inbound funds hold will be released
|
30
|
+
# immediately in order for the funds to be available for use.
|
31
|
+
module InboundFundsHoldBehavior
|
32
|
+
extend Increase::Internal::Type::Enum
|
33
|
+
|
34
|
+
# Release the inbound funds hold immediately.
|
35
|
+
RELEASE_IMMEDIATELY = :release_immediately
|
36
|
+
|
37
|
+
# Release the inbound funds hold on the default schedule.
|
38
|
+
RELEASE_ON_DEFAULT_SCHEDULE = :release_on_default_schedule
|
39
|
+
|
40
|
+
# @!method self.values
|
41
|
+
# @return [Array<Symbol>]
|
42
|
+
end
|
13
43
|
end
|
14
44
|
end
|
15
45
|
end
|
@@ -26,14 +26,48 @@ module Increase
|
|
26
26
|
# @return [String]
|
27
27
|
required :check_number, String
|
28
28
|
|
29
|
-
# @!
|
29
|
+
# @!attribute payee_name_analysis
|
30
|
+
# Simulate the outcome of
|
31
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
32
|
+
# Defaults to `not_evaluated`.
|
33
|
+
#
|
34
|
+
# @return [Symbol, Increase::Models::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis, nil]
|
35
|
+
optional :payee_name_analysis,
|
36
|
+
enum: -> { Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis }
|
37
|
+
|
38
|
+
# @!method initialize(account_number_id:, amount:, check_number:, payee_name_analysis: nil, request_options: {})
|
39
|
+
# Some parameter documentations has been truncated, see
|
40
|
+
# {Increase::Models::Simulations::InboundCheckDepositCreateParams} for more
|
41
|
+
# details.
|
42
|
+
#
|
30
43
|
# @param account_number_id [String] The identifier of the Account Number the Inbound Check Deposit will be against.
|
31
44
|
#
|
32
45
|
# @param amount [Integer] The check amount in cents.
|
33
46
|
#
|
34
47
|
# @param check_number [String] The check number on the check to be deposited.
|
35
48
|
#
|
49
|
+
# @param payee_name_analysis [Symbol, Increase::Models::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis] Simulate the outcome of [payee name checking](https://increase.com/documentation
|
50
|
+
#
|
36
51
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
52
|
+
|
53
|
+
# Simulate the outcome of
|
54
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
55
|
+
# Defaults to `not_evaluated`.
|
56
|
+
module PayeeNameAnalysis
|
57
|
+
extend Increase::Internal::Type::Enum
|
58
|
+
|
59
|
+
# The details on the check match the recipient name of the check transfer.
|
60
|
+
NAME_MATCHES = :name_matches
|
61
|
+
|
62
|
+
# The details on the check do not match the recipient name of the check transfer.
|
63
|
+
DOES_NOT_MATCH = :does_not_match
|
64
|
+
|
65
|
+
# The payee name analysis was not evaluated.
|
66
|
+
NOT_EVALUATED = :not_evaluated
|
67
|
+
|
68
|
+
# @!method self.values
|
69
|
+
# @return [Array<Symbol>]
|
70
|
+
end
|
37
71
|
end
|
38
72
|
end
|
39
73
|
end
|
@@ -89,28 +89,38 @@ module Increase
|
|
89
89
|
)
|
90
90
|
end
|
91
91
|
|
92
|
+
# Some parameter documentations has been truncated, see
|
93
|
+
# {Increase::Models::Simulations::ACHTransferSettleParams} for more details.
|
94
|
+
#
|
92
95
|
# Simulates the settlement of an [ACH Transfer](#ach-transfers) by the Federal
|
93
96
|
# Reserve. This transfer must first have a `status` of `pending_submission` or
|
94
97
|
# `submitted`. For convenience, if the transfer is in `status`:
|
95
98
|
# `pending_submission`, the simulation will also submit the transfer. Without this
|
96
99
|
# simulation the transfer will eventually settle on its own following the same
|
97
|
-
# Federal Reserve timeline as in production.
|
100
|
+
# Federal Reserve timeline as in production. Additionally, you can specify the
|
101
|
+
# behavior of the inbound funds hold that is created when the ACH Transfer is
|
102
|
+
# settled. If no behavior is specified, the inbound funds hold will be released
|
103
|
+
# immediately in order for the funds to be available for use.
|
98
104
|
#
|
99
|
-
# @overload settle(ach_transfer_id, request_options: {})
|
105
|
+
# @overload settle(ach_transfer_id, inbound_funds_hold_behavior: nil, request_options: {})
|
100
106
|
#
|
101
107
|
# @param ach_transfer_id [String] The identifier of the ACH Transfer you wish to become settled.
|
102
108
|
#
|
109
|
+
# @param inbound_funds_hold_behavior [Symbol, Increase::Models::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior] The behavior of the inbound funds hold that is created when the ACH Transfer is
|
110
|
+
#
|
103
111
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
104
112
|
#
|
105
113
|
# @return [Increase::Models::ACHTransfer]
|
106
114
|
#
|
107
115
|
# @see Increase::Models::Simulations::ACHTransferSettleParams
|
108
116
|
def settle(ach_transfer_id, params = {})
|
117
|
+
parsed, options = Increase::Simulations::ACHTransferSettleParams.dump_request(params)
|
109
118
|
@client.request(
|
110
119
|
method: :post,
|
111
120
|
path: ["simulations/ach_transfers/%1$s/settle", ach_transfer_id],
|
121
|
+
body: parsed,
|
112
122
|
model: Increase::ACHTransfer,
|
113
|
-
options:
|
123
|
+
options: options
|
114
124
|
)
|
115
125
|
end
|
116
126
|
|
@@ -4,6 +4,10 @@ module Increase
|
|
4
4
|
module Resources
|
5
5
|
class Simulations
|
6
6
|
class InboundCheckDeposits
|
7
|
+
# Some parameter documentations has been truncated, see
|
8
|
+
# {Increase::Models::Simulations::InboundCheckDepositCreateParams} for more
|
9
|
+
# details.
|
10
|
+
#
|
7
11
|
# Simulates an Inbound Check Deposit against your account. This imitates someone
|
8
12
|
# depositing a check at their bank that was issued from your account. It may or
|
9
13
|
# may not be associated with a Check Transfer. Increase will evaluate the Check
|
@@ -11,7 +15,7 @@ module Increase
|
|
11
15
|
# Transaction as a result. You can inspect the resulting Inbound Check Deposit
|
12
16
|
# object to see the result.
|
13
17
|
#
|
14
|
-
# @overload create(account_number_id:, amount:, check_number:, request_options: {})
|
18
|
+
# @overload create(account_number_id:, amount:, check_number:, payee_name_analysis: nil, request_options: {})
|
15
19
|
#
|
16
20
|
# @param account_number_id [String] The identifier of the Account Number the Inbound Check Deposit will be against.
|
17
21
|
#
|
@@ -19,6 +23,8 @@ module Increase
|
|
19
23
|
#
|
20
24
|
# @param check_number [String] The check number on the check to be deposited.
|
21
25
|
#
|
26
|
+
# @param payee_name_analysis [Symbol, Increase::Models::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis] Simulate the outcome of [payee name checking](https://increase.com/documentation
|
27
|
+
#
|
22
28
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
23
29
|
#
|
24
30
|
# @return [Increase::Models::InboundCheckDeposit]
|
data/lib/increase/version.rb
CHANGED
@@ -15,17 +15,93 @@ module Increase
|
|
15
15
|
)
|
16
16
|
end
|
17
17
|
|
18
|
+
# The behavior of the inbound funds hold that is created when the ACH Transfer is
|
19
|
+
# settled. If no behavior is specified, the inbound funds hold will be released
|
20
|
+
# immediately in order for the funds to be available for use.
|
18
21
|
sig do
|
19
|
-
|
20
|
-
T.
|
22
|
+
returns(
|
23
|
+
T.nilable(
|
24
|
+
Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior::OrSymbol
|
25
|
+
)
|
21
26
|
)
|
22
27
|
end
|
23
|
-
|
28
|
+
attr_reader :inbound_funds_hold_behavior
|
29
|
+
|
30
|
+
sig do
|
31
|
+
params(
|
32
|
+
inbound_funds_hold_behavior:
|
33
|
+
Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior::OrSymbol
|
34
|
+
).void
|
24
35
|
end
|
36
|
+
attr_writer :inbound_funds_hold_behavior
|
25
37
|
|
26
|
-
sig
|
38
|
+
sig do
|
39
|
+
params(
|
40
|
+
inbound_funds_hold_behavior:
|
41
|
+
Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior::OrSymbol,
|
42
|
+
request_options: Increase::RequestOptions::OrHash
|
43
|
+
).returns(T.attached_class)
|
44
|
+
end
|
45
|
+
def self.new(
|
46
|
+
# The behavior of the inbound funds hold that is created when the ACH Transfer is
|
47
|
+
# settled. If no behavior is specified, the inbound funds hold will be released
|
48
|
+
# immediately in order for the funds to be available for use.
|
49
|
+
inbound_funds_hold_behavior: nil,
|
50
|
+
request_options: {}
|
51
|
+
)
|
52
|
+
end
|
53
|
+
|
54
|
+
sig do
|
55
|
+
override.returns(
|
56
|
+
{
|
57
|
+
inbound_funds_hold_behavior:
|
58
|
+
Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior::OrSymbol,
|
59
|
+
request_options: Increase::RequestOptions
|
60
|
+
}
|
61
|
+
)
|
62
|
+
end
|
27
63
|
def to_hash
|
28
64
|
end
|
65
|
+
|
66
|
+
# The behavior of the inbound funds hold that is created when the ACH Transfer is
|
67
|
+
# settled. If no behavior is specified, the inbound funds hold will be released
|
68
|
+
# immediately in order for the funds to be available for use.
|
69
|
+
module InboundFundsHoldBehavior
|
70
|
+
extend Increase::Internal::Type::Enum
|
71
|
+
|
72
|
+
TaggedSymbol =
|
73
|
+
T.type_alias do
|
74
|
+
T.all(
|
75
|
+
Symbol,
|
76
|
+
Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior
|
77
|
+
)
|
78
|
+
end
|
79
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
80
|
+
|
81
|
+
# Release the inbound funds hold immediately.
|
82
|
+
RELEASE_IMMEDIATELY =
|
83
|
+
T.let(
|
84
|
+
:release_immediately,
|
85
|
+
Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior::TaggedSymbol
|
86
|
+
)
|
87
|
+
|
88
|
+
# Release the inbound funds hold on the default schedule.
|
89
|
+
RELEASE_ON_DEFAULT_SCHEDULE =
|
90
|
+
T.let(
|
91
|
+
:release_on_default_schedule,
|
92
|
+
Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior::TaggedSymbol
|
93
|
+
)
|
94
|
+
|
95
|
+
sig do
|
96
|
+
override.returns(
|
97
|
+
T::Array[
|
98
|
+
Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior::TaggedSymbol
|
99
|
+
]
|
100
|
+
)
|
101
|
+
end
|
102
|
+
def self.values
|
103
|
+
end
|
104
|
+
end
|
29
105
|
end
|
30
106
|
end
|
31
107
|
end
|
@@ -27,11 +27,33 @@ module Increase
|
|
27
27
|
sig { returns(String) }
|
28
28
|
attr_accessor :check_number
|
29
29
|
|
30
|
+
# Simulate the outcome of
|
31
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
32
|
+
# Defaults to `not_evaluated`.
|
33
|
+
sig do
|
34
|
+
returns(
|
35
|
+
T.nilable(
|
36
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol
|
37
|
+
)
|
38
|
+
)
|
39
|
+
end
|
40
|
+
attr_reader :payee_name_analysis
|
41
|
+
|
42
|
+
sig do
|
43
|
+
params(
|
44
|
+
payee_name_analysis:
|
45
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol
|
46
|
+
).void
|
47
|
+
end
|
48
|
+
attr_writer :payee_name_analysis
|
49
|
+
|
30
50
|
sig do
|
31
51
|
params(
|
32
52
|
account_number_id: String,
|
33
53
|
amount: Integer,
|
34
54
|
check_number: String,
|
55
|
+
payee_name_analysis:
|
56
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol,
|
35
57
|
request_options: Increase::RequestOptions::OrHash
|
36
58
|
).returns(T.attached_class)
|
37
59
|
end
|
@@ -42,6 +64,10 @@ module Increase
|
|
42
64
|
amount:,
|
43
65
|
# The check number on the check to be deposited.
|
44
66
|
check_number:,
|
67
|
+
# Simulate the outcome of
|
68
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
69
|
+
# Defaults to `not_evaluated`.
|
70
|
+
payee_name_analysis: nil,
|
45
71
|
request_options: {}
|
46
72
|
)
|
47
73
|
end
|
@@ -52,12 +78,61 @@ module Increase
|
|
52
78
|
account_number_id: String,
|
53
79
|
amount: Integer,
|
54
80
|
check_number: String,
|
81
|
+
payee_name_analysis:
|
82
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol,
|
55
83
|
request_options: Increase::RequestOptions
|
56
84
|
}
|
57
85
|
)
|
58
86
|
end
|
59
87
|
def to_hash
|
60
88
|
end
|
89
|
+
|
90
|
+
# Simulate the outcome of
|
91
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
92
|
+
# Defaults to `not_evaluated`.
|
93
|
+
module PayeeNameAnalysis
|
94
|
+
extend Increase::Internal::Type::Enum
|
95
|
+
|
96
|
+
TaggedSymbol =
|
97
|
+
T.type_alias do
|
98
|
+
T.all(
|
99
|
+
Symbol,
|
100
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis
|
101
|
+
)
|
102
|
+
end
|
103
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
104
|
+
|
105
|
+
# The details on the check match the recipient name of the check transfer.
|
106
|
+
NAME_MATCHES =
|
107
|
+
T.let(
|
108
|
+
:name_matches,
|
109
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::TaggedSymbol
|
110
|
+
)
|
111
|
+
|
112
|
+
# The details on the check do not match the recipient name of the check transfer.
|
113
|
+
DOES_NOT_MATCH =
|
114
|
+
T.let(
|
115
|
+
:does_not_match,
|
116
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::TaggedSymbol
|
117
|
+
)
|
118
|
+
|
119
|
+
# The payee name analysis was not evaluated.
|
120
|
+
NOT_EVALUATED =
|
121
|
+
T.let(
|
122
|
+
:not_evaluated,
|
123
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::TaggedSymbol
|
124
|
+
)
|
125
|
+
|
126
|
+
sig do
|
127
|
+
override.returns(
|
128
|
+
T::Array[
|
129
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::TaggedSymbol
|
130
|
+
]
|
131
|
+
)
|
132
|
+
end
|
133
|
+
def self.values
|
134
|
+
end
|
135
|
+
end
|
61
136
|
end
|
62
137
|
end
|
63
138
|
end
|
@@ -72,16 +72,25 @@ module Increase
|
|
72
72
|
# `submitted`. For convenience, if the transfer is in `status`:
|
73
73
|
# `pending_submission`, the simulation will also submit the transfer. Without this
|
74
74
|
# simulation the transfer will eventually settle on its own following the same
|
75
|
-
# Federal Reserve timeline as in production.
|
75
|
+
# Federal Reserve timeline as in production. Additionally, you can specify the
|
76
|
+
# behavior of the inbound funds hold that is created when the ACH Transfer is
|
77
|
+
# settled. If no behavior is specified, the inbound funds hold will be released
|
78
|
+
# immediately in order for the funds to be available for use.
|
76
79
|
sig do
|
77
80
|
params(
|
78
81
|
ach_transfer_id: String,
|
82
|
+
inbound_funds_hold_behavior:
|
83
|
+
Increase::Simulations::ACHTransferSettleParams::InboundFundsHoldBehavior::OrSymbol,
|
79
84
|
request_options: Increase::RequestOptions::OrHash
|
80
85
|
).returns(Increase::ACHTransfer)
|
81
86
|
end
|
82
87
|
def settle(
|
83
88
|
# The identifier of the ACH Transfer you wish to become settled.
|
84
89
|
ach_transfer_id,
|
90
|
+
# The behavior of the inbound funds hold that is created when the ACH Transfer is
|
91
|
+
# settled. If no behavior is specified, the inbound funds hold will be released
|
92
|
+
# immediately in order for the funds to be available for use.
|
93
|
+
inbound_funds_hold_behavior: nil,
|
85
94
|
request_options: {}
|
86
95
|
)
|
87
96
|
end
|
@@ -15,6 +15,8 @@ module Increase
|
|
15
15
|
account_number_id: String,
|
16
16
|
amount: Integer,
|
17
17
|
check_number: String,
|
18
|
+
payee_name_analysis:
|
19
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol,
|
18
20
|
request_options: Increase::RequestOptions::OrHash
|
19
21
|
).returns(Increase::InboundCheckDeposit)
|
20
22
|
end
|
@@ -25,6 +27,10 @@ module Increase
|
|
25
27
|
amount:,
|
26
28
|
# The check number on the check to be deposited.
|
27
29
|
check_number:,
|
30
|
+
# Simulate the outcome of
|
31
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
32
|
+
# Defaults to `not_evaluated`.
|
33
|
+
payee_name_analysis: nil,
|
28
34
|
request_options: {}
|
29
35
|
)
|
30
36
|
end
|
@@ -2,15 +2,45 @@ module Increase
|
|
2
2
|
module Models
|
3
3
|
module Simulations
|
4
4
|
type ach_transfer_settle_params =
|
5
|
-
{
|
5
|
+
{
|
6
|
+
inbound_funds_hold_behavior: Increase::Models::Simulations::ACHTransferSettleParams::inbound_funds_hold_behavior
|
7
|
+
}
|
8
|
+
& Increase::Internal::Type::request_parameters
|
6
9
|
|
7
10
|
class ACHTransferSettleParams < Increase::Internal::Type::BaseModel
|
8
11
|
extend Increase::Internal::Type::RequestParameters::Converter
|
9
12
|
include Increase::Internal::Type::RequestParameters
|
10
13
|
|
11
|
-
|
14
|
+
attr_reader inbound_funds_hold_behavior: Increase::Models::Simulations::ACHTransferSettleParams::inbound_funds_hold_behavior?
|
12
15
|
|
13
|
-
def
|
16
|
+
def inbound_funds_hold_behavior=: (
|
17
|
+
Increase::Models::Simulations::ACHTransferSettleParams::inbound_funds_hold_behavior
|
18
|
+
) -> Increase::Models::Simulations::ACHTransferSettleParams::inbound_funds_hold_behavior
|
19
|
+
|
20
|
+
def initialize: (
|
21
|
+
?inbound_funds_hold_behavior: Increase::Models::Simulations::ACHTransferSettleParams::inbound_funds_hold_behavior,
|
22
|
+
?request_options: Increase::request_opts
|
23
|
+
) -> void
|
24
|
+
|
25
|
+
def to_hash: -> {
|
26
|
+
inbound_funds_hold_behavior: Increase::Models::Simulations::ACHTransferSettleParams::inbound_funds_hold_behavior,
|
27
|
+
request_options: Increase::RequestOptions
|
28
|
+
}
|
29
|
+
|
30
|
+
type inbound_funds_hold_behavior =
|
31
|
+
:release_immediately | :release_on_default_schedule
|
32
|
+
|
33
|
+
module InboundFundsHoldBehavior
|
34
|
+
extend Increase::Internal::Type::Enum
|
35
|
+
|
36
|
+
# Release the inbound funds hold immediately.
|
37
|
+
RELEASE_IMMEDIATELY: :release_immediately
|
38
|
+
|
39
|
+
# Release the inbound funds hold on the default schedule.
|
40
|
+
RELEASE_ON_DEFAULT_SCHEDULE: :release_on_default_schedule
|
41
|
+
|
42
|
+
def self?.values: -> ::Array[Increase::Models::Simulations::ACHTransferSettleParams::inbound_funds_hold_behavior]
|
43
|
+
end
|
14
44
|
end
|
15
45
|
end
|
16
46
|
end
|
@@ -2,7 +2,12 @@ module Increase
|
|
2
2
|
module Models
|
3
3
|
module Simulations
|
4
4
|
type inbound_check_deposit_create_params =
|
5
|
-
{
|
5
|
+
{
|
6
|
+
account_number_id: String,
|
7
|
+
amount: Integer,
|
8
|
+
check_number: String,
|
9
|
+
payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis
|
10
|
+
}
|
6
11
|
& Increase::Internal::Type::request_parameters
|
7
12
|
|
8
13
|
class InboundCheckDepositCreateParams < Increase::Internal::Type::BaseModel
|
@@ -15,10 +20,17 @@ module Increase
|
|
15
20
|
|
16
21
|
attr_accessor check_number: String
|
17
22
|
|
23
|
+
attr_reader payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis?
|
24
|
+
|
25
|
+
def payee_name_analysis=: (
|
26
|
+
Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis
|
27
|
+
) -> Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis
|
28
|
+
|
18
29
|
def initialize: (
|
19
30
|
account_number_id: String,
|
20
31
|
amount: Integer,
|
21
32
|
check_number: String,
|
33
|
+
?payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis,
|
22
34
|
?request_options: Increase::request_opts
|
23
35
|
) -> void
|
24
36
|
|
@@ -26,8 +38,27 @@ module Increase
|
|
26
38
|
account_number_id: String,
|
27
39
|
amount: Integer,
|
28
40
|
check_number: String,
|
41
|
+
payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis,
|
29
42
|
request_options: Increase::RequestOptions
|
30
43
|
}
|
44
|
+
|
45
|
+
type payee_name_analysis =
|
46
|
+
:name_matches | :does_not_match | :not_evaluated
|
47
|
+
|
48
|
+
module PayeeNameAnalysis
|
49
|
+
extend Increase::Internal::Type::Enum
|
50
|
+
|
51
|
+
# The details on the check match the recipient name of the check transfer.
|
52
|
+
NAME_MATCHES: :name_matches
|
53
|
+
|
54
|
+
# The details on the check do not match the recipient name of the check transfer.
|
55
|
+
DOES_NOT_MATCH: :does_not_match
|
56
|
+
|
57
|
+
# The payee name analysis was not evaluated.
|
58
|
+
NOT_EVALUATED: :not_evaluated
|
59
|
+
|
60
|
+
def self?.values: -> ::Array[Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis]
|
61
|
+
end
|
31
62
|
end
|
32
63
|
end
|
33
64
|
end
|
@@ -6,6 +6,7 @@ module Increase
|
|
6
6
|
account_number_id: String,
|
7
7
|
amount: Integer,
|
8
8
|
check_number: String,
|
9
|
+
?payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis,
|
9
10
|
?request_options: Increase::request_opts
|
10
11
|
) -> Increase::InboundCheckDeposit
|
11
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: increase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.60.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|