increase 1.122.0 → 1.123.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 +9 -0
- data/README.md +1 -1
- data/lib/increase/models/card_dispute.rb +6 -24
- data/lib/increase/models/pending_transaction.rb +5 -3
- data/lib/increase/models/wire_transfer.rb +149 -73
- data/lib/increase/models/wire_transfer_create_params.rb +155 -73
- data/lib/increase/resources/wire_transfers.rb +5 -17
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_dispute.rbi +8 -90
- data/rbi/increase/models/pending_transaction.rbi +3 -3
- data/rbi/increase/models/wire_transfer.rbi +342 -72
- data/rbi/increase/models/wire_transfer_create_params.rbi +360 -107
- data/rbi/increase/resources/wire_transfers.rbi +11 -31
- data/sig/increase/models/card_dispute.rbs +8 -24
- data/sig/increase/models/pending_transaction.rbs +4 -4
- data/sig/increase/models/wire_transfer.rbs +128 -45
- data/sig/increase/models/wire_transfer_create_params.rbs +156 -60
- data/sig/increase/resources/wire_transfers.rbs +3 -9
- metadata +2 -2
|
@@ -19,11 +19,17 @@ module Increase
|
|
|
19
19
|
# @return [Integer]
|
|
20
20
|
required :amount, Integer
|
|
21
21
|
|
|
22
|
-
# @!attribute
|
|
23
|
-
# The
|
|
22
|
+
# @!attribute creditor
|
|
23
|
+
# The person or business that is receiving the funds from the transfer.
|
|
24
24
|
#
|
|
25
|
-
# @return [
|
|
26
|
-
required :
|
|
25
|
+
# @return [Increase::Models::WireTransferCreateParams::Creditor]
|
|
26
|
+
required :creditor, -> { Increase::WireTransferCreateParams::Creditor }
|
|
27
|
+
|
|
28
|
+
# @!attribute remittance
|
|
29
|
+
# Additional remittance information related to the wire transfer.
|
|
30
|
+
#
|
|
31
|
+
# @return [Increase::Models::WireTransferCreateParams::Remittance]
|
|
32
|
+
required :remittance, -> { Increase::WireTransferCreateParams::Remittance }
|
|
27
33
|
|
|
28
34
|
# @!attribute account_number
|
|
29
35
|
# The account number for the destination account.
|
|
@@ -31,23 +37,13 @@ module Increase
|
|
|
31
37
|
# @return [String, nil]
|
|
32
38
|
optional :account_number, String
|
|
33
39
|
|
|
34
|
-
# @!attribute
|
|
35
|
-
# The
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
optional :beneficiary_address_line1, String
|
|
39
|
-
|
|
40
|
-
# @!attribute beneficiary_address_line2
|
|
41
|
-
# The beneficiary's address line 2.
|
|
40
|
+
# @!attribute debtor
|
|
41
|
+
# The person or business whose funds are being transferred. This is only necessary
|
|
42
|
+
# if you're transferring from a commingled account. Otherwise, we'll use the
|
|
43
|
+
# associated entity's details.
|
|
42
44
|
#
|
|
43
|
-
# @return [
|
|
44
|
-
optional :
|
|
45
|
-
|
|
46
|
-
# @!attribute beneficiary_address_line3
|
|
47
|
-
# The beneficiary's address line 3.
|
|
48
|
-
#
|
|
49
|
-
# @return [String, nil]
|
|
50
|
-
optional :beneficiary_address_line3, String
|
|
45
|
+
# @return [Increase::Models::WireTransferCreateParams::Debtor, nil]
|
|
46
|
+
optional :debtor, -> { Increase::WireTransferCreateParams::Debtor }
|
|
51
47
|
|
|
52
48
|
# @!attribute external_account_id
|
|
53
49
|
# The ID of an External Account to initiate a transfer to. If this parameter is
|
|
@@ -63,40 +59,6 @@ module Increase
|
|
|
63
59
|
# @return [String, nil]
|
|
64
60
|
optional :inbound_wire_drawdown_request_id, String
|
|
65
61
|
|
|
66
|
-
# @!attribute originator_address_line1
|
|
67
|
-
# The originator's address line 1. This is only necessary if you're transferring
|
|
68
|
-
# from a commingled account. Otherwise, we'll use the associated entity's details.
|
|
69
|
-
#
|
|
70
|
-
# @return [String, nil]
|
|
71
|
-
optional :originator_address_line1, String
|
|
72
|
-
|
|
73
|
-
# @!attribute originator_address_line2
|
|
74
|
-
# The originator's address line 2. This is only necessary if you're transferring
|
|
75
|
-
# from a commingled account. Otherwise, we'll use the associated entity's details.
|
|
76
|
-
#
|
|
77
|
-
# @return [String, nil]
|
|
78
|
-
optional :originator_address_line2, String
|
|
79
|
-
|
|
80
|
-
# @!attribute originator_address_line3
|
|
81
|
-
# The originator's address line 3. This is only necessary if you're transferring
|
|
82
|
-
# from a commingled account. Otherwise, we'll use the associated entity's details.
|
|
83
|
-
#
|
|
84
|
-
# @return [String, nil]
|
|
85
|
-
optional :originator_address_line3, String
|
|
86
|
-
|
|
87
|
-
# @!attribute originator_name
|
|
88
|
-
# The originator's name. This is only necessary if you're transferring from a
|
|
89
|
-
# commingled account. Otherwise, we'll use the associated entity's details.
|
|
90
|
-
#
|
|
91
|
-
# @return [String, nil]
|
|
92
|
-
optional :originator_name, String
|
|
93
|
-
|
|
94
|
-
# @!attribute remittance
|
|
95
|
-
# Additional remittance information related to the wire transfer.
|
|
96
|
-
#
|
|
97
|
-
# @return [Increase::Models::WireTransferCreateParams::Remittance, nil]
|
|
98
|
-
optional :remittance, -> { Increase::WireTransferCreateParams::Remittance }
|
|
99
|
-
|
|
100
62
|
# @!attribute require_approval
|
|
101
63
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
102
64
|
#
|
|
@@ -116,7 +78,7 @@ module Increase
|
|
|
116
78
|
# @return [String, nil]
|
|
117
79
|
optional :source_account_number_id, String
|
|
118
80
|
|
|
119
|
-
# @!method initialize(account_id:, amount:,
|
|
81
|
+
# @!method initialize(account_id:, amount:, creditor:, remittance:, account_number: nil, debtor: nil, external_account_id: nil, inbound_wire_drawdown_request_id: nil, require_approval: nil, routing_number: nil, source_account_number_id: nil, request_options: {})
|
|
120
82
|
# Some parameter documentations has been truncated, see
|
|
121
83
|
# {Increase::Models::WireTransferCreateParams} for more details.
|
|
122
84
|
#
|
|
@@ -124,30 +86,18 @@ module Increase
|
|
|
124
86
|
#
|
|
125
87
|
# @param amount [Integer] The transfer amount in USD cents.
|
|
126
88
|
#
|
|
127
|
-
# @param
|
|
89
|
+
# @param creditor [Increase::Models::WireTransferCreateParams::Creditor] The person or business that is receiving the funds from the transfer.
|
|
128
90
|
#
|
|
129
|
-
# @param
|
|
130
|
-
#
|
|
131
|
-
# @param beneficiary_address_line1 [String] The beneficiary's address line 1.
|
|
91
|
+
# @param remittance [Increase::Models::WireTransferCreateParams::Remittance] Additional remittance information related to the wire transfer.
|
|
132
92
|
#
|
|
133
|
-
# @param
|
|
93
|
+
# @param account_number [String] The account number for the destination account.
|
|
134
94
|
#
|
|
135
|
-
# @param
|
|
95
|
+
# @param debtor [Increase::Models::WireTransferCreateParams::Debtor] The person or business whose funds are being transferred. This is only necessary
|
|
136
96
|
#
|
|
137
97
|
# @param external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
|
|
138
98
|
#
|
|
139
99
|
# @param inbound_wire_drawdown_request_id [String] The ID of an Inbound Wire Drawdown Request in response to which this transfer is
|
|
140
100
|
#
|
|
141
|
-
# @param originator_address_line1 [String] The originator's address line 1. This is only necessary if you're transferring f
|
|
142
|
-
#
|
|
143
|
-
# @param originator_address_line2 [String] The originator's address line 2. This is only necessary if you're transferring f
|
|
144
|
-
#
|
|
145
|
-
# @param originator_address_line3 [String] The originator's address line 3. This is only necessary if you're transferring f
|
|
146
|
-
#
|
|
147
|
-
# @param originator_name [String] The originator's name. This is only necessary if you're transferring from a comm
|
|
148
|
-
#
|
|
149
|
-
# @param remittance [Increase::Models::WireTransferCreateParams::Remittance] Additional remittance information related to the wire transfer.
|
|
150
|
-
#
|
|
151
101
|
# @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API.
|
|
152
102
|
#
|
|
153
103
|
# @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des
|
|
@@ -156,6 +106,71 @@ module Increase
|
|
|
156
106
|
#
|
|
157
107
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
158
108
|
|
|
109
|
+
class Creditor < Increase::Internal::Type::BaseModel
|
|
110
|
+
# @!attribute name
|
|
111
|
+
# The person or business's name.
|
|
112
|
+
#
|
|
113
|
+
# @return [String]
|
|
114
|
+
required :name, String
|
|
115
|
+
|
|
116
|
+
# @!attribute address
|
|
117
|
+
# The person or business's address.
|
|
118
|
+
#
|
|
119
|
+
# @return [Increase::Models::WireTransferCreateParams::Creditor::Address, nil]
|
|
120
|
+
optional :address, -> { Increase::WireTransferCreateParams::Creditor::Address }
|
|
121
|
+
|
|
122
|
+
# @!method initialize(name:, address: nil)
|
|
123
|
+
# The person or business that is receiving the funds from the transfer.
|
|
124
|
+
#
|
|
125
|
+
# @param name [String] The person or business's name.
|
|
126
|
+
#
|
|
127
|
+
# @param address [Increase::Models::WireTransferCreateParams::Creditor::Address] The person or business's address.
|
|
128
|
+
|
|
129
|
+
# @see Increase::Models::WireTransferCreateParams::Creditor#address
|
|
130
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
131
|
+
# @!attribute unstructured
|
|
132
|
+
# Unstructured address lines.
|
|
133
|
+
#
|
|
134
|
+
# @return [Increase::Models::WireTransferCreateParams::Creditor::Address::Unstructured]
|
|
135
|
+
required :unstructured, -> { Increase::WireTransferCreateParams::Creditor::Address::Unstructured }
|
|
136
|
+
|
|
137
|
+
# @!method initialize(unstructured:)
|
|
138
|
+
# The person or business's address.
|
|
139
|
+
#
|
|
140
|
+
# @param unstructured [Increase::Models::WireTransferCreateParams::Creditor::Address::Unstructured] Unstructured address lines.
|
|
141
|
+
|
|
142
|
+
# @see Increase::Models::WireTransferCreateParams::Creditor::Address#unstructured
|
|
143
|
+
class Unstructured < Increase::Internal::Type::BaseModel
|
|
144
|
+
# @!attribute line1
|
|
145
|
+
# The address line 1.
|
|
146
|
+
#
|
|
147
|
+
# @return [String]
|
|
148
|
+
required :line1, String
|
|
149
|
+
|
|
150
|
+
# @!attribute line2
|
|
151
|
+
# The address line 2.
|
|
152
|
+
#
|
|
153
|
+
# @return [String, nil]
|
|
154
|
+
optional :line2, String
|
|
155
|
+
|
|
156
|
+
# @!attribute line3
|
|
157
|
+
# The address line 3.
|
|
158
|
+
#
|
|
159
|
+
# @return [String, nil]
|
|
160
|
+
optional :line3, String
|
|
161
|
+
|
|
162
|
+
# @!method initialize(line1:, line2: nil, line3: nil)
|
|
163
|
+
# Unstructured address lines.
|
|
164
|
+
#
|
|
165
|
+
# @param line1 [String] The address line 1.
|
|
166
|
+
#
|
|
167
|
+
# @param line2 [String] The address line 2.
|
|
168
|
+
#
|
|
169
|
+
# @param line3 [String] The address line 3.
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
|
|
159
174
|
class Remittance < Increase::Internal::Type::BaseModel
|
|
160
175
|
# @!attribute category
|
|
161
176
|
# The type of remittance information being passed.
|
|
@@ -244,7 +259,7 @@ module Increase
|
|
|
244
259
|
# @see Increase::Models::WireTransferCreateParams::Remittance#unstructured
|
|
245
260
|
class Unstructured < Increase::Internal::Type::BaseModel
|
|
246
261
|
# @!attribute message
|
|
247
|
-
# The
|
|
262
|
+
# The information.
|
|
248
263
|
#
|
|
249
264
|
# @return [String]
|
|
250
265
|
required :message, String
|
|
@@ -253,7 +268,74 @@ module Increase
|
|
|
253
268
|
# Unstructured remittance information. Required if `category` is equal to
|
|
254
269
|
# `unstructured`.
|
|
255
270
|
#
|
|
256
|
-
# @param message [String] The
|
|
271
|
+
# @param message [String] The information.
|
|
272
|
+
end
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
class Debtor < Increase::Internal::Type::BaseModel
|
|
276
|
+
# @!attribute name
|
|
277
|
+
# The person or business's name.
|
|
278
|
+
#
|
|
279
|
+
# @return [String]
|
|
280
|
+
required :name, String
|
|
281
|
+
|
|
282
|
+
# @!attribute address
|
|
283
|
+
# The person or business's address.
|
|
284
|
+
#
|
|
285
|
+
# @return [Increase::Models::WireTransferCreateParams::Debtor::Address, nil]
|
|
286
|
+
optional :address, -> { Increase::WireTransferCreateParams::Debtor::Address }
|
|
287
|
+
|
|
288
|
+
# @!method initialize(name:, address: nil)
|
|
289
|
+
# The person or business whose funds are being transferred. This is only necessary
|
|
290
|
+
# if you're transferring from a commingled account. Otherwise, we'll use the
|
|
291
|
+
# associated entity's details.
|
|
292
|
+
#
|
|
293
|
+
# @param name [String] The person or business's name.
|
|
294
|
+
#
|
|
295
|
+
# @param address [Increase::Models::WireTransferCreateParams::Debtor::Address] The person or business's address.
|
|
296
|
+
|
|
297
|
+
# @see Increase::Models::WireTransferCreateParams::Debtor#address
|
|
298
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
299
|
+
# @!attribute unstructured
|
|
300
|
+
# Unstructured address lines.
|
|
301
|
+
#
|
|
302
|
+
# @return [Increase::Models::WireTransferCreateParams::Debtor::Address::Unstructured]
|
|
303
|
+
required :unstructured, -> { Increase::WireTransferCreateParams::Debtor::Address::Unstructured }
|
|
304
|
+
|
|
305
|
+
# @!method initialize(unstructured:)
|
|
306
|
+
# The person or business's address.
|
|
307
|
+
#
|
|
308
|
+
# @param unstructured [Increase::Models::WireTransferCreateParams::Debtor::Address::Unstructured] Unstructured address lines.
|
|
309
|
+
|
|
310
|
+
# @see Increase::Models::WireTransferCreateParams::Debtor::Address#unstructured
|
|
311
|
+
class Unstructured < Increase::Internal::Type::BaseModel
|
|
312
|
+
# @!attribute line1
|
|
313
|
+
# The address line 1.
|
|
314
|
+
#
|
|
315
|
+
# @return [String]
|
|
316
|
+
required :line1, String
|
|
317
|
+
|
|
318
|
+
# @!attribute line2
|
|
319
|
+
# The address line 2.
|
|
320
|
+
#
|
|
321
|
+
# @return [String, nil]
|
|
322
|
+
optional :line2, String
|
|
323
|
+
|
|
324
|
+
# @!attribute line3
|
|
325
|
+
# The address line 3.
|
|
326
|
+
#
|
|
327
|
+
# @return [String, nil]
|
|
328
|
+
optional :line3, String
|
|
329
|
+
|
|
330
|
+
# @!method initialize(line1:, line2: nil, line3: nil)
|
|
331
|
+
# Unstructured address lines.
|
|
332
|
+
#
|
|
333
|
+
# @param line1 [String] The address line 1.
|
|
334
|
+
#
|
|
335
|
+
# @param line2 [String] The address line 2.
|
|
336
|
+
#
|
|
337
|
+
# @param line3 [String] The address line 3.
|
|
338
|
+
end
|
|
257
339
|
end
|
|
258
340
|
end
|
|
259
341
|
end
|
|
@@ -8,36 +8,24 @@ module Increase
|
|
|
8
8
|
#
|
|
9
9
|
# Create a Wire Transfer
|
|
10
10
|
#
|
|
11
|
-
# @overload create(account_id:, amount:,
|
|
11
|
+
# @overload create(account_id:, amount:, creditor:, remittance:, account_number: nil, debtor: nil, external_account_id: nil, inbound_wire_drawdown_request_id: nil, require_approval: nil, routing_number: nil, source_account_number_id: nil, request_options: {})
|
|
12
12
|
#
|
|
13
13
|
# @param account_id [String] The identifier for the account that will send the transfer.
|
|
14
14
|
#
|
|
15
15
|
# @param amount [Integer] The transfer amount in USD cents.
|
|
16
16
|
#
|
|
17
|
-
# @param
|
|
17
|
+
# @param creditor [Increase::Models::WireTransferCreateParams::Creditor] The person or business that is receiving the funds from the transfer.
|
|
18
18
|
#
|
|
19
|
-
# @param
|
|
20
|
-
#
|
|
21
|
-
# @param beneficiary_address_line1 [String] The beneficiary's address line 1.
|
|
19
|
+
# @param remittance [Increase::Models::WireTransferCreateParams::Remittance] Additional remittance information related to the wire transfer.
|
|
22
20
|
#
|
|
23
|
-
# @param
|
|
21
|
+
# @param account_number [String] The account number for the destination account.
|
|
24
22
|
#
|
|
25
|
-
# @param
|
|
23
|
+
# @param debtor [Increase::Models::WireTransferCreateParams::Debtor] The person or business whose funds are being transferred. This is only necessary
|
|
26
24
|
#
|
|
27
25
|
# @param external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
|
|
28
26
|
#
|
|
29
27
|
# @param inbound_wire_drawdown_request_id [String] The ID of an Inbound Wire Drawdown Request in response to which this transfer is
|
|
30
28
|
#
|
|
31
|
-
# @param originator_address_line1 [String] The originator's address line 1. This is only necessary if you're transferring f
|
|
32
|
-
#
|
|
33
|
-
# @param originator_address_line2 [String] The originator's address line 2. This is only necessary if you're transferring f
|
|
34
|
-
#
|
|
35
|
-
# @param originator_address_line3 [String] The originator's address line 3. This is only necessary if you're transferring f
|
|
36
|
-
#
|
|
37
|
-
# @param originator_name [String] The originator's name. This is only necessary if you're transferring from a comm
|
|
38
|
-
#
|
|
39
|
-
# @param remittance [Increase::Models::WireTransferCreateParams::Remittance] Additional remittance information related to the wire transfer.
|
|
40
|
-
#
|
|
41
29
|
# @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API.
|
|
42
30
|
#
|
|
43
31
|
# @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des
|
data/lib/increase/version.rb
CHANGED
|
@@ -1838,24 +1838,8 @@ module Increase
|
|
|
1838
1838
|
|
|
1839
1839
|
# Non-fiat currency or non-fungible token as described details. Present if and
|
|
1840
1840
|
# only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`.
|
|
1841
|
-
sig
|
|
1842
|
-
|
|
1843
|
-
T.nilable(
|
|
1844
|
-
Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed
|
|
1845
|
-
)
|
|
1846
|
-
)
|
|
1847
|
-
end
|
|
1848
|
-
attr_reader :non_fiat_currency_or_non_fungible_token_as_described
|
|
1849
|
-
|
|
1850
|
-
sig do
|
|
1851
|
-
params(
|
|
1852
|
-
non_fiat_currency_or_non_fungible_token_as_described:
|
|
1853
|
-
T.nilable(
|
|
1854
|
-
Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed::OrHash
|
|
1855
|
-
)
|
|
1856
|
-
).void
|
|
1857
|
-
end
|
|
1858
|
-
attr_writer :non_fiat_currency_or_non_fungible_token_as_described
|
|
1841
|
+
sig { returns(T.nilable(T.anything)) }
|
|
1842
|
+
attr_accessor :non_fiat_currency_or_non_fungible_token_as_described
|
|
1859
1843
|
|
|
1860
1844
|
# Non-fiat currency or non-fungible token received details. Present if and only if
|
|
1861
1845
|
# `reason` is `non_fiat_currency_or_non_fungible_token_received`.
|
|
@@ -1948,9 +1932,7 @@ module Increase
|
|
|
1948
1932
|
Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::OrHash
|
|
1949
1933
|
),
|
|
1950
1934
|
non_fiat_currency_or_non_fungible_token_as_described:
|
|
1951
|
-
T.nilable(
|
|
1952
|
-
Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed::OrHash
|
|
1953
|
-
),
|
|
1935
|
+
T.nilable(T.anything),
|
|
1954
1936
|
non_fiat_currency_or_non_fungible_token_received:
|
|
1955
1937
|
T.nilable(
|
|
1956
1938
|
Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived::OrHash
|
|
@@ -2009,9 +1991,7 @@ module Increase
|
|
|
2009
1991
|
Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute
|
|
2010
1992
|
),
|
|
2011
1993
|
non_fiat_currency_or_non_fungible_token_as_described:
|
|
2012
|
-
T.nilable(
|
|
2013
|
-
Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed
|
|
2014
|
-
),
|
|
1994
|
+
T.nilable(T.anything),
|
|
2015
1995
|
non_fiat_currency_or_non_fungible_token_received:
|
|
2016
1996
|
T.nilable(
|
|
2017
1997
|
Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived
|
|
@@ -2440,26 +2420,6 @@ module Increase
|
|
|
2440
2420
|
end
|
|
2441
2421
|
end
|
|
2442
2422
|
|
|
2443
|
-
class NonFiatCurrencyOrNonFungibleTokenAsDescribed < Increase::Internal::Type::BaseModel
|
|
2444
|
-
OrHash =
|
|
2445
|
-
T.type_alias do
|
|
2446
|
-
T.any(
|
|
2447
|
-
Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed,
|
|
2448
|
-
Increase::Internal::AnyHash
|
|
2449
|
-
)
|
|
2450
|
-
end
|
|
2451
|
-
|
|
2452
|
-
# Non-fiat currency or non-fungible token as described details. Present if and
|
|
2453
|
-
# only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`.
|
|
2454
|
-
sig { returns(T.attached_class) }
|
|
2455
|
-
def self.new
|
|
2456
|
-
end
|
|
2457
|
-
|
|
2458
|
-
sig { override.returns({}) }
|
|
2459
|
-
def to_hash
|
|
2460
|
-
end
|
|
2461
|
-
end
|
|
2462
|
-
|
|
2463
2423
|
class NonFiatCurrencyOrNonFungibleTokenReceived < Increase::Internal::Type::BaseModel
|
|
2464
2424
|
OrHash =
|
|
2465
2425
|
T.type_alias do
|
|
@@ -3239,24 +3199,8 @@ module Increase
|
|
|
3239
3199
|
|
|
3240
3200
|
# Non-receipt of cash. Present if and only if `category` is
|
|
3241
3201
|
# `consumer_non_receipt_of_cash`.
|
|
3242
|
-
sig
|
|
3243
|
-
|
|
3244
|
-
T.nilable(
|
|
3245
|
-
Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash
|
|
3246
|
-
)
|
|
3247
|
-
)
|
|
3248
|
-
end
|
|
3249
|
-
attr_reader :consumer_non_receipt_of_cash
|
|
3250
|
-
|
|
3251
|
-
sig do
|
|
3252
|
-
params(
|
|
3253
|
-
consumer_non_receipt_of_cash:
|
|
3254
|
-
T.nilable(
|
|
3255
|
-
Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash::OrHash
|
|
3256
|
-
)
|
|
3257
|
-
).void
|
|
3258
|
-
end
|
|
3259
|
-
attr_writer :consumer_non_receipt_of_cash
|
|
3202
|
+
sig { returns(T.nilable(T.anything)) }
|
|
3203
|
+
attr_accessor :consumer_non_receipt_of_cash
|
|
3260
3204
|
|
|
3261
3205
|
# Original Credit Transaction (OCT) not accepted. Present if and only if
|
|
3262
3206
|
# `category` is `consumer_original_credit_transaction_not_accepted`.
|
|
@@ -3472,10 +3416,7 @@ module Increase
|
|
|
3472
3416
|
T.nilable(
|
|
3473
3417
|
Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::OrHash
|
|
3474
3418
|
),
|
|
3475
|
-
consumer_non_receipt_of_cash:
|
|
3476
|
-
T.nilable(
|
|
3477
|
-
Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash::OrHash
|
|
3478
|
-
),
|
|
3419
|
+
consumer_non_receipt_of_cash: T.nilable(T.anything),
|
|
3479
3420
|
consumer_original_credit_transaction_not_accepted:
|
|
3480
3421
|
T.nilable(
|
|
3481
3422
|
Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted::OrHash
|
|
@@ -3615,10 +3556,7 @@ module Increase
|
|
|
3615
3556
|
T.nilable(
|
|
3616
3557
|
Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived
|
|
3617
3558
|
),
|
|
3618
|
-
consumer_non_receipt_of_cash:
|
|
3619
|
-
T.nilable(
|
|
3620
|
-
Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash
|
|
3621
|
-
),
|
|
3559
|
+
consumer_non_receipt_of_cash: T.nilable(T.anything),
|
|
3622
3560
|
consumer_original_credit_transaction_not_accepted:
|
|
3623
3561
|
T.nilable(
|
|
3624
3562
|
Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted
|
|
@@ -7404,26 +7342,6 @@ module Increase
|
|
|
7404
7342
|
end
|
|
7405
7343
|
end
|
|
7406
7344
|
|
|
7407
|
-
class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel
|
|
7408
|
-
OrHash =
|
|
7409
|
-
T.type_alias do
|
|
7410
|
-
T.any(
|
|
7411
|
-
Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash,
|
|
7412
|
-
Increase::Internal::AnyHash
|
|
7413
|
-
)
|
|
7414
|
-
end
|
|
7415
|
-
|
|
7416
|
-
# Non-receipt of cash. Present if and only if `category` is
|
|
7417
|
-
# `consumer_non_receipt_of_cash`.
|
|
7418
|
-
sig { returns(T.attached_class) }
|
|
7419
|
-
def self.new
|
|
7420
|
-
end
|
|
7421
|
-
|
|
7422
|
-
sig { override.returns({}) }
|
|
7423
|
-
def to_hash
|
|
7424
|
-
end
|
|
7425
|
-
end
|
|
7426
|
-
|
|
7427
7345
|
class ConsumerOriginalCreditTransactionNotAccepted < Increase::Internal::Type::BaseModel
|
|
7428
7346
|
OrHash =
|
|
7429
7347
|
T.type_alias do
|
|
@@ -532,7 +532,7 @@ module Increase
|
|
|
532
532
|
# An User Initiated Hold object. This field will be present in the JSON response
|
|
533
533
|
# if and only if `category` is equal to `user_initiated_hold`. Created when a user
|
|
534
534
|
# initiates a hold on funds in their account.
|
|
535
|
-
sig { returns(T.nilable(T.anything)) }
|
|
535
|
+
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
536
536
|
attr_accessor :user_initiated_hold
|
|
537
537
|
|
|
538
538
|
# A Wire Transfer Instruction object. This field will be present in the JSON
|
|
@@ -607,7 +607,7 @@ module Increase
|
|
|
607
607
|
T.nilable(
|
|
608
608
|
Increase::PendingTransaction::Source::SwiftTransferInstruction::OrHash
|
|
609
609
|
),
|
|
610
|
-
user_initiated_hold: T.nilable(T.anything),
|
|
610
|
+
user_initiated_hold: T.nilable(T::Hash[Symbol, T.anything]),
|
|
611
611
|
wire_transfer_instruction:
|
|
612
612
|
T.nilable(
|
|
613
613
|
Increase::PendingTransaction::Source::WireTransferInstruction::OrHash
|
|
@@ -721,7 +721,7 @@ module Increase
|
|
|
721
721
|
T.nilable(
|
|
722
722
|
Increase::PendingTransaction::Source::SwiftTransferInstruction
|
|
723
723
|
),
|
|
724
|
-
user_initiated_hold: T.nilable(T.anything),
|
|
724
|
+
user_initiated_hold: T.nilable(T::Hash[Symbol, T.anything]),
|
|
725
725
|
wire_transfer_instruction:
|
|
726
726
|
T.nilable(
|
|
727
727
|
Increase::PendingTransaction::Source::WireTransferInstruction
|