increase 1.59.0 → 1.61.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/inbound_check_deposit_create_params.rb +35 -1
- data/lib/increase/models/transaction.rb +19 -1
- data/lib/increase/models/wire_transfer.rb +19 -1
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +7 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/simulations/inbound_check_deposit_create_params.rbi +75 -0
- data/rbi/increase/models/transaction.rbi +20 -0
- data/rbi/increase/models/wire_transfer.rbi +20 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +6 -0
- data/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs +32 -1
- data/sig/increase/models/transaction.rbs +10 -0
- data/sig/increase/models/wire_transfer.rbs +10 -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: d61f06f8d322ec0ac93a22a3a444de7cbc16fe7aeacb9c3c82dae74428bfe3d8
|
4
|
+
data.tar.gz: 220177203100129d7868c1f6ea867d8394667527861f9257666319b5f504c200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb215c7dde710ab0ba7cccf8f15adaed3caf7122ca7d20ede754ffe80c371209e461295802c630e97b96b5d90c93e3f780ca216d57a4b95ebc78ab6e0a7e255f
|
7
|
+
data.tar.gz: 7a6f318027edda9d8ea543720873692adec01ae3729253fb50a926ec12f2cd0137b5074340973314b806b300f33cdcfb7edb056e81d8f34916e12ac1f4b3d983
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.61.0 (2025-08-29)
|
4
|
+
|
5
|
+
Full Changelog: [v1.60.0...v1.61.0](https://github.com/Increase/increase-ruby/compare/v1.60.0...v1.61.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([c0ff18c](https://github.com/Increase/increase-ruby/commit/c0ff18c03231449f0ca49b9902e606528d4a8c3d))
|
10
|
+
|
11
|
+
## 1.60.0 (2025-08-29)
|
12
|
+
|
13
|
+
Full Changelog: [v1.59.0...v1.60.0](https://github.com/Increase/increase-ruby/compare/v1.59.0...v1.60.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([c4222d8](https://github.com/Increase/increase-ruby/commit/c4222d890092bb99d6c7226667dcc73f3ecea48c))
|
18
|
+
|
3
19
|
## 1.59.0 (2025-08-28)
|
4
20
|
|
5
21
|
Full Changelog: [v1.58.0...v1.59.0](https://github.com/Increase/increase-ruby/compare/v1.58.0...v1.59.0)
|
data/README.md
CHANGED
@@ -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
|
@@ -5217,6 +5217,20 @@ module Increase
|
|
5217
5217
|
# @return [String, nil]
|
5218
5218
|
required :return_reason_additional_information, String, nil?: true
|
5219
5219
|
|
5220
|
+
# @!attribute return_reason_code
|
5221
|
+
# A code provided by the sending bank giving a reason for the reversal. It will
|
5222
|
+
# generally be one of the codes defined in the ISO20022
|
5223
|
+
# `ExternalReturnReason1Code` code set, but this is not enforced by the network.
|
5224
|
+
#
|
5225
|
+
# @return [String, nil]
|
5226
|
+
required :return_reason_code, String, nil?: true
|
5227
|
+
|
5228
|
+
# @!attribute return_reason_code_description
|
5229
|
+
# An Increase-generated description of the `return_reason_code`.
|
5230
|
+
#
|
5231
|
+
# @return [String, nil]
|
5232
|
+
required :return_reason_code_description, String, nil?: true
|
5233
|
+
|
5220
5234
|
# @!attribute transaction_id
|
5221
5235
|
# The ID for the Transaction associated with the transfer reversal.
|
5222
5236
|
#
|
@@ -5229,7 +5243,7 @@ module Increase
|
|
5229
5243
|
# @return [String]
|
5230
5244
|
required :wire_transfer_id, String
|
5231
5245
|
|
5232
|
-
# @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, transaction_id:, wire_transfer_id:)
|
5246
|
+
# @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, return_reason_code:, return_reason_code_description:, transaction_id:, wire_transfer_id:)
|
5233
5247
|
# Some parameter documentations has been truncated, see
|
5234
5248
|
# {Increase::Models::Transaction::Source::InboundWireReversal} for more details.
|
5235
5249
|
#
|
@@ -5259,6 +5273,10 @@ module Increase
|
|
5259
5273
|
#
|
5260
5274
|
# @param return_reason_additional_information [String, nil] Additional information about the reason for the reversal.
|
5261
5275
|
#
|
5276
|
+
# @param return_reason_code [String, nil] A code provided by the sending bank giving a reason for the reversal. It will ge
|
5277
|
+
#
|
5278
|
+
# @param return_reason_code_description [String, nil] An Increase-generated description of the `return_reason_code`.
|
5279
|
+
#
|
5262
5280
|
# @param transaction_id [String] The ID for the Transaction associated with the transfer reversal.
|
5263
5281
|
#
|
5264
5282
|
# @param wire_transfer_id [String] The ID for the Wire Transfer that is being reversed.
|
@@ -523,6 +523,20 @@ module Increase
|
|
523
523
|
# @return [String, nil]
|
524
524
|
required :return_reason_additional_information, String, nil?: true
|
525
525
|
|
526
|
+
# @!attribute return_reason_code
|
527
|
+
# A code provided by the sending bank giving a reason for the reversal. It will
|
528
|
+
# generally be one of the codes defined in the ISO20022
|
529
|
+
# `ExternalReturnReason1Code` code set, but this is not enforced by the network.
|
530
|
+
#
|
531
|
+
# @return [String, nil]
|
532
|
+
required :return_reason_code, String, nil?: true
|
533
|
+
|
534
|
+
# @!attribute return_reason_code_description
|
535
|
+
# An Increase-generated description of the `return_reason_code`.
|
536
|
+
#
|
537
|
+
# @return [String, nil]
|
538
|
+
required :return_reason_code_description, String, nil?: true
|
539
|
+
|
526
540
|
# @!attribute transaction_id
|
527
541
|
# The ID for the Transaction associated with the transfer reversal.
|
528
542
|
#
|
@@ -535,7 +549,7 @@ module Increase
|
|
535
549
|
# @return [String]
|
536
550
|
required :wire_transfer_id, String
|
537
551
|
|
538
|
-
# @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, transaction_id:, wire_transfer_id:)
|
552
|
+
# @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, return_reason_code:, return_reason_code_description:, transaction_id:, wire_transfer_id:)
|
539
553
|
# Some parameter documentations has been truncated, see
|
540
554
|
# {Increase::Models::WireTransfer::Reversal} for more details.
|
541
555
|
#
|
@@ -561,6 +575,10 @@ module Increase
|
|
561
575
|
#
|
562
576
|
# @param return_reason_additional_information [String, nil] Additional information about the reason for the reversal.
|
563
577
|
#
|
578
|
+
# @param return_reason_code [String, nil] A code provided by the sending bank giving a reason for the reversal. It will ge
|
579
|
+
#
|
580
|
+
# @param return_reason_code_description [String, nil] An Increase-generated description of the `return_reason_code`.
|
581
|
+
#
|
564
582
|
# @param transaction_id [String] The ID for the Transaction associated with the transfer reversal.
|
565
583
|
#
|
566
584
|
# @param wire_transfer_id [String] The ID for the Wire Transfer that is being reversed.
|
@@ -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
@@ -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
|
@@ -9623,6 +9623,16 @@ module Increase
|
|
9623
9623
|
sig { returns(T.nilable(String)) }
|
9624
9624
|
attr_accessor :return_reason_additional_information
|
9625
9625
|
|
9626
|
+
# A code provided by the sending bank giving a reason for the reversal. It will
|
9627
|
+
# generally be one of the codes defined in the ISO20022
|
9628
|
+
# `ExternalReturnReason1Code` code set, but this is not enforced by the network.
|
9629
|
+
sig { returns(T.nilable(String)) }
|
9630
|
+
attr_accessor :return_reason_code
|
9631
|
+
|
9632
|
+
# An Increase-generated description of the `return_reason_code`.
|
9633
|
+
sig { returns(T.nilable(String)) }
|
9634
|
+
attr_accessor :return_reason_code_description
|
9635
|
+
|
9626
9636
|
# The ID for the Transaction associated with the transfer reversal.
|
9627
9637
|
sig { returns(String) }
|
9628
9638
|
attr_accessor :transaction_id
|
@@ -9648,6 +9658,8 @@ module Increase
|
|
9648
9658
|
input_source: String,
|
9649
9659
|
instruction_identification: T.nilable(String),
|
9650
9660
|
return_reason_additional_information: T.nilable(String),
|
9661
|
+
return_reason_code: T.nilable(String),
|
9662
|
+
return_reason_code_description: T.nilable(String),
|
9651
9663
|
transaction_id: String,
|
9652
9664
|
wire_transfer_id: String
|
9653
9665
|
).returns(T.attached_class)
|
@@ -9675,6 +9687,12 @@ module Increase
|
|
9675
9687
|
instruction_identification:,
|
9676
9688
|
# Additional information about the reason for the reversal.
|
9677
9689
|
return_reason_additional_information:,
|
9690
|
+
# A code provided by the sending bank giving a reason for the reversal. It will
|
9691
|
+
# generally be one of the codes defined in the ISO20022
|
9692
|
+
# `ExternalReturnReason1Code` code set, but this is not enforced by the network.
|
9693
|
+
return_reason_code:,
|
9694
|
+
# An Increase-generated description of the `return_reason_code`.
|
9695
|
+
return_reason_code_description:,
|
9678
9696
|
# The ID for the Transaction associated with the transfer reversal.
|
9679
9697
|
transaction_id:,
|
9680
9698
|
# The ID for the Wire Transfer that is being reversed.
|
@@ -9695,6 +9713,8 @@ module Increase
|
|
9695
9713
|
input_source: String,
|
9696
9714
|
instruction_identification: T.nilable(String),
|
9697
9715
|
return_reason_additional_information: T.nilable(String),
|
9716
|
+
return_reason_code: T.nilable(String),
|
9717
|
+
return_reason_code_description: T.nilable(String),
|
9698
9718
|
transaction_id: String,
|
9699
9719
|
wire_transfer_id: String
|
9700
9720
|
}
|
@@ -735,6 +735,16 @@ module Increase
|
|
735
735
|
sig { returns(T.nilable(String)) }
|
736
736
|
attr_accessor :return_reason_additional_information
|
737
737
|
|
738
|
+
# A code provided by the sending bank giving a reason for the reversal. It will
|
739
|
+
# generally be one of the codes defined in the ISO20022
|
740
|
+
# `ExternalReturnReason1Code` code set, but this is not enforced by the network.
|
741
|
+
sig { returns(T.nilable(String)) }
|
742
|
+
attr_accessor :return_reason_code
|
743
|
+
|
744
|
+
# An Increase-generated description of the `return_reason_code`.
|
745
|
+
sig { returns(T.nilable(String)) }
|
746
|
+
attr_accessor :return_reason_code_description
|
747
|
+
|
738
748
|
# The ID for the Transaction associated with the transfer reversal.
|
739
749
|
sig { returns(String) }
|
740
750
|
attr_accessor :transaction_id
|
@@ -756,6 +766,8 @@ module Increase
|
|
756
766
|
input_source: String,
|
757
767
|
instruction_identification: T.nilable(String),
|
758
768
|
return_reason_additional_information: T.nilable(String),
|
769
|
+
return_reason_code: T.nilable(String),
|
770
|
+
return_reason_code_description: T.nilable(String),
|
759
771
|
transaction_id: String,
|
760
772
|
wire_transfer_id: String
|
761
773
|
).returns(T.attached_class)
|
@@ -783,6 +795,12 @@ module Increase
|
|
783
795
|
instruction_identification:,
|
784
796
|
# Additional information about the reason for the reversal.
|
785
797
|
return_reason_additional_information:,
|
798
|
+
# A code provided by the sending bank giving a reason for the reversal. It will
|
799
|
+
# generally be one of the codes defined in the ISO20022
|
800
|
+
# `ExternalReturnReason1Code` code set, but this is not enforced by the network.
|
801
|
+
return_reason_code:,
|
802
|
+
# An Increase-generated description of the `return_reason_code`.
|
803
|
+
return_reason_code_description:,
|
786
804
|
# The ID for the Transaction associated with the transfer reversal.
|
787
805
|
transaction_id:,
|
788
806
|
# The ID for the Wire Transfer that is being reversed.
|
@@ -803,6 +821,8 @@ module Increase
|
|
803
821
|
input_source: String,
|
804
822
|
instruction_identification: T.nilable(String),
|
805
823
|
return_reason_additional_information: T.nilable(String),
|
824
|
+
return_reason_code: T.nilable(String),
|
825
|
+
return_reason_code_description: T.nilable(String),
|
806
826
|
transaction_id: String,
|
807
827
|
wire_transfer_id: String
|
808
828
|
}
|
@@ -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,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
|
@@ -3946,6 +3946,8 @@ module Increase
|
|
3946
3946
|
input_source: String,
|
3947
3947
|
instruction_identification: String?,
|
3948
3948
|
return_reason_additional_information: String?,
|
3949
|
+
return_reason_code: String?,
|
3950
|
+
return_reason_code_description: String?,
|
3949
3951
|
transaction_id: String,
|
3950
3952
|
wire_transfer_id: String
|
3951
3953
|
}
|
@@ -3971,6 +3973,10 @@ module Increase
|
|
3971
3973
|
|
3972
3974
|
attr_accessor return_reason_additional_information: String?
|
3973
3975
|
|
3976
|
+
attr_accessor return_reason_code: String?
|
3977
|
+
|
3978
|
+
attr_accessor return_reason_code_description: String?
|
3979
|
+
|
3974
3980
|
attr_accessor transaction_id: String
|
3975
3981
|
|
3976
3982
|
attr_accessor wire_transfer_id: String
|
@@ -3986,6 +3992,8 @@ module Increase
|
|
3986
3992
|
input_source: String,
|
3987
3993
|
instruction_identification: String?,
|
3988
3994
|
return_reason_additional_information: String?,
|
3995
|
+
return_reason_code: String?,
|
3996
|
+
return_reason_code_description: String?,
|
3989
3997
|
transaction_id: String,
|
3990
3998
|
wire_transfer_id: String
|
3991
3999
|
) -> void
|
@@ -4001,6 +4009,8 @@ module Increase
|
|
4001
4009
|
input_source: String,
|
4002
4010
|
instruction_identification: String?,
|
4003
4011
|
return_reason_additional_information: String?,
|
4012
|
+
return_reason_code: String?,
|
4013
|
+
return_reason_code_description: String?,
|
4004
4014
|
transaction_id: String,
|
4005
4015
|
wire_transfer_id: String
|
4006
4016
|
}
|
@@ -312,6 +312,8 @@ module Increase
|
|
312
312
|
input_source: String,
|
313
313
|
instruction_identification: String?,
|
314
314
|
return_reason_additional_information: String?,
|
315
|
+
return_reason_code: String?,
|
316
|
+
return_reason_code_description: String?,
|
315
317
|
transaction_id: String,
|
316
318
|
wire_transfer_id: String
|
317
319
|
}
|
@@ -337,6 +339,10 @@ module Increase
|
|
337
339
|
|
338
340
|
attr_accessor return_reason_additional_information: String?
|
339
341
|
|
342
|
+
attr_accessor return_reason_code: String?
|
343
|
+
|
344
|
+
attr_accessor return_reason_code_description: String?
|
345
|
+
|
340
346
|
attr_accessor transaction_id: String
|
341
347
|
|
342
348
|
attr_accessor wire_transfer_id: String
|
@@ -352,6 +358,8 @@ module Increase
|
|
352
358
|
input_source: String,
|
353
359
|
instruction_identification: String?,
|
354
360
|
return_reason_additional_information: String?,
|
361
|
+
return_reason_code: String?,
|
362
|
+
return_reason_code_description: String?,
|
355
363
|
transaction_id: String,
|
356
364
|
wire_transfer_id: String
|
357
365
|
) -> void
|
@@ -367,6 +375,8 @@ module Increase
|
|
367
375
|
input_source: String,
|
368
376
|
instruction_identification: String?,
|
369
377
|
return_reason_additional_information: String?,
|
378
|
+
return_reason_code: String?,
|
379
|
+
return_reason_code_description: String?,
|
370
380
|
transaction_id: String,
|
371
381
|
wire_transfer_id: String
|
372
382
|
}
|
@@ -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.61.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
|