increase 1.203.0 → 1.205.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/account_transfer.rb +25 -25
- data/lib/increase/models/ach_prenotification.rb +8 -8
- data/lib/increase/models/ach_transfer.rb +36 -36
- 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/simulations/ach_transfer_return_params.rb +8 -8
- data/lib/increase/models/swift_transfer.rb +25 -25
- data/lib/increase/models/transaction.rb +181 -181
- 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_prenotification.rbi +8 -8
- data/rbi/increase/models/ach_transfer.rbi +50 -50
- 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/simulations/ach_transfer_return_params.rbi +8 -8
- data/rbi/increase/models/swift_transfer.rbi +40 -40
- data/rbi/increase/models/transaction.rbi +542 -542
- data/rbi/increase/models/wire_transfer.rbi +42 -42
- data/sig/increase/models/account_transfer.rbs +17 -17
- data/sig/increase/models/ach_prenotification.rbs +8 -8
- data/sig/increase/models/ach_transfer.rbs +27 -27
- 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/simulations/ach_transfer_return_params.rbs +8 -8
- data/sig/increase/models/swift_transfer.rbs +17 -17
- data/sig/increase/models/transaction.rbs +210 -210
- data/sig/increase/models/wire_transfer.rbs +19 -19
- metadata +2 -2
|
@@ -427,23 +427,23 @@ module Increase
|
|
|
427
427
|
|
|
428
428
|
# @see Increase::Models::CardPushTransfer#created_by
|
|
429
429
|
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
430
|
-
# @!attribute api_key
|
|
431
|
-
# If present, details about the API key that created the transfer.
|
|
432
|
-
#
|
|
433
|
-
# @return [Increase::Models::CardPushTransfer::CreatedBy::APIKey, nil]
|
|
434
|
-
required :api_key, -> { Increase::CardPushTransfer::CreatedBy::APIKey }, nil?: true
|
|
435
|
-
|
|
436
430
|
# @!attribute category
|
|
437
431
|
# The type of object that created this transfer.
|
|
438
432
|
#
|
|
439
433
|
# @return [Symbol, Increase::Models::CardPushTransfer::CreatedBy::Category]
|
|
440
434
|
required :category, enum: -> { Increase::CardPushTransfer::CreatedBy::Category }
|
|
441
435
|
|
|
436
|
+
# @!attribute api_key
|
|
437
|
+
# If present, details about the API key that created the transfer.
|
|
438
|
+
#
|
|
439
|
+
# @return [Increase::Models::CardPushTransfer::CreatedBy::APIKey, nil]
|
|
440
|
+
optional :api_key, -> { Increase::CardPushTransfer::CreatedBy::APIKey }, nil?: true
|
|
441
|
+
|
|
442
442
|
# @!attribute oauth_application
|
|
443
443
|
# If present, details about the OAuth Application that created the transfer.
|
|
444
444
|
#
|
|
445
445
|
# @return [Increase::Models::CardPushTransfer::CreatedBy::OAuthApplication, nil]
|
|
446
|
-
|
|
446
|
+
optional :oauth_application,
|
|
447
447
|
-> {
|
|
448
448
|
Increase::CardPushTransfer::CreatedBy::OAuthApplication
|
|
449
449
|
},
|
|
@@ -453,33 +453,19 @@ module Increase
|
|
|
453
453
|
# If present, details about the User that created the transfer.
|
|
454
454
|
#
|
|
455
455
|
# @return [Increase::Models::CardPushTransfer::CreatedBy::User, nil]
|
|
456
|
-
|
|
456
|
+
optional :user, -> { Increase::CardPushTransfer::CreatedBy::User }, nil?: true
|
|
457
457
|
|
|
458
|
-
# @!method initialize(
|
|
458
|
+
# @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
|
|
459
459
|
# What object created the transfer, either via the API or the dashboard.
|
|
460
460
|
#
|
|
461
|
-
# @param api_key [Increase::Models::CardPushTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
462
|
-
#
|
|
463
461
|
# @param category [Symbol, Increase::Models::CardPushTransfer::CreatedBy::Category] The type of object that created this transfer.
|
|
464
462
|
#
|
|
463
|
+
# @param api_key [Increase::Models::CardPushTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
464
|
+
#
|
|
465
465
|
# @param oauth_application [Increase::Models::CardPushTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
|
|
466
466
|
#
|
|
467
467
|
# @param user [Increase::Models::CardPushTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer.
|
|
468
468
|
|
|
469
|
-
# @see Increase::Models::CardPushTransfer::CreatedBy#api_key
|
|
470
|
-
class APIKey < Increase::Internal::Type::BaseModel
|
|
471
|
-
# @!attribute description
|
|
472
|
-
# The description set for the API key when it was created.
|
|
473
|
-
#
|
|
474
|
-
# @return [String, nil]
|
|
475
|
-
required :description, String, nil?: true
|
|
476
|
-
|
|
477
|
-
# @!method initialize(description:)
|
|
478
|
-
# If present, details about the API key that created the transfer.
|
|
479
|
-
#
|
|
480
|
-
# @param description [String, nil] The description set for the API key when it was created.
|
|
481
|
-
end
|
|
482
|
-
|
|
483
469
|
# The type of object that created this transfer.
|
|
484
470
|
#
|
|
485
471
|
# @see Increase::Models::CardPushTransfer::CreatedBy#category
|
|
@@ -499,6 +485,20 @@ module Increase
|
|
|
499
485
|
# @return [Array<Symbol>]
|
|
500
486
|
end
|
|
501
487
|
|
|
488
|
+
# @see Increase::Models::CardPushTransfer::CreatedBy#api_key
|
|
489
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
490
|
+
# @!attribute description
|
|
491
|
+
# The description set for the API key when it was created.
|
|
492
|
+
#
|
|
493
|
+
# @return [String, nil]
|
|
494
|
+
required :description, String, nil?: true
|
|
495
|
+
|
|
496
|
+
# @!method initialize(description:)
|
|
497
|
+
# If present, details about the API key that created the transfer.
|
|
498
|
+
#
|
|
499
|
+
# @param description [String, nil] The description set for the API key when it was created.
|
|
500
|
+
end
|
|
501
|
+
|
|
502
502
|
# @see Increase::Models::CardPushTransfer::CreatedBy#oauth_application
|
|
503
503
|
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
504
504
|
# @!attribute name
|
|
@@ -419,55 +419,41 @@ module Increase
|
|
|
419
419
|
|
|
420
420
|
# @see Increase::Models::CardValidation#created_by
|
|
421
421
|
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
422
|
-
# @!attribute api_key
|
|
423
|
-
# If present, details about the API key that created the transfer.
|
|
424
|
-
#
|
|
425
|
-
# @return [Increase::Models::CardValidation::CreatedBy::APIKey, nil]
|
|
426
|
-
required :api_key, -> { Increase::CardValidation::CreatedBy::APIKey }, nil?: true
|
|
427
|
-
|
|
428
422
|
# @!attribute category
|
|
429
423
|
# The type of object that created this transfer.
|
|
430
424
|
#
|
|
431
425
|
# @return [Symbol, Increase::Models::CardValidation::CreatedBy::Category]
|
|
432
426
|
required :category, enum: -> { Increase::CardValidation::CreatedBy::Category }
|
|
433
427
|
|
|
428
|
+
# @!attribute api_key
|
|
429
|
+
# If present, details about the API key that created the transfer.
|
|
430
|
+
#
|
|
431
|
+
# @return [Increase::Models::CardValidation::CreatedBy::APIKey, nil]
|
|
432
|
+
optional :api_key, -> { Increase::CardValidation::CreatedBy::APIKey }, nil?: true
|
|
433
|
+
|
|
434
434
|
# @!attribute oauth_application
|
|
435
435
|
# If present, details about the OAuth Application that created the transfer.
|
|
436
436
|
#
|
|
437
437
|
# @return [Increase::Models::CardValidation::CreatedBy::OAuthApplication, nil]
|
|
438
|
-
|
|
438
|
+
optional :oauth_application, -> { Increase::CardValidation::CreatedBy::OAuthApplication }, nil?: true
|
|
439
439
|
|
|
440
440
|
# @!attribute user
|
|
441
441
|
# If present, details about the User that created the transfer.
|
|
442
442
|
#
|
|
443
443
|
# @return [Increase::Models::CardValidation::CreatedBy::User, nil]
|
|
444
|
-
|
|
444
|
+
optional :user, -> { Increase::CardValidation::CreatedBy::User }, nil?: true
|
|
445
445
|
|
|
446
|
-
# @!method initialize(
|
|
446
|
+
# @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
|
|
447
447
|
# What object created the validation, either via the API or the dashboard.
|
|
448
448
|
#
|
|
449
|
-
# @param api_key [Increase::Models::CardValidation::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
450
|
-
#
|
|
451
449
|
# @param category [Symbol, Increase::Models::CardValidation::CreatedBy::Category] The type of object that created this transfer.
|
|
452
450
|
#
|
|
451
|
+
# @param api_key [Increase::Models::CardValidation::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
452
|
+
#
|
|
453
453
|
# @param oauth_application [Increase::Models::CardValidation::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
|
|
454
454
|
#
|
|
455
455
|
# @param user [Increase::Models::CardValidation::CreatedBy::User, nil] If present, details about the User that created the transfer.
|
|
456
456
|
|
|
457
|
-
# @see Increase::Models::CardValidation::CreatedBy#api_key
|
|
458
|
-
class APIKey < Increase::Internal::Type::BaseModel
|
|
459
|
-
# @!attribute description
|
|
460
|
-
# The description set for the API key when it was created.
|
|
461
|
-
#
|
|
462
|
-
# @return [String, nil]
|
|
463
|
-
required :description, String, nil?: true
|
|
464
|
-
|
|
465
|
-
# @!method initialize(description:)
|
|
466
|
-
# If present, details about the API key that created the transfer.
|
|
467
|
-
#
|
|
468
|
-
# @param description [String, nil] The description set for the API key when it was created.
|
|
469
|
-
end
|
|
470
|
-
|
|
471
457
|
# The type of object that created this transfer.
|
|
472
458
|
#
|
|
473
459
|
# @see Increase::Models::CardValidation::CreatedBy#category
|
|
@@ -487,6 +473,20 @@ module Increase
|
|
|
487
473
|
# @return [Array<Symbol>]
|
|
488
474
|
end
|
|
489
475
|
|
|
476
|
+
# @see Increase::Models::CardValidation::CreatedBy#api_key
|
|
477
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
478
|
+
# @!attribute description
|
|
479
|
+
# The description set for the API key when it was created.
|
|
480
|
+
#
|
|
481
|
+
# @return [String, nil]
|
|
482
|
+
required :description, String, nil?: true
|
|
483
|
+
|
|
484
|
+
# @!method initialize(description:)
|
|
485
|
+
# If present, details about the API key that created the transfer.
|
|
486
|
+
#
|
|
487
|
+
# @param description [String, nil] The description set for the API key when it was created.
|
|
488
|
+
end
|
|
489
|
+
|
|
490
490
|
# @see Increase::Models::CardValidation::CreatedBy#oauth_application
|
|
491
491
|
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
492
492
|
# @!attribute name
|
|
@@ -304,55 +304,41 @@ module Increase
|
|
|
304
304
|
|
|
305
305
|
# @see Increase::Models::CheckTransfer#created_by
|
|
306
306
|
class CreatedBy < Increase::Internal::Type::BaseModel
|
|
307
|
-
# @!attribute api_key
|
|
308
|
-
# If present, details about the API key that created the transfer.
|
|
309
|
-
#
|
|
310
|
-
# @return [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil]
|
|
311
|
-
required :api_key, -> { Increase::CheckTransfer::CreatedBy::APIKey }, nil?: true
|
|
312
|
-
|
|
313
307
|
# @!attribute category
|
|
314
308
|
# The type of object that created this transfer.
|
|
315
309
|
#
|
|
316
310
|
# @return [Symbol, Increase::Models::CheckTransfer::CreatedBy::Category]
|
|
317
311
|
required :category, enum: -> { Increase::CheckTransfer::CreatedBy::Category }
|
|
318
312
|
|
|
313
|
+
# @!attribute api_key
|
|
314
|
+
# If present, details about the API key that created the transfer.
|
|
315
|
+
#
|
|
316
|
+
# @return [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil]
|
|
317
|
+
optional :api_key, -> { Increase::CheckTransfer::CreatedBy::APIKey }, nil?: true
|
|
318
|
+
|
|
319
319
|
# @!attribute oauth_application
|
|
320
320
|
# If present, details about the OAuth Application that created the transfer.
|
|
321
321
|
#
|
|
322
322
|
# @return [Increase::Models::CheckTransfer::CreatedBy::OAuthApplication, nil]
|
|
323
|
-
|
|
323
|
+
optional :oauth_application, -> { Increase::CheckTransfer::CreatedBy::OAuthApplication }, nil?: true
|
|
324
324
|
|
|
325
325
|
# @!attribute user
|
|
326
326
|
# If present, details about the User that created the transfer.
|
|
327
327
|
#
|
|
328
328
|
# @return [Increase::Models::CheckTransfer::CreatedBy::User, nil]
|
|
329
|
-
|
|
329
|
+
optional :user, -> { Increase::CheckTransfer::CreatedBy::User }, nil?: true
|
|
330
330
|
|
|
331
|
-
# @!method initialize(
|
|
331
|
+
# @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
|
|
332
332
|
# What object created the transfer, either via the API or the dashboard.
|
|
333
333
|
#
|
|
334
|
-
# @param api_key [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
335
|
-
#
|
|
336
334
|
# @param category [Symbol, Increase::Models::CheckTransfer::CreatedBy::Category] The type of object that created this transfer.
|
|
337
335
|
#
|
|
336
|
+
# @param api_key [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
|
|
337
|
+
#
|
|
338
338
|
# @param oauth_application [Increase::Models::CheckTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
|
|
339
339
|
#
|
|
340
340
|
# @param user [Increase::Models::CheckTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer.
|
|
341
341
|
|
|
342
|
-
# @see Increase::Models::CheckTransfer::CreatedBy#api_key
|
|
343
|
-
class APIKey < Increase::Internal::Type::BaseModel
|
|
344
|
-
# @!attribute description
|
|
345
|
-
# The description set for the API key when it was created.
|
|
346
|
-
#
|
|
347
|
-
# @return [String, nil]
|
|
348
|
-
required :description, String, nil?: true
|
|
349
|
-
|
|
350
|
-
# @!method initialize(description:)
|
|
351
|
-
# If present, details about the API key that created the transfer.
|
|
352
|
-
#
|
|
353
|
-
# @param description [String, nil] The description set for the API key when it was created.
|
|
354
|
-
end
|
|
355
|
-
|
|
356
342
|
# The type of object that created this transfer.
|
|
357
343
|
#
|
|
358
344
|
# @see Increase::Models::CheckTransfer::CreatedBy#category
|
|
@@ -372,6 +358,20 @@ module Increase
|
|
|
372
358
|
# @return [Array<Symbol>]
|
|
373
359
|
end
|
|
374
360
|
|
|
361
|
+
# @see Increase::Models::CheckTransfer::CreatedBy#api_key
|
|
362
|
+
class APIKey < Increase::Internal::Type::BaseModel
|
|
363
|
+
# @!attribute description
|
|
364
|
+
# The description set for the API key when it was created.
|
|
365
|
+
#
|
|
366
|
+
# @return [String, nil]
|
|
367
|
+
required :description, String, nil?: true
|
|
368
|
+
|
|
369
|
+
# @!method initialize(description:)
|
|
370
|
+
# If present, details about the API key that created the transfer.
|
|
371
|
+
#
|
|
372
|
+
# @param description [String, nil] The description set for the API key when it was created.
|
|
373
|
+
end
|
|
374
|
+
|
|
375
375
|
# @see Increase::Models::CheckTransfer::CreatedBy#oauth_application
|
|
376
376
|
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
377
377
|
# @!attribute name
|
|
@@ -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
|