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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/account_transfer.rb +25 -25
  5. data/lib/increase/models/ach_transfer.rb +28 -28
  6. data/lib/increase/models/card_dispute.rb +79 -79
  7. data/lib/increase/models/card_payment.rb +82 -82
  8. data/lib/increase/models/card_push_transfer.rb +25 -25
  9. data/lib/increase/models/card_validation.rb +25 -25
  10. data/lib/increase/models/check_transfer.rb +25 -25
  11. data/lib/increase/models/declined_transaction.rb +53 -53
  12. data/lib/increase/models/fednow_transfer.rb +25 -25
  13. data/lib/increase/models/pending_transaction.rb +85 -85
  14. data/lib/increase/models/real_time_payments_transfer.rb +25 -25
  15. data/lib/increase/models/swift_transfer.rb +25 -25
  16. data/lib/increase/models/transaction.rb +173 -173
  17. data/lib/increase/models/wire_transfer.rb +28 -28
  18. data/lib/increase/version.rb +1 -1
  19. data/rbi/increase/models/account_transfer.rbi +40 -40
  20. data/rbi/increase/models/ach_transfer.rbi +42 -42
  21. data/rbi/increase/models/card_dispute.rbi +141 -141
  22. data/rbi/increase/models/card_payment.rbi +144 -144
  23. data/rbi/increase/models/card_push_transfer.rbi +40 -40
  24. data/rbi/increase/models/card_validation.rbi +40 -40
  25. data/rbi/increase/models/check_transfer.rbi +40 -40
  26. data/rbi/increase/models/declined_transaction.rbi +99 -99
  27. data/rbi/increase/models/fednow_transfer.rbi +40 -40
  28. data/rbi/increase/models/pending_transaction.rbi +163 -163
  29. data/rbi/increase/models/real_time_payments_transfer.rbi +44 -44
  30. data/rbi/increase/models/swift_transfer.rbi +40 -40
  31. data/rbi/increase/models/transaction.rbi +534 -534
  32. data/rbi/increase/models/wire_transfer.rbi +42 -42
  33. data/sig/increase/models/account_transfer.rbs +17 -17
  34. data/sig/increase/models/ach_transfer.rbs +19 -19
  35. data/sig/increase/models/card_dispute.rbs +56 -56
  36. data/sig/increase/models/card_payment.rbs +81 -81
  37. data/sig/increase/models/card_push_transfer.rbs +17 -17
  38. data/sig/increase/models/card_validation.rbs +17 -17
  39. data/sig/increase/models/check_transfer.rbs +17 -17
  40. data/sig/increase/models/declined_transaction.rbs +52 -52
  41. data/sig/increase/models/fednow_transfer.rbs +17 -17
  42. data/sig/increase/models/pending_transaction.rbs +92 -92
  43. data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
  44. data/sig/increase/models/swift_transfer.rbs +17 -17
  45. data/sig/increase/models/transaction.rbs +202 -202
  46. data/sig/increase/models/wire_transfer.rbs +19 -19
  47. metadata +2 -2
@@ -139,6 +139,13 @@ module Increase
139
139
 
140
140
  # @see Increase::Models::Transaction#source
141
141
  class Source < Increase::Internal::Type::BaseModel
142
+ # @!attribute category
143
+ # The type of the resource. We may add additional possible values for this enum
144
+ # over time; your application should be able to handle such additions gracefully.
145
+ #
146
+ # @return [Symbol, Increase::Models::Transaction::Source::Category]
147
+ required :category, enum: -> { Increase::Transaction::Source::Category }
148
+
142
149
  # @!attribute account_revenue_payment
143
150
  # An Account Revenue Payment object. This field will be present in the JSON
144
151
  # response if and only if `category` is equal to `account_revenue_payment`. An
@@ -146,7 +153,7 @@ module Increase
146
153
  # Account revenue is a type of non-interest income.
147
154
  #
148
155
  # @return [Increase::Models::Transaction::Source::AccountRevenuePayment, nil]
149
- required :account_revenue_payment,
156
+ optional :account_revenue_payment,
150
157
  -> {
151
158
  Increase::Transaction::Source::AccountRevenuePayment
152
159
  },
@@ -159,7 +166,7 @@ module Increase
159
166
  # decrements the source account, and the other increments the destination account.
160
167
  #
161
168
  # @return [Increase::Models::Transaction::Source::AccountTransferIntention, nil]
162
- required :account_transfer_intention,
169
+ optional :account_transfer_intention,
163
170
  -> { Increase::Transaction::Source::AccountTransferIntention },
164
171
  nil?: true
165
172
 
@@ -170,7 +177,7 @@ module Increase
170
177
  # move money into or out of an Increase account via the ACH network.
171
178
  #
172
179
  # @return [Increase::Models::Transaction::Source::ACHTransferIntention, nil]
173
- required :ach_transfer_intention,
180
+ optional :ach_transfer_intention,
174
181
  -> {
175
182
  Increase::Transaction::Source::ACHTransferIntention
176
183
  },
@@ -183,7 +190,7 @@ module Increase
183
190
  # offsets the ACH Transfer Intention. These rejections are rare.
184
191
  #
185
192
  # @return [Increase::Models::Transaction::Source::ACHTransferRejection, nil]
186
- required :ach_transfer_rejection,
193
+ optional :ach_transfer_rejection,
187
194
  -> {
188
195
  Increase::Transaction::Source::ACHTransferRejection
189
196
  },
@@ -198,7 +205,7 @@ module Increase
198
205
  # later.
199
206
  #
200
207
  # @return [Increase::Models::Transaction::Source::ACHTransferReturn, nil]
201
- required :ach_transfer_return, -> { Increase::Transaction::Source::ACHTransferReturn }, nil?: true
208
+ optional :ach_transfer_return, -> { Increase::Transaction::Source::ACHTransferReturn }, nil?: true
202
209
 
203
210
  # @!attribute blockchain_offramp_transfer_settlement
204
211
  # A Blockchain Off-Ramp Transfer Settlement object. This field will be present in
@@ -206,7 +213,7 @@ module Increase
206
213
  # `blockchain_offramp_transfer_settlement`.
207
214
  #
208
215
  # @return [Increase::Models::Transaction::Source::BlockchainOfframpTransferSettlement, nil]
209
- required :blockchain_offramp_transfer_settlement,
216
+ optional :blockchain_offramp_transfer_settlement,
210
217
  -> { Increase::Transaction::Source::BlockchainOfframpTransferSettlement },
211
218
  nil?: true
212
219
 
@@ -216,7 +223,7 @@ module Increase
216
223
  # `blockchain_onramp_transfer_intention`.
217
224
  #
218
225
  # @return [Increase::Models::Transaction::Source::BlockchainOnrampTransferIntention, nil]
219
- required :blockchain_onramp_transfer_intention,
226
+ optional :blockchain_onramp_transfer_intention,
220
227
  -> { Increase::Transaction::Source::BlockchainOnrampTransferIntention },
221
228
  nil?: true
222
229
 
@@ -226,7 +233,7 @@ module Increase
226
233
  # Contains the details of a successful Card Dispute.
227
234
  #
228
235
  # @return [Increase::Models::Transaction::Source::CardDisputeAcceptance, nil]
229
- required :card_dispute_acceptance,
236
+ optional :card_dispute_acceptance,
230
237
  -> {
231
238
  Increase::Transaction::Source::CardDisputeAcceptance
232
239
  },
@@ -238,7 +245,7 @@ module Increase
238
245
  # related to a Card Dispute.
239
246
  #
240
247
  # @return [Increase::Models::Transaction::Source::CardDisputeFinancial, nil]
241
- required :card_dispute_financial,
248
+ optional :card_dispute_financial,
242
249
  -> {
243
250
  Increase::Transaction::Source::CardDisputeFinancial
244
251
  },
@@ -250,7 +257,7 @@ module Increase
250
257
  # details of a lost Card Dispute.
251
258
  #
252
259
  # @return [Increase::Models::Transaction::Source::CardDisputeLoss, nil]
253
- required :card_dispute_loss, -> { Increase::Transaction::Source::CardDisputeLoss }, nil?: true
260
+ optional :card_dispute_loss, -> { Increase::Transaction::Source::CardDisputeLoss }, nil?: true
254
261
 
255
262
  # @!attribute card_financial
256
263
  # A Card Financial object. This field will be present in the JSON response if and
@@ -258,7 +265,7 @@ module Increase
258
265
  # holds placed on a customers funds with the intent to later clear a transaction.
259
266
  #
260
267
  # @return [Increase::Models::Transaction::Source::CardFinancial, nil]
261
- required :card_financial, -> { Increase::Transaction::Source::CardFinancial }, nil?: true
268
+ optional :card_financial, -> { Increase::Transaction::Source::CardFinancial }, nil?: true
262
269
 
263
270
  # @!attribute card_push_transfer_acceptance
264
271
  # A Card Push Transfer Acceptance object. This field will be present in the JSON
@@ -267,7 +274,7 @@ module Increase
267
274
  # sent from Increase is accepted by the receiving bank.
268
275
  #
269
276
  # @return [Increase::Models::Transaction::Source::CardPushTransferAcceptance, nil]
270
- required :card_push_transfer_acceptance,
277
+ optional :card_push_transfer_acceptance,
271
278
  -> { Increase::Transaction::Source::CardPushTransferAcceptance },
272
279
  nil?: true
273
280
 
@@ -279,7 +286,7 @@ module Increase
279
286
  # transaction.
280
287
  #
281
288
  # @return [Increase::Models::Transaction::Source::CardRefund, nil]
282
- required :card_refund, -> { Increase::Transaction::Source::CardRefund }, nil?: true
289
+ optional :card_refund, -> { Increase::Transaction::Source::CardRefund }, nil?: true
283
290
 
284
291
  # @!attribute card_revenue_payment
285
292
  # A Card Revenue Payment object. This field will be present in the JSON response
@@ -287,7 +294,7 @@ module Increase
287
294
  # Payments reflect earnings from fees on card transactions.
288
295
  #
289
296
  # @return [Increase::Models::Transaction::Source::CardRevenuePayment, nil]
290
- required :card_revenue_payment, -> { Increase::Transaction::Source::CardRevenuePayment }, nil?: true
297
+ optional :card_revenue_payment, -> { Increase::Transaction::Source::CardRevenuePayment }, nil?: true
291
298
 
292
299
  # @!attribute card_settlement
293
300
  # A Card Settlement object. This field will be present in the JSON response if and
@@ -297,7 +304,7 @@ module Increase
297
304
  # without first authorizing it.
298
305
  #
299
306
  # @return [Increase::Models::Transaction::Source::CardSettlement, nil]
300
- required :card_settlement, -> { Increase::Transaction::Source::CardSettlement }, nil?: true
307
+ optional :card_settlement, -> { Increase::Transaction::Source::CardSettlement }, nil?: true
301
308
 
302
309
  # @!attribute cashback_payment
303
310
  # A Cashback Payment object. This field will be present in the JSON response if
@@ -306,14 +313,7 @@ module Increase
306
313
  # usually paid monthly for the prior month's transactions.
307
314
  #
308
315
  # @return [Increase::Models::Transaction::Source::CashbackPayment, nil]
309
- required :cashback_payment, -> { Increase::Transaction::Source::CashbackPayment }, nil?: true
310
-
311
- # @!attribute category
312
- # The type of the resource. We may add additional possible values for this enum
313
- # over time; your application should be able to handle such additions gracefully.
314
- #
315
- # @return [Symbol, Increase::Models::Transaction::Source::Category]
316
- required :category, enum: -> { Increase::Transaction::Source::Category }
316
+ optional :cashback_payment, -> { Increase::Transaction::Source::CashbackPayment }, nil?: true
317
317
 
318
318
  # @!attribute check_deposit_acceptance
319
319
  # A Check Deposit Acceptance object. This field will be present in the JSON
@@ -323,7 +323,7 @@ module Increase
323
323
  # will appear as a Check Deposit Return.
324
324
  #
325
325
  # @return [Increase::Models::Transaction::Source::CheckDepositAcceptance, nil]
326
- required :check_deposit_acceptance,
326
+ optional :check_deposit_acceptance,
327
327
  -> { Increase::Transaction::Source::CheckDepositAcceptance },
328
328
  nil?: true
329
329
 
@@ -336,7 +336,7 @@ module Increase
336
336
  # checks are returned within the first 7 days after the deposit is made.
337
337
  #
338
338
  # @return [Increase::Models::Transaction::Source::CheckDepositReturn, nil]
339
- required :check_deposit_return, -> { Increase::Transaction::Source::CheckDepositReturn }, nil?: true
339
+ optional :check_deposit_return, -> { Increase::Transaction::Source::CheckDepositReturn }, nil?: true
340
340
 
341
341
  # @!attribute check_transfer_deposit
342
342
  # A Check Transfer Deposit object. This field will be present in the JSON response
@@ -345,7 +345,7 @@ module Increase
345
345
  # bank account. These types of checks are not pre-registered.
346
346
  #
347
347
  # @return [Increase::Models::Transaction::Source::CheckTransferDeposit, nil]
348
- required :check_transfer_deposit,
348
+ optional :check_transfer_deposit,
349
349
  -> {
350
350
  Increase::Transaction::Source::CheckTransferDeposit
351
351
  },
@@ -358,7 +358,7 @@ module Increase
358
358
  # when a FedNow Transfer sent from Increase is acknowledged by the receiving bank.
359
359
  #
360
360
  # @return [Increase::Models::Transaction::Source::FednowTransferAcknowledgement, nil]
361
- required :fednow_transfer_acknowledgement,
361
+ optional :fednow_transfer_acknowledgement,
362
362
  -> { Increase::Transaction::Source::FednowTransferAcknowledgement },
363
363
  nil?: true
364
364
 
@@ -368,7 +368,7 @@ module Increase
368
368
  # made to Increase.
369
369
  #
370
370
  # @return [Increase::Models::Transaction::Source::FeePayment, nil]
371
- required :fee_payment, -> { Increase::Transaction::Source::FeePayment }, nil?: true
371
+ optional :fee_payment, -> { Increase::Transaction::Source::FeePayment }, nil?: true
372
372
 
373
373
  # @!attribute inbound_ach_transfer
374
374
  # An Inbound ACH Transfer Intention object. This field will be present in the JSON
@@ -377,7 +377,7 @@ module Increase
377
377
  # another bank and received by Increase.
378
378
  #
379
379
  # @return [Increase::Models::Transaction::Source::InboundACHTransfer, nil]
380
- required :inbound_ach_transfer, -> { Increase::Transaction::Source::InboundACHTransfer }, nil?: true
380
+ optional :inbound_ach_transfer, -> { Increase::Transaction::Source::InboundACHTransfer }, nil?: true
381
381
 
382
382
  # @!attribute inbound_ach_transfer_return_intention
383
383
  # An Inbound ACH Transfer Return Intention object. This field will be present in
@@ -387,7 +387,7 @@ module Increase
387
387
  # returned by Increase.
388
388
  #
389
389
  # @return [Increase::Models::Transaction::Source::InboundACHTransferReturnIntention, nil]
390
- required :inbound_ach_transfer_return_intention,
390
+ optional :inbound_ach_transfer_return_intention,
391
391
  -> { Increase::Transaction::Source::InboundACHTransferReturnIntention },
392
392
  nil?: true
393
393
 
@@ -398,7 +398,7 @@ module Increase
398
398
  # check or return deposited through Check21.
399
399
  #
400
400
  # @return [Increase::Models::Transaction::Source::InboundCheckAdjustment, nil]
401
- required :inbound_check_adjustment,
401
+ optional :inbound_check_adjustment,
402
402
  -> { Increase::Transaction::Source::InboundCheckAdjustment },
403
403
  nil?: true
404
404
 
@@ -410,7 +410,7 @@ module Increase
410
410
  # requests that it be returned.
411
411
  #
412
412
  # @return [Increase::Models::Transaction::Source::InboundCheckDepositReturnIntention, nil]
413
- required :inbound_check_deposit_return_intention,
413
+ optional :inbound_check_deposit_return_intention,
414
414
  -> { Increase::Transaction::Source::InboundCheckDepositReturnIntention },
415
415
  nil?: true
416
416
 
@@ -422,7 +422,7 @@ module Increase
422
422
  # Increase.
423
423
  #
424
424
  # @return [Increase::Models::Transaction::Source::InboundFednowTransferConfirmation, nil]
425
- required :inbound_fednow_transfer_confirmation,
425
+ optional :inbound_fednow_transfer_confirmation,
426
426
  -> { Increase::Transaction::Source::InboundFednowTransferConfirmation },
427
427
  nil?: true
428
428
 
@@ -434,7 +434,7 @@ module Increase
434
434
  # initiated at another bank and received by Increase.
435
435
  #
436
436
  # @return [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation, nil]
437
- required :inbound_real_time_payments_transfer_confirmation,
437
+ optional :inbound_real_time_payments_transfer_confirmation,
438
438
  -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation },
439
439
  nil?: true
440
440
 
@@ -446,7 +446,7 @@ module Increase
446
446
  # the original destination account details were incorrect.
447
447
  #
448
448
  # @return [Increase::Models::Transaction::Source::InboundWireReversal, nil]
449
- required :inbound_wire_reversal, -> { Increase::Transaction::Source::InboundWireReversal }, nil?: true
449
+ optional :inbound_wire_reversal, -> { Increase::Transaction::Source::InboundWireReversal }, nil?: true
450
450
 
451
451
  # @!attribute inbound_wire_transfer
452
452
  # An Inbound Wire Transfer Intention object. This field will be present in the
@@ -455,7 +455,7 @@ module Increase
455
455
  # another bank and received by Increase.
456
456
  #
457
457
  # @return [Increase::Models::Transaction::Source::InboundWireTransfer, nil]
458
- required :inbound_wire_transfer, -> { Increase::Transaction::Source::InboundWireTransfer }, nil?: true
458
+ optional :inbound_wire_transfer, -> { Increase::Transaction::Source::InboundWireTransfer }, nil?: true
459
459
 
460
460
  # @!attribute inbound_wire_transfer_reversal
461
461
  # An Inbound Wire Transfer Reversal Intention object. This field will be present
@@ -465,7 +465,7 @@ module Increase
465
465
  # reversed.
466
466
  #
467
467
  # @return [Increase::Models::Transaction::Source::InboundWireTransferReversal, nil]
468
- required :inbound_wire_transfer_reversal,
468
+ optional :inbound_wire_transfer_reversal,
469
469
  -> { Increase::Transaction::Source::InboundWireTransferReversal },
470
470
  nil?: true
471
471
 
@@ -476,7 +476,7 @@ module Increase
476
476
  # monthly.
477
477
  #
478
478
  # @return [Increase::Models::Transaction::Source::InterestPayment, nil]
479
- required :interest_payment, -> { Increase::Transaction::Source::InterestPayment }, nil?: true
479
+ optional :interest_payment, -> { Increase::Transaction::Source::InterestPayment }, nil?: true
480
480
 
481
481
  # @!attribute internal_source
482
482
  # An Internal Source object. This field will be present in the JSON response if
@@ -484,14 +484,14 @@ module Increase
484
484
  # user and Increase. See the `reason` attribute for more information.
485
485
  #
486
486
  # @return [Increase::Models::Transaction::Source::InternalSource, nil]
487
- required :internal_source, -> { Increase::Transaction::Source::InternalSource }, nil?: true
487
+ optional :internal_source, -> { Increase::Transaction::Source::InternalSource }, nil?: true
488
488
 
489
489
  # @!attribute other
490
490
  # If the category of this Transaction source is equal to `other`, this field will
491
491
  # contain an empty object, otherwise it will contain null.
492
492
  #
493
493
  # @return [Increase::Models::Transaction::Source::Other, nil]
494
- required :other, -> { Increase::Transaction::Source::Other }, nil?: true
494
+ optional :other, -> { Increase::Transaction::Source::Other }, nil?: true
495
495
 
496
496
  # @!attribute real_time_payments_transfer_acknowledgement
497
497
  # A Real-Time Payments Transfer Acknowledgement object. This field will be present
@@ -501,7 +501,7 @@ module Increase
501
501
  # is acknowledged by the receiving bank.
502
502
  #
503
503
  # @return [Increase::Models::Transaction::Source::RealTimePaymentsTransferAcknowledgement, nil]
504
- required :real_time_payments_transfer_acknowledgement,
504
+ optional :real_time_payments_transfer_acknowledgement,
505
505
  -> { Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement },
506
506
  nil?: true
507
507
 
@@ -511,7 +511,7 @@ module Increase
511
511
  # purposes.
512
512
  #
513
513
  # @return [Increase::Models::Transaction::Source::SampleFunds, nil]
514
- required :sample_funds, -> { Increase::Transaction::Source::SampleFunds }, nil?: true
514
+ optional :sample_funds, -> { Increase::Transaction::Source::SampleFunds }, nil?: true
515
515
 
516
516
  # @!attribute swift_transfer_intention
517
517
  # A Swift Transfer Intention object. This field will be present in the JSON
@@ -519,7 +519,7 @@ module Increase
519
519
  # Swift Transfer initiated via Increase.
520
520
  #
521
521
  # @return [Increase::Models::Transaction::Source::SwiftTransferIntention, nil]
522
- required :swift_transfer_intention,
522
+ optional :swift_transfer_intention,
523
523
  -> { Increase::Transaction::Source::SwiftTransferIntention },
524
524
  nil?: true
525
525
 
@@ -529,7 +529,7 @@ module Increase
529
529
  # Return is created when a Swift Transfer is returned by the receiving bank.
530
530
  #
531
531
  # @return [Increase::Models::Transaction::Source::SwiftTransferReturn, nil]
532
- required :swift_transfer_return, -> { Increase::Transaction::Source::SwiftTransferReturn }, nil?: true
532
+ optional :swift_transfer_return, -> { Increase::Transaction::Source::SwiftTransferReturn }, nil?: true
533
533
 
534
534
  # @!attribute wire_transfer_intention
535
535
  # A Wire Transfer Intention object. This field will be present in the JSON
@@ -537,13 +537,13 @@ module Increase
537
537
  # Transfer initiated via Increase and sent to a different bank.
538
538
  #
539
539
  # @return [Increase::Models::Transaction::Source::WireTransferIntention, nil]
540
- required :wire_transfer_intention,
540
+ optional :wire_transfer_intention,
541
541
  -> {
542
542
  Increase::Transaction::Source::WireTransferIntention
543
543
  },
544
544
  nil?: true
545
545
 
546
- # @!method initialize(account_revenue_payment:, account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, blockchain_offramp_transfer_settlement:, blockchain_onramp_transfer_intention:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_financial:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fednow_transfer_acknowledgement:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_fednow_transfer_confirmation:, inbound_real_time_payments_transfer_confirmation:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, swift_transfer_return:, wire_transfer_intention:)
546
+ # @!method initialize(category:, account_revenue_payment: nil, account_transfer_intention: nil, ach_transfer_intention: nil, ach_transfer_rejection: nil, ach_transfer_return: nil, blockchain_offramp_transfer_settlement: nil, blockchain_onramp_transfer_intention: nil, card_dispute_acceptance: nil, card_dispute_financial: nil, card_dispute_loss: nil, card_financial: nil, card_push_transfer_acceptance: nil, card_refund: nil, card_revenue_payment: nil, card_settlement: nil, cashback_payment: nil, check_deposit_acceptance: nil, check_deposit_return: nil, check_transfer_deposit: nil, fednow_transfer_acknowledgement: nil, fee_payment: nil, inbound_ach_transfer: nil, inbound_ach_transfer_return_intention: nil, inbound_check_adjustment: nil, inbound_check_deposit_return_intention: nil, inbound_fednow_transfer_confirmation: nil, inbound_real_time_payments_transfer_confirmation: nil, inbound_wire_reversal: nil, inbound_wire_transfer: nil, inbound_wire_transfer_reversal: nil, interest_payment: nil, internal_source: nil, other: nil, real_time_payments_transfer_acknowledgement: nil, sample_funds: nil, swift_transfer_intention: nil, swift_transfer_return: nil, wire_transfer_intention: nil)
547
547
  # Some parameter documentations has been truncated, see
548
548
  # {Increase::Models::Transaction::Source} for more details.
549
549
  #
@@ -552,6 +552,8 @@ module Increase
552
552
  # undocumented keys may appear in this object. These should be treated as
553
553
  # deprecated and will be removed in the future.
554
554
  #
555
+ # @param category [Symbol, Increase::Models::Transaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov
556
+ #
555
557
  # @param account_revenue_payment [Increase::Models::Transaction::Source::AccountRevenuePayment, nil] An Account Revenue Payment object. This field will be present in the JSON respon
556
558
  #
557
559
  # @param account_transfer_intention [Increase::Models::Transaction::Source::AccountTransferIntention, nil] An Account Transfer Intention object. This field will be present in the JSON res
@@ -584,8 +586,6 @@ module Increase
584
586
  #
585
587
  # @param cashback_payment [Increase::Models::Transaction::Source::CashbackPayment, nil] A Cashback Payment object. This field will be present in the JSON response if an
586
588
  #
587
- # @param category [Symbol, Increase::Models::Transaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov
588
- #
589
589
  # @param check_deposit_acceptance [Increase::Models::Transaction::Source::CheckDepositAcceptance, nil] A Check Deposit Acceptance object. This field will be present in the JSON respon
590
590
  #
591
591
  # @param check_deposit_return [Increase::Models::Transaction::Source::CheckDepositReturn, nil] A Check Deposit Return object. This field will be present in the JSON response i
@@ -630,6 +630,131 @@ module Increase
630
630
  #
631
631
  # @param wire_transfer_intention [Increase::Models::Transaction::Source::WireTransferIntention, nil] A Wire Transfer Intention object. This field will be present in the JSON respons
632
632
 
633
+ # The type of the resource. We may add additional possible values for this enum
634
+ # over time; your application should be able to handle such additions gracefully.
635
+ #
636
+ # @see Increase::Models::Transaction::Source#category
637
+ module Category
638
+ extend Increase::Internal::Type::Enum
639
+
640
+ # Account Transfer Intention: details will be under the `account_transfer_intention` object.
641
+ ACCOUNT_TRANSFER_INTENTION = :account_transfer_intention
642
+
643
+ # ACH Transfer Intention: details will be under the `ach_transfer_intention` object.
644
+ ACH_TRANSFER_INTENTION = :ach_transfer_intention
645
+
646
+ # ACH Transfer Rejection: details will be under the `ach_transfer_rejection` object.
647
+ ACH_TRANSFER_REJECTION = :ach_transfer_rejection
648
+
649
+ # ACH Transfer Return: details will be under the `ach_transfer_return` object.
650
+ ACH_TRANSFER_RETURN = :ach_transfer_return
651
+
652
+ # Cashback Payment: details will be under the `cashback_payment` object.
653
+ CASHBACK_PAYMENT = :cashback_payment
654
+
655
+ # Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
656
+ CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance
657
+
658
+ # Card Dispute Financial: details will be under the `card_dispute_financial` object.
659
+ CARD_DISPUTE_FINANCIAL = :card_dispute_financial
660
+
661
+ # Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object.
662
+ CARD_DISPUTE_LOSS = :card_dispute_loss
663
+
664
+ # Card Refund: details will be under the `card_refund` object.
665
+ CARD_REFUND = :card_refund
666
+
667
+ # Card Settlement: details will be under the `card_settlement` object.
668
+ CARD_SETTLEMENT = :card_settlement
669
+
670
+ # Card Financial: details will be under the `card_financial` object.
671
+ CARD_FINANCIAL = :card_financial
672
+
673
+ # Card Revenue Payment: details will be under the `card_revenue_payment` object.
674
+ CARD_REVENUE_PAYMENT = :card_revenue_payment
675
+
676
+ # Check Deposit Acceptance: details will be under the `check_deposit_acceptance` object.
677
+ CHECK_DEPOSIT_ACCEPTANCE = :check_deposit_acceptance
678
+
679
+ # Check Deposit Return: details will be under the `check_deposit_return` object.
680
+ CHECK_DEPOSIT_RETURN = :check_deposit_return
681
+
682
+ # FedNow Transfer Acknowledgement: details will be under the `fednow_transfer_acknowledgement` object.
683
+ FEDNOW_TRANSFER_ACKNOWLEDGEMENT = :fednow_transfer_acknowledgement
684
+
685
+ # Check Transfer Deposit: details will be under the `check_transfer_deposit` object.
686
+ CHECK_TRANSFER_DEPOSIT = :check_transfer_deposit
687
+
688
+ # Fee Payment: details will be under the `fee_payment` object.
689
+ FEE_PAYMENT = :fee_payment
690
+
691
+ # Inbound ACH Transfer Intention: details will be under the `inbound_ach_transfer` object.
692
+ INBOUND_ACH_TRANSFER = :inbound_ach_transfer
693
+
694
+ # Inbound ACH Transfer Return Intention: details will be under the `inbound_ach_transfer_return_intention` object.
695
+ INBOUND_ACH_TRANSFER_RETURN_INTENTION = :inbound_ach_transfer_return_intention
696
+
697
+ # Inbound Check Deposit Return Intention: details will be under the `inbound_check_deposit_return_intention` object.
698
+ INBOUND_CHECK_DEPOSIT_RETURN_INTENTION = :inbound_check_deposit_return_intention
699
+
700
+ # Inbound Check Adjustment: details will be under the `inbound_check_adjustment` object.
701
+ INBOUND_CHECK_ADJUSTMENT = :inbound_check_adjustment
702
+
703
+ # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
704
+ INBOUND_FEDNOW_TRANSFER_CONFIRMATION = :inbound_fednow_transfer_confirmation
705
+
706
+ # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
707
+ INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = :inbound_real_time_payments_transfer_confirmation
708
+
709
+ # Inbound Wire Reversal: details will be under the `inbound_wire_reversal` object.
710
+ INBOUND_WIRE_REVERSAL = :inbound_wire_reversal
711
+
712
+ # Inbound Wire Transfer Intention: details will be under the `inbound_wire_transfer` object.
713
+ INBOUND_WIRE_TRANSFER = :inbound_wire_transfer
714
+
715
+ # Inbound Wire Transfer Reversal Intention: details will be under the `inbound_wire_transfer_reversal` object.
716
+ INBOUND_WIRE_TRANSFER_REVERSAL = :inbound_wire_transfer_reversal
717
+
718
+ # Interest Payment: details will be under the `interest_payment` object.
719
+ INTEREST_PAYMENT = :interest_payment
720
+
721
+ # Internal Source: details will be under the `internal_source` object.
722
+ INTERNAL_SOURCE = :internal_source
723
+
724
+ # Real-Time Payments Transfer Acknowledgement: details will be under the `real_time_payments_transfer_acknowledgement` object.
725
+ REAL_TIME_PAYMENTS_TRANSFER_ACKNOWLEDGEMENT = :real_time_payments_transfer_acknowledgement
726
+
727
+ # Sample Funds: details will be under the `sample_funds` object.
728
+ SAMPLE_FUNDS = :sample_funds
729
+
730
+ # Wire Transfer Intention: details will be under the `wire_transfer_intention` object.
731
+ WIRE_TRANSFER_INTENTION = :wire_transfer_intention
732
+
733
+ # Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
734
+ SWIFT_TRANSFER_INTENTION = :swift_transfer_intention
735
+
736
+ # Swift Transfer Return: details will be under the `swift_transfer_return` object.
737
+ SWIFT_TRANSFER_RETURN = :swift_transfer_return
738
+
739
+ # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
740
+ CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance
741
+
742
+ # Account Revenue Payment: details will be under the `account_revenue_payment` object.
743
+ ACCOUNT_REVENUE_PAYMENT = :account_revenue_payment
744
+
745
+ # Blockchain On-Ramp Transfer Intention: details will be under the `blockchain_onramp_transfer_intention` object.
746
+ BLOCKCHAIN_ONRAMP_TRANSFER_INTENTION = :blockchain_onramp_transfer_intention
747
+
748
+ # Blockchain Off-Ramp Transfer Settlement: details will be under the `blockchain_offramp_transfer_settlement` object.
749
+ BLOCKCHAIN_OFFRAMP_TRANSFER_SETTLEMENT = :blockchain_offramp_transfer_settlement
750
+
751
+ # The Transaction was made for an undocumented or deprecated reason.
752
+ OTHER = :other
753
+
754
+ # @!method self.values
755
+ # @return [Array<Symbol>]
756
+ end
757
+
633
758
  # @see Increase::Models::Transaction::Source#account_revenue_payment
634
759
  class AccountRevenuePayment < Increase::Internal::Type::BaseModel
635
760
  # @!attribute accrued_on_account_id
@@ -5411,131 +5536,6 @@ module Increase
5411
5536
  end
5412
5537
  end
5413
5538
 
5414
- # The type of the resource. We may add additional possible values for this enum
5415
- # over time; your application should be able to handle such additions gracefully.
5416
- #
5417
- # @see Increase::Models::Transaction::Source#category
5418
- module Category
5419
- extend Increase::Internal::Type::Enum
5420
-
5421
- # Account Transfer Intention: details will be under the `account_transfer_intention` object.
5422
- ACCOUNT_TRANSFER_INTENTION = :account_transfer_intention
5423
-
5424
- # ACH Transfer Intention: details will be under the `ach_transfer_intention` object.
5425
- ACH_TRANSFER_INTENTION = :ach_transfer_intention
5426
-
5427
- # ACH Transfer Rejection: details will be under the `ach_transfer_rejection` object.
5428
- ACH_TRANSFER_REJECTION = :ach_transfer_rejection
5429
-
5430
- # ACH Transfer Return: details will be under the `ach_transfer_return` object.
5431
- ACH_TRANSFER_RETURN = :ach_transfer_return
5432
-
5433
- # Cashback Payment: details will be under the `cashback_payment` object.
5434
- CASHBACK_PAYMENT = :cashback_payment
5435
-
5436
- # Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
5437
- CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance
5438
-
5439
- # Card Dispute Financial: details will be under the `card_dispute_financial` object.
5440
- CARD_DISPUTE_FINANCIAL = :card_dispute_financial
5441
-
5442
- # Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object.
5443
- CARD_DISPUTE_LOSS = :card_dispute_loss
5444
-
5445
- # Card Refund: details will be under the `card_refund` object.
5446
- CARD_REFUND = :card_refund
5447
-
5448
- # Card Settlement: details will be under the `card_settlement` object.
5449
- CARD_SETTLEMENT = :card_settlement
5450
-
5451
- # Card Financial: details will be under the `card_financial` object.
5452
- CARD_FINANCIAL = :card_financial
5453
-
5454
- # Card Revenue Payment: details will be under the `card_revenue_payment` object.
5455
- CARD_REVENUE_PAYMENT = :card_revenue_payment
5456
-
5457
- # Check Deposit Acceptance: details will be under the `check_deposit_acceptance` object.
5458
- CHECK_DEPOSIT_ACCEPTANCE = :check_deposit_acceptance
5459
-
5460
- # Check Deposit Return: details will be under the `check_deposit_return` object.
5461
- CHECK_DEPOSIT_RETURN = :check_deposit_return
5462
-
5463
- # FedNow Transfer Acknowledgement: details will be under the `fednow_transfer_acknowledgement` object.
5464
- FEDNOW_TRANSFER_ACKNOWLEDGEMENT = :fednow_transfer_acknowledgement
5465
-
5466
- # Check Transfer Deposit: details will be under the `check_transfer_deposit` object.
5467
- CHECK_TRANSFER_DEPOSIT = :check_transfer_deposit
5468
-
5469
- # Fee Payment: details will be under the `fee_payment` object.
5470
- FEE_PAYMENT = :fee_payment
5471
-
5472
- # Inbound ACH Transfer Intention: details will be under the `inbound_ach_transfer` object.
5473
- INBOUND_ACH_TRANSFER = :inbound_ach_transfer
5474
-
5475
- # Inbound ACH Transfer Return Intention: details will be under the `inbound_ach_transfer_return_intention` object.
5476
- INBOUND_ACH_TRANSFER_RETURN_INTENTION = :inbound_ach_transfer_return_intention
5477
-
5478
- # Inbound Check Deposit Return Intention: details will be under the `inbound_check_deposit_return_intention` object.
5479
- INBOUND_CHECK_DEPOSIT_RETURN_INTENTION = :inbound_check_deposit_return_intention
5480
-
5481
- # Inbound Check Adjustment: details will be under the `inbound_check_adjustment` object.
5482
- INBOUND_CHECK_ADJUSTMENT = :inbound_check_adjustment
5483
-
5484
- # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
5485
- INBOUND_FEDNOW_TRANSFER_CONFIRMATION = :inbound_fednow_transfer_confirmation
5486
-
5487
- # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
5488
- INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = :inbound_real_time_payments_transfer_confirmation
5489
-
5490
- # Inbound Wire Reversal: details will be under the `inbound_wire_reversal` object.
5491
- INBOUND_WIRE_REVERSAL = :inbound_wire_reversal
5492
-
5493
- # Inbound Wire Transfer Intention: details will be under the `inbound_wire_transfer` object.
5494
- INBOUND_WIRE_TRANSFER = :inbound_wire_transfer
5495
-
5496
- # Inbound Wire Transfer Reversal Intention: details will be under the `inbound_wire_transfer_reversal` object.
5497
- INBOUND_WIRE_TRANSFER_REVERSAL = :inbound_wire_transfer_reversal
5498
-
5499
- # Interest Payment: details will be under the `interest_payment` object.
5500
- INTEREST_PAYMENT = :interest_payment
5501
-
5502
- # Internal Source: details will be under the `internal_source` object.
5503
- INTERNAL_SOURCE = :internal_source
5504
-
5505
- # Real-Time Payments Transfer Acknowledgement: details will be under the `real_time_payments_transfer_acknowledgement` object.
5506
- REAL_TIME_PAYMENTS_TRANSFER_ACKNOWLEDGEMENT = :real_time_payments_transfer_acknowledgement
5507
-
5508
- # Sample Funds: details will be under the `sample_funds` object.
5509
- SAMPLE_FUNDS = :sample_funds
5510
-
5511
- # Wire Transfer Intention: details will be under the `wire_transfer_intention` object.
5512
- WIRE_TRANSFER_INTENTION = :wire_transfer_intention
5513
-
5514
- # Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
5515
- SWIFT_TRANSFER_INTENTION = :swift_transfer_intention
5516
-
5517
- # Swift Transfer Return: details will be under the `swift_transfer_return` object.
5518
- SWIFT_TRANSFER_RETURN = :swift_transfer_return
5519
-
5520
- # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
5521
- CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance
5522
-
5523
- # Account Revenue Payment: details will be under the `account_revenue_payment` object.
5524
- ACCOUNT_REVENUE_PAYMENT = :account_revenue_payment
5525
-
5526
- # Blockchain On-Ramp Transfer Intention: details will be under the `blockchain_onramp_transfer_intention` object.
5527
- BLOCKCHAIN_ONRAMP_TRANSFER_INTENTION = :blockchain_onramp_transfer_intention
5528
-
5529
- # Blockchain Off-Ramp Transfer Settlement: details will be under the `blockchain_offramp_transfer_settlement` object.
5530
- BLOCKCHAIN_OFFRAMP_TRANSFER_SETTLEMENT = :blockchain_offramp_transfer_settlement
5531
-
5532
- # The Transaction was made for an undocumented or deprecated reason.
5533
- OTHER = :other
5534
-
5535
- # @!method self.values
5536
- # @return [Array<Symbol>]
5537
- end
5538
-
5539
5539
  # @see Increase::Models::Transaction::Source#check_deposit_acceptance
5540
5540
  class CheckDepositAcceptance < Increase::Internal::Type::BaseModel
5541
5541
  # @!attribute account_number