increase 1.157.0 → 1.158.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +1313 -255
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +2275 -244
- data/sig/increase/models/card_payment.rbs +940 -254
- metadata +1 -1
|
@@ -61,6 +61,7 @@ module Increase
|
|
|
61
61
|
card_authentication: Increase::CardPayment::Element::CardAuthentication?,
|
|
62
62
|
card_authorization: Increase::CardPayment::Element::CardAuthorization?,
|
|
63
63
|
card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
|
|
64
|
+
card_balance_inquiry: Increase::CardPayment::Element::CardBalanceInquiry?,
|
|
64
65
|
card_decline: Increase::CardPayment::Element::CardDecline?,
|
|
65
66
|
card_financial: Increase::CardPayment::Element::CardFinancial?,
|
|
66
67
|
card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?,
|
|
@@ -81,6 +82,8 @@ module Increase
|
|
|
81
82
|
|
|
82
83
|
attr_accessor card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?
|
|
83
84
|
|
|
85
|
+
attr_accessor card_balance_inquiry: Increase::CardPayment::Element::CardBalanceInquiry?
|
|
86
|
+
|
|
84
87
|
attr_accessor card_decline: Increase::CardPayment::Element::CardDecline?
|
|
85
88
|
|
|
86
89
|
attr_accessor card_financial: Increase::CardPayment::Element::CardFinancial?
|
|
@@ -107,6 +110,7 @@ module Increase
|
|
|
107
110
|
card_authentication: Increase::CardPayment::Element::CardAuthentication?,
|
|
108
111
|
card_authorization: Increase::CardPayment::Element::CardAuthorization?,
|
|
109
112
|
card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
|
|
113
|
+
card_balance_inquiry: Increase::CardPayment::Element::CardBalanceInquiry?,
|
|
110
114
|
card_decline: Increase::CardPayment::Element::CardDecline?,
|
|
111
115
|
card_financial: Increase::CardPayment::Element::CardFinancial?,
|
|
112
116
|
card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?,
|
|
@@ -124,6 +128,7 @@ module Increase
|
|
|
124
128
|
card_authentication: Increase::CardPayment::Element::CardAuthentication?,
|
|
125
129
|
card_authorization: Increase::CardPayment::Element::CardAuthorization?,
|
|
126
130
|
card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
|
|
131
|
+
card_balance_inquiry: Increase::CardPayment::Element::CardBalanceInquiry?,
|
|
127
132
|
card_decline: Increase::CardPayment::Element::CardDecline?,
|
|
128
133
|
card_financial: Increase::CardPayment::Element::CardFinancial?,
|
|
129
134
|
card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?,
|
|
@@ -578,96 +583,912 @@ module Increase
|
|
|
578
583
|
merchant_descriptor: String,
|
|
579
584
|
merchant_postal_code: String?,
|
|
580
585
|
merchant_state: String?,
|
|
581
|
-
network_details: Increase::CardPayment::Element::CardAuthorization::NetworkDetails,
|
|
582
|
-
network_identifiers: Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers,
|
|
586
|
+
network_details: Increase::CardPayment::Element::CardAuthorization::NetworkDetails,
|
|
587
|
+
network_identifiers: Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers,
|
|
588
|
+
network_risk_score: Integer?,
|
|
589
|
+
pending_transaction_id: String?,
|
|
590
|
+
physical_card_id: String?,
|
|
591
|
+
presentment_amount: Integer,
|
|
592
|
+
presentment_currency: String,
|
|
593
|
+
processing_category: Increase::Models::CardPayment::Element::CardAuthorization::processing_category,
|
|
594
|
+
real_time_decision_id: String?,
|
|
595
|
+
terminal_id: String?,
|
|
596
|
+
type: Increase::Models::CardPayment::Element::CardAuthorization::type_,
|
|
597
|
+
verification: Increase::CardPayment::Element::CardAuthorization::Verification
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
type actioner = :user | :increase | :network
|
|
601
|
+
|
|
602
|
+
module Actioner
|
|
603
|
+
extend Increase::Internal::Type::Enum
|
|
604
|
+
|
|
605
|
+
# This object was actioned by the user through a real-time decision.
|
|
606
|
+
USER: :user
|
|
607
|
+
|
|
608
|
+
# This object was actioned by Increase without user intervention.
|
|
609
|
+
INCREASE: :increase
|
|
610
|
+
|
|
611
|
+
# This object was actioned by the network, through stand-in processing.
|
|
612
|
+
NETWORK: :network
|
|
613
|
+
|
|
614
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::actioner]
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
type additional_amounts =
|
|
618
|
+
{
|
|
619
|
+
clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?,
|
|
620
|
+
dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?,
|
|
621
|
+
original: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original?,
|
|
622
|
+
prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?,
|
|
623
|
+
surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?,
|
|
624
|
+
total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?,
|
|
625
|
+
total_healthcare: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalHealthcare?,
|
|
626
|
+
transit: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Transit?,
|
|
627
|
+
unknown: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Unknown?,
|
|
628
|
+
vision: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Vision?
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
class AdditionalAmounts < Increase::Internal::Type::BaseModel
|
|
632
|
+
attr_accessor clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?
|
|
633
|
+
|
|
634
|
+
attr_accessor dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?
|
|
635
|
+
|
|
636
|
+
attr_accessor original: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original?
|
|
637
|
+
|
|
638
|
+
attr_accessor prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?
|
|
639
|
+
|
|
640
|
+
attr_accessor surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?
|
|
641
|
+
|
|
642
|
+
attr_accessor total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?
|
|
643
|
+
|
|
644
|
+
attr_accessor total_healthcare: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalHealthcare?
|
|
645
|
+
|
|
646
|
+
attr_accessor transit: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Transit?
|
|
647
|
+
|
|
648
|
+
attr_accessor unknown: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Unknown?
|
|
649
|
+
|
|
650
|
+
attr_accessor vision: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Vision?
|
|
651
|
+
|
|
652
|
+
def initialize: (
|
|
653
|
+
clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?,
|
|
654
|
+
dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?,
|
|
655
|
+
original: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original?,
|
|
656
|
+
prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?,
|
|
657
|
+
surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?,
|
|
658
|
+
total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?,
|
|
659
|
+
total_healthcare: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalHealthcare?,
|
|
660
|
+
transit: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Transit?,
|
|
661
|
+
unknown: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Unknown?,
|
|
662
|
+
vision: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Vision?
|
|
663
|
+
) -> void
|
|
664
|
+
|
|
665
|
+
def to_hash: -> {
|
|
666
|
+
clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?,
|
|
667
|
+
dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?,
|
|
668
|
+
original: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original?,
|
|
669
|
+
prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?,
|
|
670
|
+
surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?,
|
|
671
|
+
total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?,
|
|
672
|
+
total_healthcare: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalHealthcare?,
|
|
673
|
+
transit: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Transit?,
|
|
674
|
+
unknown: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Unknown?,
|
|
675
|
+
vision: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Vision?
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
type clinic = { amount: Integer, currency: String }
|
|
679
|
+
|
|
680
|
+
class Clinic < Increase::Internal::Type::BaseModel
|
|
681
|
+
attr_accessor amount: Integer
|
|
682
|
+
|
|
683
|
+
attr_accessor currency: String
|
|
684
|
+
|
|
685
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
686
|
+
|
|
687
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
688
|
+
end
|
|
689
|
+
|
|
690
|
+
type dental = { amount: Integer, currency: String }
|
|
691
|
+
|
|
692
|
+
class Dental < Increase::Internal::Type::BaseModel
|
|
693
|
+
attr_accessor amount: Integer
|
|
694
|
+
|
|
695
|
+
attr_accessor currency: String
|
|
696
|
+
|
|
697
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
698
|
+
|
|
699
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
type original = { amount: Integer, currency: String }
|
|
703
|
+
|
|
704
|
+
class Original < Increase::Internal::Type::BaseModel
|
|
705
|
+
attr_accessor amount: Integer
|
|
706
|
+
|
|
707
|
+
attr_accessor currency: String
|
|
708
|
+
|
|
709
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
710
|
+
|
|
711
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
712
|
+
end
|
|
713
|
+
|
|
714
|
+
type prescription = { amount: Integer, currency: String }
|
|
715
|
+
|
|
716
|
+
class Prescription < Increase::Internal::Type::BaseModel
|
|
717
|
+
attr_accessor amount: Integer
|
|
718
|
+
|
|
719
|
+
attr_accessor currency: String
|
|
720
|
+
|
|
721
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
722
|
+
|
|
723
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
724
|
+
end
|
|
725
|
+
|
|
726
|
+
type surcharge = { amount: Integer, currency: String }
|
|
727
|
+
|
|
728
|
+
class Surcharge < Increase::Internal::Type::BaseModel
|
|
729
|
+
attr_accessor amount: Integer
|
|
730
|
+
|
|
731
|
+
attr_accessor currency: String
|
|
732
|
+
|
|
733
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
734
|
+
|
|
735
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
736
|
+
end
|
|
737
|
+
|
|
738
|
+
type total_cumulative = { amount: Integer, currency: String }
|
|
739
|
+
|
|
740
|
+
class TotalCumulative < Increase::Internal::Type::BaseModel
|
|
741
|
+
attr_accessor amount: Integer
|
|
742
|
+
|
|
743
|
+
attr_accessor currency: String
|
|
744
|
+
|
|
745
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
746
|
+
|
|
747
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
748
|
+
end
|
|
749
|
+
|
|
750
|
+
type total_healthcare = { amount: Integer, currency: String }
|
|
751
|
+
|
|
752
|
+
class TotalHealthcare < Increase::Internal::Type::BaseModel
|
|
753
|
+
attr_accessor amount: Integer
|
|
754
|
+
|
|
755
|
+
attr_accessor currency: String
|
|
756
|
+
|
|
757
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
758
|
+
|
|
759
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
760
|
+
end
|
|
761
|
+
|
|
762
|
+
type transit = { amount: Integer, currency: String }
|
|
763
|
+
|
|
764
|
+
class Transit < Increase::Internal::Type::BaseModel
|
|
765
|
+
attr_accessor amount: Integer
|
|
766
|
+
|
|
767
|
+
attr_accessor currency: String
|
|
768
|
+
|
|
769
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
770
|
+
|
|
771
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
type unknown = { amount: Integer, currency: String }
|
|
775
|
+
|
|
776
|
+
class Unknown < Increase::Internal::Type::BaseModel
|
|
777
|
+
attr_accessor amount: Integer
|
|
778
|
+
|
|
779
|
+
attr_accessor currency: String
|
|
780
|
+
|
|
781
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
782
|
+
|
|
783
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
784
|
+
end
|
|
785
|
+
|
|
786
|
+
type vision = { amount: Integer, currency: String }
|
|
787
|
+
|
|
788
|
+
class Vision < Increase::Internal::Type::BaseModel
|
|
789
|
+
attr_accessor amount: Integer
|
|
790
|
+
|
|
791
|
+
attr_accessor currency: String
|
|
792
|
+
|
|
793
|
+
def initialize: (amount: Integer, currency: String) -> void
|
|
794
|
+
|
|
795
|
+
def to_hash: -> { amount: Integer, currency: String }
|
|
796
|
+
end
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
type currency = :USD
|
|
800
|
+
|
|
801
|
+
module Currency
|
|
802
|
+
extend Increase::Internal::Type::Enum
|
|
803
|
+
|
|
804
|
+
# US Dollar (USD)
|
|
805
|
+
USD: :USD
|
|
806
|
+
|
|
807
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::currency]
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
type direction = :settlement | :refund
|
|
811
|
+
|
|
812
|
+
module Direction
|
|
813
|
+
extend Increase::Internal::Type::Enum
|
|
814
|
+
|
|
815
|
+
# A regular card authorization where funds are debited from the cardholder.
|
|
816
|
+
SETTLEMENT: :settlement
|
|
817
|
+
|
|
818
|
+
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
|
819
|
+
REFUND: :refund
|
|
820
|
+
|
|
821
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::direction]
|
|
822
|
+
end
|
|
823
|
+
|
|
824
|
+
type network_details =
|
|
825
|
+
{
|
|
826
|
+
category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category,
|
|
827
|
+
pulse: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse?,
|
|
828
|
+
visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa?
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
class NetworkDetails < Increase::Internal::Type::BaseModel
|
|
832
|
+
attr_accessor category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category
|
|
833
|
+
|
|
834
|
+
attr_accessor pulse: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse?
|
|
835
|
+
|
|
836
|
+
attr_accessor visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa?
|
|
837
|
+
|
|
838
|
+
def initialize: (
|
|
839
|
+
category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category,
|
|
840
|
+
pulse: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse?,
|
|
841
|
+
visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa?
|
|
842
|
+
) -> void
|
|
843
|
+
|
|
844
|
+
def to_hash: -> {
|
|
845
|
+
category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category,
|
|
846
|
+
pulse: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse?,
|
|
847
|
+
visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa?
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
type category = :visa | :pulse
|
|
851
|
+
|
|
852
|
+
module Category
|
|
853
|
+
extend Increase::Internal::Type::Enum
|
|
854
|
+
|
|
855
|
+
# Visa
|
|
856
|
+
VISA: :visa
|
|
857
|
+
|
|
858
|
+
# Pulse
|
|
859
|
+
PULSE: :pulse
|
|
860
|
+
|
|
861
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category]
|
|
862
|
+
end
|
|
863
|
+
|
|
864
|
+
type pulse = { }
|
|
865
|
+
|
|
866
|
+
class Pulse < Increase::Internal::Type::BaseModel
|
|
867
|
+
def initialize: -> void
|
|
868
|
+
|
|
869
|
+
def to_hash: -> { }
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
type visa =
|
|
873
|
+
{
|
|
874
|
+
electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?,
|
|
875
|
+
point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?,
|
|
876
|
+
stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
class Visa < Increase::Internal::Type::BaseModel
|
|
880
|
+
attr_accessor electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?
|
|
881
|
+
|
|
882
|
+
attr_accessor point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?
|
|
883
|
+
|
|
884
|
+
attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?
|
|
885
|
+
|
|
886
|
+
def initialize: (
|
|
887
|
+
electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?,
|
|
888
|
+
point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?,
|
|
889
|
+
stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?
|
|
890
|
+
) -> void
|
|
891
|
+
|
|
892
|
+
def to_hash: -> {
|
|
893
|
+
electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?,
|
|
894
|
+
point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?,
|
|
895
|
+
stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
type electronic_commerce_indicator =
|
|
899
|
+
:mail_phone_order
|
|
900
|
+
| :recurring
|
|
901
|
+
| :installment
|
|
902
|
+
| :unknown_mail_phone_order
|
|
903
|
+
| :secure_electronic_commerce
|
|
904
|
+
| :non_authenticated_security_transaction_at_3ds_capable_merchant
|
|
905
|
+
| :non_authenticated_security_transaction
|
|
906
|
+
| :non_secure_transaction
|
|
907
|
+
|
|
908
|
+
module ElectronicCommerceIndicator
|
|
909
|
+
extend Increase::Internal::Type::Enum
|
|
910
|
+
|
|
911
|
+
# 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.
|
|
912
|
+
MAIL_PHONE_ORDER: :mail_phone_order
|
|
913
|
+
|
|
914
|
+
# Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
|
|
915
|
+
RECURRING: :recurring
|
|
916
|
+
|
|
917
|
+
# 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.
|
|
918
|
+
INSTALLMENT: :installment
|
|
919
|
+
|
|
920
|
+
# Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
|
|
921
|
+
UNKNOWN_MAIL_PHONE_ORDER: :unknown_mail_phone_order
|
|
922
|
+
|
|
923
|
+
# Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
|
|
924
|
+
SECURE_ELECTRONIC_COMMERCE: :secure_electronic_commerce
|
|
925
|
+
|
|
926
|
+
# 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.
|
|
927
|
+
NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT: :non_authenticated_security_transaction_at_3ds_capable_merchant
|
|
928
|
+
|
|
929
|
+
# 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.
|
|
930
|
+
NON_AUTHENTICATED_SECURITY_TRANSACTION: :non_authenticated_security_transaction
|
|
931
|
+
|
|
932
|
+
# Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
|
|
933
|
+
NON_SECURE_TRANSACTION: :non_secure_transaction
|
|
934
|
+
|
|
935
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator]
|
|
936
|
+
end
|
|
937
|
+
|
|
938
|
+
type point_of_service_entry_mode =
|
|
939
|
+
:unknown
|
|
940
|
+
| :manual
|
|
941
|
+
| :magnetic_stripe_no_cvv
|
|
942
|
+
| :optical_code
|
|
943
|
+
| :integrated_circuit_card
|
|
944
|
+
| :contactless
|
|
945
|
+
| :credential_on_file
|
|
946
|
+
| :magnetic_stripe
|
|
947
|
+
| :contactless_magnetic_stripe
|
|
948
|
+
| :integrated_circuit_card_no_cvv
|
|
949
|
+
|
|
950
|
+
module PointOfServiceEntryMode
|
|
951
|
+
extend Increase::Internal::Type::Enum
|
|
952
|
+
|
|
953
|
+
# Unknown
|
|
954
|
+
UNKNOWN: :unknown
|
|
955
|
+
|
|
956
|
+
# Manual key entry
|
|
957
|
+
MANUAL: :manual
|
|
958
|
+
|
|
959
|
+
# Magnetic stripe read, without card verification value
|
|
960
|
+
MAGNETIC_STRIPE_NO_CVV: :magnetic_stripe_no_cvv
|
|
961
|
+
|
|
962
|
+
# Optical code
|
|
963
|
+
OPTICAL_CODE: :optical_code
|
|
964
|
+
|
|
965
|
+
# Contact chip card
|
|
966
|
+
INTEGRATED_CIRCUIT_CARD: :integrated_circuit_card
|
|
967
|
+
|
|
968
|
+
# Contactless read of chip card
|
|
969
|
+
CONTACTLESS: :contactless
|
|
970
|
+
|
|
971
|
+
# Transaction initiated using a credential that has previously been stored on file
|
|
972
|
+
CREDENTIAL_ON_FILE: :credential_on_file
|
|
973
|
+
|
|
974
|
+
# Magnetic stripe read
|
|
975
|
+
MAGNETIC_STRIPE: :magnetic_stripe
|
|
976
|
+
|
|
977
|
+
# Contactless read of magnetic stripe data
|
|
978
|
+
CONTACTLESS_MAGNETIC_STRIPE: :contactless_magnetic_stripe
|
|
979
|
+
|
|
980
|
+
# Contact chip card, without card verification value
|
|
981
|
+
INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv
|
|
982
|
+
|
|
983
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode]
|
|
984
|
+
end
|
|
985
|
+
|
|
986
|
+
type stand_in_processing_reason =
|
|
987
|
+
:issuer_error
|
|
988
|
+
| :invalid_physical_card
|
|
989
|
+
| :invalid_cardholder_authentication_verification_value
|
|
990
|
+
| :internal_visa_error
|
|
991
|
+
| :merchant_transaction_advisory_service_authentication_required
|
|
992
|
+
| :payment_fraud_disruption_acquirer_block
|
|
993
|
+
| :other
|
|
994
|
+
|
|
995
|
+
module StandInProcessingReason
|
|
996
|
+
extend Increase::Internal::Type::Enum
|
|
997
|
+
|
|
998
|
+
# Increase failed to process the authorization in a timely manner.
|
|
999
|
+
ISSUER_ERROR: :issuer_error
|
|
1000
|
+
|
|
1001
|
+
# The physical card read had an invalid CVV, dCVV, or authorization request cryptogram.
|
|
1002
|
+
INVALID_PHYSICAL_CARD: :invalid_physical_card
|
|
1003
|
+
|
|
1004
|
+
# The 3DS cardholder authentication verification value was invalid.
|
|
1005
|
+
INVALID_CARDHOLDER_AUTHENTICATION_VERIFICATION_VALUE: :invalid_cardholder_authentication_verification_value
|
|
1006
|
+
|
|
1007
|
+
# An internal Visa error occurred. Visa uses this reason code for certain expected occurrences as well, such as Application Transaction Counter (ATC) replays.
|
|
1008
|
+
INTERNAL_VISA_ERROR: :internal_visa_error
|
|
1009
|
+
|
|
1010
|
+
# The merchant has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier.
|
|
1011
|
+
MERCHANT_TRANSACTION_ADVISORY_SERVICE_AUTHENTICATION_REQUIRED: :merchant_transaction_advisory_service_authentication_required
|
|
1012
|
+
|
|
1013
|
+
# The transaction was blocked by Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, such as card testing.
|
|
1014
|
+
PAYMENT_FRAUD_DISRUPTION_ACQUIRER_BLOCK: :payment_fraud_disruption_acquirer_block
|
|
1015
|
+
|
|
1016
|
+
# An unspecific reason for stand-in processing.
|
|
1017
|
+
OTHER: :other
|
|
1018
|
+
|
|
1019
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason]
|
|
1020
|
+
end
|
|
1021
|
+
end
|
|
1022
|
+
end
|
|
1023
|
+
|
|
1024
|
+
type network_identifiers =
|
|
1025
|
+
{
|
|
1026
|
+
authorization_identification_response: String?,
|
|
1027
|
+
retrieval_reference_number: String?,
|
|
1028
|
+
trace_number: String?,
|
|
1029
|
+
transaction_id: String?
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
|
|
1033
|
+
attr_accessor authorization_identification_response: String?
|
|
1034
|
+
|
|
1035
|
+
attr_accessor retrieval_reference_number: String?
|
|
1036
|
+
|
|
1037
|
+
attr_accessor trace_number: String?
|
|
1038
|
+
|
|
1039
|
+
attr_accessor transaction_id: String?
|
|
1040
|
+
|
|
1041
|
+
def initialize: (
|
|
1042
|
+
authorization_identification_response: String?,
|
|
1043
|
+
retrieval_reference_number: String?,
|
|
1044
|
+
trace_number: String?,
|
|
1045
|
+
transaction_id: String?
|
|
1046
|
+
) -> void
|
|
1047
|
+
|
|
1048
|
+
def to_hash: -> {
|
|
1049
|
+
authorization_identification_response: String?,
|
|
1050
|
+
retrieval_reference_number: String?,
|
|
1051
|
+
trace_number: String?,
|
|
1052
|
+
transaction_id: String?
|
|
1053
|
+
}
|
|
1054
|
+
end
|
|
1055
|
+
|
|
1056
|
+
type processing_category =
|
|
1057
|
+
:account_funding
|
|
1058
|
+
| :automatic_fuel_dispenser
|
|
1059
|
+
| :bill_payment
|
|
1060
|
+
| :original_credit
|
|
1061
|
+
| :purchase
|
|
1062
|
+
| :quasi_cash
|
|
1063
|
+
| :refund
|
|
1064
|
+
| :cash_disbursement
|
|
1065
|
+
| :balance_inquiry
|
|
1066
|
+
| :unknown
|
|
1067
|
+
|
|
1068
|
+
module ProcessingCategory
|
|
1069
|
+
extend Increase::Internal::Type::Enum
|
|
1070
|
+
|
|
1071
|
+
# Account funding transactions are transactions used to e.g., fund an account or transfer funds between accounts.
|
|
1072
|
+
ACCOUNT_FUNDING: :account_funding
|
|
1073
|
+
|
|
1074
|
+
# Automatic fuel dispenser authorizations occur when a card is used at a gas pump, prior to the actual transaction amount being known. They are followed by an advice message that updates the amount of the pending transaction.
|
|
1075
|
+
AUTOMATIC_FUEL_DISPENSER: :automatic_fuel_dispenser
|
|
1076
|
+
|
|
1077
|
+
# A transaction used to pay a bill.
|
|
1078
|
+
BILL_PAYMENT: :bill_payment
|
|
1079
|
+
|
|
1080
|
+
# Original credit transactions are used to send money to a cardholder.
|
|
1081
|
+
ORIGINAL_CREDIT: :original_credit
|
|
1082
|
+
|
|
1083
|
+
# A regular purchase.
|
|
1084
|
+
PURCHASE: :purchase
|
|
1085
|
+
|
|
1086
|
+
# Quasi-cash transactions represent purchases of items which may be convertible to cash.
|
|
1087
|
+
QUASI_CASH: :quasi_cash
|
|
1088
|
+
|
|
1089
|
+
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
|
1090
|
+
REFUND: :refund
|
|
1091
|
+
|
|
1092
|
+
# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
|
|
1093
|
+
CASH_DISBURSEMENT: :cash_disbursement
|
|
1094
|
+
|
|
1095
|
+
# A balance inquiry transaction is used to check the balance of an account associated with a card.
|
|
1096
|
+
BALANCE_INQUIRY: :balance_inquiry
|
|
1097
|
+
|
|
1098
|
+
# The processing category is unknown.
|
|
1099
|
+
UNKNOWN: :unknown
|
|
1100
|
+
|
|
1101
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::processing_category]
|
|
1102
|
+
end
|
|
1103
|
+
|
|
1104
|
+
type type_ = :card_authorization
|
|
1105
|
+
|
|
1106
|
+
module Type
|
|
1107
|
+
extend Increase::Internal::Type::Enum
|
|
1108
|
+
|
|
1109
|
+
CARD_AUTHORIZATION: :card_authorization
|
|
1110
|
+
|
|
1111
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::type_]
|
|
1112
|
+
end
|
|
1113
|
+
|
|
1114
|
+
type verification =
|
|
1115
|
+
{
|
|
1116
|
+
card_verification_code: Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode,
|
|
1117
|
+
cardholder_address: Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
class Verification < Increase::Internal::Type::BaseModel
|
|
1121
|
+
attr_accessor card_verification_code: Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode
|
|
1122
|
+
|
|
1123
|
+
attr_accessor cardholder_address: Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress
|
|
1124
|
+
|
|
1125
|
+
def initialize: (
|
|
1126
|
+
card_verification_code: Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode,
|
|
1127
|
+
cardholder_address: Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress
|
|
1128
|
+
) -> void
|
|
1129
|
+
|
|
1130
|
+
def to_hash: -> {
|
|
1131
|
+
card_verification_code: Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode,
|
|
1132
|
+
cardholder_address: Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
type card_verification_code =
|
|
1136
|
+
{
|
|
1137
|
+
result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
class CardVerificationCode < Increase::Internal::Type::BaseModel
|
|
1141
|
+
attr_accessor result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result
|
|
1142
|
+
|
|
1143
|
+
def initialize: (
|
|
1144
|
+
result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result
|
|
1145
|
+
) -> void
|
|
1146
|
+
|
|
1147
|
+
def to_hash: -> {
|
|
1148
|
+
result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
type result = :not_checked | :match | :no_match
|
|
1152
|
+
|
|
1153
|
+
module Result
|
|
1154
|
+
extend Increase::Internal::Type::Enum
|
|
1155
|
+
|
|
1156
|
+
# No card verification code was provided in the authorization request.
|
|
1157
|
+
NOT_CHECKED: :not_checked
|
|
1158
|
+
|
|
1159
|
+
# The card verification code matched the one on file.
|
|
1160
|
+
MATCH: :match
|
|
1161
|
+
|
|
1162
|
+
# The card verification code did not match the one on file.
|
|
1163
|
+
NO_MATCH: :no_match
|
|
1164
|
+
|
|
1165
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result]
|
|
1166
|
+
end
|
|
1167
|
+
end
|
|
1168
|
+
|
|
1169
|
+
type cardholder_address =
|
|
1170
|
+
{
|
|
1171
|
+
:actual_line1 => String?,
|
|
1172
|
+
actual_postal_code: String?,
|
|
1173
|
+
:provided_line1 => String?,
|
|
1174
|
+
provided_postal_code: String?,
|
|
1175
|
+
result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
class CardholderAddress < Increase::Internal::Type::BaseModel
|
|
1179
|
+
attr_accessor actual_line1: String?
|
|
1180
|
+
|
|
1181
|
+
attr_accessor actual_postal_code: String?
|
|
1182
|
+
|
|
1183
|
+
attr_accessor provided_line1: String?
|
|
1184
|
+
|
|
1185
|
+
attr_accessor provided_postal_code: String?
|
|
1186
|
+
|
|
1187
|
+
attr_accessor result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result
|
|
1188
|
+
|
|
1189
|
+
def initialize: (
|
|
1190
|
+
actual_line1: String?,
|
|
1191
|
+
actual_postal_code: String?,
|
|
1192
|
+
provided_line1: String?,
|
|
1193
|
+
provided_postal_code: String?,
|
|
1194
|
+
result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result
|
|
1195
|
+
) -> void
|
|
1196
|
+
|
|
1197
|
+
def to_hash: -> {
|
|
1198
|
+
:actual_line1 => String?,
|
|
1199
|
+
actual_postal_code: String?,
|
|
1200
|
+
:provided_line1 => String?,
|
|
1201
|
+
provided_postal_code: String?,
|
|
1202
|
+
result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
type result =
|
|
1206
|
+
:not_checked
|
|
1207
|
+
| :postal_code_match_address_no_match
|
|
1208
|
+
| :postal_code_no_match_address_match
|
|
1209
|
+
| :match
|
|
1210
|
+
| :no_match
|
|
1211
|
+
| :postal_code_match_address_not_checked
|
|
1212
|
+
|
|
1213
|
+
module Result
|
|
1214
|
+
extend Increase::Internal::Type::Enum
|
|
1215
|
+
|
|
1216
|
+
# No address information was provided in the authorization request.
|
|
1217
|
+
NOT_CHECKED: :not_checked
|
|
1218
|
+
|
|
1219
|
+
# Postal code matches, but the street address does not match or was not provided.
|
|
1220
|
+
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
|
1221
|
+
|
|
1222
|
+
# Postal code does not match, but the street address matches or was not provided.
|
|
1223
|
+
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
|
1224
|
+
|
|
1225
|
+
# Postal code and street address match.
|
|
1226
|
+
MATCH: :match
|
|
1227
|
+
|
|
1228
|
+
# Postal code and street address do not match.
|
|
1229
|
+
NO_MATCH: :no_match
|
|
1230
|
+
|
|
1231
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
|
1232
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
|
1233
|
+
|
|
1234
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result]
|
|
1235
|
+
end
|
|
1236
|
+
end
|
|
1237
|
+
end
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1240
|
+
type card_authorization_expiration =
|
|
1241
|
+
{
|
|
1242
|
+
id: String,
|
|
1243
|
+
card_authorization_id: String,
|
|
1244
|
+
currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency,
|
|
1245
|
+
expired_amount: Integer,
|
|
1246
|
+
network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network,
|
|
1247
|
+
type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
class CardAuthorizationExpiration < Increase::Internal::Type::BaseModel
|
|
1251
|
+
attr_accessor id: String
|
|
1252
|
+
|
|
1253
|
+
attr_accessor card_authorization_id: String
|
|
1254
|
+
|
|
1255
|
+
attr_accessor currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency
|
|
1256
|
+
|
|
1257
|
+
attr_accessor expired_amount: Integer
|
|
1258
|
+
|
|
1259
|
+
attr_accessor network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network
|
|
1260
|
+
|
|
1261
|
+
attr_accessor type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_
|
|
1262
|
+
|
|
1263
|
+
def initialize: (
|
|
1264
|
+
id: String,
|
|
1265
|
+
card_authorization_id: String,
|
|
1266
|
+
currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency,
|
|
1267
|
+
expired_amount: Integer,
|
|
1268
|
+
network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network,
|
|
1269
|
+
type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_
|
|
1270
|
+
) -> void
|
|
1271
|
+
|
|
1272
|
+
def to_hash: -> {
|
|
1273
|
+
id: String,
|
|
1274
|
+
card_authorization_id: String,
|
|
1275
|
+
currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency,
|
|
1276
|
+
expired_amount: Integer,
|
|
1277
|
+
network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network,
|
|
1278
|
+
type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
type currency = :USD
|
|
1282
|
+
|
|
1283
|
+
module Currency
|
|
1284
|
+
extend Increase::Internal::Type::Enum
|
|
1285
|
+
|
|
1286
|
+
# US Dollar (USD)
|
|
1287
|
+
USD: :USD
|
|
1288
|
+
|
|
1289
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency]
|
|
1290
|
+
end
|
|
1291
|
+
|
|
1292
|
+
type network = :visa | :pulse
|
|
1293
|
+
|
|
1294
|
+
module Network
|
|
1295
|
+
extend Increase::Internal::Type::Enum
|
|
1296
|
+
|
|
1297
|
+
# Visa
|
|
1298
|
+
VISA: :visa
|
|
1299
|
+
|
|
1300
|
+
# Pulse
|
|
1301
|
+
PULSE: :pulse
|
|
1302
|
+
|
|
1303
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network]
|
|
1304
|
+
end
|
|
1305
|
+
|
|
1306
|
+
type type_ = :card_authorization_expiration
|
|
1307
|
+
|
|
1308
|
+
module Type
|
|
1309
|
+
extend Increase::Internal::Type::Enum
|
|
1310
|
+
|
|
1311
|
+
CARD_AUTHORIZATION_EXPIRATION: :card_authorization_expiration
|
|
1312
|
+
|
|
1313
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_]
|
|
1314
|
+
end
|
|
1315
|
+
end
|
|
1316
|
+
|
|
1317
|
+
type card_balance_inquiry =
|
|
1318
|
+
{
|
|
1319
|
+
id: String,
|
|
1320
|
+
additional_amounts: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts,
|
|
1321
|
+
balance: Integer,
|
|
1322
|
+
card_payment_id: String,
|
|
1323
|
+
currency: Increase::Models::CardPayment::Element::CardBalanceInquiry::currency,
|
|
1324
|
+
digital_wallet_token_id: String?,
|
|
1325
|
+
merchant_acceptor_id: String,
|
|
1326
|
+
merchant_category_code: String,
|
|
1327
|
+
merchant_city: String?,
|
|
1328
|
+
merchant_country: String,
|
|
1329
|
+
merchant_descriptor: String,
|
|
1330
|
+
merchant_postal_code: String?,
|
|
1331
|
+
merchant_state: String?,
|
|
1332
|
+
network_details: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails,
|
|
1333
|
+
network_identifiers: Increase::CardPayment::Element::CardBalanceInquiry::NetworkIdentifiers,
|
|
1334
|
+
network_risk_score: Integer?,
|
|
1335
|
+
physical_card_id: String?,
|
|
1336
|
+
real_time_decision_id: String?,
|
|
1337
|
+
terminal_id: String?,
|
|
1338
|
+
type: Increase::Models::CardPayment::Element::CardBalanceInquiry::type_,
|
|
1339
|
+
verification: Increase::CardPayment::Element::CardBalanceInquiry::Verification
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
class CardBalanceInquiry < Increase::Internal::Type::BaseModel
|
|
1343
|
+
attr_accessor id: String
|
|
1344
|
+
|
|
1345
|
+
attr_accessor additional_amounts: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts
|
|
1346
|
+
|
|
1347
|
+
attr_accessor balance: Integer
|
|
1348
|
+
|
|
1349
|
+
attr_accessor card_payment_id: String
|
|
1350
|
+
|
|
1351
|
+
attr_accessor currency: Increase::Models::CardPayment::Element::CardBalanceInquiry::currency
|
|
1352
|
+
|
|
1353
|
+
attr_accessor digital_wallet_token_id: String?
|
|
1354
|
+
|
|
1355
|
+
attr_accessor merchant_acceptor_id: String
|
|
1356
|
+
|
|
1357
|
+
attr_accessor merchant_category_code: String
|
|
1358
|
+
|
|
1359
|
+
attr_accessor merchant_city: String?
|
|
1360
|
+
|
|
1361
|
+
attr_accessor merchant_country: String
|
|
1362
|
+
|
|
1363
|
+
attr_accessor merchant_descriptor: String
|
|
1364
|
+
|
|
1365
|
+
attr_accessor merchant_postal_code: String?
|
|
1366
|
+
|
|
1367
|
+
attr_accessor merchant_state: String?
|
|
1368
|
+
|
|
1369
|
+
attr_accessor network_details: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails
|
|
1370
|
+
|
|
1371
|
+
attr_accessor network_identifiers: Increase::CardPayment::Element::CardBalanceInquiry::NetworkIdentifiers
|
|
1372
|
+
|
|
1373
|
+
attr_accessor network_risk_score: Integer?
|
|
1374
|
+
|
|
1375
|
+
attr_accessor physical_card_id: String?
|
|
1376
|
+
|
|
1377
|
+
attr_accessor real_time_decision_id: String?
|
|
1378
|
+
|
|
1379
|
+
attr_accessor terminal_id: String?
|
|
1380
|
+
|
|
1381
|
+
attr_accessor type: Increase::Models::CardPayment::Element::CardBalanceInquiry::type_
|
|
1382
|
+
|
|
1383
|
+
attr_accessor verification: Increase::CardPayment::Element::CardBalanceInquiry::Verification
|
|
1384
|
+
|
|
1385
|
+
def initialize: (
|
|
1386
|
+
id: String,
|
|
1387
|
+
additional_amounts: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts,
|
|
1388
|
+
balance: Integer,
|
|
1389
|
+
card_payment_id: String,
|
|
1390
|
+
currency: Increase::Models::CardPayment::Element::CardBalanceInquiry::currency,
|
|
1391
|
+
digital_wallet_token_id: String?,
|
|
1392
|
+
merchant_acceptor_id: String,
|
|
1393
|
+
merchant_category_code: String,
|
|
1394
|
+
merchant_city: String?,
|
|
1395
|
+
merchant_country: String,
|
|
1396
|
+
merchant_descriptor: String,
|
|
1397
|
+
merchant_postal_code: String?,
|
|
1398
|
+
merchant_state: String?,
|
|
1399
|
+
network_details: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails,
|
|
1400
|
+
network_identifiers: Increase::CardPayment::Element::CardBalanceInquiry::NetworkIdentifiers,
|
|
1401
|
+
network_risk_score: Integer?,
|
|
1402
|
+
physical_card_id: String?,
|
|
1403
|
+
real_time_decision_id: String?,
|
|
1404
|
+
terminal_id: String?,
|
|
1405
|
+
type: Increase::Models::CardPayment::Element::CardBalanceInquiry::type_,
|
|
1406
|
+
verification: Increase::CardPayment::Element::CardBalanceInquiry::Verification
|
|
1407
|
+
) -> void
|
|
1408
|
+
|
|
1409
|
+
def to_hash: -> {
|
|
1410
|
+
id: String,
|
|
1411
|
+
additional_amounts: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts,
|
|
1412
|
+
balance: Integer,
|
|
1413
|
+
card_payment_id: String,
|
|
1414
|
+
currency: Increase::Models::CardPayment::Element::CardBalanceInquiry::currency,
|
|
1415
|
+
digital_wallet_token_id: String?,
|
|
1416
|
+
merchant_acceptor_id: String,
|
|
1417
|
+
merchant_category_code: String,
|
|
1418
|
+
merchant_city: String?,
|
|
1419
|
+
merchant_country: String,
|
|
1420
|
+
merchant_descriptor: String,
|
|
1421
|
+
merchant_postal_code: String?,
|
|
1422
|
+
merchant_state: String?,
|
|
1423
|
+
network_details: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails,
|
|
1424
|
+
network_identifiers: Increase::CardPayment::Element::CardBalanceInquiry::NetworkIdentifiers,
|
|
583
1425
|
network_risk_score: Integer?,
|
|
584
|
-
pending_transaction_id: String?,
|
|
585
1426
|
physical_card_id: String?,
|
|
586
|
-
presentment_amount: Integer,
|
|
587
|
-
presentment_currency: String,
|
|
588
|
-
processing_category: Increase::Models::CardPayment::Element::CardAuthorization::processing_category,
|
|
589
1427
|
real_time_decision_id: String?,
|
|
590
1428
|
terminal_id: String?,
|
|
591
|
-
type: Increase::Models::CardPayment::Element::
|
|
592
|
-
verification: Increase::CardPayment::Element::
|
|
1429
|
+
type: Increase::Models::CardPayment::Element::CardBalanceInquiry::type_,
|
|
1430
|
+
verification: Increase::CardPayment::Element::CardBalanceInquiry::Verification
|
|
593
1431
|
}
|
|
594
1432
|
|
|
595
|
-
type actioner = :user | :increase | :network
|
|
596
|
-
|
|
597
|
-
module Actioner
|
|
598
|
-
extend Increase::Internal::Type::Enum
|
|
599
|
-
|
|
600
|
-
# This object was actioned by the user through a real-time decision.
|
|
601
|
-
USER: :user
|
|
602
|
-
|
|
603
|
-
# This object was actioned by Increase without user intervention.
|
|
604
|
-
INCREASE: :increase
|
|
605
|
-
|
|
606
|
-
# This object was actioned by the network, through stand-in processing.
|
|
607
|
-
NETWORK: :network
|
|
608
|
-
|
|
609
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::actioner]
|
|
610
|
-
end
|
|
611
|
-
|
|
612
1433
|
type additional_amounts =
|
|
613
1434
|
{
|
|
614
|
-
clinic: Increase::CardPayment::Element::
|
|
615
|
-
dental: Increase::CardPayment::Element::
|
|
616
|
-
original: Increase::CardPayment::Element::
|
|
617
|
-
prescription: Increase::CardPayment::Element::
|
|
618
|
-
surcharge: Increase::CardPayment::Element::
|
|
619
|
-
total_cumulative: Increase::CardPayment::Element::
|
|
620
|
-
total_healthcare: Increase::CardPayment::Element::
|
|
621
|
-
transit: Increase::CardPayment::Element::
|
|
622
|
-
unknown: Increase::CardPayment::Element::
|
|
623
|
-
vision: Increase::CardPayment::Element::
|
|
1435
|
+
clinic: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Clinic?,
|
|
1436
|
+
dental: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Dental?,
|
|
1437
|
+
original: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Original?,
|
|
1438
|
+
prescription: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Prescription?,
|
|
1439
|
+
surcharge: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Surcharge?,
|
|
1440
|
+
total_cumulative: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::TotalCumulative?,
|
|
1441
|
+
total_healthcare: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::TotalHealthcare?,
|
|
1442
|
+
transit: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Transit?,
|
|
1443
|
+
unknown: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Unknown?,
|
|
1444
|
+
vision: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Vision?
|
|
624
1445
|
}
|
|
625
1446
|
|
|
626
1447
|
class AdditionalAmounts < Increase::Internal::Type::BaseModel
|
|
627
|
-
attr_accessor clinic: Increase::CardPayment::Element::
|
|
1448
|
+
attr_accessor clinic: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Clinic?
|
|
628
1449
|
|
|
629
|
-
attr_accessor dental: Increase::CardPayment::Element::
|
|
1450
|
+
attr_accessor dental: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Dental?
|
|
630
1451
|
|
|
631
|
-
attr_accessor original: Increase::CardPayment::Element::
|
|
1452
|
+
attr_accessor original: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Original?
|
|
632
1453
|
|
|
633
|
-
attr_accessor prescription: Increase::CardPayment::Element::
|
|
1454
|
+
attr_accessor prescription: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Prescription?
|
|
634
1455
|
|
|
635
|
-
attr_accessor surcharge: Increase::CardPayment::Element::
|
|
1456
|
+
attr_accessor surcharge: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Surcharge?
|
|
636
1457
|
|
|
637
|
-
attr_accessor total_cumulative: Increase::CardPayment::Element::
|
|
1458
|
+
attr_accessor total_cumulative: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::TotalCumulative?
|
|
638
1459
|
|
|
639
|
-
attr_accessor total_healthcare: Increase::CardPayment::Element::
|
|
1460
|
+
attr_accessor total_healthcare: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::TotalHealthcare?
|
|
640
1461
|
|
|
641
|
-
attr_accessor transit: Increase::CardPayment::Element::
|
|
1462
|
+
attr_accessor transit: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Transit?
|
|
642
1463
|
|
|
643
|
-
attr_accessor unknown: Increase::CardPayment::Element::
|
|
1464
|
+
attr_accessor unknown: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Unknown?
|
|
644
1465
|
|
|
645
|
-
attr_accessor vision: Increase::CardPayment::Element::
|
|
1466
|
+
attr_accessor vision: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Vision?
|
|
646
1467
|
|
|
647
1468
|
def initialize: (
|
|
648
|
-
clinic: Increase::CardPayment::Element::
|
|
649
|
-
dental: Increase::CardPayment::Element::
|
|
650
|
-
original: Increase::CardPayment::Element::
|
|
651
|
-
prescription: Increase::CardPayment::Element::
|
|
652
|
-
surcharge: Increase::CardPayment::Element::
|
|
653
|
-
total_cumulative: Increase::CardPayment::Element::
|
|
654
|
-
total_healthcare: Increase::CardPayment::Element::
|
|
655
|
-
transit: Increase::CardPayment::Element::
|
|
656
|
-
unknown: Increase::CardPayment::Element::
|
|
657
|
-
vision: Increase::CardPayment::Element::
|
|
1469
|
+
clinic: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Clinic?,
|
|
1470
|
+
dental: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Dental?,
|
|
1471
|
+
original: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Original?,
|
|
1472
|
+
prescription: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Prescription?,
|
|
1473
|
+
surcharge: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Surcharge?,
|
|
1474
|
+
total_cumulative: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::TotalCumulative?,
|
|
1475
|
+
total_healthcare: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::TotalHealthcare?,
|
|
1476
|
+
transit: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Transit?,
|
|
1477
|
+
unknown: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Unknown?,
|
|
1478
|
+
vision: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Vision?
|
|
658
1479
|
) -> void
|
|
659
1480
|
|
|
660
1481
|
def to_hash: -> {
|
|
661
|
-
clinic: Increase::CardPayment::Element::
|
|
662
|
-
dental: Increase::CardPayment::Element::
|
|
663
|
-
original: Increase::CardPayment::Element::
|
|
664
|
-
prescription: Increase::CardPayment::Element::
|
|
665
|
-
surcharge: Increase::CardPayment::Element::
|
|
666
|
-
total_cumulative: Increase::CardPayment::Element::
|
|
667
|
-
total_healthcare: Increase::CardPayment::Element::
|
|
668
|
-
transit: Increase::CardPayment::Element::
|
|
669
|
-
unknown: Increase::CardPayment::Element::
|
|
670
|
-
vision: Increase::CardPayment::Element::
|
|
1482
|
+
clinic: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Clinic?,
|
|
1483
|
+
dental: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Dental?,
|
|
1484
|
+
original: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Original?,
|
|
1485
|
+
prescription: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Prescription?,
|
|
1486
|
+
surcharge: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Surcharge?,
|
|
1487
|
+
total_cumulative: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::TotalCumulative?,
|
|
1488
|
+
total_healthcare: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::TotalHealthcare?,
|
|
1489
|
+
transit: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Transit?,
|
|
1490
|
+
unknown: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Unknown?,
|
|
1491
|
+
vision: Increase::CardPayment::Element::CardBalanceInquiry::AdditionalAmounts::Vision?
|
|
671
1492
|
}
|
|
672
1493
|
|
|
673
1494
|
type clinic = { amount: Integer, currency: String }
|
|
@@ -799,47 +1620,33 @@ module Increase
|
|
|
799
1620
|
# US Dollar (USD)
|
|
800
1621
|
USD: :USD
|
|
801
1622
|
|
|
802
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::
|
|
803
|
-
end
|
|
804
|
-
|
|
805
|
-
type direction = :settlement | :refund
|
|
806
|
-
|
|
807
|
-
module Direction
|
|
808
|
-
extend Increase::Internal::Type::Enum
|
|
809
|
-
|
|
810
|
-
# A regular card authorization where funds are debited from the cardholder.
|
|
811
|
-
SETTLEMENT: :settlement
|
|
812
|
-
|
|
813
|
-
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
|
814
|
-
REFUND: :refund
|
|
815
|
-
|
|
816
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::direction]
|
|
1623
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::currency]
|
|
817
1624
|
end
|
|
818
1625
|
|
|
819
1626
|
type network_details =
|
|
820
1627
|
{
|
|
821
|
-
category: Increase::Models::CardPayment::Element::
|
|
822
|
-
pulse: Increase::CardPayment::Element::
|
|
823
|
-
visa: Increase::CardPayment::Element::
|
|
1628
|
+
category: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::category,
|
|
1629
|
+
pulse: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Pulse?,
|
|
1630
|
+
visa: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa?
|
|
824
1631
|
}
|
|
825
1632
|
|
|
826
1633
|
class NetworkDetails < Increase::Internal::Type::BaseModel
|
|
827
|
-
attr_accessor category: Increase::Models::CardPayment::Element::
|
|
1634
|
+
attr_accessor category: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::category
|
|
828
1635
|
|
|
829
|
-
attr_accessor pulse: Increase::CardPayment::Element::
|
|
1636
|
+
attr_accessor pulse: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Pulse?
|
|
830
1637
|
|
|
831
|
-
attr_accessor visa: Increase::CardPayment::Element::
|
|
1638
|
+
attr_accessor visa: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa?
|
|
832
1639
|
|
|
833
1640
|
def initialize: (
|
|
834
|
-
category: Increase::Models::CardPayment::Element::
|
|
835
|
-
pulse: Increase::CardPayment::Element::
|
|
836
|
-
visa: Increase::CardPayment::Element::
|
|
1641
|
+
category: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::category,
|
|
1642
|
+
pulse: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Pulse?,
|
|
1643
|
+
visa: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa?
|
|
837
1644
|
) -> void
|
|
838
1645
|
|
|
839
1646
|
def to_hash: -> {
|
|
840
|
-
category: Increase::Models::CardPayment::Element::
|
|
841
|
-
pulse: Increase::CardPayment::Element::
|
|
842
|
-
visa: Increase::CardPayment::Element::
|
|
1647
|
+
category: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::category,
|
|
1648
|
+
pulse: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Pulse?,
|
|
1649
|
+
visa: Increase::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa?
|
|
843
1650
|
}
|
|
844
1651
|
|
|
845
1652
|
type category = :visa | :pulse
|
|
@@ -853,7 +1660,7 @@ module Increase
|
|
|
853
1660
|
# Pulse
|
|
854
1661
|
PULSE: :pulse
|
|
855
1662
|
|
|
856
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::
|
|
1663
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::category]
|
|
857
1664
|
end
|
|
858
1665
|
|
|
859
1666
|
type pulse = { }
|
|
@@ -866,28 +1673,28 @@ module Increase
|
|
|
866
1673
|
|
|
867
1674
|
type visa =
|
|
868
1675
|
{
|
|
869
|
-
electronic_commerce_indicator: Increase::Models::CardPayment::Element::
|
|
870
|
-
point_of_service_entry_mode: Increase::Models::CardPayment::Element::
|
|
871
|
-
stand_in_processing_reason: Increase::Models::CardPayment::Element::
|
|
1676
|
+
electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::electronic_commerce_indicator?,
|
|
1677
|
+
point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::point_of_service_entry_mode?,
|
|
1678
|
+
stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?
|
|
872
1679
|
}
|
|
873
1680
|
|
|
874
1681
|
class Visa < Increase::Internal::Type::BaseModel
|
|
875
|
-
attr_accessor electronic_commerce_indicator: Increase::Models::CardPayment::Element::
|
|
1682
|
+
attr_accessor electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::electronic_commerce_indicator?
|
|
876
1683
|
|
|
877
|
-
attr_accessor point_of_service_entry_mode: Increase::Models::CardPayment::Element::
|
|
1684
|
+
attr_accessor point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::point_of_service_entry_mode?
|
|
878
1685
|
|
|
879
|
-
attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::
|
|
1686
|
+
attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?
|
|
880
1687
|
|
|
881
1688
|
def initialize: (
|
|
882
|
-
electronic_commerce_indicator: Increase::Models::CardPayment::Element::
|
|
883
|
-
point_of_service_entry_mode: Increase::Models::CardPayment::Element::
|
|
884
|
-
stand_in_processing_reason: Increase::Models::CardPayment::Element::
|
|
1689
|
+
electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::electronic_commerce_indicator?,
|
|
1690
|
+
point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::point_of_service_entry_mode?,
|
|
1691
|
+
stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?
|
|
885
1692
|
) -> void
|
|
886
1693
|
|
|
887
1694
|
def to_hash: -> {
|
|
888
|
-
electronic_commerce_indicator: Increase::Models::CardPayment::Element::
|
|
889
|
-
point_of_service_entry_mode: Increase::Models::CardPayment::Element::
|
|
890
|
-
stand_in_processing_reason: Increase::Models::CardPayment::Element::
|
|
1695
|
+
electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::electronic_commerce_indicator?,
|
|
1696
|
+
point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::point_of_service_entry_mode?,
|
|
1697
|
+
stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?
|
|
891
1698
|
}
|
|
892
1699
|
|
|
893
1700
|
type electronic_commerce_indicator =
|
|
@@ -927,7 +1734,7 @@ module Increase
|
|
|
927
1734
|
# Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
|
|
928
1735
|
NON_SECURE_TRANSACTION: :non_secure_transaction
|
|
929
1736
|
|
|
930
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::
|
|
1737
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::electronic_commerce_indicator]
|
|
931
1738
|
end
|
|
932
1739
|
|
|
933
1740
|
type point_of_service_entry_mode =
|
|
@@ -975,7 +1782,7 @@ module Increase
|
|
|
975
1782
|
# Contact chip card, without card verification value
|
|
976
1783
|
INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv
|
|
977
1784
|
|
|
978
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::
|
|
1785
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::point_of_service_entry_mode]
|
|
979
1786
|
end
|
|
980
1787
|
|
|
981
1788
|
type stand_in_processing_reason =
|
|
@@ -1011,7 +1818,7 @@ module Increase
|
|
|
1011
1818
|
# An unspecific reason for stand-in processing.
|
|
1012
1819
|
OTHER: :other
|
|
1013
1820
|
|
|
1014
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::
|
|
1821
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason]
|
|
1015
1822
|
end
|
|
1016
1823
|
end
|
|
1017
1824
|
end
|
|
@@ -1048,99 +1855,51 @@ module Increase
|
|
|
1048
1855
|
}
|
|
1049
1856
|
end
|
|
1050
1857
|
|
|
1051
|
-
type
|
|
1052
|
-
:account_funding
|
|
1053
|
-
| :automatic_fuel_dispenser
|
|
1054
|
-
| :bill_payment
|
|
1055
|
-
| :original_credit
|
|
1056
|
-
| :purchase
|
|
1057
|
-
| :quasi_cash
|
|
1058
|
-
| :refund
|
|
1059
|
-
| :cash_disbursement
|
|
1060
|
-
| :balance_inquiry
|
|
1061
|
-
| :unknown
|
|
1062
|
-
|
|
1063
|
-
module ProcessingCategory
|
|
1064
|
-
extend Increase::Internal::Type::Enum
|
|
1065
|
-
|
|
1066
|
-
# Account funding transactions are transactions used to e.g., fund an account or transfer funds between accounts.
|
|
1067
|
-
ACCOUNT_FUNDING: :account_funding
|
|
1068
|
-
|
|
1069
|
-
# Automatic fuel dispenser authorizations occur when a card is used at a gas pump, prior to the actual transaction amount being known. They are followed by an advice message that updates the amount of the pending transaction.
|
|
1070
|
-
AUTOMATIC_FUEL_DISPENSER: :automatic_fuel_dispenser
|
|
1071
|
-
|
|
1072
|
-
# A transaction used to pay a bill.
|
|
1073
|
-
BILL_PAYMENT: :bill_payment
|
|
1074
|
-
|
|
1075
|
-
# Original credit transactions are used to send money to a cardholder.
|
|
1076
|
-
ORIGINAL_CREDIT: :original_credit
|
|
1077
|
-
|
|
1078
|
-
# A regular purchase.
|
|
1079
|
-
PURCHASE: :purchase
|
|
1080
|
-
|
|
1081
|
-
# Quasi-cash transactions represent purchases of items which may be convertible to cash.
|
|
1082
|
-
QUASI_CASH: :quasi_cash
|
|
1083
|
-
|
|
1084
|
-
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
|
1085
|
-
REFUND: :refund
|
|
1086
|
-
|
|
1087
|
-
# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
|
|
1088
|
-
CASH_DISBURSEMENT: :cash_disbursement
|
|
1089
|
-
|
|
1090
|
-
# A balance inquiry transaction is used to check the balance of an account associated with a card.
|
|
1091
|
-
BALANCE_INQUIRY: :balance_inquiry
|
|
1092
|
-
|
|
1093
|
-
# The processing category is unknown.
|
|
1094
|
-
UNKNOWN: :unknown
|
|
1095
|
-
|
|
1096
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::processing_category]
|
|
1097
|
-
end
|
|
1098
|
-
|
|
1099
|
-
type type_ = :card_authorization
|
|
1858
|
+
type type_ = :card_balance_inquiry
|
|
1100
1859
|
|
|
1101
1860
|
module Type
|
|
1102
1861
|
extend Increase::Internal::Type::Enum
|
|
1103
1862
|
|
|
1104
|
-
|
|
1863
|
+
CARD_BALANCE_INQUIRY: :card_balance_inquiry
|
|
1105
1864
|
|
|
1106
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::
|
|
1865
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::type_]
|
|
1107
1866
|
end
|
|
1108
1867
|
|
|
1109
1868
|
type verification =
|
|
1110
1869
|
{
|
|
1111
|
-
card_verification_code: Increase::CardPayment::Element::
|
|
1112
|
-
cardholder_address: Increase::CardPayment::Element::
|
|
1870
|
+
card_verification_code: Increase::CardPayment::Element::CardBalanceInquiry::Verification::CardVerificationCode,
|
|
1871
|
+
cardholder_address: Increase::CardPayment::Element::CardBalanceInquiry::Verification::CardholderAddress
|
|
1113
1872
|
}
|
|
1114
1873
|
|
|
1115
1874
|
class Verification < Increase::Internal::Type::BaseModel
|
|
1116
|
-
attr_accessor card_verification_code: Increase::CardPayment::Element::
|
|
1875
|
+
attr_accessor card_verification_code: Increase::CardPayment::Element::CardBalanceInquiry::Verification::CardVerificationCode
|
|
1117
1876
|
|
|
1118
|
-
attr_accessor cardholder_address: Increase::CardPayment::Element::
|
|
1877
|
+
attr_accessor cardholder_address: Increase::CardPayment::Element::CardBalanceInquiry::Verification::CardholderAddress
|
|
1119
1878
|
|
|
1120
1879
|
def initialize: (
|
|
1121
|
-
card_verification_code: Increase::CardPayment::Element::
|
|
1122
|
-
cardholder_address: Increase::CardPayment::Element::
|
|
1880
|
+
card_verification_code: Increase::CardPayment::Element::CardBalanceInquiry::Verification::CardVerificationCode,
|
|
1881
|
+
cardholder_address: Increase::CardPayment::Element::CardBalanceInquiry::Verification::CardholderAddress
|
|
1123
1882
|
) -> void
|
|
1124
1883
|
|
|
1125
1884
|
def to_hash: -> {
|
|
1126
|
-
card_verification_code: Increase::CardPayment::Element::
|
|
1127
|
-
cardholder_address: Increase::CardPayment::Element::
|
|
1885
|
+
card_verification_code: Increase::CardPayment::Element::CardBalanceInquiry::Verification::CardVerificationCode,
|
|
1886
|
+
cardholder_address: Increase::CardPayment::Element::CardBalanceInquiry::Verification::CardholderAddress
|
|
1128
1887
|
}
|
|
1129
1888
|
|
|
1130
1889
|
type card_verification_code =
|
|
1131
1890
|
{
|
|
1132
|
-
result: Increase::Models::CardPayment::Element::
|
|
1891
|
+
result: Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardVerificationCode::result
|
|
1133
1892
|
}
|
|
1134
1893
|
|
|
1135
1894
|
class CardVerificationCode < Increase::Internal::Type::BaseModel
|
|
1136
|
-
attr_accessor result: Increase::Models::CardPayment::Element::
|
|
1895
|
+
attr_accessor result: Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardVerificationCode::result
|
|
1137
1896
|
|
|
1138
1897
|
def initialize: (
|
|
1139
|
-
result: Increase::Models::CardPayment::Element::
|
|
1898
|
+
result: Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardVerificationCode::result
|
|
1140
1899
|
) -> void
|
|
1141
1900
|
|
|
1142
1901
|
def to_hash: -> {
|
|
1143
|
-
result: Increase::Models::CardPayment::Element::
|
|
1902
|
+
result: Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardVerificationCode::result
|
|
1144
1903
|
}
|
|
1145
1904
|
|
|
1146
1905
|
type result = :not_checked | :match | :no_match
|
|
@@ -1157,7 +1916,7 @@ module Increase
|
|
|
1157
1916
|
# The card verification code did not match the one on file.
|
|
1158
1917
|
NO_MATCH: :no_match
|
|
1159
1918
|
|
|
1160
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::
|
|
1919
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardVerificationCode::result]
|
|
1161
1920
|
end
|
|
1162
1921
|
end
|
|
1163
1922
|
|
|
@@ -1167,7 +1926,7 @@ module Increase
|
|
|
1167
1926
|
actual_postal_code: String?,
|
|
1168
1927
|
:provided_line1 => String?,
|
|
1169
1928
|
provided_postal_code: String?,
|
|
1170
|
-
result: Increase::Models::CardPayment::Element::
|
|
1929
|
+
result: Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardholderAddress::result
|
|
1171
1930
|
}
|
|
1172
1931
|
|
|
1173
1932
|
class CardholderAddress < Increase::Internal::Type::BaseModel
|
|
@@ -1179,14 +1938,14 @@ module Increase
|
|
|
1179
1938
|
|
|
1180
1939
|
attr_accessor provided_postal_code: String?
|
|
1181
1940
|
|
|
1182
|
-
attr_accessor result: Increase::Models::CardPayment::Element::
|
|
1941
|
+
attr_accessor result: Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardholderAddress::result
|
|
1183
1942
|
|
|
1184
1943
|
def initialize: (
|
|
1185
1944
|
actual_line1: String?,
|
|
1186
1945
|
actual_postal_code: String?,
|
|
1187
1946
|
provided_line1: String?,
|
|
1188
1947
|
provided_postal_code: String?,
|
|
1189
|
-
result: Increase::Models::CardPayment::Element::
|
|
1948
|
+
result: Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardholderAddress::result
|
|
1190
1949
|
) -> void
|
|
1191
1950
|
|
|
1192
1951
|
def to_hash: -> {
|
|
@@ -1194,7 +1953,7 @@ module Increase
|
|
|
1194
1953
|
actual_postal_code: String?,
|
|
1195
1954
|
:provided_line1 => String?,
|
|
1196
1955
|
provided_postal_code: String?,
|
|
1197
|
-
result: Increase::Models::CardPayment::Element::
|
|
1956
|
+
result: Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardholderAddress::result
|
|
1198
1957
|
}
|
|
1199
1958
|
|
|
1200
1959
|
type result =
|
|
@@ -1226,89 +1985,12 @@ module Increase
|
|
|
1226
1985
|
# Postal code matches, but the street address was not verified. (deprecated)
|
|
1227
1986
|
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
|
1228
1987
|
|
|
1229
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::
|
|
1988
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::Verification::CardholderAddress::result]
|
|
1230
1989
|
end
|
|
1231
1990
|
end
|
|
1232
1991
|
end
|
|
1233
1992
|
end
|
|
1234
1993
|
|
|
1235
|
-
type card_authorization_expiration =
|
|
1236
|
-
{
|
|
1237
|
-
id: String,
|
|
1238
|
-
card_authorization_id: String,
|
|
1239
|
-
currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency,
|
|
1240
|
-
expired_amount: Integer,
|
|
1241
|
-
network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network,
|
|
1242
|
-
type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
class CardAuthorizationExpiration < Increase::Internal::Type::BaseModel
|
|
1246
|
-
attr_accessor id: String
|
|
1247
|
-
|
|
1248
|
-
attr_accessor card_authorization_id: String
|
|
1249
|
-
|
|
1250
|
-
attr_accessor currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency
|
|
1251
|
-
|
|
1252
|
-
attr_accessor expired_amount: Integer
|
|
1253
|
-
|
|
1254
|
-
attr_accessor network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network
|
|
1255
|
-
|
|
1256
|
-
attr_accessor type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_
|
|
1257
|
-
|
|
1258
|
-
def initialize: (
|
|
1259
|
-
id: String,
|
|
1260
|
-
card_authorization_id: String,
|
|
1261
|
-
currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency,
|
|
1262
|
-
expired_amount: Integer,
|
|
1263
|
-
network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network,
|
|
1264
|
-
type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_
|
|
1265
|
-
) -> void
|
|
1266
|
-
|
|
1267
|
-
def to_hash: -> {
|
|
1268
|
-
id: String,
|
|
1269
|
-
card_authorization_id: String,
|
|
1270
|
-
currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency,
|
|
1271
|
-
expired_amount: Integer,
|
|
1272
|
-
network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network,
|
|
1273
|
-
type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
type currency = :USD
|
|
1277
|
-
|
|
1278
|
-
module Currency
|
|
1279
|
-
extend Increase::Internal::Type::Enum
|
|
1280
|
-
|
|
1281
|
-
# US Dollar (USD)
|
|
1282
|
-
USD: :USD
|
|
1283
|
-
|
|
1284
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency]
|
|
1285
|
-
end
|
|
1286
|
-
|
|
1287
|
-
type network = :visa | :pulse
|
|
1288
|
-
|
|
1289
|
-
module Network
|
|
1290
|
-
extend Increase::Internal::Type::Enum
|
|
1291
|
-
|
|
1292
|
-
# Visa
|
|
1293
|
-
VISA: :visa
|
|
1294
|
-
|
|
1295
|
-
# Pulse
|
|
1296
|
-
PULSE: :pulse
|
|
1297
|
-
|
|
1298
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network]
|
|
1299
|
-
end
|
|
1300
|
-
|
|
1301
|
-
type type_ = :card_authorization_expiration
|
|
1302
|
-
|
|
1303
|
-
module Type
|
|
1304
|
-
extend Increase::Internal::Type::Enum
|
|
1305
|
-
|
|
1306
|
-
CARD_AUTHORIZATION_EXPIRATION: :card_authorization_expiration
|
|
1307
|
-
|
|
1308
|
-
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_]
|
|
1309
|
-
end
|
|
1310
|
-
end
|
|
1311
|
-
|
|
1312
1994
|
type card_decline =
|
|
1313
1995
|
{
|
|
1314
1996
|
id: String,
|
|
@@ -6399,6 +7081,7 @@ module Increase
|
|
|
6399
7081
|
type category =
|
|
6400
7082
|
:card_authorization
|
|
6401
7083
|
| :card_authentication
|
|
7084
|
+
| :card_balance_inquiry
|
|
6402
7085
|
| :card_validation
|
|
6403
7086
|
| :card_decline
|
|
6404
7087
|
| :card_reversal
|
|
@@ -6419,6 +7102,9 @@ module Increase
|
|
|
6419
7102
|
# Card Authentication: details will be under the `card_authentication` object.
|
|
6420
7103
|
CARD_AUTHENTICATION: :card_authentication
|
|
6421
7104
|
|
|
7105
|
+
# Card Balance Inquiry: details will be under the `card_balance_inquiry` object.
|
|
7106
|
+
CARD_BALANCE_INQUIRY: :card_balance_inquiry
|
|
7107
|
+
|
|
6422
7108
|
# Inbound Card Validation: details will be under the `card_validation` object.
|
|
6423
7109
|
CARD_VALIDATION: :card_validation
|
|
6424
7110
|
|