increase 1.203.0 → 1.204.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/models/account_transfer.rb +25 -25
- data/lib/increase/models/ach_transfer.rb +28 -28
- data/lib/increase/models/card_dispute.rb +79 -79
- data/lib/increase/models/card_payment.rb +82 -82
- data/lib/increase/models/card_push_transfer.rb +25 -25
- data/lib/increase/models/card_validation.rb +25 -25
- data/lib/increase/models/check_transfer.rb +25 -25
- data/lib/increase/models/declined_transaction.rb +53 -53
- data/lib/increase/models/fednow_transfer.rb +25 -25
- data/lib/increase/models/pending_transaction.rb +85 -85
- data/lib/increase/models/real_time_payments_transfer.rb +25 -25
- data/lib/increase/models/swift_transfer.rb +25 -25
- data/lib/increase/models/transaction.rb +173 -173
- data/lib/increase/models/wire_transfer.rb +28 -28
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_transfer.rbi +40 -40
- data/rbi/increase/models/ach_transfer.rbi +42 -42
- data/rbi/increase/models/card_dispute.rbi +141 -141
- data/rbi/increase/models/card_payment.rbi +144 -144
- data/rbi/increase/models/card_push_transfer.rbi +40 -40
- data/rbi/increase/models/card_validation.rbi +40 -40
- data/rbi/increase/models/check_transfer.rbi +40 -40
- data/rbi/increase/models/declined_transaction.rbi +99 -99
- data/rbi/increase/models/fednow_transfer.rbi +40 -40
- data/rbi/increase/models/pending_transaction.rbi +163 -163
- data/rbi/increase/models/real_time_payments_transfer.rbi +44 -44
- data/rbi/increase/models/swift_transfer.rbi +40 -40
- data/rbi/increase/models/transaction.rbi +534 -534
- data/rbi/increase/models/wire_transfer.rbi +42 -42
- data/sig/increase/models/account_transfer.rbs +17 -17
- data/sig/increase/models/ach_transfer.rbs +19 -19
- data/sig/increase/models/card_dispute.rbs +56 -56
- data/sig/increase/models/card_payment.rbs +81 -81
- data/sig/increase/models/card_push_transfer.rbs +17 -17
- data/sig/increase/models/card_validation.rbs +17 -17
- data/sig/increase/models/check_transfer.rbs +17 -17
- data/sig/increase/models/declined_transaction.rbs +52 -52
- data/sig/increase/models/fednow_transfer.rbs +17 -17
- data/sig/increase/models/pending_transaction.rbs +92 -92
- data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
- data/sig/increase/models/swift_transfer.rbs +17 -17
- data/sig/increase/models/transaction.rbs +202 -202
- data/sig/increase/models/wire_transfer.rbs +19 -19
- metadata +2 -2
|
@@ -138,40 +138,40 @@ module Increase
|
|
|
138
138
|
|
|
139
139
|
# @see Increase::Models::DeclinedTransaction#source
|
|
140
140
|
class Source < Increase::Internal::Type::BaseModel
|
|
141
|
+
# @!attribute category
|
|
142
|
+
# The type of the resource. We may add additional possible values for this enum
|
|
143
|
+
# over time; your application should be able to handle such additions gracefully.
|
|
144
|
+
#
|
|
145
|
+
# @return [Symbol, Increase::Models::DeclinedTransaction::Source::Category]
|
|
146
|
+
required :category, enum: -> { Increase::DeclinedTransaction::Source::Category }
|
|
147
|
+
|
|
141
148
|
# @!attribute ach_decline
|
|
142
149
|
# An ACH Decline object. This field will be present in the JSON response if and
|
|
143
150
|
# only if `category` is equal to `ach_decline`.
|
|
144
151
|
#
|
|
145
152
|
# @return [Increase::Models::DeclinedTransaction::Source::ACHDecline, nil]
|
|
146
|
-
|
|
153
|
+
optional :ach_decline, -> { Increase::DeclinedTransaction::Source::ACHDecline }, nil?: true
|
|
147
154
|
|
|
148
155
|
# @!attribute card_decline
|
|
149
156
|
# A Card Decline object. This field will be present in the JSON response if and
|
|
150
157
|
# only if `category` is equal to `card_decline`.
|
|
151
158
|
#
|
|
152
159
|
# @return [Increase::Models::DeclinedTransaction::Source::CardDecline, nil]
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
# @!attribute category
|
|
156
|
-
# The type of the resource. We may add additional possible values for this enum
|
|
157
|
-
# over time; your application should be able to handle such additions gracefully.
|
|
158
|
-
#
|
|
159
|
-
# @return [Symbol, Increase::Models::DeclinedTransaction::Source::Category]
|
|
160
|
-
required :category, enum: -> { Increase::DeclinedTransaction::Source::Category }
|
|
160
|
+
optional :card_decline, -> { Increase::DeclinedTransaction::Source::CardDecline }, nil?: true
|
|
161
161
|
|
|
162
162
|
# @!attribute check_decline
|
|
163
163
|
# A Check Decline object. This field will be present in the JSON response if and
|
|
164
164
|
# only if `category` is equal to `check_decline`.
|
|
165
165
|
#
|
|
166
166
|
# @return [Increase::Models::DeclinedTransaction::Source::CheckDecline, nil]
|
|
167
|
-
|
|
167
|
+
optional :check_decline, -> { Increase::DeclinedTransaction::Source::CheckDecline }, nil?: true
|
|
168
168
|
|
|
169
169
|
# @!attribute check_deposit_rejection
|
|
170
170
|
# A Check Deposit Rejection object. This field will be present in the JSON
|
|
171
171
|
# response if and only if `category` is equal to `check_deposit_rejection`.
|
|
172
172
|
#
|
|
173
173
|
# @return [Increase::Models::DeclinedTransaction::Source::CheckDepositRejection, nil]
|
|
174
|
-
|
|
174
|
+
optional :check_deposit_rejection,
|
|
175
175
|
-> { Increase::DeclinedTransaction::Source::CheckDepositRejection },
|
|
176
176
|
nil?: true
|
|
177
177
|
|
|
@@ -181,7 +181,7 @@ module Increase
|
|
|
181
181
|
# `inbound_fednow_transfer_decline`.
|
|
182
182
|
#
|
|
183
183
|
# @return [Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline, nil]
|
|
184
|
-
|
|
184
|
+
optional :inbound_fednow_transfer_decline,
|
|
185
185
|
-> { Increase::DeclinedTransaction::Source::InboundFednowTransferDecline },
|
|
186
186
|
nil?: true
|
|
187
187
|
|
|
@@ -191,7 +191,7 @@ module Increase
|
|
|
191
191
|
# `inbound_real_time_payments_transfer_decline`.
|
|
192
192
|
#
|
|
193
193
|
# @return [Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline, nil]
|
|
194
|
-
|
|
194
|
+
optional :inbound_real_time_payments_transfer_decline,
|
|
195
195
|
-> { Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline },
|
|
196
196
|
nil?: true
|
|
197
197
|
|
|
@@ -200,16 +200,16 @@ module Increase
|
|
|
200
200
|
# contain an empty object, otherwise it will contain null.
|
|
201
201
|
#
|
|
202
202
|
# @return [Increase::Models::DeclinedTransaction::Source::Other, nil]
|
|
203
|
-
|
|
203
|
+
optional :other, -> { Increase::DeclinedTransaction::Source::Other }, nil?: true
|
|
204
204
|
|
|
205
205
|
# @!attribute wire_decline
|
|
206
206
|
# A Wire Decline object. This field will be present in the JSON response if and
|
|
207
207
|
# only if `category` is equal to `wire_decline`.
|
|
208
208
|
#
|
|
209
209
|
# @return [Increase::Models::DeclinedTransaction::Source::WireDecline, nil]
|
|
210
|
-
|
|
210
|
+
optional :wire_decline, -> { Increase::DeclinedTransaction::Source::WireDecline }, nil?: true
|
|
211
211
|
|
|
212
|
-
# @!method initialize(
|
|
212
|
+
# @!method initialize(category:, ach_decline: nil, card_decline: nil, check_decline: nil, check_deposit_rejection: nil, inbound_fednow_transfer_decline: nil, inbound_real_time_payments_transfer_decline: nil, other: nil, wire_decline: nil)
|
|
213
213
|
# Some parameter documentations has been truncated, see
|
|
214
214
|
# {Increase::Models::DeclinedTransaction::Source} for more details.
|
|
215
215
|
#
|
|
@@ -219,12 +219,12 @@ module Increase
|
|
|
219
219
|
# additional undocumented keys may appear in this object. These should be treated
|
|
220
220
|
# as deprecated and will be removed in the future.
|
|
221
221
|
#
|
|
222
|
+
# @param category [Symbol, Increase::Models::DeclinedTransaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov
|
|
223
|
+
#
|
|
222
224
|
# @param ach_decline [Increase::Models::DeclinedTransaction::Source::ACHDecline, nil] An ACH Decline object. This field will be present in the JSON response if and on
|
|
223
225
|
#
|
|
224
226
|
# @param card_decline [Increase::Models::DeclinedTransaction::Source::CardDecline, nil] A Card Decline object. This field will be present in the JSON response if and on
|
|
225
227
|
#
|
|
226
|
-
# @param category [Symbol, Increase::Models::DeclinedTransaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov
|
|
227
|
-
#
|
|
228
228
|
# @param check_decline [Increase::Models::DeclinedTransaction::Source::CheckDecline, nil] A Check Decline object. This field will be present in the JSON response if and o
|
|
229
229
|
#
|
|
230
230
|
# @param check_deposit_rejection [Increase::Models::DeclinedTransaction::Source::CheckDepositRejection, nil] A Check Deposit Rejection object. This field will be present in the JSON respons
|
|
@@ -237,6 +237,41 @@ module Increase
|
|
|
237
237
|
#
|
|
238
238
|
# @param wire_decline [Increase::Models::DeclinedTransaction::Source::WireDecline, nil] A Wire Decline object. This field will be present in the JSON response if and on
|
|
239
239
|
|
|
240
|
+
# The type of the resource. We may add additional possible values for this enum
|
|
241
|
+
# over time; your application should be able to handle such additions gracefully.
|
|
242
|
+
#
|
|
243
|
+
# @see Increase::Models::DeclinedTransaction::Source#category
|
|
244
|
+
module Category
|
|
245
|
+
extend Increase::Internal::Type::Enum
|
|
246
|
+
|
|
247
|
+
# ACH Decline: details will be under the `ach_decline` object.
|
|
248
|
+
ACH_DECLINE = :ach_decline
|
|
249
|
+
|
|
250
|
+
# Card Decline: details will be under the `card_decline` object.
|
|
251
|
+
CARD_DECLINE = :card_decline
|
|
252
|
+
|
|
253
|
+
# Check Decline: details will be under the `check_decline` object.
|
|
254
|
+
CHECK_DECLINE = :check_decline
|
|
255
|
+
|
|
256
|
+
# Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object.
|
|
257
|
+
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE = :inbound_real_time_payments_transfer_decline
|
|
258
|
+
|
|
259
|
+
# Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object.
|
|
260
|
+
INBOUND_FEDNOW_TRANSFER_DECLINE = :inbound_fednow_transfer_decline
|
|
261
|
+
|
|
262
|
+
# Wire Decline: details will be under the `wire_decline` object.
|
|
263
|
+
WIRE_DECLINE = :wire_decline
|
|
264
|
+
|
|
265
|
+
# Check Deposit Rejection: details will be under the `check_deposit_rejection` object.
|
|
266
|
+
CHECK_DEPOSIT_REJECTION = :check_deposit_rejection
|
|
267
|
+
|
|
268
|
+
# The Declined Transaction was made for an undocumented or deprecated reason.
|
|
269
|
+
OTHER = :other
|
|
270
|
+
|
|
271
|
+
# @!method self.values
|
|
272
|
+
# @return [Array<Symbol>]
|
|
273
|
+
end
|
|
274
|
+
|
|
240
275
|
# @see Increase::Models::DeclinedTransaction::Source#ach_decline
|
|
241
276
|
class ACHDecline < Increase::Internal::Type::BaseModel
|
|
242
277
|
# @!attribute id
|
|
@@ -1736,41 +1771,6 @@ module Increase
|
|
|
1736
1771
|
end
|
|
1737
1772
|
end
|
|
1738
1773
|
|
|
1739
|
-
# The type of the resource. We may add additional possible values for this enum
|
|
1740
|
-
# over time; your application should be able to handle such additions gracefully.
|
|
1741
|
-
#
|
|
1742
|
-
# @see Increase::Models::DeclinedTransaction::Source#category
|
|
1743
|
-
module Category
|
|
1744
|
-
extend Increase::Internal::Type::Enum
|
|
1745
|
-
|
|
1746
|
-
# ACH Decline: details will be under the `ach_decline` object.
|
|
1747
|
-
ACH_DECLINE = :ach_decline
|
|
1748
|
-
|
|
1749
|
-
# Card Decline: details will be under the `card_decline` object.
|
|
1750
|
-
CARD_DECLINE = :card_decline
|
|
1751
|
-
|
|
1752
|
-
# Check Decline: details will be under the `check_decline` object.
|
|
1753
|
-
CHECK_DECLINE = :check_decline
|
|
1754
|
-
|
|
1755
|
-
# Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object.
|
|
1756
|
-
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE = :inbound_real_time_payments_transfer_decline
|
|
1757
|
-
|
|
1758
|
-
# Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object.
|
|
1759
|
-
INBOUND_FEDNOW_TRANSFER_DECLINE = :inbound_fednow_transfer_decline
|
|
1760
|
-
|
|
1761
|
-
# Wire Decline: details will be under the `wire_decline` object.
|
|
1762
|
-
WIRE_DECLINE = :wire_decline
|
|
1763
|
-
|
|
1764
|
-
# Check Deposit Rejection: details will be under the `check_deposit_rejection` object.
|
|
1765
|
-
CHECK_DEPOSIT_REJECTION = :check_deposit_rejection
|
|
1766
|
-
|
|
1767
|
-
# The Declined Transaction was made for an undocumented or deprecated reason.
|
|
1768
|
-
OTHER = :other
|
|
1769
|
-
|
|
1770
|
-
# @!method self.values
|
|
1771
|
-
# @return [Array<Symbol>]
|
|
1772
|
-
end
|
|
1773
|
-
|
|
1774
1774
|
# @see Increase::Models::DeclinedTransaction::Source#check_decline
|
|
1775
1775
|
class CheckDecline < Increase::Internal::Type::BaseModel
|
|
1776
1776
|
# @!attribute amount
|
|
@@ -217,55 +217,41 @@ module Increase
|
|
|
217
217
|
|
|
218
218
|
# @see Increase::Models::FednowTransfer#created_by
|
|
219
219
|
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
220
|
-
# @!attribute api_key
|
|
221
|
-
# If present, details about the API key that created the transfer.
|
|
222
|
-
#
|
|
223
|
-
# @return [Increase::Models::FednowTransfer::CreatedBy::APIKey, nil]
|
|
224
|
-
required :api_key, -> { Increase::FednowTransfer::CreatedBy::APIKey }, nil?: true
|
|
225
|
-
|
|
226
220
|
# @!attribute category
|
|
227
221
|
# The type of object that created this transfer.
|
|
228
222
|
#
|
|
229
223
|
# @return [Symbol, Increase::Models::FednowTransfer::CreatedBy::Category]
|
|
230
224
|
required :category, enum: -> { Increase::FednowTransfer::CreatedBy::Category }
|
|
231
225
|
|
|
226
|
+
# @!attribute api_key
|
|
227
|
+
# If present, details about the API key that created the transfer.
|
|
228
|
+
#
|
|
229
|
+
# @return [Increase::Models::FednowTransfer::CreatedBy::APIKey, nil]
|
|
230
|
+
optional :api_key, -> { Increase::FednowTransfer::CreatedBy::APIKey }, nil?: true
|
|
231
|
+
|
|
232
232
|
# @!attribute oauth_application
|
|
233
233
|
# If present, details about the OAuth Application that created the transfer.
|
|
234
234
|
#
|
|
235
235
|
# @return [Increase::Models::FednowTransfer::CreatedBy::OAuthApplication, nil]
|
|
236
|
-
|
|
236
|
+
optional :oauth_application, -> { Increase::FednowTransfer::CreatedBy::OAuthApplication }, nil?: true
|
|
237
237
|
|
|
238
238
|
# @!attribute user
|
|
239
239
|
# If present, details about the User that created the transfer.
|
|
240
240
|
#
|
|
241
241
|
# @return [Increase::Models::FednowTransfer::CreatedBy::User, nil]
|
|
242
|
-
|
|
242
|
+
optional :user, -> { Increase::FednowTransfer::CreatedBy::User }, nil?: true
|
|
243
243
|
|
|
244
|
-
# @!method initialize(
|
|
244
|
+
# @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
|
|
245
245
|
# What object created the transfer, either via the API or the dashboard.
|
|
246
246
|
#
|
|
247
|
-
# @param api_key [Increase::Models::FednowTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
248
|
-
#
|
|
249
247
|
# @param category [Symbol, Increase::Models::FednowTransfer::CreatedBy::Category] The type of object that created this transfer.
|
|
250
248
|
#
|
|
249
|
+
# @param api_key [Increase::Models::FednowTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
250
|
+
#
|
|
251
251
|
# @param oauth_application [Increase::Models::FednowTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
|
|
252
252
|
#
|
|
253
253
|
# @param user [Increase::Models::FednowTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer.
|
|
254
254
|
|
|
255
|
-
# @see Increase::Models::FednowTransfer::CreatedBy#api_key
|
|
256
|
-
class APIKey < Increase::Internal::Type::BaseModel
|
|
257
|
-
# @!attribute description
|
|
258
|
-
# The description set for the API key when it was created.
|
|
259
|
-
#
|
|
260
|
-
# @return [String, nil]
|
|
261
|
-
required :description, String, nil?: true
|
|
262
|
-
|
|
263
|
-
# @!method initialize(description:)
|
|
264
|
-
# If present, details about the API key that created the transfer.
|
|
265
|
-
#
|
|
266
|
-
# @param description [String, nil] The description set for the API key when it was created.
|
|
267
|
-
end
|
|
268
|
-
|
|
269
255
|
# The type of object that created this transfer.
|
|
270
256
|
#
|
|
271
257
|
# @see Increase::Models::FednowTransfer::CreatedBy#category
|
|
@@ -285,6 +271,20 @@ module Increase
|
|
|
285
271
|
# @return [Array<Symbol>]
|
|
286
272
|
end
|
|
287
273
|
|
|
274
|
+
# @see Increase::Models::FednowTransfer::CreatedBy#api_key
|
|
275
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
276
|
+
# @!attribute description
|
|
277
|
+
# The description set for the API key when it was created.
|
|
278
|
+
#
|
|
279
|
+
# @return [String, nil]
|
|
280
|
+
required :description, String, nil?: true
|
|
281
|
+
|
|
282
|
+
# @!method initialize(description:)
|
|
283
|
+
# If present, details about the API key that created the transfer.
|
|
284
|
+
#
|
|
285
|
+
# @param description [String, nil] The description set for the API key when it was created.
|
|
286
|
+
end
|
|
287
|
+
|
|
288
288
|
# @see Increase::Models::FednowTransfer::CreatedBy#oauth_application
|
|
289
289
|
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
290
290
|
# @!attribute name
|
|
@@ -167,12 +167,19 @@ module Increase
|
|
|
167
167
|
|
|
168
168
|
# @see Increase::Models::PendingTransaction#source
|
|
169
169
|
class Source < Increase::Internal::Type::BaseModel
|
|
170
|
+
# @!attribute category
|
|
171
|
+
# The type of the resource. We may add additional possible values for this enum
|
|
172
|
+
# over time; your application should be able to handle such additions gracefully.
|
|
173
|
+
#
|
|
174
|
+
# @return [Symbol, Increase::Models::PendingTransaction::Source::Category]
|
|
175
|
+
required :category, enum: -> { Increase::PendingTransaction::Source::Category }
|
|
176
|
+
|
|
170
177
|
# @!attribute account_transfer_instruction
|
|
171
178
|
# An Account Transfer Instruction object. This field will be present in the JSON
|
|
172
179
|
# response if and only if `category` is equal to `account_transfer_instruction`.
|
|
173
180
|
#
|
|
174
181
|
# @return [Increase::Models::PendingTransaction::Source::AccountTransferInstruction, nil]
|
|
175
|
-
|
|
182
|
+
optional :account_transfer_instruction,
|
|
176
183
|
-> { Increase::PendingTransaction::Source::AccountTransferInstruction },
|
|
177
184
|
nil?: true
|
|
178
185
|
|
|
@@ -181,7 +188,7 @@ module Increase
|
|
|
181
188
|
# response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
182
189
|
#
|
|
183
190
|
# @return [Increase::Models::PendingTransaction::Source::ACHTransferInstruction, nil]
|
|
184
|
-
|
|
191
|
+
optional :ach_transfer_instruction,
|
|
185
192
|
-> { Increase::PendingTransaction::Source::ACHTransferInstruction },
|
|
186
193
|
nil?: true
|
|
187
194
|
|
|
@@ -191,7 +198,7 @@ module Increase
|
|
|
191
198
|
# `blockchain_offramp_transfer_instruction`.
|
|
192
199
|
#
|
|
193
200
|
# @return [Increase::Models::PendingTransaction::Source::BlockchainOfframpTransferInstruction, nil]
|
|
194
|
-
|
|
201
|
+
optional :blockchain_offramp_transfer_instruction,
|
|
195
202
|
-> { Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction },
|
|
196
203
|
nil?: true
|
|
197
204
|
|
|
@@ -201,7 +208,7 @@ module Increase
|
|
|
201
208
|
# `blockchain_onramp_transfer_instruction`.
|
|
202
209
|
#
|
|
203
210
|
# @return [Increase::Models::PendingTransaction::Source::BlockchainOnrampTransferInstruction, nil]
|
|
204
|
-
|
|
211
|
+
optional :blockchain_onramp_transfer_instruction,
|
|
205
212
|
-> { Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction },
|
|
206
213
|
nil?: true
|
|
207
214
|
|
|
@@ -212,7 +219,7 @@ module Increase
|
|
|
212
219
|
# transaction.
|
|
213
220
|
#
|
|
214
221
|
# @return [Increase::Models::PendingTransaction::Source::CardAuthorization, nil]
|
|
215
|
-
|
|
222
|
+
optional :card_authorization,
|
|
216
223
|
-> {
|
|
217
224
|
Increase::PendingTransaction::Source::CardAuthorization
|
|
218
225
|
},
|
|
@@ -223,23 +230,16 @@ module Increase
|
|
|
223
230
|
# response if and only if `category` is equal to `card_push_transfer_instruction`.
|
|
224
231
|
#
|
|
225
232
|
# @return [Increase::Models::PendingTransaction::Source::CardPushTransferInstruction, nil]
|
|
226
|
-
|
|
233
|
+
optional :card_push_transfer_instruction,
|
|
227
234
|
-> { Increase::PendingTransaction::Source::CardPushTransferInstruction },
|
|
228
235
|
nil?: true
|
|
229
236
|
|
|
230
|
-
# @!attribute category
|
|
231
|
-
# The type of the resource. We may add additional possible values for this enum
|
|
232
|
-
# over time; your application should be able to handle such additions gracefully.
|
|
233
|
-
#
|
|
234
|
-
# @return [Symbol, Increase::Models::PendingTransaction::Source::Category]
|
|
235
|
-
required :category, enum: -> { Increase::PendingTransaction::Source::Category }
|
|
236
|
-
|
|
237
237
|
# @!attribute check_deposit_instruction
|
|
238
238
|
# A Check Deposit Instruction object. This field will be present in the JSON
|
|
239
239
|
# response if and only if `category` is equal to `check_deposit_instruction`.
|
|
240
240
|
#
|
|
241
241
|
# @return [Increase::Models::PendingTransaction::Source::CheckDepositInstruction, nil]
|
|
242
|
-
|
|
242
|
+
optional :check_deposit_instruction,
|
|
243
243
|
-> { Increase::PendingTransaction::Source::CheckDepositInstruction },
|
|
244
244
|
nil?: true
|
|
245
245
|
|
|
@@ -248,7 +248,7 @@ module Increase
|
|
|
248
248
|
# response if and only if `category` is equal to `check_transfer_instruction`.
|
|
249
249
|
#
|
|
250
250
|
# @return [Increase::Models::PendingTransaction::Source::CheckTransferInstruction, nil]
|
|
251
|
-
|
|
251
|
+
optional :check_transfer_instruction,
|
|
252
252
|
-> { Increase::PendingTransaction::Source::CheckTransferInstruction },
|
|
253
253
|
nil?: true
|
|
254
254
|
|
|
@@ -257,7 +257,7 @@ module Increase
|
|
|
257
257
|
# response if and only if `category` is equal to `fednow_transfer_instruction`.
|
|
258
258
|
#
|
|
259
259
|
# @return [Increase::Models::PendingTransaction::Source::FednowTransferInstruction, nil]
|
|
260
|
-
|
|
260
|
+
optional :fednow_transfer_instruction,
|
|
261
261
|
-> { Increase::PendingTransaction::Source::FednowTransferInstruction },
|
|
262
262
|
nil?: true
|
|
263
263
|
|
|
@@ -268,7 +268,7 @@ module Increase
|
|
|
268
268
|
# be clawed back by the sending institution.
|
|
269
269
|
#
|
|
270
270
|
# @return [Increase::Models::PendingTransaction::Source::InboundFundsHold, nil]
|
|
271
|
-
|
|
271
|
+
optional :inbound_funds_hold,
|
|
272
272
|
-> {
|
|
273
273
|
Increase::PendingTransaction::Source::InboundFundsHold
|
|
274
274
|
},
|
|
@@ -281,7 +281,7 @@ module Increase
|
|
|
281
281
|
# and the User requests that it be reversed.
|
|
282
282
|
#
|
|
283
283
|
# @return [Increase::Models::PendingTransaction::Source::InboundWireTransferReversal, nil]
|
|
284
|
-
|
|
284
|
+
optional :inbound_wire_transfer_reversal,
|
|
285
285
|
-> { Increase::PendingTransaction::Source::InboundWireTransferReversal },
|
|
286
286
|
nil?: true
|
|
287
287
|
|
|
@@ -290,7 +290,7 @@ module Increase
|
|
|
290
290
|
# contain an empty object, otherwise it will contain null.
|
|
291
291
|
#
|
|
292
292
|
# @return [Increase::Models::PendingTransaction::Source::Other, nil]
|
|
293
|
-
|
|
293
|
+
optional :other, -> { Increase::PendingTransaction::Source::Other }, nil?: true
|
|
294
294
|
|
|
295
295
|
# @!attribute real_time_payments_transfer_instruction
|
|
296
296
|
# A Real-Time Payments Transfer Instruction object. This field will be present in
|
|
@@ -298,7 +298,7 @@ module Increase
|
|
|
298
298
|
# `real_time_payments_transfer_instruction`.
|
|
299
299
|
#
|
|
300
300
|
# @return [Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil]
|
|
301
|
-
|
|
301
|
+
optional :real_time_payments_transfer_instruction,
|
|
302
302
|
-> { Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction },
|
|
303
303
|
nil?: true
|
|
304
304
|
|
|
@@ -307,7 +307,7 @@ module Increase
|
|
|
307
307
|
# response if and only if `category` is equal to `swift_transfer_instruction`.
|
|
308
308
|
#
|
|
309
309
|
# @return [Increase::Models::PendingTransaction::Source::SwiftTransferInstruction, nil]
|
|
310
|
-
|
|
310
|
+
optional :swift_transfer_instruction,
|
|
311
311
|
-> { Increase::PendingTransaction::Source::SwiftTransferInstruction },
|
|
312
312
|
nil?: true
|
|
313
313
|
|
|
@@ -317,7 +317,7 @@ module Increase
|
|
|
317
317
|
# initiates a hold on funds in their account.
|
|
318
318
|
#
|
|
319
319
|
# @return [Hash{Symbol=>Object}, nil]
|
|
320
|
-
|
|
320
|
+
optional :user_initiated_hold,
|
|
321
321
|
Increase::Internal::Type::HashOf[Increase::Internal::Type::Unknown],
|
|
322
322
|
nil?: true
|
|
323
323
|
|
|
@@ -326,11 +326,11 @@ module Increase
|
|
|
326
326
|
# response if and only if `category` is equal to `wire_transfer_instruction`.
|
|
327
327
|
#
|
|
328
328
|
# @return [Increase::Models::PendingTransaction::Source::WireTransferInstruction, nil]
|
|
329
|
-
|
|
329
|
+
optional :wire_transfer_instruction,
|
|
330
330
|
-> { Increase::PendingTransaction::Source::WireTransferInstruction },
|
|
331
331
|
nil?: true
|
|
332
332
|
|
|
333
|
-
# @!method initialize(
|
|
333
|
+
# @!method initialize(category:, account_transfer_instruction: nil, ach_transfer_instruction: nil, blockchain_offramp_transfer_instruction: nil, blockchain_onramp_transfer_instruction: nil, card_authorization: nil, card_push_transfer_instruction: nil, check_deposit_instruction: nil, check_transfer_instruction: nil, fednow_transfer_instruction: nil, inbound_funds_hold: nil, inbound_wire_transfer_reversal: nil, other: nil, real_time_payments_transfer_instruction: nil, swift_transfer_instruction: nil, user_initiated_hold: nil, wire_transfer_instruction: nil)
|
|
334
334
|
# Some parameter documentations has been truncated, see
|
|
335
335
|
# {Increase::Models::PendingTransaction::Source} for more details.
|
|
336
336
|
#
|
|
@@ -338,6 +338,8 @@ module Increase
|
|
|
338
338
|
# Pending Transaction. For example, for a card transaction this lists the
|
|
339
339
|
# merchant's industry and location.
|
|
340
340
|
#
|
|
341
|
+
# @param category [Symbol, Increase::Models::PendingTransaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov
|
|
342
|
+
#
|
|
341
343
|
# @param account_transfer_instruction [Increase::Models::PendingTransaction::Source::AccountTransferInstruction, nil] An Account Transfer Instruction object. This field will be present in the JSON r
|
|
342
344
|
#
|
|
343
345
|
# @param ach_transfer_instruction [Increase::Models::PendingTransaction::Source::ACHTransferInstruction, nil] An ACH Transfer Instruction object. This field will be present in the JSON respo
|
|
@@ -350,8 +352,6 @@ module Increase
|
|
|
350
352
|
#
|
|
351
353
|
# @param card_push_transfer_instruction [Increase::Models::PendingTransaction::Source::CardPushTransferInstruction, nil] A Card Push Transfer Instruction object. This field will be present in the JSON
|
|
352
354
|
#
|
|
353
|
-
# @param category [Symbol, Increase::Models::PendingTransaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov
|
|
354
|
-
#
|
|
355
355
|
# @param check_deposit_instruction [Increase::Models::PendingTransaction::Source::CheckDepositInstruction, nil] A Check Deposit Instruction object. This field will be present in the JSON respo
|
|
356
356
|
#
|
|
357
357
|
# @param check_transfer_instruction [Increase::Models::PendingTransaction::Source::CheckTransferInstruction, nil] A Check Transfer Instruction object. This field will be present in the JSON resp
|
|
@@ -372,6 +372,65 @@ module Increase
|
|
|
372
372
|
#
|
|
373
373
|
# @param wire_transfer_instruction [Increase::Models::PendingTransaction::Source::WireTransferInstruction, nil] A Wire Transfer Instruction object. This field will be present in the JSON respo
|
|
374
374
|
|
|
375
|
+
# The type of the resource. We may add additional possible values for this enum
|
|
376
|
+
# over time; your application should be able to handle such additions gracefully.
|
|
377
|
+
#
|
|
378
|
+
# @see Increase::Models::PendingTransaction::Source#category
|
|
379
|
+
module Category
|
|
380
|
+
extend Increase::Internal::Type::Enum
|
|
381
|
+
|
|
382
|
+
# Account Transfer Instruction: details will be under the `account_transfer_instruction` object.
|
|
383
|
+
ACCOUNT_TRANSFER_INSTRUCTION = :account_transfer_instruction
|
|
384
|
+
|
|
385
|
+
# ACH Transfer Instruction: details will be under the `ach_transfer_instruction` object.
|
|
386
|
+
ACH_TRANSFER_INSTRUCTION = :ach_transfer_instruction
|
|
387
|
+
|
|
388
|
+
# Card Authorization: details will be under the `card_authorization` object.
|
|
389
|
+
CARD_AUTHORIZATION = :card_authorization
|
|
390
|
+
|
|
391
|
+
# Check Deposit Instruction: details will be under the `check_deposit_instruction` object.
|
|
392
|
+
CHECK_DEPOSIT_INSTRUCTION = :check_deposit_instruction
|
|
393
|
+
|
|
394
|
+
# Check Transfer Instruction: details will be under the `check_transfer_instruction` object.
|
|
395
|
+
CHECK_TRANSFER_INSTRUCTION = :check_transfer_instruction
|
|
396
|
+
|
|
397
|
+
# FedNow Transfer Instruction: details will be under the `fednow_transfer_instruction` object.
|
|
398
|
+
FEDNOW_TRANSFER_INSTRUCTION = :fednow_transfer_instruction
|
|
399
|
+
|
|
400
|
+
# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
|
|
401
|
+
INBOUND_FUNDS_HOLD = :inbound_funds_hold
|
|
402
|
+
|
|
403
|
+
# User Initiated Hold: details will be under the `user_initiated_hold` object.
|
|
404
|
+
USER_INITIATED_HOLD = :user_initiated_hold
|
|
405
|
+
|
|
406
|
+
# Real-Time Payments Transfer Instruction: details will be under the `real_time_payments_transfer_instruction` object.
|
|
407
|
+
REAL_TIME_PAYMENTS_TRANSFER_INSTRUCTION = :real_time_payments_transfer_instruction
|
|
408
|
+
|
|
409
|
+
# Wire Transfer Instruction: details will be under the `wire_transfer_instruction` object.
|
|
410
|
+
WIRE_TRANSFER_INSTRUCTION = :wire_transfer_instruction
|
|
411
|
+
|
|
412
|
+
# Inbound Wire Transfer Reversal: details will be under the `inbound_wire_transfer_reversal` object.
|
|
413
|
+
INBOUND_WIRE_TRANSFER_REVERSAL = :inbound_wire_transfer_reversal
|
|
414
|
+
|
|
415
|
+
# Swift Transfer Instruction: details will be under the `swift_transfer_instruction` object.
|
|
416
|
+
SWIFT_TRANSFER_INSTRUCTION = :swift_transfer_instruction
|
|
417
|
+
|
|
418
|
+
# Card Push Transfer Instruction: details will be under the `card_push_transfer_instruction` object.
|
|
419
|
+
CARD_PUSH_TRANSFER_INSTRUCTION = :card_push_transfer_instruction
|
|
420
|
+
|
|
421
|
+
# Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
|
|
422
|
+
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION = :blockchain_onramp_transfer_instruction
|
|
423
|
+
|
|
424
|
+
# Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
|
|
425
|
+
BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION = :blockchain_offramp_transfer_instruction
|
|
426
|
+
|
|
427
|
+
# The Pending Transaction was made for an undocumented or deprecated reason.
|
|
428
|
+
OTHER = :other
|
|
429
|
+
|
|
430
|
+
# @!method self.values
|
|
431
|
+
# @return [Array<Symbol>]
|
|
432
|
+
end
|
|
433
|
+
|
|
375
434
|
# @see Increase::Models::PendingTransaction::Source#account_transfer_instruction
|
|
376
435
|
class AccountTransferInstruction < Increase::Internal::Type::BaseModel
|
|
377
436
|
# @!attribute amount
|
|
@@ -1775,65 +1834,6 @@ module Increase
|
|
|
1775
1834
|
# @param transfer_id [String] The identifier of the Card Push Transfer that led to this Pending Transaction.
|
|
1776
1835
|
end
|
|
1777
1836
|
|
|
1778
|
-
# The type of the resource. We may add additional possible values for this enum
|
|
1779
|
-
# over time; your application should be able to handle such additions gracefully.
|
|
1780
|
-
#
|
|
1781
|
-
# @see Increase::Models::PendingTransaction::Source#category
|
|
1782
|
-
module Category
|
|
1783
|
-
extend Increase::Internal::Type::Enum
|
|
1784
|
-
|
|
1785
|
-
# Account Transfer Instruction: details will be under the `account_transfer_instruction` object.
|
|
1786
|
-
ACCOUNT_TRANSFER_INSTRUCTION = :account_transfer_instruction
|
|
1787
|
-
|
|
1788
|
-
# ACH Transfer Instruction: details will be under the `ach_transfer_instruction` object.
|
|
1789
|
-
ACH_TRANSFER_INSTRUCTION = :ach_transfer_instruction
|
|
1790
|
-
|
|
1791
|
-
# Card Authorization: details will be under the `card_authorization` object.
|
|
1792
|
-
CARD_AUTHORIZATION = :card_authorization
|
|
1793
|
-
|
|
1794
|
-
# Check Deposit Instruction: details will be under the `check_deposit_instruction` object.
|
|
1795
|
-
CHECK_DEPOSIT_INSTRUCTION = :check_deposit_instruction
|
|
1796
|
-
|
|
1797
|
-
# Check Transfer Instruction: details will be under the `check_transfer_instruction` object.
|
|
1798
|
-
CHECK_TRANSFER_INSTRUCTION = :check_transfer_instruction
|
|
1799
|
-
|
|
1800
|
-
# FedNow Transfer Instruction: details will be under the `fednow_transfer_instruction` object.
|
|
1801
|
-
FEDNOW_TRANSFER_INSTRUCTION = :fednow_transfer_instruction
|
|
1802
|
-
|
|
1803
|
-
# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
|
|
1804
|
-
INBOUND_FUNDS_HOLD = :inbound_funds_hold
|
|
1805
|
-
|
|
1806
|
-
# User Initiated Hold: details will be under the `user_initiated_hold` object.
|
|
1807
|
-
USER_INITIATED_HOLD = :user_initiated_hold
|
|
1808
|
-
|
|
1809
|
-
# Real-Time Payments Transfer Instruction: details will be under the `real_time_payments_transfer_instruction` object.
|
|
1810
|
-
REAL_TIME_PAYMENTS_TRANSFER_INSTRUCTION = :real_time_payments_transfer_instruction
|
|
1811
|
-
|
|
1812
|
-
# Wire Transfer Instruction: details will be under the `wire_transfer_instruction` object.
|
|
1813
|
-
WIRE_TRANSFER_INSTRUCTION = :wire_transfer_instruction
|
|
1814
|
-
|
|
1815
|
-
# Inbound Wire Transfer Reversal: details will be under the `inbound_wire_transfer_reversal` object.
|
|
1816
|
-
INBOUND_WIRE_TRANSFER_REVERSAL = :inbound_wire_transfer_reversal
|
|
1817
|
-
|
|
1818
|
-
# Swift Transfer Instruction: details will be under the `swift_transfer_instruction` object.
|
|
1819
|
-
SWIFT_TRANSFER_INSTRUCTION = :swift_transfer_instruction
|
|
1820
|
-
|
|
1821
|
-
# Card Push Transfer Instruction: details will be under the `card_push_transfer_instruction` object.
|
|
1822
|
-
CARD_PUSH_TRANSFER_INSTRUCTION = :card_push_transfer_instruction
|
|
1823
|
-
|
|
1824
|
-
# Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
|
|
1825
|
-
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION = :blockchain_onramp_transfer_instruction
|
|
1826
|
-
|
|
1827
|
-
# Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
|
|
1828
|
-
BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION = :blockchain_offramp_transfer_instruction
|
|
1829
|
-
|
|
1830
|
-
# The Pending Transaction was made for an undocumented or deprecated reason.
|
|
1831
|
-
OTHER = :other
|
|
1832
|
-
|
|
1833
|
-
# @!method self.values
|
|
1834
|
-
# @return [Array<Symbol>]
|
|
1835
|
-
end
|
|
1836
|
-
|
|
1837
1837
|
# @see Increase::Models::PendingTransaction::Source#check_deposit_instruction
|
|
1838
1838
|
class CheckDepositInstruction < Increase::Internal::Type::BaseModel
|
|
1839
1839
|
# @!attribute amount
|