increase 1.336.0 → 1.337.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: 2ee3a925a5b2860ea0a38a1d0c5cf26596a5085f7d9768edc84e5db058d9cd06
4
- data.tar.gz: ec7861b5961a85f92013839e29c4223aa95f64a7c5d74e0f907c85da1c3bd858
3
+ metadata.gz: 629be8d8f9a8b45280dfc906082d5554f2a91b56c459e4fca2a69300c7c4aec3
4
+ data.tar.gz: e59403bc2d905200628519800d96919f4ad6206cf5deb9d8cc1dda729df430f6
5
5
  SHA512:
6
- metadata.gz: 52e0f7ac349a714518927389a7292215cd49c2827f76a36b8c940a63905f72ab6b2fa8dc76000fe9058560982101eee460d4078c5c3ccc5e782c70da55009ddc
7
- data.tar.gz: cb4f9dcf606021d9425cfe4cfb9b3028044aaa58eda8d9f83c6e55f439a87e39879fb6bf185b879ce525b2bc4ceed89131e9f25f8ff85824fbc37cc68e19b73d
6
+ metadata.gz: c8a7f0ed0a6ab7316f32b9e07d474113fde870c216788c1107e9afa9d46013b0b965e7d3b76ada5ad45076f00b3bee538df9c8d9db818fc523a502f5819ddb8e
7
+ data.tar.gz: 331152ce71672804632ccfb3b8b376146a9e6f59b581b70c4b70a5d0ade09452126146e50022f04830587304f9babf892d2807e44c722d6daa384da268890bb4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.337.0](https://github.com/Increase/increase-ruby/compare/v1.336.0...v1.337.0) (2026-06-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** add Visa network fields to card authorization simulations ([135a241](https://github.com/Increase/increase-ruby/commit/135a2418a47ae155ae2fa143331aab3fc7237148))
9
+
3
10
  ## [1.336.0](https://github.com/Increase/increase-ruby/compare/v1.335.0...v1.336.0) (2026-06-18)
4
11
 
5
12
 
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.336.0"
18
+ gem "increase", "~> 1.337.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -247,6 +247,23 @@ module Increase
247
247
 
248
248
  # @see Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails#visa
249
249
  class Visa < Increase::Internal::Type::BaseModel
250
+ # @!attribute electronic_commerce_indicator
251
+ # For electronic commerce transactions, this identifies the level of security used
252
+ # in obtaining the customer's payment credential. For mail or telephone order
253
+ # transactions, identifies the type of mail or telephone order.
254
+ #
255
+ # @return [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator, nil]
256
+ optional :electronic_commerce_indicator,
257
+ enum: -> { Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator }
258
+
259
+ # @!attribute point_of_service_entry_mode
260
+ # The method used to enter the cardholder's primary account number and card
261
+ # expiration date.
262
+ #
263
+ # @return [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode, nil]
264
+ optional :point_of_service_entry_mode,
265
+ enum: -> { Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode }
266
+
250
267
  # @!attribute stand_in_processing_reason
251
268
  # The reason code for the stand-in processing.
252
269
  #
@@ -254,10 +271,109 @@ module Increase
254
271
  optional :stand_in_processing_reason,
255
272
  enum: -> { Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason }
256
273
 
257
- # @!method initialize(stand_in_processing_reason: nil)
274
+ # @!attribute terminal_entry_capability
275
+ # The capability of the terminal being used to read the card. Shows whether a
276
+ # terminal can e.g., accept chip cards or if it only supports magnetic stripe
277
+ # reads. This reflects the highest capability of the terminal — for example, a
278
+ # terminal that supports both chip and magnetic stripe will be identified as
279
+ # chip-capable.
280
+ #
281
+ # @return [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability, nil]
282
+ optional :terminal_entry_capability,
283
+ enum: -> { Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability }
284
+
285
+ # @!method initialize(electronic_commerce_indicator: nil, point_of_service_entry_mode: nil, stand_in_processing_reason: nil, terminal_entry_capability: nil)
286
+ # Some parameter documentations has been truncated, see
287
+ # {Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa}
288
+ # for more details.
289
+ #
258
290
  # Fields specific to the Visa network.
259
291
  #
292
+ # @param electronic_commerce_indicator [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator] For electronic commerce transactions, this identifies the level of security used
293
+ #
294
+ # @param point_of_service_entry_mode [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode] The method used to enter the cardholder's primary account number and card expira
295
+ #
260
296
  # @param stand_in_processing_reason [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason] The reason code for the stand-in processing.
297
+ #
298
+ # @param terminal_entry_capability [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability] The capability of the terminal being used to read the card. Shows whether a term
299
+
300
+ # For electronic commerce transactions, this identifies the level of security used
301
+ # in obtaining the customer's payment credential. For mail or telephone order
302
+ # transactions, identifies the type of mail or telephone order.
303
+ #
304
+ # @see Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa#electronic_commerce_indicator
305
+ module ElectronicCommerceIndicator
306
+ extend Increase::Internal::Type::Enum
307
+
308
+ # Single transaction of a mail/phone order: Use to indicate that the transaction is a mail/phone order purchase, not a recurring transaction or installment payment. For domestic transactions in the US region, this value may also indicate one bill payment transaction in the card-present or card-absent environments.
309
+ MAIL_PHONE_ORDER = :mail_phone_order
310
+
311
+ # Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
312
+ RECURRING = :recurring
313
+
314
+ # Installment payment: Payment indicator used to indicate one purchase of goods or services that is billed to the account in multiple charges over a period of time agreed upon by the cardholder and merchant from transactions that originate from an acquirer in the US region.
315
+ INSTALLMENT = :installment
316
+
317
+ # Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
318
+ UNKNOWN_MAIL_PHONE_ORDER = :unknown_mail_phone_order
319
+
320
+ # Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
321
+ SECURE_ELECTRONIC_COMMERCE = :secure_electronic_commerce
322
+
323
+ # Non-authenticated security transaction at a 3-D Secure-capable merchant, and merchant attempted to authenticate the cardholder using 3-D Secure: Use to identify an electronic commerce transaction where the merchant attempted to authenticate the cardholder using 3-D Secure, but was unable to complete the authentication because the issuer or cardholder does not participate in the 3-D Secure program.
324
+ NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT =
325
+ :non_authenticated_security_transaction_at_3ds_capable_merchant
326
+
327
+ # Non-authenticated security transaction: Use to identify an electronic commerce transaction that uses data encryption for security however, cardholder authentication is not performed using 3-D Secure.
328
+ NON_AUTHENTICATED_SECURITY_TRANSACTION = :non_authenticated_security_transaction
329
+
330
+ # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
331
+ NON_SECURE_TRANSACTION = :non_secure_transaction
332
+
333
+ # @!method self.values
334
+ # @return [Array<Symbol>]
335
+ end
336
+
337
+ # The method used to enter the cardholder's primary account number and card
338
+ # expiration date.
339
+ #
340
+ # @see Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa#point_of_service_entry_mode
341
+ module PointOfServiceEntryMode
342
+ extend Increase::Internal::Type::Enum
343
+
344
+ # Unknown
345
+ UNKNOWN = :unknown
346
+
347
+ # Manual key entry
348
+ MANUAL = :manual
349
+
350
+ # Magnetic stripe read, without card verification value
351
+ MAGNETIC_STRIPE_NO_CVV = :magnetic_stripe_no_cvv
352
+
353
+ # Optical code
354
+ OPTICAL_CODE = :optical_code
355
+
356
+ # Contact chip card
357
+ INTEGRATED_CIRCUIT_CARD = :integrated_circuit_card
358
+
359
+ # Contactless read of chip card
360
+ CONTACTLESS = :contactless
361
+
362
+ # Transaction initiated using a credential that has previously been stored on file
363
+ CREDENTIAL_ON_FILE = :credential_on_file
364
+
365
+ # Magnetic stripe read
366
+ MAGNETIC_STRIPE = :magnetic_stripe
367
+
368
+ # Contactless read of magnetic stripe data
369
+ CONTACTLESS_MAGNETIC_STRIPE = :contactless_magnetic_stripe
370
+
371
+ # Contact chip card, without card verification value
372
+ INTEGRATED_CIRCUIT_CARD_NO_CVV = :integrated_circuit_card_no_cvv
373
+
374
+ # @!method self.values
375
+ # @return [Array<Symbol>]
376
+ end
261
377
 
262
378
  # The reason code for the stand-in processing.
263
379
  #
@@ -294,6 +410,44 @@ module Increase
294
410
  # @!method self.values
295
411
  # @return [Array<Symbol>]
296
412
  end
413
+
414
+ # The capability of the terminal being used to read the card. Shows whether a
415
+ # terminal can e.g., accept chip cards or if it only supports magnetic stripe
416
+ # reads. This reflects the highest capability of the terminal — for example, a
417
+ # terminal that supports both chip and magnetic stripe will be identified as
418
+ # chip-capable.
419
+ #
420
+ # @see Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa#terminal_entry_capability
421
+ module TerminalEntryCapability
422
+ extend Increase::Internal::Type::Enum
423
+
424
+ # Unknown
425
+ UNKNOWN = :unknown
426
+
427
+ # No terminal was used for this transaction.
428
+ TERMINAL_NOT_USED = :terminal_not_used
429
+
430
+ # The terminal can only read magnetic stripes and does not have chip or contactless reading capability.
431
+ MAGNETIC_STRIPE = :magnetic_stripe
432
+
433
+ # The terminal can only read barcodes.
434
+ BARCODE = :barcode
435
+
436
+ # The terminal can only read cards via Optical Character Recognition.
437
+ OPTICAL_CHARACTER_RECOGNITION = :optical_character_recognition
438
+
439
+ # The terminal supports contact chip cards and can also read the magnetic stripe. If contact chip is supported, this value is used regardless of whether contactless is also supported.
440
+ CHIP_OR_CONTACTLESS = :chip_or_contactless
441
+
442
+ # The terminal supports contactless reads but does not support contact chip. Only used when the terminal lacks contact chip capability.
443
+ CONTACTLESS_ONLY = :contactless_only
444
+
445
+ # The terminal has no card reading capability.
446
+ NO_CAPABILITY = :no_capability
447
+
448
+ # @!method self.values
449
+ # @return [Array<Symbol>]
450
+ end
297
451
  end
298
452
  end
299
453
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.336.0"
4
+ VERSION = "1.337.0"
5
5
  end
@@ -508,6 +508,45 @@ module Increase
508
508
  )
509
509
  end
510
510
 
511
+ # For electronic commerce transactions, this identifies the level of security used
512
+ # in obtaining the customer's payment credential. For mail or telephone order
513
+ # transactions, identifies the type of mail or telephone order.
514
+ sig do
515
+ returns(
516
+ T.nilable(
517
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::OrSymbol
518
+ )
519
+ )
520
+ end
521
+ attr_reader :electronic_commerce_indicator
522
+
523
+ sig do
524
+ params(
525
+ electronic_commerce_indicator:
526
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::OrSymbol
527
+ ).void
528
+ end
529
+ attr_writer :electronic_commerce_indicator
530
+
531
+ # The method used to enter the cardholder's primary account number and card
532
+ # expiration date.
533
+ sig do
534
+ returns(
535
+ T.nilable(
536
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::OrSymbol
537
+ )
538
+ )
539
+ end
540
+ attr_reader :point_of_service_entry_mode
541
+
542
+ sig do
543
+ params(
544
+ point_of_service_entry_mode:
545
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::OrSymbol
546
+ ).void
547
+ end
548
+ attr_writer :point_of_service_entry_mode
549
+
511
550
  # The reason code for the stand-in processing.
512
551
  sig do
513
552
  returns(
@@ -526,30 +565,254 @@ module Increase
526
565
  end
527
566
  attr_writer :stand_in_processing_reason
528
567
 
568
+ # The capability of the terminal being used to read the card. Shows whether a
569
+ # terminal can e.g., accept chip cards or if it only supports magnetic stripe
570
+ # reads. This reflects the highest capability of the terminal — for example, a
571
+ # terminal that supports both chip and magnetic stripe will be identified as
572
+ # chip-capable.
573
+ sig do
574
+ returns(
575
+ T.nilable(
576
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::OrSymbol
577
+ )
578
+ )
579
+ end
580
+ attr_reader :terminal_entry_capability
581
+
582
+ sig do
583
+ params(
584
+ terminal_entry_capability:
585
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::OrSymbol
586
+ ).void
587
+ end
588
+ attr_writer :terminal_entry_capability
589
+
529
590
  # Fields specific to the Visa network.
530
591
  sig do
531
592
  params(
593
+ electronic_commerce_indicator:
594
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::OrSymbol,
595
+ point_of_service_entry_mode:
596
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::OrSymbol,
532
597
  stand_in_processing_reason:
533
- Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason::OrSymbol
598
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason::OrSymbol,
599
+ terminal_entry_capability:
600
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::OrSymbol
534
601
  ).returns(T.attached_class)
535
602
  end
536
603
  def self.new(
604
+ # For electronic commerce transactions, this identifies the level of security used
605
+ # in obtaining the customer's payment credential. For mail or telephone order
606
+ # transactions, identifies the type of mail or telephone order.
607
+ electronic_commerce_indicator: nil,
608
+ # The method used to enter the cardholder's primary account number and card
609
+ # expiration date.
610
+ point_of_service_entry_mode: nil,
537
611
  # The reason code for the stand-in processing.
538
- stand_in_processing_reason: nil
612
+ stand_in_processing_reason: nil,
613
+ # The capability of the terminal being used to read the card. Shows whether a
614
+ # terminal can e.g., accept chip cards or if it only supports magnetic stripe
615
+ # reads. This reflects the highest capability of the terminal — for example, a
616
+ # terminal that supports both chip and magnetic stripe will be identified as
617
+ # chip-capable.
618
+ terminal_entry_capability: nil
539
619
  )
540
620
  end
541
621
 
542
622
  sig do
543
623
  override.returns(
544
624
  {
625
+ electronic_commerce_indicator:
626
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::OrSymbol,
627
+ point_of_service_entry_mode:
628
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::OrSymbol,
545
629
  stand_in_processing_reason:
546
- Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason::OrSymbol
630
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason::OrSymbol,
631
+ terminal_entry_capability:
632
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::OrSymbol
547
633
  }
548
634
  )
549
635
  end
550
636
  def to_hash
551
637
  end
552
638
 
639
+ # For electronic commerce transactions, this identifies the level of security used
640
+ # in obtaining the customer's payment credential. For mail or telephone order
641
+ # transactions, identifies the type of mail or telephone order.
642
+ module ElectronicCommerceIndicator
643
+ extend Increase::Internal::Type::Enum
644
+
645
+ TaggedSymbol =
646
+ T.type_alias do
647
+ T.all(
648
+ Symbol,
649
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator
650
+ )
651
+ end
652
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
653
+
654
+ # Single transaction of a mail/phone order: Use to indicate that the transaction is a mail/phone order purchase, not a recurring transaction or installment payment. For domestic transactions in the US region, this value may also indicate one bill payment transaction in the card-present or card-absent environments.
655
+ MAIL_PHONE_ORDER =
656
+ T.let(
657
+ :mail_phone_order,
658
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
659
+ )
660
+
661
+ # Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
662
+ RECURRING =
663
+ T.let(
664
+ :recurring,
665
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
666
+ )
667
+
668
+ # Installment payment: Payment indicator used to indicate one purchase of goods or services that is billed to the account in multiple charges over a period of time agreed upon by the cardholder and merchant from transactions that originate from an acquirer in the US region.
669
+ INSTALLMENT =
670
+ T.let(
671
+ :installment,
672
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
673
+ )
674
+
675
+ # Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
676
+ UNKNOWN_MAIL_PHONE_ORDER =
677
+ T.let(
678
+ :unknown_mail_phone_order,
679
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
680
+ )
681
+
682
+ # Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
683
+ SECURE_ELECTRONIC_COMMERCE =
684
+ T.let(
685
+ :secure_electronic_commerce,
686
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
687
+ )
688
+
689
+ # Non-authenticated security transaction at a 3-D Secure-capable merchant, and merchant attempted to authenticate the cardholder using 3-D Secure: Use to identify an electronic commerce transaction where the merchant attempted to authenticate the cardholder using 3-D Secure, but was unable to complete the authentication because the issuer or cardholder does not participate in the 3-D Secure program.
690
+ NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT =
691
+ T.let(
692
+ :non_authenticated_security_transaction_at_3ds_capable_merchant,
693
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
694
+ )
695
+
696
+ # Non-authenticated security transaction: Use to identify an electronic commerce transaction that uses data encryption for security however, cardholder authentication is not performed using 3-D Secure.
697
+ NON_AUTHENTICATED_SECURITY_TRANSACTION =
698
+ T.let(
699
+ :non_authenticated_security_transaction,
700
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
701
+ )
702
+
703
+ # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
704
+ NON_SECURE_TRANSACTION =
705
+ T.let(
706
+ :non_secure_transaction,
707
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
708
+ )
709
+
710
+ sig do
711
+ override.returns(
712
+ T::Array[
713
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
714
+ ]
715
+ )
716
+ end
717
+ def self.values
718
+ end
719
+ end
720
+
721
+ # The method used to enter the cardholder's primary account number and card
722
+ # expiration date.
723
+ module PointOfServiceEntryMode
724
+ extend Increase::Internal::Type::Enum
725
+
726
+ TaggedSymbol =
727
+ T.type_alias do
728
+ T.all(
729
+ Symbol,
730
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode
731
+ )
732
+ end
733
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
734
+
735
+ # Unknown
736
+ UNKNOWN =
737
+ T.let(
738
+ :unknown,
739
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
740
+ )
741
+
742
+ # Manual key entry
743
+ MANUAL =
744
+ T.let(
745
+ :manual,
746
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
747
+ )
748
+
749
+ # Magnetic stripe read, without card verification value
750
+ MAGNETIC_STRIPE_NO_CVV =
751
+ T.let(
752
+ :magnetic_stripe_no_cvv,
753
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
754
+ )
755
+
756
+ # Optical code
757
+ OPTICAL_CODE =
758
+ T.let(
759
+ :optical_code,
760
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
761
+ )
762
+
763
+ # Contact chip card
764
+ INTEGRATED_CIRCUIT_CARD =
765
+ T.let(
766
+ :integrated_circuit_card,
767
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
768
+ )
769
+
770
+ # Contactless read of chip card
771
+ CONTACTLESS =
772
+ T.let(
773
+ :contactless,
774
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
775
+ )
776
+
777
+ # Transaction initiated using a credential that has previously been stored on file
778
+ CREDENTIAL_ON_FILE =
779
+ T.let(
780
+ :credential_on_file,
781
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
782
+ )
783
+
784
+ # Magnetic stripe read
785
+ MAGNETIC_STRIPE =
786
+ T.let(
787
+ :magnetic_stripe,
788
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
789
+ )
790
+
791
+ # Contactless read of magnetic stripe data
792
+ CONTACTLESS_MAGNETIC_STRIPE =
793
+ T.let(
794
+ :contactless_magnetic_stripe,
795
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
796
+ )
797
+
798
+ # Contact chip card, without card verification value
799
+ INTEGRATED_CIRCUIT_CARD_NO_CVV =
800
+ T.let(
801
+ :integrated_circuit_card_no_cvv,
802
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
803
+ )
804
+
805
+ sig do
806
+ override.returns(
807
+ T::Array[
808
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
809
+ ]
810
+ )
811
+ end
812
+ def self.values
813
+ end
814
+ end
815
+
553
816
  # The reason code for the stand-in processing.
554
817
  module StandInProcessingReason
555
818
  extend Increase::Internal::Type::Enum
@@ -629,6 +892,90 @@ module Increase
629
892
  def self.values
630
893
  end
631
894
  end
895
+
896
+ # The capability of the terminal being used to read the card. Shows whether a
897
+ # terminal can e.g., accept chip cards or if it only supports magnetic stripe
898
+ # reads. This reflects the highest capability of the terminal — for example, a
899
+ # terminal that supports both chip and magnetic stripe will be identified as
900
+ # chip-capable.
901
+ module TerminalEntryCapability
902
+ extend Increase::Internal::Type::Enum
903
+
904
+ TaggedSymbol =
905
+ T.type_alias do
906
+ T.all(
907
+ Symbol,
908
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability
909
+ )
910
+ end
911
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
912
+
913
+ # Unknown
914
+ UNKNOWN =
915
+ T.let(
916
+ :unknown,
917
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
918
+ )
919
+
920
+ # No terminal was used for this transaction.
921
+ TERMINAL_NOT_USED =
922
+ T.let(
923
+ :terminal_not_used,
924
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
925
+ )
926
+
927
+ # The terminal can only read magnetic stripes and does not have chip or contactless reading capability.
928
+ MAGNETIC_STRIPE =
929
+ T.let(
930
+ :magnetic_stripe,
931
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
932
+ )
933
+
934
+ # The terminal can only read barcodes.
935
+ BARCODE =
936
+ T.let(
937
+ :barcode,
938
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
939
+ )
940
+
941
+ # The terminal can only read cards via Optical Character Recognition.
942
+ OPTICAL_CHARACTER_RECOGNITION =
943
+ T.let(
944
+ :optical_character_recognition,
945
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
946
+ )
947
+
948
+ # The terminal supports contact chip cards and can also read the magnetic stripe. If contact chip is supported, this value is used regardless of whether contactless is also supported.
949
+ CHIP_OR_CONTACTLESS =
950
+ T.let(
951
+ :chip_or_contactless,
952
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
953
+ )
954
+
955
+ # The terminal supports contactless reads but does not support contact chip. Only used when the terminal lacks contact chip capability.
956
+ CONTACTLESS_ONLY =
957
+ T.let(
958
+ :contactless_only,
959
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
960
+ )
961
+
962
+ # The terminal has no card reading capability.
963
+ NO_CAPABILITY =
964
+ T.let(
965
+ :no_capability,
966
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
967
+ )
968
+
969
+ sig do
970
+ override.returns(
971
+ T::Array[
972
+ Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
973
+ ]
974
+ )
975
+ end
976
+ def self.values
977
+ end
978
+ end
632
979
  end
633
980
  end
634
981
 
@@ -251,24 +251,139 @@ module Increase
251
251
 
252
252
  type visa =
253
253
  {
254
- stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason
254
+ electronic_commerce_indicator: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::electronic_commerce_indicator,
255
+ point_of_service_entry_mode: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::point_of_service_entry_mode,
256
+ stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason,
257
+ terminal_entry_capability: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::terminal_entry_capability
255
258
  }
256
259
 
257
260
  class Visa < Increase::Internal::Type::BaseModel
261
+ attr_reader electronic_commerce_indicator: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::electronic_commerce_indicator?
262
+
263
+ def electronic_commerce_indicator=: (
264
+ Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::electronic_commerce_indicator
265
+ ) -> Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::electronic_commerce_indicator
266
+
267
+ attr_reader point_of_service_entry_mode: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::point_of_service_entry_mode?
268
+
269
+ def point_of_service_entry_mode=: (
270
+ Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::point_of_service_entry_mode
271
+ ) -> Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::point_of_service_entry_mode
272
+
258
273
  attr_reader stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason?
259
274
 
260
275
  def stand_in_processing_reason=: (
261
276
  Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason
262
277
  ) -> Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason
263
278
 
279
+ attr_reader terminal_entry_capability: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::terminal_entry_capability?
280
+
281
+ def terminal_entry_capability=: (
282
+ Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::terminal_entry_capability
283
+ ) -> Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::terminal_entry_capability
284
+
264
285
  def initialize: (
265
- ?stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason
286
+ ?electronic_commerce_indicator: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::electronic_commerce_indicator,
287
+ ?point_of_service_entry_mode: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::point_of_service_entry_mode,
288
+ ?stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason,
289
+ ?terminal_entry_capability: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::terminal_entry_capability
266
290
  ) -> void
267
291
 
268
292
  def to_hash: -> {
269
- stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason
293
+ electronic_commerce_indicator: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::electronic_commerce_indicator,
294
+ point_of_service_entry_mode: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::point_of_service_entry_mode,
295
+ stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason,
296
+ terminal_entry_capability: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::terminal_entry_capability
270
297
  }
271
298
 
299
+ type electronic_commerce_indicator =
300
+ :mail_phone_order
301
+ | :recurring
302
+ | :installment
303
+ | :unknown_mail_phone_order
304
+ | :secure_electronic_commerce
305
+ | :non_authenticated_security_transaction_at_3ds_capable_merchant
306
+ | :non_authenticated_security_transaction
307
+ | :non_secure_transaction
308
+
309
+ module ElectronicCommerceIndicator
310
+ extend Increase::Internal::Type::Enum
311
+
312
+ # Single transaction of a mail/phone order: Use to indicate that the transaction is a mail/phone order purchase, not a recurring transaction or installment payment. For domestic transactions in the US region, this value may also indicate one bill payment transaction in the card-present or card-absent environments.
313
+ MAIL_PHONE_ORDER: :mail_phone_order
314
+
315
+ # Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
316
+ RECURRING: :recurring
317
+
318
+ # Installment payment: Payment indicator used to indicate one purchase of goods or services that is billed to the account in multiple charges over a period of time agreed upon by the cardholder and merchant from transactions that originate from an acquirer in the US region.
319
+ INSTALLMENT: :installment
320
+
321
+ # Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
322
+ UNKNOWN_MAIL_PHONE_ORDER: :unknown_mail_phone_order
323
+
324
+ # Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
325
+ SECURE_ELECTRONIC_COMMERCE: :secure_electronic_commerce
326
+
327
+ # Non-authenticated security transaction at a 3-D Secure-capable merchant, and merchant attempted to authenticate the cardholder using 3-D Secure: Use to identify an electronic commerce transaction where the merchant attempted to authenticate the cardholder using 3-D Secure, but was unable to complete the authentication because the issuer or cardholder does not participate in the 3-D Secure program.
328
+ NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT: :non_authenticated_security_transaction_at_3ds_capable_merchant
329
+
330
+ # Non-authenticated security transaction: Use to identify an electronic commerce transaction that uses data encryption for security however, cardholder authentication is not performed using 3-D Secure.
331
+ NON_AUTHENTICATED_SECURITY_TRANSACTION: :non_authenticated_security_transaction
332
+
333
+ # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
334
+ NON_SECURE_TRANSACTION: :non_secure_transaction
335
+
336
+ def self?.values: -> ::Array[Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::electronic_commerce_indicator]
337
+ end
338
+
339
+ type point_of_service_entry_mode =
340
+ :unknown
341
+ | :manual
342
+ | :magnetic_stripe_no_cvv
343
+ | :optical_code
344
+ | :integrated_circuit_card
345
+ | :contactless
346
+ | :credential_on_file
347
+ | :magnetic_stripe
348
+ | :contactless_magnetic_stripe
349
+ | :integrated_circuit_card_no_cvv
350
+
351
+ module PointOfServiceEntryMode
352
+ extend Increase::Internal::Type::Enum
353
+
354
+ # Unknown
355
+ UNKNOWN: :unknown
356
+
357
+ # Manual key entry
358
+ MANUAL: :manual
359
+
360
+ # Magnetic stripe read, without card verification value
361
+ MAGNETIC_STRIPE_NO_CVV: :magnetic_stripe_no_cvv
362
+
363
+ # Optical code
364
+ OPTICAL_CODE: :optical_code
365
+
366
+ # Contact chip card
367
+ INTEGRATED_CIRCUIT_CARD: :integrated_circuit_card
368
+
369
+ # Contactless read of chip card
370
+ CONTACTLESS: :contactless
371
+
372
+ # Transaction initiated using a credential that has previously been stored on file
373
+ CREDENTIAL_ON_FILE: :credential_on_file
374
+
375
+ # Magnetic stripe read
376
+ MAGNETIC_STRIPE: :magnetic_stripe
377
+
378
+ # Contactless read of magnetic stripe data
379
+ CONTACTLESS_MAGNETIC_STRIPE: :contactless_magnetic_stripe
380
+
381
+ # Contact chip card, without card verification value
382
+ INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv
383
+
384
+ def self?.values: -> ::Array[Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::point_of_service_entry_mode]
385
+ end
386
+
272
387
  type stand_in_processing_reason =
273
388
  :issuer_error
274
389
  | :invalid_physical_card
@@ -308,6 +423,46 @@ module Increase
308
423
 
309
424
  def self?.values: -> ::Array[Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason]
310
425
  end
426
+
427
+ type terminal_entry_capability =
428
+ :unknown
429
+ | :terminal_not_used
430
+ | :magnetic_stripe
431
+ | :barcode
432
+ | :optical_character_recognition
433
+ | :chip_or_contactless
434
+ | :contactless_only
435
+ | :no_capability
436
+
437
+ module TerminalEntryCapability
438
+ extend Increase::Internal::Type::Enum
439
+
440
+ # Unknown
441
+ UNKNOWN: :unknown
442
+
443
+ # No terminal was used for this transaction.
444
+ TERMINAL_NOT_USED: :terminal_not_used
445
+
446
+ # The terminal can only read magnetic stripes and does not have chip or contactless reading capability.
447
+ MAGNETIC_STRIPE: :magnetic_stripe
448
+
449
+ # The terminal can only read barcodes.
450
+ BARCODE: :barcode
451
+
452
+ # The terminal can only read cards via Optical Character Recognition.
453
+ OPTICAL_CHARACTER_RECOGNITION: :optical_character_recognition
454
+
455
+ # The terminal supports contact chip cards and can also read the magnetic stripe. If contact chip is supported, this value is used regardless of whether contactless is also supported.
456
+ CHIP_OR_CONTACTLESS: :chip_or_contactless
457
+
458
+ # The terminal supports contactless reads but does not support contact chip. Only used when the terminal lacks contact chip capability.
459
+ CONTACTLESS_ONLY: :contactless_only
460
+
461
+ # The terminal has no card reading capability.
462
+ NO_CAPABILITY: :no_capability
463
+
464
+ def self?.values: -> ::Array[Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::terminal_entry_capability]
465
+ end
311
466
  end
312
467
  end
313
468
 
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.336.0
4
+ version: 1.337.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-06-18 00:00:00.000000000 Z
11
+ date: 2026-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi