increase 1.239.0 → 1.240.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68b25ad092849f14357d0e14badb9dc474f02a8e5c4ec6f7e7e5994d19d3e062
4
- data.tar.gz: 13a6c13e98500137399c5674e8978ae72c1b558fec0abcbb325dc40db8739c51
3
+ metadata.gz: d636be2ae0ca907dfb7c5ea637c4b9d366ba2149304b3879fbd71d6ce9f95d75
4
+ data.tar.gz: 2cead5d28ba7fe959d744fee56679e4d79082980f2084c34b40c1508c62f3792
5
5
  SHA512:
6
- metadata.gz: bcdc889c8b54f700658571d76fb216122e474d9d16efe586f3d15273841ec13951105075cc2840d44df325d6d570a3c11ddfdea36863da63717c3b74b6a7a770
7
- data.tar.gz: 72053d1b2aa394adce52cac31af22e4504eee78b00765d98ff960b58e898841203ba7b5376370fb48222b004bbbaa6bacac138f059f8621770066abee8919650
6
+ metadata.gz: 3167a3a6c4f824e12a57ea5bf8c49564706a3e230ff2187439689b28c6a54f4308c2d09db8ce6160c6c79f55b26c17494bad9bf12b0fc41cfe706e6ce7baaef0
7
+ data.tar.gz: f2d6d8f6fab0196864a69ac6ce5d7dbccaffdd9e220fd395e446204f71de43456cc4113b89b942f4696930a2edb6f10f8324aff6b62558eb2c85017c7c195b00
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.240.0 (2026-03-10)
4
+
5
+ Full Changelog: [v1.239.0...v1.240.0](https://github.com/Increase/increase-ruby/compare/v1.239.0...v1.240.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([7d15383](https://github.com/Increase/increase-ruby/commit/7d15383d8ed0da57d18f14e1467eaeb20ff7b5c3))
10
+
3
11
  ## 1.239.0 (2026-03-10)
4
12
 
5
13
  Full Changelog: [v1.238.0...v1.239.0](https://github.com/Increase/increase-ruby/compare/v1.238.0...v1.239.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.239.0"
18
+ gem "increase", "~> 1.240.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -27,6 +27,12 @@ module Increase
27
27
  # @return [String, nil]
28
28
  optional :last4, String
29
29
 
30
+ # @!attribute outcome
31
+ # The outcome to simulate for card push transfers using this token.
32
+ #
33
+ # @return [Increase::Models::Simulations::CardTokenCreateParams::Outcome, nil]
34
+ optional :outcome, -> { Increase::Simulations::CardTokenCreateParams::Outcome }
35
+
30
36
  # @!attribute prefix
31
37
  # The prefix of the card number, usually the first 8 digits.
32
38
  #
@@ -39,13 +45,15 @@ module Increase
39
45
  # @return [Integer, nil]
40
46
  optional :primary_account_number_length, Integer
41
47
 
42
- # @!method initialize(capabilities: nil, expiration: nil, last4: nil, prefix: nil, primary_account_number_length: nil, request_options: {})
48
+ # @!method initialize(capabilities: nil, expiration: nil, last4: nil, outcome: nil, prefix: nil, primary_account_number_length: nil, request_options: {})
43
49
  # @param capabilities [Array<Increase::Models::Simulations::CardTokenCreateParams::Capability>] The capabilities of the outbound card token.
44
50
  #
45
51
  # @param expiration [Date] The expiration date of the card.
46
52
  #
47
53
  # @param last4 [String] The last 4 digits of the card number.
48
54
  #
55
+ # @param outcome [Increase::Models::Simulations::CardTokenCreateParams::Outcome] The outcome to simulate for card push transfers using this token.
56
+ #
49
57
  # @param prefix [String] The prefix of the card number, usually the first 8 digits.
50
58
  #
51
59
  # @param primary_account_number_length [Integer] The total length of the card number, including prefix and last4.
@@ -128,6 +136,194 @@ module Increase
128
136
  # @return [Array<Symbol>]
129
137
  end
130
138
  end
139
+
140
+ class Outcome < Increase::Internal::Type::BaseModel
141
+ # @!attribute result
142
+ # Whether card push transfers or validations will be approved or declined.
143
+ #
144
+ # @return [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Outcome::Result]
145
+ required :result, enum: -> { Increase::Simulations::CardTokenCreateParams::Outcome::Result }
146
+
147
+ # @!attribute decline
148
+ # If the result is declined, the details of the decline.
149
+ #
150
+ # @return [Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline, nil]
151
+ optional :decline, -> { Increase::Simulations::CardTokenCreateParams::Outcome::Decline }
152
+
153
+ # @!method initialize(result:, decline: nil)
154
+ # The outcome to simulate for card push transfers using this token.
155
+ #
156
+ # @param result [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Outcome::Result] Whether card push transfers or validations will be approved or declined.
157
+ #
158
+ # @param decline [Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline] If the result is declined, the details of the decline.
159
+
160
+ # Whether card push transfers or validations will be approved or declined.
161
+ #
162
+ # @see Increase::Models::Simulations::CardTokenCreateParams::Outcome#result
163
+ module Result
164
+ extend Increase::Internal::Type::Enum
165
+
166
+ # Any card push transfers or validations will be approved.
167
+ APPROVE = :approve
168
+
169
+ # Any card push transfers or validations will be declined.
170
+ DECLINE = :decline
171
+
172
+ # @!method self.values
173
+ # @return [Array<Symbol>]
174
+ end
175
+
176
+ # @see Increase::Models::Simulations::CardTokenCreateParams::Outcome#decline
177
+ class Decline < Increase::Internal::Type::BaseModel
178
+ # @!attribute reason
179
+ # The reason for the decline.
180
+ #
181
+ # @return [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline::Reason, nil]
182
+ optional :reason, enum: -> { Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason }
183
+
184
+ # @!method initialize(reason: nil)
185
+ # If the result is declined, the details of the decline.
186
+ #
187
+ # @param reason [Symbol, Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline::Reason] The reason for the decline.
188
+
189
+ # The reason for the decline.
190
+ #
191
+ # @see Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline#reason
192
+ module Reason
193
+ extend Increase::Internal::Type::Enum
194
+
195
+ # The card issuer has declined the transaction without providing a specific reason.
196
+ DO_NOT_HONOR = :do_not_honor
197
+
198
+ # The number of transactions for the card has exceeded the limit set by the issuer.
199
+ ACTIVITY_COUNT_LIMIT_EXCEEDED = :activity_count_limit_exceeded
200
+
201
+ # The card issuer requires the cardholder to contact them for further information regarding the transaction.
202
+ REFER_TO_CARD_ISSUER = :refer_to_card_issuer
203
+
204
+ # The card issuer requires the cardholder to contact them due to a special condition related to the transaction.
205
+ REFER_TO_CARD_ISSUER_SPECIAL_CONDITION = :refer_to_card_issuer_special_condition
206
+
207
+ # The merchant is not valid for this transaction.
208
+ INVALID_MERCHANT = :invalid_merchant
209
+
210
+ # The card should be retained by the terminal.
211
+ PICK_UP_CARD = :pick_up_card
212
+
213
+ # An error occurred during processing of the transaction.
214
+ ERROR = :error
215
+
216
+ # The card should be retained by the terminal due to a special condition.
217
+ PICK_UP_CARD_SPECIAL = :pick_up_card_special
218
+
219
+ # The transaction is invalid and cannot be processed.
220
+ INVALID_TRANSACTION = :invalid_transaction
221
+
222
+ # The amount of the transaction is invalid.
223
+ INVALID_AMOUNT = :invalid_amount
224
+
225
+ # The account number provided is invalid.
226
+ INVALID_ACCOUNT_NUMBER = :invalid_account_number
227
+
228
+ # The issuer of the card could not be found.
229
+ NO_SUCH_ISSUER = :no_such_issuer
230
+
231
+ # The transaction should be re-entered for processing.
232
+ RE_ENTER_TRANSACTION = :re_enter_transaction
233
+
234
+ # There is no credit account associated with the card.
235
+ NO_CREDIT_ACCOUNT = :no_credit_account
236
+
237
+ # The card should be retained by the terminal because it has been reported lost.
238
+ PICK_UP_CARD_LOST = :pick_up_card_lost
239
+
240
+ # The card should be retained by the terminal because it has been reported stolen.
241
+ PICK_UP_CARD_STOLEN = :pick_up_card_stolen
242
+
243
+ # The account associated with the card has been closed.
244
+ CLOSED_ACCOUNT = :closed_account
245
+
246
+ # There are insufficient funds in the account to complete the transaction.
247
+ INSUFFICIENT_FUNDS = :insufficient_funds
248
+
249
+ # There is no checking account associated with the card.
250
+ NO_CHECKING_ACCOUNT = :no_checking_account
251
+
252
+ # There is no savings account associated with the card.
253
+ NO_SAVINGS_ACCOUNT = :no_savings_account
254
+
255
+ # The card has expired and cannot be used for transactions.
256
+ EXPIRED_CARD = :expired_card
257
+
258
+ # The transaction is not permitted for this cardholder.
259
+ TRANSACTION_NOT_PERMITTED_TO_CARDHOLDER = :transaction_not_permitted_to_cardholder
260
+
261
+ # The transaction is not allowed at this terminal.
262
+ TRANSACTION_NOT_ALLOWED_AT_TERMINAL = :transaction_not_allowed_at_terminal
263
+
264
+ # The transaction has been flagged as suspected fraud and cannot be processed.
265
+ SUSPECTED_FRAUD = :suspected_fraud
266
+
267
+ # The amount of activity on the card has exceeded the limit set by the issuer.
268
+ ACTIVITY_AMOUNT_LIMIT_EXCEEDED = :activity_amount_limit_exceeded
269
+
270
+ # The card has restrictions that prevent it from being used for this transaction.
271
+ RESTRICTED_CARD = :restricted_card
272
+
273
+ # A security violation has occurred, preventing the transaction from being processed.
274
+ SECURITY_VIOLATION = :security_violation
275
+
276
+ # The transaction does not meet the anti-money laundering requirements set by the issuer.
277
+ TRANSACTION_DOES_NOT_FULFILL_ANTI_MONEY_LAUNDERING_REQUIREMENT =
278
+ :transaction_does_not_fulfill_anti_money_laundering_requirement
279
+
280
+ # The first use of the card has been blocked by the issuer.
281
+ BLOCKED_FIRST_USE = :blocked_first_use
282
+
283
+ # The credit issuer is currently unavailable to process the transaction.
284
+ CREDIT_ISSUER_UNAVAILABLE = :credit_issuer_unavailable
285
+
286
+ # The card verification value (CVV) results were negative, indicating a potential issue with the card.
287
+ NEGATIVE_CARD_VERIFICATION_VALUE_RESULTS = :negative_card_verification_value_results
288
+
289
+ # The issuer of the card is currently unavailable to process the transaction.
290
+ ISSUER_UNAVAILABLE = :issuer_unavailable
291
+
292
+ # The financial institution associated with the card could not be found.
293
+ FINANCIAL_INSTITUTION_CANNOT_BE_FOUND = :financial_institution_cannot_be_found
294
+
295
+ # The transaction cannot be completed due to an unspecified reason.
296
+ TRANSACTION_CANNOT_BE_COMPLETED = :transaction_cannot_be_completed
297
+
298
+ # The transaction is a duplicate of a previous transaction and cannot be processed again.
299
+ DUPLICATE_TRANSACTION = :duplicate_transaction
300
+
301
+ # A system malfunction occurred, preventing the transaction from being processed.
302
+ SYSTEM_MALFUNCTION = :system_malfunction
303
+
304
+ # Additional customer authentication is required to complete the transaction.
305
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED = :additional_customer_authentication_required
306
+
307
+ # The surcharge amount applied to the transaction is not permitted by the issuer.
308
+ SURCHARGE_AMOUNT_NOT_PERMITTED = :surcharge_amount_not_permitted
309
+
310
+ # The transaction was declined due to a failure in verifying the CVV2 code.
311
+ DECLINE_FOR_CVV2_FAILURE = :decline_for_cvv2_failure
312
+
313
+ # A stop payment order has been placed on this transaction.
314
+ STOP_PAYMENT_ORDER = :stop_payment_order
315
+
316
+ # An order has been placed to revoke authorization for this transaction.
317
+ REVOCATION_OF_AUTHORIZATION_ORDER = :revocation_of_authorization_order
318
+
319
+ # An order has been placed to revoke all authorizations for this cardholder.
320
+ REVOCATION_OF_ALL_AUTHORIZATIONS_ORDER = :revocation_of_all_authorizations_order
321
+
322
+ # @!method self.values
323
+ # @return [Array<Symbol>]
324
+ end
325
+ end
326
+ end
131
327
  end
132
328
  end
133
329
  end
@@ -6,7 +6,7 @@ module Increase
6
6
  class CardTokens
7
7
  # Simulates tokenizing a card in the sandbox environment.
8
8
  #
9
- # @overload create(capabilities: nil, expiration: nil, last4: nil, prefix: nil, primary_account_number_length: nil, request_options: {})
9
+ # @overload create(capabilities: nil, expiration: nil, last4: nil, outcome: nil, prefix: nil, primary_account_number_length: nil, request_options: {})
10
10
  #
11
11
  # @param capabilities [Array<Increase::Models::Simulations::CardTokenCreateParams::Capability>] The capabilities of the outbound card token.
12
12
  #
@@ -14,6 +14,8 @@ module Increase
14
14
  #
15
15
  # @param last4 [String] The last 4 digits of the card number.
16
16
  #
17
+ # @param outcome [Increase::Models::Simulations::CardTokenCreateParams::Outcome] The outcome to simulate for card push transfers using this token.
18
+ #
17
19
  # @param prefix [String] The prefix of the card number, usually the first 8 digits.
18
20
  #
19
21
  # @param primary_account_number_length [Integer] The total length of the card number, including prefix and last4.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.239.0"
4
+ VERSION = "1.240.0"
5
5
  end
@@ -49,6 +49,22 @@ module Increase
49
49
  sig { params(last4: String).void }
50
50
  attr_writer :last4
51
51
 
52
+ # The outcome to simulate for card push transfers using this token.
53
+ sig do
54
+ returns(
55
+ T.nilable(Increase::Simulations::CardTokenCreateParams::Outcome)
56
+ )
57
+ end
58
+ attr_reader :outcome
59
+
60
+ sig do
61
+ params(
62
+ outcome:
63
+ Increase::Simulations::CardTokenCreateParams::Outcome::OrHash
64
+ ).void
65
+ end
66
+ attr_writer :outcome
67
+
52
68
  # The prefix of the card number, usually the first 8 digits.
53
69
  sig { returns(T.nilable(String)) }
54
70
  attr_reader :prefix
@@ -71,6 +87,8 @@ module Increase
71
87
  ],
72
88
  expiration: Date,
73
89
  last4: String,
90
+ outcome:
91
+ Increase::Simulations::CardTokenCreateParams::Outcome::OrHash,
74
92
  prefix: String,
75
93
  primary_account_number_length: Integer,
76
94
  request_options: Increase::RequestOptions::OrHash
@@ -83,6 +101,8 @@ module Increase
83
101
  expiration: nil,
84
102
  # The last 4 digits of the card number.
85
103
  last4: nil,
104
+ # The outcome to simulate for card push transfers using this token.
105
+ outcome: nil,
86
106
  # The prefix of the card number, usually the first 8 digits.
87
107
  prefix: nil,
88
108
  # The total length of the card number, including prefix and last4.
@@ -100,6 +120,7 @@ module Increase
100
120
  ],
101
121
  expiration: Date,
102
122
  last4: String,
123
+ outcome: Increase::Simulations::CardTokenCreateParams::Outcome,
103
124
  prefix: String,
104
125
  primary_account_number_length: Integer,
105
126
  request_options: Increase::RequestOptions
@@ -291,6 +312,480 @@ module Increase
291
312
  end
292
313
  end
293
314
  end
315
+
316
+ class Outcome < Increase::Internal::Type::BaseModel
317
+ OrHash =
318
+ T.type_alias do
319
+ T.any(
320
+ Increase::Simulations::CardTokenCreateParams::Outcome,
321
+ Increase::Internal::AnyHash
322
+ )
323
+ end
324
+
325
+ # Whether card push transfers or validations will be approved or declined.
326
+ sig do
327
+ returns(
328
+ Increase::Simulations::CardTokenCreateParams::Outcome::Result::OrSymbol
329
+ )
330
+ end
331
+ attr_accessor :result
332
+
333
+ # If the result is declined, the details of the decline.
334
+ sig do
335
+ returns(
336
+ T.nilable(
337
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline
338
+ )
339
+ )
340
+ end
341
+ attr_reader :decline
342
+
343
+ sig do
344
+ params(
345
+ decline:
346
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::OrHash
347
+ ).void
348
+ end
349
+ attr_writer :decline
350
+
351
+ # The outcome to simulate for card push transfers using this token.
352
+ sig do
353
+ params(
354
+ result:
355
+ Increase::Simulations::CardTokenCreateParams::Outcome::Result::OrSymbol,
356
+ decline:
357
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::OrHash
358
+ ).returns(T.attached_class)
359
+ end
360
+ def self.new(
361
+ # Whether card push transfers or validations will be approved or declined.
362
+ result:,
363
+ # If the result is declined, the details of the decline.
364
+ decline: nil
365
+ )
366
+ end
367
+
368
+ sig do
369
+ override.returns(
370
+ {
371
+ result:
372
+ Increase::Simulations::CardTokenCreateParams::Outcome::Result::OrSymbol,
373
+ decline:
374
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline
375
+ }
376
+ )
377
+ end
378
+ def to_hash
379
+ end
380
+
381
+ # Whether card push transfers or validations will be approved or declined.
382
+ module Result
383
+ extend Increase::Internal::Type::Enum
384
+
385
+ TaggedSymbol =
386
+ T.type_alias do
387
+ T.all(
388
+ Symbol,
389
+ Increase::Simulations::CardTokenCreateParams::Outcome::Result
390
+ )
391
+ end
392
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
393
+
394
+ # Any card push transfers or validations will be approved.
395
+ APPROVE =
396
+ T.let(
397
+ :approve,
398
+ Increase::Simulations::CardTokenCreateParams::Outcome::Result::TaggedSymbol
399
+ )
400
+
401
+ # Any card push transfers or validations will be declined.
402
+ DECLINE =
403
+ T.let(
404
+ :decline,
405
+ Increase::Simulations::CardTokenCreateParams::Outcome::Result::TaggedSymbol
406
+ )
407
+
408
+ sig do
409
+ override.returns(
410
+ T::Array[
411
+ Increase::Simulations::CardTokenCreateParams::Outcome::Result::TaggedSymbol
412
+ ]
413
+ )
414
+ end
415
+ def self.values
416
+ end
417
+ end
418
+
419
+ class Decline < Increase::Internal::Type::BaseModel
420
+ OrHash =
421
+ T.type_alias do
422
+ T.any(
423
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline,
424
+ Increase::Internal::AnyHash
425
+ )
426
+ end
427
+
428
+ # The reason for the decline.
429
+ sig do
430
+ returns(
431
+ T.nilable(
432
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::OrSymbol
433
+ )
434
+ )
435
+ end
436
+ attr_reader :reason
437
+
438
+ sig do
439
+ params(
440
+ reason:
441
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::OrSymbol
442
+ ).void
443
+ end
444
+ attr_writer :reason
445
+
446
+ # If the result is declined, the details of the decline.
447
+ sig do
448
+ params(
449
+ reason:
450
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::OrSymbol
451
+ ).returns(T.attached_class)
452
+ end
453
+ def self.new(
454
+ # The reason for the decline.
455
+ reason: nil
456
+ )
457
+ end
458
+
459
+ sig do
460
+ override.returns(
461
+ {
462
+ reason:
463
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::OrSymbol
464
+ }
465
+ )
466
+ end
467
+ def to_hash
468
+ end
469
+
470
+ # The reason for the decline.
471
+ module Reason
472
+ extend Increase::Internal::Type::Enum
473
+
474
+ TaggedSymbol =
475
+ T.type_alias do
476
+ T.all(
477
+ Symbol,
478
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason
479
+ )
480
+ end
481
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
482
+
483
+ # The card issuer has declined the transaction without providing a specific reason.
484
+ DO_NOT_HONOR =
485
+ T.let(
486
+ :do_not_honor,
487
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
488
+ )
489
+
490
+ # The number of transactions for the card has exceeded the limit set by the issuer.
491
+ ACTIVITY_COUNT_LIMIT_EXCEEDED =
492
+ T.let(
493
+ :activity_count_limit_exceeded,
494
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
495
+ )
496
+
497
+ # The card issuer requires the cardholder to contact them for further information regarding the transaction.
498
+ REFER_TO_CARD_ISSUER =
499
+ T.let(
500
+ :refer_to_card_issuer,
501
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
502
+ )
503
+
504
+ # The card issuer requires the cardholder to contact them due to a special condition related to the transaction.
505
+ REFER_TO_CARD_ISSUER_SPECIAL_CONDITION =
506
+ T.let(
507
+ :refer_to_card_issuer_special_condition,
508
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
509
+ )
510
+
511
+ # The merchant is not valid for this transaction.
512
+ INVALID_MERCHANT =
513
+ T.let(
514
+ :invalid_merchant,
515
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
516
+ )
517
+
518
+ # The card should be retained by the terminal.
519
+ PICK_UP_CARD =
520
+ T.let(
521
+ :pick_up_card,
522
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
523
+ )
524
+
525
+ # An error occurred during processing of the transaction.
526
+ ERROR =
527
+ T.let(
528
+ :error,
529
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
530
+ )
531
+
532
+ # The card should be retained by the terminal due to a special condition.
533
+ PICK_UP_CARD_SPECIAL =
534
+ T.let(
535
+ :pick_up_card_special,
536
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
537
+ )
538
+
539
+ # The transaction is invalid and cannot be processed.
540
+ INVALID_TRANSACTION =
541
+ T.let(
542
+ :invalid_transaction,
543
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
544
+ )
545
+
546
+ # The amount of the transaction is invalid.
547
+ INVALID_AMOUNT =
548
+ T.let(
549
+ :invalid_amount,
550
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
551
+ )
552
+
553
+ # The account number provided is invalid.
554
+ INVALID_ACCOUNT_NUMBER =
555
+ T.let(
556
+ :invalid_account_number,
557
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
558
+ )
559
+
560
+ # The issuer of the card could not be found.
561
+ NO_SUCH_ISSUER =
562
+ T.let(
563
+ :no_such_issuer,
564
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
565
+ )
566
+
567
+ # The transaction should be re-entered for processing.
568
+ RE_ENTER_TRANSACTION =
569
+ T.let(
570
+ :re_enter_transaction,
571
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
572
+ )
573
+
574
+ # There is no credit account associated with the card.
575
+ NO_CREDIT_ACCOUNT =
576
+ T.let(
577
+ :no_credit_account,
578
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
579
+ )
580
+
581
+ # The card should be retained by the terminal because it has been reported lost.
582
+ PICK_UP_CARD_LOST =
583
+ T.let(
584
+ :pick_up_card_lost,
585
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
586
+ )
587
+
588
+ # The card should be retained by the terminal because it has been reported stolen.
589
+ PICK_UP_CARD_STOLEN =
590
+ T.let(
591
+ :pick_up_card_stolen,
592
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
593
+ )
594
+
595
+ # The account associated with the card has been closed.
596
+ CLOSED_ACCOUNT =
597
+ T.let(
598
+ :closed_account,
599
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
600
+ )
601
+
602
+ # There are insufficient funds in the account to complete the transaction.
603
+ INSUFFICIENT_FUNDS =
604
+ T.let(
605
+ :insufficient_funds,
606
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
607
+ )
608
+
609
+ # There is no checking account associated with the card.
610
+ NO_CHECKING_ACCOUNT =
611
+ T.let(
612
+ :no_checking_account,
613
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
614
+ )
615
+
616
+ # There is no savings account associated with the card.
617
+ NO_SAVINGS_ACCOUNT =
618
+ T.let(
619
+ :no_savings_account,
620
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
621
+ )
622
+
623
+ # The card has expired and cannot be used for transactions.
624
+ EXPIRED_CARD =
625
+ T.let(
626
+ :expired_card,
627
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
628
+ )
629
+
630
+ # The transaction is not permitted for this cardholder.
631
+ TRANSACTION_NOT_PERMITTED_TO_CARDHOLDER =
632
+ T.let(
633
+ :transaction_not_permitted_to_cardholder,
634
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
635
+ )
636
+
637
+ # The transaction is not allowed at this terminal.
638
+ TRANSACTION_NOT_ALLOWED_AT_TERMINAL =
639
+ T.let(
640
+ :transaction_not_allowed_at_terminal,
641
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
642
+ )
643
+
644
+ # The transaction has been flagged as suspected fraud and cannot be processed.
645
+ SUSPECTED_FRAUD =
646
+ T.let(
647
+ :suspected_fraud,
648
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
649
+ )
650
+
651
+ # The amount of activity on the card has exceeded the limit set by the issuer.
652
+ ACTIVITY_AMOUNT_LIMIT_EXCEEDED =
653
+ T.let(
654
+ :activity_amount_limit_exceeded,
655
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
656
+ )
657
+
658
+ # The card has restrictions that prevent it from being used for this transaction.
659
+ RESTRICTED_CARD =
660
+ T.let(
661
+ :restricted_card,
662
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
663
+ )
664
+
665
+ # A security violation has occurred, preventing the transaction from being processed.
666
+ SECURITY_VIOLATION =
667
+ T.let(
668
+ :security_violation,
669
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
670
+ )
671
+
672
+ # The transaction does not meet the anti-money laundering requirements set by the issuer.
673
+ TRANSACTION_DOES_NOT_FULFILL_ANTI_MONEY_LAUNDERING_REQUIREMENT =
674
+ T.let(
675
+ :transaction_does_not_fulfill_anti_money_laundering_requirement,
676
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
677
+ )
678
+
679
+ # The first use of the card has been blocked by the issuer.
680
+ BLOCKED_FIRST_USE =
681
+ T.let(
682
+ :blocked_first_use,
683
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
684
+ )
685
+
686
+ # The credit issuer is currently unavailable to process the transaction.
687
+ CREDIT_ISSUER_UNAVAILABLE =
688
+ T.let(
689
+ :credit_issuer_unavailable,
690
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
691
+ )
692
+
693
+ # The card verification value (CVV) results were negative, indicating a potential issue with the card.
694
+ NEGATIVE_CARD_VERIFICATION_VALUE_RESULTS =
695
+ T.let(
696
+ :negative_card_verification_value_results,
697
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
698
+ )
699
+
700
+ # The issuer of the card is currently unavailable to process the transaction.
701
+ ISSUER_UNAVAILABLE =
702
+ T.let(
703
+ :issuer_unavailable,
704
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
705
+ )
706
+
707
+ # The financial institution associated with the card could not be found.
708
+ FINANCIAL_INSTITUTION_CANNOT_BE_FOUND =
709
+ T.let(
710
+ :financial_institution_cannot_be_found,
711
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
712
+ )
713
+
714
+ # The transaction cannot be completed due to an unspecified reason.
715
+ TRANSACTION_CANNOT_BE_COMPLETED =
716
+ T.let(
717
+ :transaction_cannot_be_completed,
718
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
719
+ )
720
+
721
+ # The transaction is a duplicate of a previous transaction and cannot be processed again.
722
+ DUPLICATE_TRANSACTION =
723
+ T.let(
724
+ :duplicate_transaction,
725
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
726
+ )
727
+
728
+ # A system malfunction occurred, preventing the transaction from being processed.
729
+ SYSTEM_MALFUNCTION =
730
+ T.let(
731
+ :system_malfunction,
732
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
733
+ )
734
+
735
+ # Additional customer authentication is required to complete the transaction.
736
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED =
737
+ T.let(
738
+ :additional_customer_authentication_required,
739
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
740
+ )
741
+
742
+ # The surcharge amount applied to the transaction is not permitted by the issuer.
743
+ SURCHARGE_AMOUNT_NOT_PERMITTED =
744
+ T.let(
745
+ :surcharge_amount_not_permitted,
746
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
747
+ )
748
+
749
+ # The transaction was declined due to a failure in verifying the CVV2 code.
750
+ DECLINE_FOR_CVV2_FAILURE =
751
+ T.let(
752
+ :decline_for_cvv2_failure,
753
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
754
+ )
755
+
756
+ # A stop payment order has been placed on this transaction.
757
+ STOP_PAYMENT_ORDER =
758
+ T.let(
759
+ :stop_payment_order,
760
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
761
+ )
762
+
763
+ # An order has been placed to revoke authorization for this transaction.
764
+ REVOCATION_OF_AUTHORIZATION_ORDER =
765
+ T.let(
766
+ :revocation_of_authorization_order,
767
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
768
+ )
769
+
770
+ # An order has been placed to revoke all authorizations for this cardholder.
771
+ REVOCATION_OF_ALL_AUTHORIZATIONS_ORDER =
772
+ T.let(
773
+ :revocation_of_all_authorizations_order,
774
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
775
+ )
776
+
777
+ sig do
778
+ override.returns(
779
+ T::Array[
780
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
781
+ ]
782
+ )
783
+ end
784
+ def self.values
785
+ end
786
+ end
787
+ end
788
+ end
294
789
  end
295
790
  end
296
791
  end
@@ -13,6 +13,8 @@ module Increase
13
13
  ],
14
14
  expiration: Date,
15
15
  last4: String,
16
+ outcome:
17
+ Increase::Simulations::CardTokenCreateParams::Outcome::OrHash,
16
18
  prefix: String,
17
19
  primary_account_number_length: Integer,
18
20
  request_options: Increase::RequestOptions::OrHash
@@ -25,6 +27,8 @@ module Increase
25
27
  expiration: nil,
26
28
  # The last 4 digits of the card number.
27
29
  last4: nil,
30
+ # The outcome to simulate for card push transfers using this token.
31
+ outcome: nil,
28
32
  # The prefix of the card number, usually the first 8 digits.
29
33
  prefix: nil,
30
34
  # The total length of the card number, including prefix and last4.
@@ -6,6 +6,7 @@ module Increase
6
6
  capabilities: ::Array[Increase::Simulations::CardTokenCreateParams::Capability],
7
7
  expiration: Date,
8
8
  :last4 => String,
9
+ outcome: Increase::Simulations::CardTokenCreateParams::Outcome,
9
10
  prefix: String,
10
11
  primary_account_number_length: Integer
11
12
  }
@@ -29,6 +30,12 @@ module Increase
29
30
 
30
31
  def last4=: (String) -> String
31
32
 
33
+ attr_reader outcome: Increase::Simulations::CardTokenCreateParams::Outcome?
34
+
35
+ def outcome=: (
36
+ Increase::Simulations::CardTokenCreateParams::Outcome
37
+ ) -> Increase::Simulations::CardTokenCreateParams::Outcome
38
+
32
39
  attr_reader prefix: String?
33
40
 
34
41
  def prefix=: (String) -> String
@@ -41,6 +48,7 @@ module Increase
41
48
  ?capabilities: ::Array[Increase::Simulations::CardTokenCreateParams::Capability],
42
49
  ?expiration: Date,
43
50
  ?last4: String,
51
+ ?outcome: Increase::Simulations::CardTokenCreateParams::Outcome,
44
52
  ?prefix: String,
45
53
  ?primary_account_number_length: Integer,
46
54
  ?request_options: Increase::request_opts
@@ -50,6 +58,7 @@ module Increase
50
58
  capabilities: ::Array[Increase::Simulations::CardTokenCreateParams::Capability],
51
59
  expiration: Date,
52
60
  :last4 => String,
61
+ outcome: Increase::Simulations::CardTokenCreateParams::Outcome,
53
62
  prefix: String,
54
63
  primary_account_number_length: Integer,
55
64
  request_options: Increase::RequestOptions
@@ -123,6 +132,243 @@ module Increase
123
132
  def self?.values: -> ::Array[Increase::Models::Simulations::CardTokenCreateParams::Capability::route]
124
133
  end
125
134
  end
135
+
136
+ type outcome =
137
+ {
138
+ result: Increase::Models::Simulations::CardTokenCreateParams::Outcome::result,
139
+ decline: Increase::Simulations::CardTokenCreateParams::Outcome::Decline
140
+ }
141
+
142
+ class Outcome < Increase::Internal::Type::BaseModel
143
+ attr_accessor result: Increase::Models::Simulations::CardTokenCreateParams::Outcome::result
144
+
145
+ attr_reader decline: Increase::Simulations::CardTokenCreateParams::Outcome::Decline?
146
+
147
+ def decline=: (
148
+ Increase::Simulations::CardTokenCreateParams::Outcome::Decline
149
+ ) -> Increase::Simulations::CardTokenCreateParams::Outcome::Decline
150
+
151
+ def initialize: (
152
+ result: Increase::Models::Simulations::CardTokenCreateParams::Outcome::result,
153
+ ?decline: Increase::Simulations::CardTokenCreateParams::Outcome::Decline
154
+ ) -> void
155
+
156
+ def to_hash: -> {
157
+ result: Increase::Models::Simulations::CardTokenCreateParams::Outcome::result,
158
+ decline: Increase::Simulations::CardTokenCreateParams::Outcome::Decline
159
+ }
160
+
161
+ type result = :approve | :decline
162
+
163
+ module Result
164
+ extend Increase::Internal::Type::Enum
165
+
166
+ # Any card push transfers or validations will be approved.
167
+ APPROVE: :approve
168
+
169
+ # Any card push transfers or validations will be declined.
170
+ DECLINE: :decline
171
+
172
+ def self?.values: -> ::Array[Increase::Models::Simulations::CardTokenCreateParams::Outcome::result]
173
+ end
174
+
175
+ type decline =
176
+ {
177
+ reason: Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline::reason
178
+ }
179
+
180
+ class Decline < Increase::Internal::Type::BaseModel
181
+ attr_reader reason: Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline::reason?
182
+
183
+ def reason=: (
184
+ Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline::reason
185
+ ) -> Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline::reason
186
+
187
+ def initialize: (
188
+ ?reason: Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline::reason
189
+ ) -> void
190
+
191
+ def to_hash: -> {
192
+ reason: Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline::reason
193
+ }
194
+
195
+ type reason =
196
+ :do_not_honor
197
+ | :activity_count_limit_exceeded
198
+ | :refer_to_card_issuer
199
+ | :refer_to_card_issuer_special_condition
200
+ | :invalid_merchant
201
+ | :pick_up_card
202
+ | :error
203
+ | :pick_up_card_special
204
+ | :invalid_transaction
205
+ | :invalid_amount
206
+ | :invalid_account_number
207
+ | :no_such_issuer
208
+ | :re_enter_transaction
209
+ | :no_credit_account
210
+ | :pick_up_card_lost
211
+ | :pick_up_card_stolen
212
+ | :closed_account
213
+ | :insufficient_funds
214
+ | :no_checking_account
215
+ | :no_savings_account
216
+ | :expired_card
217
+ | :transaction_not_permitted_to_cardholder
218
+ | :transaction_not_allowed_at_terminal
219
+ | :suspected_fraud
220
+ | :activity_amount_limit_exceeded
221
+ | :restricted_card
222
+ | :security_violation
223
+ | :transaction_does_not_fulfill_anti_money_laundering_requirement
224
+ | :blocked_first_use
225
+ | :credit_issuer_unavailable
226
+ | :negative_card_verification_value_results
227
+ | :issuer_unavailable
228
+ | :financial_institution_cannot_be_found
229
+ | :transaction_cannot_be_completed
230
+ | :duplicate_transaction
231
+ | :system_malfunction
232
+ | :additional_customer_authentication_required
233
+ | :surcharge_amount_not_permitted
234
+ | :decline_for_cvv2_failure
235
+ | :stop_payment_order
236
+ | :revocation_of_authorization_order
237
+ | :revocation_of_all_authorizations_order
238
+
239
+ module Reason
240
+ extend Increase::Internal::Type::Enum
241
+
242
+ # The card issuer has declined the transaction without providing a specific reason.
243
+ DO_NOT_HONOR: :do_not_honor
244
+
245
+ # The number of transactions for the card has exceeded the limit set by the issuer.
246
+ ACTIVITY_COUNT_LIMIT_EXCEEDED: :activity_count_limit_exceeded
247
+
248
+ # The card issuer requires the cardholder to contact them for further information regarding the transaction.
249
+ REFER_TO_CARD_ISSUER: :refer_to_card_issuer
250
+
251
+ # The card issuer requires the cardholder to contact them due to a special condition related to the transaction.
252
+ REFER_TO_CARD_ISSUER_SPECIAL_CONDITION: :refer_to_card_issuer_special_condition
253
+
254
+ # The merchant is not valid for this transaction.
255
+ INVALID_MERCHANT: :invalid_merchant
256
+
257
+ # The card should be retained by the terminal.
258
+ PICK_UP_CARD: :pick_up_card
259
+
260
+ # An error occurred during processing of the transaction.
261
+ ERROR: :error
262
+
263
+ # The card should be retained by the terminal due to a special condition.
264
+ PICK_UP_CARD_SPECIAL: :pick_up_card_special
265
+
266
+ # The transaction is invalid and cannot be processed.
267
+ INVALID_TRANSACTION: :invalid_transaction
268
+
269
+ # The amount of the transaction is invalid.
270
+ INVALID_AMOUNT: :invalid_amount
271
+
272
+ # The account number provided is invalid.
273
+ INVALID_ACCOUNT_NUMBER: :invalid_account_number
274
+
275
+ # The issuer of the card could not be found.
276
+ NO_SUCH_ISSUER: :no_such_issuer
277
+
278
+ # The transaction should be re-entered for processing.
279
+ RE_ENTER_TRANSACTION: :re_enter_transaction
280
+
281
+ # There is no credit account associated with the card.
282
+ NO_CREDIT_ACCOUNT: :no_credit_account
283
+
284
+ # The card should be retained by the terminal because it has been reported lost.
285
+ PICK_UP_CARD_LOST: :pick_up_card_lost
286
+
287
+ # The card should be retained by the terminal because it has been reported stolen.
288
+ PICK_UP_CARD_STOLEN: :pick_up_card_stolen
289
+
290
+ # The account associated with the card has been closed.
291
+ CLOSED_ACCOUNT: :closed_account
292
+
293
+ # There are insufficient funds in the account to complete the transaction.
294
+ INSUFFICIENT_FUNDS: :insufficient_funds
295
+
296
+ # There is no checking account associated with the card.
297
+ NO_CHECKING_ACCOUNT: :no_checking_account
298
+
299
+ # There is no savings account associated with the card.
300
+ NO_SAVINGS_ACCOUNT: :no_savings_account
301
+
302
+ # The card has expired and cannot be used for transactions.
303
+ EXPIRED_CARD: :expired_card
304
+
305
+ # The transaction is not permitted for this cardholder.
306
+ TRANSACTION_NOT_PERMITTED_TO_CARDHOLDER: :transaction_not_permitted_to_cardholder
307
+
308
+ # The transaction is not allowed at this terminal.
309
+ TRANSACTION_NOT_ALLOWED_AT_TERMINAL: :transaction_not_allowed_at_terminal
310
+
311
+ # The transaction has been flagged as suspected fraud and cannot be processed.
312
+ SUSPECTED_FRAUD: :suspected_fraud
313
+
314
+ # The amount of activity on the card has exceeded the limit set by the issuer.
315
+ ACTIVITY_AMOUNT_LIMIT_EXCEEDED: :activity_amount_limit_exceeded
316
+
317
+ # The card has restrictions that prevent it from being used for this transaction.
318
+ RESTRICTED_CARD: :restricted_card
319
+
320
+ # A security violation has occurred, preventing the transaction from being processed.
321
+ SECURITY_VIOLATION: :security_violation
322
+
323
+ # The transaction does not meet the anti-money laundering requirements set by the issuer.
324
+ TRANSACTION_DOES_NOT_FULFILL_ANTI_MONEY_LAUNDERING_REQUIREMENT: :transaction_does_not_fulfill_anti_money_laundering_requirement
325
+
326
+ # The first use of the card has been blocked by the issuer.
327
+ BLOCKED_FIRST_USE: :blocked_first_use
328
+
329
+ # The credit issuer is currently unavailable to process the transaction.
330
+ CREDIT_ISSUER_UNAVAILABLE: :credit_issuer_unavailable
331
+
332
+ # The card verification value (CVV) results were negative, indicating a potential issue with the card.
333
+ NEGATIVE_CARD_VERIFICATION_VALUE_RESULTS: :negative_card_verification_value_results
334
+
335
+ # The issuer of the card is currently unavailable to process the transaction.
336
+ ISSUER_UNAVAILABLE: :issuer_unavailable
337
+
338
+ # The financial institution associated with the card could not be found.
339
+ FINANCIAL_INSTITUTION_CANNOT_BE_FOUND: :financial_institution_cannot_be_found
340
+
341
+ # The transaction cannot be completed due to an unspecified reason.
342
+ TRANSACTION_CANNOT_BE_COMPLETED: :transaction_cannot_be_completed
343
+
344
+ # The transaction is a duplicate of a previous transaction and cannot be processed again.
345
+ DUPLICATE_TRANSACTION: :duplicate_transaction
346
+
347
+ # A system malfunction occurred, preventing the transaction from being processed.
348
+ SYSTEM_MALFUNCTION: :system_malfunction
349
+
350
+ # Additional customer authentication is required to complete the transaction.
351
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED: :additional_customer_authentication_required
352
+
353
+ # The surcharge amount applied to the transaction is not permitted by the issuer.
354
+ SURCHARGE_AMOUNT_NOT_PERMITTED: :surcharge_amount_not_permitted
355
+
356
+ # The transaction was declined due to a failure in verifying the CVV2 code.
357
+ DECLINE_FOR_CVV2_FAILURE: :decline_for_cvv2_failure
358
+
359
+ # A stop payment order has been placed on this transaction.
360
+ STOP_PAYMENT_ORDER: :stop_payment_order
361
+
362
+ # An order has been placed to revoke authorization for this transaction.
363
+ REVOCATION_OF_AUTHORIZATION_ORDER: :revocation_of_authorization_order
364
+
365
+ # An order has been placed to revoke all authorizations for this cardholder.
366
+ REVOCATION_OF_ALL_AUTHORIZATIONS_ORDER: :revocation_of_all_authorizations_order
367
+
368
+ def self?.values: -> ::Array[Increase::Models::Simulations::CardTokenCreateParams::Outcome::Decline::reason]
369
+ end
370
+ end
371
+ end
126
372
  end
127
373
  end
128
374
  end
@@ -6,6 +6,7 @@ module Increase
6
6
  ?capabilities: ::Array[Increase::Simulations::CardTokenCreateParams::Capability],
7
7
  ?expiration: Date,
8
8
  ?last4: String,
9
+ ?outcome: Increase::Simulations::CardTokenCreateParams::Outcome,
9
10
  ?prefix: String,
10
11
  ?primary_account_number_length: Integer,
11
12
  ?request_options: Increase::request_opts
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.239.0
4
+ version: 1.240.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-10 00:00:00.000000000 Z
11
+ date: 2026-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi