increase 1.48.0 → 1.50.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/inbound_wire_drawdown_request.rb +82 -97
- data/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb +79 -84
- data/lib/increase/models/transaction.rb +9 -9
- data/lib/increase/models/wire_transfer.rb +9 -9
- data/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb +18 -20
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/inbound_wire_drawdown_request.rbi +112 -126
- data/rbi/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbi +144 -140
- data/rbi/increase/models/transaction.rbi +11 -9
- data/rbi/increase/models/wire_transfer.rbi +11 -9
- data/rbi/increase/resources/simulations/inbound_wire_drawdown_requests.rbi +55 -55
- data/sig/increase/models/inbound_wire_drawdown_request.rbs +66 -76
- data/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs +80 -81
- data/sig/increase/models/transaction.rbs +12 -12
- data/sig/increase/models/wire_transfer.rbs +12 -12
- data/sig/increase/resources/simulations/inbound_wire_drawdown_requests.rbs +16 -17
- metadata +2 -2
@@ -528,14 +528,14 @@ module Increase
|
|
528
528
|
# The Fedwire cycle date for the wire transfer that is being reversed by this
|
529
529
|
# message.
|
530
530
|
#
|
531
|
-
# @return [Date]
|
532
|
-
required :previous_message_input_cycle_date, Date
|
531
|
+
# @return [Date, nil]
|
532
|
+
required :previous_message_input_cycle_date, Date, nil?: true
|
533
533
|
|
534
534
|
# @!attribute previous_message_input_message_accountability_data
|
535
535
|
# The Fedwire transaction identifier for the wire transfer that was reversed.
|
536
536
|
#
|
537
|
-
# @return [String]
|
538
|
-
required :previous_message_input_message_accountability_data, String
|
537
|
+
# @return [String, nil]
|
538
|
+
required :previous_message_input_message_accountability_data, String, nil?: true
|
539
539
|
|
540
540
|
# @!attribute previous_message_input_sequence_number
|
541
541
|
# The Fedwire sequence number for the wire transfer that was reversed.
|
@@ -546,8 +546,8 @@ module Increase
|
|
546
546
|
# @!attribute previous_message_input_source
|
547
547
|
# The Fedwire input source identifier for the wire transfer that was reversed.
|
548
548
|
#
|
549
|
-
# @return [String]
|
550
|
-
required :previous_message_input_source, String
|
549
|
+
# @return [String, nil]
|
550
|
+
required :previous_message_input_source, String, nil?: true
|
551
551
|
|
552
552
|
# @!attribute receiver_financial_institution_information
|
553
553
|
# Information included in the wire reversal for the receiving financial
|
@@ -600,13 +600,13 @@ module Increase
|
|
600
600
|
#
|
601
601
|
# @param originator_to_beneficiary_information [String, nil] Additional information included in the wire reversal by the reversal originator.
|
602
602
|
#
|
603
|
-
# @param previous_message_input_cycle_date [Date] The Fedwire cycle date for the wire transfer that is being reversed by this mess
|
603
|
+
# @param previous_message_input_cycle_date [Date, nil] The Fedwire cycle date for the wire transfer that is being reversed by this mess
|
604
604
|
#
|
605
|
-
# @param previous_message_input_message_accountability_data [String] The Fedwire transaction identifier for the wire transfer that was reversed.
|
605
|
+
# @param previous_message_input_message_accountability_data [String, nil] The Fedwire transaction identifier for the wire transfer that was reversed.
|
606
606
|
#
|
607
607
|
# @param previous_message_input_sequence_number [String] The Fedwire sequence number for the wire transfer that was reversed.
|
608
608
|
#
|
609
|
-
# @param previous_message_input_source [String] The Fedwire input source identifier for the wire transfer that was reversed.
|
609
|
+
# @param previous_message_input_source [String, nil] The Fedwire input source identifier for the wire transfer that was reversed.
|
610
610
|
#
|
611
611
|
# @param receiver_financial_institution_information [String, nil] Information included in the wire reversal for the receiving financial institutio
|
612
612
|
#
|
@@ -11,47 +11,45 @@ module Increase
|
|
11
11
|
# Simulates receiving an
|
12
12
|
# [Inbound Wire Drawdown Request](#inbound-wire-drawdown-requests).
|
13
13
|
#
|
14
|
-
# @overload create(amount:,
|
14
|
+
# @overload create(amount:, creditor_account_number:, creditor_routing_number:, currency:, recipient_account_number_id:, creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_account_number: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, debtor_routing_number: nil, end_to_end_identification: nil, instruction_identification: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, request_options: {})
|
15
15
|
#
|
16
16
|
# @param amount [Integer] The amount being requested in cents.
|
17
17
|
#
|
18
|
-
# @param
|
18
|
+
# @param creditor_account_number [String] The creditor's account number.
|
19
19
|
#
|
20
|
-
# @param
|
20
|
+
# @param creditor_routing_number [String] The creditor's routing number.
|
21
21
|
#
|
22
22
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
|
23
23
|
#
|
24
|
-
# @param
|
25
|
-
#
|
26
|
-
# @param originator_account_number [String] The drawdown request's originator's account number.
|
24
|
+
# @param recipient_account_number_id [String] The Account Number to which the recipient of this request is being requested to
|
27
25
|
#
|
28
|
-
# @param
|
26
|
+
# @param creditor_address_line1 [String] A free-form address field set by the sender representing the first line of the c
|
29
27
|
#
|
30
|
-
# @param
|
28
|
+
# @param creditor_address_line2 [String] A free-form address field set by the sender representing the second line of the
|
31
29
|
#
|
32
|
-
# @param
|
30
|
+
# @param creditor_address_line3 [String] A free-form address field set by the sender representing the third line of the c
|
33
31
|
#
|
34
|
-
# @param
|
32
|
+
# @param creditor_name [String] A free-form name field set by the sender representing the creditor's name.
|
35
33
|
#
|
36
|
-
# @param
|
34
|
+
# @param debtor_account_number [String] The debtor's account number.
|
37
35
|
#
|
38
|
-
# @param
|
36
|
+
# @param debtor_address_line1 [String] A free-form address field set by the sender representing the first line of the d
|
39
37
|
#
|
40
|
-
# @param
|
38
|
+
# @param debtor_address_line2 [String] A free-form address field set by the sender representing the second line of the
|
41
39
|
#
|
42
|
-
# @param
|
40
|
+
# @param debtor_address_line3 [String] A free-form address field set by the sender.
|
43
41
|
#
|
44
|
-
# @param
|
42
|
+
# @param debtor_name [String] A free-form name field set by the sender representing the debtor's name.
|
45
43
|
#
|
46
|
-
# @param
|
44
|
+
# @param debtor_routing_number [String] The debtor's routing number.
|
47
45
|
#
|
48
|
-
# @param
|
46
|
+
# @param end_to_end_identification [String] A free-form reference string set by the sender, to help identify the transfer.
|
49
47
|
#
|
50
|
-
# @param
|
48
|
+
# @param instruction_identification [String] The sending bank's identifier for the wire transfer.
|
51
49
|
#
|
52
|
-
# @param
|
50
|
+
# @param unique_end_to_end_transaction_reference [String] The Unique End-to-end Transaction Reference ([UETR](https://www.swift.com/paymen
|
53
51
|
#
|
54
|
-
# @param
|
52
|
+
# @param unstructured_remittance_information [String] A free-form message set by the sender.
|
55
53
|
#
|
56
54
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
57
55
|
#
|
data/lib/increase/version.rb
CHANGED
@@ -19,87 +19,70 @@ module Increase
|
|
19
19
|
sig { returns(Integer) }
|
20
20
|
attr_accessor :amount
|
21
21
|
|
22
|
-
# The
|
22
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
23
|
+
# the inbound wire drawdown requested was created.
|
24
|
+
sig { returns(Time) }
|
25
|
+
attr_accessor :created_at
|
26
|
+
|
27
|
+
# The creditor's account number.
|
23
28
|
sig { returns(String) }
|
24
|
-
attr_accessor :
|
29
|
+
attr_accessor :creditor_account_number
|
25
30
|
|
26
|
-
#
|
31
|
+
# A free-form address field set by the sender.
|
27
32
|
sig { returns(T.nilable(String)) }
|
28
|
-
attr_accessor :
|
33
|
+
attr_accessor :creditor_address_line1
|
29
34
|
|
30
|
-
#
|
35
|
+
# A free-form address field set by the sender.
|
31
36
|
sig { returns(T.nilable(String)) }
|
32
|
-
attr_accessor :
|
37
|
+
attr_accessor :creditor_address_line2
|
33
38
|
|
34
|
-
#
|
39
|
+
# A free-form address field set by the sender.
|
35
40
|
sig { returns(T.nilable(String)) }
|
36
|
-
attr_accessor :
|
41
|
+
attr_accessor :creditor_address_line3
|
37
42
|
|
38
|
-
#
|
43
|
+
# A name set by the sender.
|
39
44
|
sig { returns(T.nilable(String)) }
|
40
|
-
attr_accessor :
|
45
|
+
attr_accessor :creditor_name
|
41
46
|
|
42
|
-
# The
|
47
|
+
# The creditor's routing number.
|
43
48
|
sig { returns(String) }
|
44
|
-
attr_accessor :
|
45
|
-
|
46
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
47
|
-
# the inbound wire drawdown requested was created.
|
48
|
-
sig { returns(Time) }
|
49
|
-
attr_accessor :created_at
|
49
|
+
attr_accessor :creditor_routing_number
|
50
50
|
|
51
51
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
|
52
52
|
# requested. Will always be "USD".
|
53
53
|
sig { returns(String) }
|
54
54
|
attr_accessor :currency
|
55
55
|
|
56
|
-
# A
|
57
|
-
sig { returns(T.nilable(String)) }
|
58
|
-
attr_accessor :message_to_recipient
|
59
|
-
|
60
|
-
# The drawdown request's originator's account number.
|
61
|
-
sig { returns(T.nilable(String)) }
|
62
|
-
attr_accessor :originator_account_number
|
63
|
-
|
64
|
-
# Line 1 of the drawdown request's originator's address.
|
56
|
+
# A free-form address field set by the sender.
|
65
57
|
sig { returns(T.nilable(String)) }
|
66
|
-
attr_accessor :
|
58
|
+
attr_accessor :debtor_address_line1
|
67
59
|
|
68
|
-
#
|
60
|
+
# A free-form address field set by the sender.
|
69
61
|
sig { returns(T.nilable(String)) }
|
70
|
-
attr_accessor :
|
62
|
+
attr_accessor :debtor_address_line2
|
71
63
|
|
72
|
-
#
|
64
|
+
# A free-form address field set by the sender.
|
73
65
|
sig { returns(T.nilable(String)) }
|
74
|
-
attr_accessor :
|
66
|
+
attr_accessor :debtor_address_line3
|
75
67
|
|
76
|
-
#
|
68
|
+
# A name set by the sender.
|
77
69
|
sig { returns(T.nilable(String)) }
|
78
|
-
attr_accessor :
|
70
|
+
attr_accessor :debtor_name
|
79
71
|
|
80
|
-
#
|
81
|
-
|
82
|
-
attr_accessor :originator_routing_number
|
83
|
-
|
84
|
-
# Line 1 of the information conveyed from the originator of the message to the
|
85
|
-
# beneficiary.
|
72
|
+
# A free-form reference string set by the sender, to help identify the drawdown
|
73
|
+
# request.
|
86
74
|
sig { returns(T.nilable(String)) }
|
87
|
-
attr_accessor :
|
75
|
+
attr_accessor :end_to_end_identification
|
88
76
|
|
89
|
-
#
|
90
|
-
#
|
77
|
+
# A unique identifier available to the originating and receiving banks, commonly
|
78
|
+
# abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
|
79
|
+
# service and is helpful when debugging wires with the originating bank.
|
91
80
|
sig { returns(T.nilable(String)) }
|
92
|
-
attr_accessor :
|
81
|
+
attr_accessor :input_message_accountability_data
|
93
82
|
|
94
|
-
#
|
95
|
-
# beneficiary.
|
83
|
+
# The sending bank's identifier for the drawdown request.
|
96
84
|
sig { returns(T.nilable(String)) }
|
97
|
-
attr_accessor :
|
98
|
-
|
99
|
-
# Line 4 of the information conveyed from the originator of the message to the
|
100
|
-
# beneficiary.
|
101
|
-
sig { returns(T.nilable(String)) }
|
102
|
-
attr_accessor :originator_to_beneficiary_information_line4
|
85
|
+
attr_accessor :instruction_identification
|
103
86
|
|
104
87
|
# The Account Number from which the recipient of this request is being requested
|
105
88
|
# to send funds.
|
@@ -111,6 +94,16 @@ module Increase
|
|
111
94
|
sig { returns(Increase::InboundWireDrawdownRequest::Type::TaggedSymbol) }
|
112
95
|
attr_accessor :type
|
113
96
|
|
97
|
+
# The Unique End-to-end Transaction Reference
|
98
|
+
# ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
|
99
|
+
# of the drawdown request.
|
100
|
+
sig { returns(T.nilable(String)) }
|
101
|
+
attr_accessor :unique_end_to_end_transaction_reference
|
102
|
+
|
103
|
+
# A free-form message set by the sender.
|
104
|
+
sig { returns(T.nilable(String)) }
|
105
|
+
attr_accessor :unstructured_remittance_information
|
106
|
+
|
114
107
|
# Inbound wire drawdown requests are requests from someone else to send them a
|
115
108
|
# wire. For more information, see our
|
116
109
|
# [Wire Drawdown Requests documentation](/documentation/wire-drawdown-requests).
|
@@ -118,27 +111,25 @@ module Increase
|
|
118
111
|
params(
|
119
112
|
id: String,
|
120
113
|
amount: Integer,
|
121
|
-
beneficiary_account_number: String,
|
122
|
-
beneficiary_address_line1: T.nilable(String),
|
123
|
-
beneficiary_address_line2: T.nilable(String),
|
124
|
-
beneficiary_address_line3: T.nilable(String),
|
125
|
-
beneficiary_name: T.nilable(String),
|
126
|
-
beneficiary_routing_number: String,
|
127
114
|
created_at: Time,
|
115
|
+
creditor_account_number: String,
|
116
|
+
creditor_address_line1: T.nilable(String),
|
117
|
+
creditor_address_line2: T.nilable(String),
|
118
|
+
creditor_address_line3: T.nilable(String),
|
119
|
+
creditor_name: T.nilable(String),
|
120
|
+
creditor_routing_number: String,
|
128
121
|
currency: String,
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
originator_to_beneficiary_information_line1: T.nilable(String),
|
137
|
-
originator_to_beneficiary_information_line2: T.nilable(String),
|
138
|
-
originator_to_beneficiary_information_line3: T.nilable(String),
|
139
|
-
originator_to_beneficiary_information_line4: T.nilable(String),
|
122
|
+
debtor_address_line1: T.nilable(String),
|
123
|
+
debtor_address_line2: T.nilable(String),
|
124
|
+
debtor_address_line3: T.nilable(String),
|
125
|
+
debtor_name: T.nilable(String),
|
126
|
+
end_to_end_identification: T.nilable(String),
|
127
|
+
input_message_accountability_data: T.nilable(String),
|
128
|
+
instruction_identification: T.nilable(String),
|
140
129
|
recipient_account_number_id: String,
|
141
|
-
type: Increase::InboundWireDrawdownRequest::Type::OrSymbol
|
130
|
+
type: Increase::InboundWireDrawdownRequest::Type::OrSymbol,
|
131
|
+
unique_end_to_end_transaction_reference: T.nilable(String),
|
132
|
+
unstructured_remittance_information: T.nilable(String)
|
142
133
|
).returns(T.attached_class)
|
143
134
|
end
|
144
135
|
def self.new(
|
@@ -146,56 +137,53 @@ module Increase
|
|
146
137
|
id:,
|
147
138
|
# The amount being requested in cents.
|
148
139
|
amount:,
|
149
|
-
# The drawdown request's beneficiary's account number.
|
150
|
-
beneficiary_account_number:,
|
151
|
-
# Line 1 of the drawdown request's beneficiary's address.
|
152
|
-
beneficiary_address_line1:,
|
153
|
-
# Line 2 of the drawdown request's beneficiary's address.
|
154
|
-
beneficiary_address_line2:,
|
155
|
-
# Line 3 of the drawdown request's beneficiary's address.
|
156
|
-
beneficiary_address_line3:,
|
157
|
-
# The drawdown request's beneficiary's name.
|
158
|
-
beneficiary_name:,
|
159
|
-
# The drawdown request's beneficiary's routing number.
|
160
|
-
beneficiary_routing_number:,
|
161
140
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
162
141
|
# the inbound wire drawdown requested was created.
|
163
142
|
created_at:,
|
143
|
+
# The creditor's account number.
|
144
|
+
creditor_account_number:,
|
145
|
+
# A free-form address field set by the sender.
|
146
|
+
creditor_address_line1:,
|
147
|
+
# A free-form address field set by the sender.
|
148
|
+
creditor_address_line2:,
|
149
|
+
# A free-form address field set by the sender.
|
150
|
+
creditor_address_line3:,
|
151
|
+
# A name set by the sender.
|
152
|
+
creditor_name:,
|
153
|
+
# The creditor's routing number.
|
154
|
+
creditor_routing_number:,
|
164
155
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
|
165
156
|
# requested. Will always be "USD".
|
166
157
|
currency:,
|
167
|
-
# A
|
168
|
-
|
169
|
-
#
|
170
|
-
|
171
|
-
#
|
172
|
-
|
173
|
-
#
|
174
|
-
|
175
|
-
#
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
#
|
180
|
-
|
181
|
-
|
182
|
-
#
|
183
|
-
|
184
|
-
# Line 2 of the information conveyed from the originator of the message to the
|
185
|
-
# beneficiary.
|
186
|
-
originator_to_beneficiary_information_line2:,
|
187
|
-
# Line 3 of the information conveyed from the originator of the message to the
|
188
|
-
# beneficiary.
|
189
|
-
originator_to_beneficiary_information_line3:,
|
190
|
-
# Line 4 of the information conveyed from the originator of the message to the
|
191
|
-
# beneficiary.
|
192
|
-
originator_to_beneficiary_information_line4:,
|
158
|
+
# A free-form address field set by the sender.
|
159
|
+
debtor_address_line1:,
|
160
|
+
# A free-form address field set by the sender.
|
161
|
+
debtor_address_line2:,
|
162
|
+
# A free-form address field set by the sender.
|
163
|
+
debtor_address_line3:,
|
164
|
+
# A name set by the sender.
|
165
|
+
debtor_name:,
|
166
|
+
# A free-form reference string set by the sender, to help identify the drawdown
|
167
|
+
# request.
|
168
|
+
end_to_end_identification:,
|
169
|
+
# A unique identifier available to the originating and receiving banks, commonly
|
170
|
+
# abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
|
171
|
+
# service and is helpful when debugging wires with the originating bank.
|
172
|
+
input_message_accountability_data:,
|
173
|
+
# The sending bank's identifier for the drawdown request.
|
174
|
+
instruction_identification:,
|
193
175
|
# The Account Number from which the recipient of this request is being requested
|
194
176
|
# to send funds.
|
195
177
|
recipient_account_number_id:,
|
196
178
|
# A constant representing the object's type. For this resource it will always be
|
197
179
|
# `inbound_wire_drawdown_request`.
|
198
|
-
type
|
180
|
+
type:,
|
181
|
+
# The Unique End-to-end Transaction Reference
|
182
|
+
# ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
|
183
|
+
# of the drawdown request.
|
184
|
+
unique_end_to_end_transaction_reference:,
|
185
|
+
# A free-form message set by the sender.
|
186
|
+
unstructured_remittance_information:
|
199
187
|
)
|
200
188
|
end
|
201
189
|
|
@@ -204,27 +192,25 @@ module Increase
|
|
204
192
|
{
|
205
193
|
id: String,
|
206
194
|
amount: Integer,
|
207
|
-
beneficiary_account_number: String,
|
208
|
-
beneficiary_address_line1: T.nilable(String),
|
209
|
-
beneficiary_address_line2: T.nilable(String),
|
210
|
-
beneficiary_address_line3: T.nilable(String),
|
211
|
-
beneficiary_name: T.nilable(String),
|
212
|
-
beneficiary_routing_number: String,
|
213
195
|
created_at: Time,
|
196
|
+
creditor_account_number: String,
|
197
|
+
creditor_address_line1: T.nilable(String),
|
198
|
+
creditor_address_line2: T.nilable(String),
|
199
|
+
creditor_address_line3: T.nilable(String),
|
200
|
+
creditor_name: T.nilable(String),
|
201
|
+
creditor_routing_number: String,
|
214
202
|
currency: String,
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
originator_to_beneficiary_information_line1: T.nilable(String),
|
223
|
-
originator_to_beneficiary_information_line2: T.nilable(String),
|
224
|
-
originator_to_beneficiary_information_line3: T.nilable(String),
|
225
|
-
originator_to_beneficiary_information_line4: T.nilable(String),
|
203
|
+
debtor_address_line1: T.nilable(String),
|
204
|
+
debtor_address_line2: T.nilable(String),
|
205
|
+
debtor_address_line3: T.nilable(String),
|
206
|
+
debtor_name: T.nilable(String),
|
207
|
+
end_to_end_identification: T.nilable(String),
|
208
|
+
input_message_accountability_data: T.nilable(String),
|
209
|
+
instruction_identification: T.nilable(String),
|
226
210
|
recipient_account_number_id: String,
|
227
|
-
type: Increase::InboundWireDrawdownRequest::Type::TaggedSymbol
|
211
|
+
type: Increase::InboundWireDrawdownRequest::Type::TaggedSymbol,
|
212
|
+
unique_end_to_end_transaction_reference: T.nilable(String),
|
213
|
+
unstructured_remittance_information: T.nilable(String)
|
228
214
|
}
|
229
215
|
)
|
230
216
|
end
|