increase 1.335.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 +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/lib/increase/models/ach_prenotification.rb +3 -3
- data/lib/increase/models/balance_lookup.rb +31 -1
- data/lib/increase/models/event.rb +6 -0
- data/lib/increase/models/event_list_params.rb +6 -0
- data/lib/increase/models/event_subscription.rb +6 -3
- data/lib/increase/models/event_subscription_create_params.rb +6 -0
- data/lib/increase/models/simulations/card_authorization_create_params.rb +155 -1
- data/lib/increase/models/unwrap_webhook_event.rb +6 -0
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification.rbi +7 -7
- data/rbi/increase/models/balance_lookup.rbi +61 -3
- data/rbi/increase/models/event.rbi +14 -0
- data/rbi/increase/models/event_list_params.rbi +14 -0
- data/rbi/increase/models/event_subscription.rbi +14 -7
- data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +350 -3
- data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
- data/sig/increase/models/ach_prenotification.rbs +4 -4
- data/sig/increase/models/balance_lookup.rbs +31 -3
- data/sig/increase/models/event.rbs +8 -0
- data/sig/increase/models/event_list_params.rbs +8 -0
- data/sig/increase/models/event_subscription.rbs +9 -4
- data/sig/increase/models/event_subscription_create_params.rbs +8 -0
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +158 -3
- data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
- metadata +2 -2
|
@@ -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
|
|
|
@@ -594,6 +594,13 @@ module Increase
|
|
|
594
594
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
595
595
|
)
|
|
596
596
|
|
|
597
|
+
# Occurs whenever a Loan Distribution is created.
|
|
598
|
+
LOAN_DISTRIBUTION_CREATED =
|
|
599
|
+
T.let(
|
|
600
|
+
:"loan_distribution.created",
|
|
601
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
602
|
+
)
|
|
603
|
+
|
|
597
604
|
# Occurs whenever a Loan Offer is created.
|
|
598
605
|
LOAN_OFFER_CREATED =
|
|
599
606
|
T.let(
|
|
@@ -608,6 +615,13 @@ module Increase
|
|
|
608
615
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
609
616
|
)
|
|
610
617
|
|
|
618
|
+
# Occurs whenever a Loan Purchase is created.
|
|
619
|
+
LOAN_PURCHASE_CREATED =
|
|
620
|
+
T.let(
|
|
621
|
+
:"loan_purchase.created",
|
|
622
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
623
|
+
)
|
|
624
|
+
|
|
611
625
|
# Occurs whenever a Lockbox is created.
|
|
612
626
|
LOCKBOX_CREATED =
|
|
613
627
|
T.let(
|
|
@@ -607,7 +607,7 @@ module Increase
|
|
|
607
607
|
end
|
|
608
608
|
|
|
609
609
|
type status =
|
|
610
|
-
:pending_submitting | :
|
|
610
|
+
:pending_submitting | :returned | :submitted | :requires_attention
|
|
611
611
|
|
|
612
612
|
module Status
|
|
613
613
|
extend Increase::Internal::Type::Enum
|
|
@@ -615,15 +615,15 @@ module Increase
|
|
|
615
615
|
# The Prenotification is pending submission.
|
|
616
616
|
PENDING_SUBMITTING: :pending_submitting
|
|
617
617
|
|
|
618
|
-
# The Prenotification requires attention.
|
|
619
|
-
REQUIRES_ATTENTION: :requires_attention
|
|
620
|
-
|
|
621
618
|
# The Prenotification has been returned.
|
|
622
619
|
RETURNED: :returned
|
|
623
620
|
|
|
624
621
|
# The Prenotification is complete.
|
|
625
622
|
SUBMITTED: :submitted
|
|
626
623
|
|
|
624
|
+
# The Prenotification requires attention.
|
|
625
|
+
REQUIRES_ATTENTION: :requires_attention
|
|
626
|
+
|
|
627
627
|
def self?.values: -> ::Array[Increase::Models::ACHPrenotification::status]
|
|
628
628
|
end
|
|
629
629
|
|
|
@@ -37,7 +37,12 @@ module Increase
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
type loan =
|
|
40
|
-
{
|
|
40
|
+
{
|
|
41
|
+
due_at: Time?,
|
|
42
|
+
due_balance: Integer,
|
|
43
|
+
past_due_balance: Integer,
|
|
44
|
+
receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
45
|
+
}
|
|
41
46
|
|
|
42
47
|
class Loan < Increase::Internal::Type::BaseModel
|
|
43
48
|
attr_accessor due_at: Time?
|
|
@@ -46,17 +51,40 @@ module Increase
|
|
|
46
51
|
|
|
47
52
|
attr_accessor past_due_balance: Integer
|
|
48
53
|
|
|
54
|
+
attr_accessor receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
55
|
+
|
|
49
56
|
def initialize: (
|
|
50
57
|
due_at: Time?,
|
|
51
58
|
due_balance: Integer,
|
|
52
|
-
past_due_balance: Integer
|
|
59
|
+
past_due_balance: Integer,
|
|
60
|
+
receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
53
61
|
) -> void
|
|
54
62
|
|
|
55
63
|
def to_hash: -> {
|
|
56
64
|
due_at: Time?,
|
|
57
65
|
due_balance: Integer,
|
|
58
|
-
past_due_balance: Integer
|
|
66
|
+
past_due_balance: Integer,
|
|
67
|
+
receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
59
68
|
}
|
|
69
|
+
|
|
70
|
+
type receivables =
|
|
71
|
+
{ purchasable_balance: Integer, purchased_balance: Integer }
|
|
72
|
+
|
|
73
|
+
class Receivables < Increase::Internal::Type::BaseModel
|
|
74
|
+
attr_accessor purchasable_balance: Integer
|
|
75
|
+
|
|
76
|
+
attr_accessor purchased_balance: Integer
|
|
77
|
+
|
|
78
|
+
def initialize: (
|
|
79
|
+
purchasable_balance: Integer,
|
|
80
|
+
purchased_balance: Integer
|
|
81
|
+
) -> void
|
|
82
|
+
|
|
83
|
+
def to_hash: -> {
|
|
84
|
+
purchasable_balance: Integer,
|
|
85
|
+
purchased_balance: Integer
|
|
86
|
+
}
|
|
87
|
+
end
|
|
60
88
|
end
|
|
61
89
|
|
|
62
90
|
type type_ = :balance_lookup
|
|
@@ -114,8 +114,10 @@ module Increase
|
|
|
114
114
|
| :"intrafi_exclusion.updated"
|
|
115
115
|
| :"loan_application.created"
|
|
116
116
|
| :"loan_application.updated"
|
|
117
|
+
| :"loan_distribution.created"
|
|
117
118
|
| :"loan_offer.created"
|
|
118
119
|
| :"loan_offer.updated"
|
|
120
|
+
| :"loan_purchase.created"
|
|
119
121
|
| :"lockbox.created"
|
|
120
122
|
| :"lockbox.updated"
|
|
121
123
|
| :"oauth_connection.created"
|
|
@@ -373,12 +375,18 @@ module Increase
|
|
|
373
375
|
# Occurs whenever a Loan Application is updated.
|
|
374
376
|
LOAN_APPLICATION_UPDATED: :"loan_application.updated"
|
|
375
377
|
|
|
378
|
+
# Occurs whenever a Loan Distribution is created.
|
|
379
|
+
LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
|
|
380
|
+
|
|
376
381
|
# Occurs whenever a Loan Offer is created.
|
|
377
382
|
LOAN_OFFER_CREATED: :"loan_offer.created"
|
|
378
383
|
|
|
379
384
|
# Occurs whenever a Loan Offer is updated.
|
|
380
385
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
381
386
|
|
|
387
|
+
# Occurs whenever a Loan Purchase is created.
|
|
388
|
+
LOAN_PURCHASE_CREATED: :"loan_purchase.created"
|
|
389
|
+
|
|
382
390
|
# Occurs whenever a Lockbox is created.
|
|
383
391
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
384
392
|
|
|
@@ -156,8 +156,10 @@ module Increase
|
|
|
156
156
|
| :"intrafi_exclusion.updated"
|
|
157
157
|
| :"loan_application.created"
|
|
158
158
|
| :"loan_application.updated"
|
|
159
|
+
| :"loan_distribution.created"
|
|
159
160
|
| :"loan_offer.created"
|
|
160
161
|
| :"loan_offer.updated"
|
|
162
|
+
| :"loan_purchase.created"
|
|
161
163
|
| :"lockbox.created"
|
|
162
164
|
| :"lockbox.updated"
|
|
163
165
|
| :"oauth_connection.created"
|
|
@@ -415,12 +417,18 @@ module Increase
|
|
|
415
417
|
# Occurs whenever a Loan Application is updated.
|
|
416
418
|
LOAN_APPLICATION_UPDATED: :"loan_application.updated"
|
|
417
419
|
|
|
420
|
+
# Occurs whenever a Loan Distribution is created.
|
|
421
|
+
LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
|
|
422
|
+
|
|
418
423
|
# Occurs whenever a Loan Offer is created.
|
|
419
424
|
LOAN_OFFER_CREATED: :"loan_offer.created"
|
|
420
425
|
|
|
421
426
|
# Occurs whenever a Loan Offer is updated.
|
|
422
427
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
423
428
|
|
|
429
|
+
# Occurs whenever a Loan Purchase is created.
|
|
430
|
+
LOAN_PURCHASE_CREATED: :"loan_purchase.created"
|
|
431
|
+
|
|
424
432
|
# Occurs whenever a Lockbox is created.
|
|
425
433
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
426
434
|
|
|
@@ -140,8 +140,10 @@ module Increase
|
|
|
140
140
|
| :"intrafi_exclusion.updated"
|
|
141
141
|
| :"loan_application.created"
|
|
142
142
|
| :"loan_application.updated"
|
|
143
|
+
| :"loan_distribution.created"
|
|
143
144
|
| :"loan_offer.created"
|
|
144
145
|
| :"loan_offer.updated"
|
|
146
|
+
| :"loan_purchase.created"
|
|
145
147
|
| :"lockbox.created"
|
|
146
148
|
| :"lockbox.updated"
|
|
147
149
|
| :"oauth_connection.created"
|
|
@@ -399,12 +401,18 @@ module Increase
|
|
|
399
401
|
# Occurs whenever a Loan Application is updated.
|
|
400
402
|
LOAN_APPLICATION_UPDATED: :"loan_application.updated"
|
|
401
403
|
|
|
404
|
+
# Occurs whenever a Loan Distribution is created.
|
|
405
|
+
LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
|
|
406
|
+
|
|
402
407
|
# Occurs whenever a Loan Offer is created.
|
|
403
408
|
LOAN_OFFER_CREATED: :"loan_offer.created"
|
|
404
409
|
|
|
405
410
|
# Occurs whenever a Loan Offer is updated.
|
|
406
411
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
407
412
|
|
|
413
|
+
# Occurs whenever a Loan Purchase is created.
|
|
414
|
+
LOAN_PURCHASE_CREATED: :"loan_purchase.created"
|
|
415
|
+
|
|
408
416
|
# Occurs whenever a Lockbox is created.
|
|
409
417
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
410
418
|
|
|
@@ -520,7 +528,7 @@ module Increase
|
|
|
520
528
|
end
|
|
521
529
|
end
|
|
522
530
|
|
|
523
|
-
type status = :active | :disabled | :deleted
|
|
531
|
+
type status = :active | :disabled | :deleted
|
|
524
532
|
|
|
525
533
|
module Status
|
|
526
534
|
extend Increase::Internal::Type::Enum
|
|
@@ -534,9 +542,6 @@ module Increase
|
|
|
534
542
|
# The subscription is permanently disabled and Events will not be delivered.
|
|
535
543
|
DELETED: :deleted
|
|
536
544
|
|
|
537
|
-
# The subscription is temporarily disabled due to delivery errors and Events will not be delivered.
|
|
538
|
-
REQUIRES_ATTENTION: :requires_attention
|
|
539
|
-
|
|
540
545
|
def self?.values: -> ::Array[Increase::Models::EventSubscription::status]
|
|
541
546
|
end
|
|
542
547
|
|
|
@@ -143,8 +143,10 @@ module Increase
|
|
|
143
143
|
| :"intrafi_exclusion.updated"
|
|
144
144
|
| :"loan_application.created"
|
|
145
145
|
| :"loan_application.updated"
|
|
146
|
+
| :"loan_distribution.created"
|
|
146
147
|
| :"loan_offer.created"
|
|
147
148
|
| :"loan_offer.updated"
|
|
149
|
+
| :"loan_purchase.created"
|
|
148
150
|
| :"lockbox.created"
|
|
149
151
|
| :"lockbox.updated"
|
|
150
152
|
| :"oauth_connection.created"
|
|
@@ -402,12 +404,18 @@ module Increase
|
|
|
402
404
|
# Occurs whenever a Loan Application is updated.
|
|
403
405
|
LOAN_APPLICATION_UPDATED: :"loan_application.updated"
|
|
404
406
|
|
|
407
|
+
# Occurs whenever a Loan Distribution is created.
|
|
408
|
+
LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
|
|
409
|
+
|
|
405
410
|
# Occurs whenever a Loan Offer is created.
|
|
406
411
|
LOAN_OFFER_CREATED: :"loan_offer.created"
|
|
407
412
|
|
|
408
413
|
# Occurs whenever a Loan Offer is updated.
|
|
409
414
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
410
415
|
|
|
416
|
+
# Occurs whenever a Loan Purchase is created.
|
|
417
|
+
LOAN_PURCHASE_CREATED: :"loan_purchase.created"
|
|
418
|
+
|
|
411
419
|
# Occurs whenever a Lockbox is created.
|
|
412
420
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
413
421
|
|