increase 1.231.0 → 1.232.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 +214 -2
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +397 -3
- data/sig/increase/models/card_payment.rbs +192 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8a6a763a923b10e2c130dfbbf12644589df72adb7e652058a46a1c7cd6f8bc2
|
|
4
|
+
data.tar.gz: 71097a299884ca3018f5aa15cdfda17c949a9da84cbcf05c570f0f733eae1703
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2753052736fd663dd7d5c691dc4f637dc30507bd7b55676ba863c6536628adf9b9c0c8ac769107fd93aab41f2cb4750387e069d4564af3835f55d99a16ceaefc
|
|
7
|
+
data.tar.gz: 326299cdfd1d6ea9adb8476a55b5f6715acf94a6dfb7f980690aacda021986cde1290ffd8d334f6d007f1080f7646ae5d1b460a1ee23719750eeae62a165ea31
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.232.0 (2026-03-05)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.231.0...v1.232.0](https://github.com/Increase/increase-ruby/compare/v1.231.0...v1.232.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([65e0b8f](https://github.com/Increase/increase-ruby/commit/65e0b8f40881298c3d7f9de56d6d5c44450d7d42))
|
|
10
|
+
|
|
3
11
|
## 1.231.0 (2026-03-05)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.230.0...v1.231.0](https://github.com/Increase/increase-ruby/compare/v1.230.0...v1.231.0)
|
data/README.md
CHANGED
|
@@ -318,6 +318,13 @@ module Increase
|
|
|
318
318
|
# @return [String]
|
|
319
319
|
required :id, String
|
|
320
320
|
|
|
321
|
+
# @!attribute access_control_server_transaction_id
|
|
322
|
+
# A unique identifier assigned by the Access Control Server (us) for this
|
|
323
|
+
# transaction.
|
|
324
|
+
#
|
|
325
|
+
# @return [String]
|
|
326
|
+
required :access_control_server_transaction_id, String
|
|
327
|
+
|
|
321
328
|
# @!attribute billing_address_city
|
|
322
329
|
# The city of the cardholder billing address associated with the card used for
|
|
323
330
|
# this purchase.
|
|
@@ -432,6 +439,13 @@ module Increase
|
|
|
432
439
|
# @return [Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel]
|
|
433
440
|
required :device_channel, -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel }
|
|
434
441
|
|
|
442
|
+
# @!attribute directory_server_transaction_id
|
|
443
|
+
# A unique identifier assigned by the Directory Server (the card network) for this
|
|
444
|
+
# transaction.
|
|
445
|
+
#
|
|
446
|
+
# @return [String]
|
|
447
|
+
required :directory_server_transaction_id, String
|
|
448
|
+
|
|
435
449
|
# @!attribute merchant_acceptor_id
|
|
436
450
|
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
437
451
|
# is transacting with.
|
|
@@ -518,12 +532,69 @@ module Increase
|
|
|
518
532
|
# @return [String]
|
|
519
533
|
required :requestor_url, String
|
|
520
534
|
|
|
535
|
+
# @!attribute shipping_address_city
|
|
536
|
+
# The city of the shipping address associated with this purchase.
|
|
537
|
+
#
|
|
538
|
+
# @return [String, nil]
|
|
539
|
+
required :shipping_address_city, String, nil?: true
|
|
540
|
+
|
|
541
|
+
# @!attribute shipping_address_country
|
|
542
|
+
# The country of the shipping address associated with this purchase.
|
|
543
|
+
#
|
|
544
|
+
# @return [String, nil]
|
|
545
|
+
required :shipping_address_country, String, nil?: true
|
|
546
|
+
|
|
547
|
+
# @!attribute shipping_address_line1
|
|
548
|
+
# The first line of the shipping address associated with this purchase.
|
|
549
|
+
#
|
|
550
|
+
# @return [String, nil]
|
|
551
|
+
required :shipping_address_line1, String, nil?: true
|
|
552
|
+
|
|
553
|
+
# @!attribute shipping_address_line2
|
|
554
|
+
# The second line of the shipping address associated with this purchase.
|
|
555
|
+
#
|
|
556
|
+
# @return [String, nil]
|
|
557
|
+
required :shipping_address_line2, String, nil?: true
|
|
558
|
+
|
|
559
|
+
# @!attribute shipping_address_line3
|
|
560
|
+
# The third line of the shipping address associated with this purchase.
|
|
561
|
+
#
|
|
562
|
+
# @return [String, nil]
|
|
563
|
+
required :shipping_address_line3, String, nil?: true
|
|
564
|
+
|
|
565
|
+
# @!attribute shipping_address_postal_code
|
|
566
|
+
# The postal code of the shipping address associated with this purchase.
|
|
567
|
+
#
|
|
568
|
+
# @return [String, nil]
|
|
569
|
+
required :shipping_address_postal_code, String, nil?: true
|
|
570
|
+
|
|
571
|
+
# @!attribute shipping_address_state
|
|
572
|
+
# The US state of the shipping address associated with this purchase.
|
|
573
|
+
#
|
|
574
|
+
# @return [String, nil]
|
|
575
|
+
required :shipping_address_state, String, nil?: true
|
|
576
|
+
|
|
521
577
|
# @!attribute status
|
|
522
578
|
# The status of the card authentication.
|
|
523
579
|
#
|
|
524
580
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Status]
|
|
525
581
|
required :status, enum: -> { Increase::CardPayment::Element::CardAuthentication::Status }
|
|
526
582
|
|
|
583
|
+
# @!attribute three_d_secure_server_transaction_id
|
|
584
|
+
# A unique identifier assigned by the 3DS Server initiating the authentication
|
|
585
|
+
# attempt for this transaction.
|
|
586
|
+
#
|
|
587
|
+
# @return [String]
|
|
588
|
+
required :three_d_secure_server_transaction_id, String
|
|
589
|
+
|
|
590
|
+
# @!attribute transaction_type
|
|
591
|
+
# The type of transaction being authenticated.
|
|
592
|
+
#
|
|
593
|
+
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::TransactionType, nil]
|
|
594
|
+
required :transaction_type,
|
|
595
|
+
enum: -> { Increase::CardPayment::Element::CardAuthentication::TransactionType },
|
|
596
|
+
nil?: true
|
|
597
|
+
|
|
527
598
|
# @!attribute type
|
|
528
599
|
# A constant representing the object's type. For this resource it will always be
|
|
529
600
|
# `card_authentication`.
|
|
@@ -531,7 +602,7 @@ module Increase
|
|
|
531
602
|
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Type]
|
|
532
603
|
required :type, enum: -> { Increase::CardPayment::Element::CardAuthentication::Type }
|
|
533
604
|
|
|
534
|
-
# @!method initialize(id:, billing_address_city:, billing_address_country:, billing_address_line1:, billing_address_line2:, billing_address_line3:, billing_address_postal_code:, billing_address_state:, card_id:, card_payment_id:, cardholder_email:, cardholder_name:, category:, challenge:, created_at:, deny_reason:, device_channel:, merchant_acceptor_id:, merchant_category_code:, merchant_country:, merchant_name:, prior_card_authentication_id:, purchase_amount:, purchase_currency:, real_time_decision_id:, requestor_authentication_indicator:, requestor_challenge_indicator:, requestor_name:, requestor_url:, status:, type:)
|
|
605
|
+
# @!method initialize(id:, access_control_server_transaction_id:, billing_address_city:, billing_address_country:, billing_address_line1:, billing_address_line2:, billing_address_line3:, billing_address_postal_code:, billing_address_state:, card_id:, card_payment_id:, cardholder_email:, cardholder_name:, category:, challenge:, created_at:, deny_reason:, device_channel:, directory_server_transaction_id:, merchant_acceptor_id:, merchant_category_code:, merchant_country:, merchant_name:, prior_card_authentication_id:, purchase_amount:, purchase_currency:, real_time_decision_id:, requestor_authentication_indicator:, requestor_challenge_indicator:, requestor_name:, requestor_url:, shipping_address_city:, shipping_address_country:, shipping_address_line1:, shipping_address_line2:, shipping_address_line3:, shipping_address_postal_code:, shipping_address_state:, status:, three_d_secure_server_transaction_id:, transaction_type:, type:)
|
|
535
606
|
# Some parameter documentations has been truncated, see
|
|
536
607
|
# {Increase::Models::CardPayment::Element::CardAuthentication} for more details.
|
|
537
608
|
#
|
|
@@ -541,6 +612,8 @@ module Increase
|
|
|
541
612
|
#
|
|
542
613
|
# @param id [String] The Card Authentication identifier.
|
|
543
614
|
#
|
|
615
|
+
# @param access_control_server_transaction_id [String] A unique identifier assigned by the Access Control Server (us) for this transact
|
|
616
|
+
#
|
|
544
617
|
# @param billing_address_city [String, nil] The city of the cardholder billing address associated with the card used for thi
|
|
545
618
|
#
|
|
546
619
|
# @param billing_address_country [String, nil] The country of the cardholder billing address associated with the card used for
|
|
@@ -573,6 +646,8 @@ module Increase
|
|
|
573
646
|
#
|
|
574
647
|
# @param device_channel [Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel] The device channel of the card authentication attempt.
|
|
575
648
|
#
|
|
649
|
+
# @param directory_server_transaction_id [String] A unique identifier assigned by the Directory Server (the card network) for this
|
|
650
|
+
#
|
|
576
651
|
# @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i
|
|
577
652
|
#
|
|
578
653
|
# @param merchant_category_code [String] The Merchant Category Code (commonly abbreviated as MCC) of the merchant the car
|
|
@@ -597,8 +672,26 @@ module Increase
|
|
|
597
672
|
#
|
|
598
673
|
# @param requestor_url [String] The URL of the 3DS requestor.
|
|
599
674
|
#
|
|
675
|
+
# @param shipping_address_city [String, nil] The city of the shipping address associated with this purchase.
|
|
676
|
+
#
|
|
677
|
+
# @param shipping_address_country [String, nil] The country of the shipping address associated with this purchase.
|
|
678
|
+
#
|
|
679
|
+
# @param shipping_address_line1 [String, nil] The first line of the shipping address associated with this purchase.
|
|
680
|
+
#
|
|
681
|
+
# @param shipping_address_line2 [String, nil] The second line of the shipping address associated with this purchase.
|
|
682
|
+
#
|
|
683
|
+
# @param shipping_address_line3 [String, nil] The third line of the shipping address associated with this purchase.
|
|
684
|
+
#
|
|
685
|
+
# @param shipping_address_postal_code [String, nil] The postal code of the shipping address associated with this purchase.
|
|
686
|
+
#
|
|
687
|
+
# @param shipping_address_state [String, nil] The US state of the shipping address associated with this purchase.
|
|
688
|
+
#
|
|
600
689
|
# @param status [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Status] The status of the card authentication.
|
|
601
690
|
#
|
|
691
|
+
# @param three_d_secure_server_transaction_id [String] A unique identifier assigned by the 3DS Server initiating the authentication att
|
|
692
|
+
#
|
|
693
|
+
# @param transaction_type [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::TransactionType, nil] The type of transaction being authenticated.
|
|
694
|
+
#
|
|
602
695
|
# @param type [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Type] A constant representing the object's type. For this resource it will always be `
|
|
603
696
|
|
|
604
697
|
# The category of the card authentication attempt.
|
|
@@ -776,12 +869,24 @@ module Increase
|
|
|
776
869
|
required :category,
|
|
777
870
|
enum: -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category }
|
|
778
871
|
|
|
779
|
-
# @!
|
|
872
|
+
# @!attribute merchant_initiated
|
|
873
|
+
# Fields specific to merchant initiated transactions.
|
|
874
|
+
#
|
|
875
|
+
# @return [Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated, nil]
|
|
876
|
+
required :merchant_initiated,
|
|
877
|
+
-> {
|
|
878
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated
|
|
879
|
+
},
|
|
880
|
+
nil?: true
|
|
881
|
+
|
|
882
|
+
# @!method initialize(browser:, category:, merchant_initiated:)
|
|
780
883
|
# The device channel of the card authentication attempt.
|
|
781
884
|
#
|
|
782
885
|
# @param browser [Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser, nil] Fields specific to the browser device channel.
|
|
783
886
|
#
|
|
784
887
|
# @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Category] The category of the device channel.
|
|
888
|
+
#
|
|
889
|
+
# @param merchant_initiated [Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated, nil] Fields specific to merchant initiated transactions.
|
|
785
890
|
|
|
786
891
|
# @see Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel#browser
|
|
787
892
|
class Browser < Increase::Internal::Type::BaseModel
|
|
@@ -867,6 +972,88 @@ module Increase
|
|
|
867
972
|
# @!method self.values
|
|
868
973
|
# @return [Array<Symbol>]
|
|
869
974
|
end
|
|
975
|
+
|
|
976
|
+
# @see Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel#merchant_initiated
|
|
977
|
+
class MerchantInitiated < Increase::Internal::Type::BaseModel
|
|
978
|
+
# @!attribute indicator
|
|
979
|
+
# The merchant initiated indicator for the transaction.
|
|
980
|
+
#
|
|
981
|
+
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator]
|
|
982
|
+
required :indicator,
|
|
983
|
+
enum: -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator }
|
|
984
|
+
|
|
985
|
+
# @!method initialize(indicator:)
|
|
986
|
+
# Fields specific to merchant initiated transactions.
|
|
987
|
+
#
|
|
988
|
+
# @param indicator [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator] The merchant initiated indicator for the transaction.
|
|
989
|
+
|
|
990
|
+
# The merchant initiated indicator for the transaction.
|
|
991
|
+
#
|
|
992
|
+
# @see Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated#indicator
|
|
993
|
+
module Indicator
|
|
994
|
+
extend Increase::Internal::Type::Enum
|
|
995
|
+
|
|
996
|
+
# Recurring transaction.
|
|
997
|
+
RECURRING_TRANSACTION = :recurring_transaction
|
|
998
|
+
|
|
999
|
+
# Installment transaction.
|
|
1000
|
+
INSTALLMENT_TRANSACTION = :installment_transaction
|
|
1001
|
+
|
|
1002
|
+
# Add card.
|
|
1003
|
+
ADD_CARD = :add_card
|
|
1004
|
+
|
|
1005
|
+
# Maintain card information.
|
|
1006
|
+
MAINTAIN_CARD_INFORMATION = :maintain_card_information
|
|
1007
|
+
|
|
1008
|
+
# Account verification.
|
|
1009
|
+
ACCOUNT_VERIFICATION = :account_verification
|
|
1010
|
+
|
|
1011
|
+
# Split or delayed shipment.
|
|
1012
|
+
SPLIT_DELAYED_SHIPMENT = :split_delayed_shipment
|
|
1013
|
+
|
|
1014
|
+
# Top up.
|
|
1015
|
+
TOP_UP = :top_up
|
|
1016
|
+
|
|
1017
|
+
# Mail order.
|
|
1018
|
+
MAIL_ORDER = :mail_order
|
|
1019
|
+
|
|
1020
|
+
# Telephone order.
|
|
1021
|
+
TELEPHONE_ORDER = :telephone_order
|
|
1022
|
+
|
|
1023
|
+
# Whitelist status check.
|
|
1024
|
+
WHITELIST_STATUS_CHECK = :whitelist_status_check
|
|
1025
|
+
|
|
1026
|
+
# Other payment.
|
|
1027
|
+
OTHER_PAYMENT = :other_payment
|
|
1028
|
+
|
|
1029
|
+
# Billing agreement.
|
|
1030
|
+
BILLING_AGREEMENT = :billing_agreement
|
|
1031
|
+
|
|
1032
|
+
# Device binding status check.
|
|
1033
|
+
DEVICE_BINDING_STATUS_CHECK = :device_binding_status_check
|
|
1034
|
+
|
|
1035
|
+
# Card security code status check.
|
|
1036
|
+
CARD_SECURITY_CODE_STATUS_CHECK = :card_security_code_status_check
|
|
1037
|
+
|
|
1038
|
+
# Delayed shipment.
|
|
1039
|
+
DELAYED_SHIPMENT = :delayed_shipment
|
|
1040
|
+
|
|
1041
|
+
# Split payment.
|
|
1042
|
+
SPLIT_PAYMENT = :split_payment
|
|
1043
|
+
|
|
1044
|
+
# FIDO credential deletion.
|
|
1045
|
+
FIDO_CREDENTIAL_DELETION = :fido_credential_deletion
|
|
1046
|
+
|
|
1047
|
+
# FIDO credential registration.
|
|
1048
|
+
FIDO_CREDENTIAL_REGISTRATION = :fido_credential_registration
|
|
1049
|
+
|
|
1050
|
+
# Decoupled authentication fallback.
|
|
1051
|
+
DECOUPLED_AUTHENTICATION_FALLBACK = :decoupled_authentication_fallback
|
|
1052
|
+
|
|
1053
|
+
# @!method self.values
|
|
1054
|
+
# @return [Array<Symbol>]
|
|
1055
|
+
end
|
|
1056
|
+
end
|
|
870
1057
|
end
|
|
871
1058
|
|
|
872
1059
|
# The 3DS requestor authentication indicator describes why the authentication
|
|
@@ -979,6 +1166,31 @@ module Increase
|
|
|
979
1166
|
# @return [Array<Symbol>]
|
|
980
1167
|
end
|
|
981
1168
|
|
|
1169
|
+
# The type of transaction being authenticated.
|
|
1170
|
+
#
|
|
1171
|
+
# @see Increase::Models::CardPayment::Element::CardAuthentication#transaction_type
|
|
1172
|
+
module TransactionType
|
|
1173
|
+
extend Increase::Internal::Type::Enum
|
|
1174
|
+
|
|
1175
|
+
# Purchase of goods or services.
|
|
1176
|
+
GOODS_SERVICE_PURCHASE = :goods_service_purchase
|
|
1177
|
+
|
|
1178
|
+
# Check acceptance.
|
|
1179
|
+
CHECK_ACCEPTANCE = :check_acceptance
|
|
1180
|
+
|
|
1181
|
+
# Account funding.
|
|
1182
|
+
ACCOUNT_FUNDING = :account_funding
|
|
1183
|
+
|
|
1184
|
+
# Quasi-cash transaction.
|
|
1185
|
+
QUASI_CASH_TRANSACTION = :quasi_cash_transaction
|
|
1186
|
+
|
|
1187
|
+
# Prepaid activation and load.
|
|
1188
|
+
PREPAID_ACTIVATION_AND_LOAD = :prepaid_activation_and_load
|
|
1189
|
+
|
|
1190
|
+
# @!method self.values
|
|
1191
|
+
# @return [Array<Symbol>]
|
|
1192
|
+
end
|
|
1193
|
+
|
|
982
1194
|
# A constant representing the object's type. For this resource it will always be
|
|
983
1195
|
# `card_authentication`.
|
|
984
1196
|
#
|
data/lib/increase/version.rb
CHANGED
|
@@ -626,6 +626,11 @@ module Increase
|
|
|
626
626
|
sig { returns(String) }
|
|
627
627
|
attr_accessor :id
|
|
628
628
|
|
|
629
|
+
# A unique identifier assigned by the Access Control Server (us) for this
|
|
630
|
+
# transaction.
|
|
631
|
+
sig { returns(String) }
|
|
632
|
+
attr_accessor :access_control_server_transaction_id
|
|
633
|
+
|
|
629
634
|
# The city of the cardholder billing address associated with the card used for
|
|
630
635
|
# this purchase.
|
|
631
636
|
sig { returns(T.nilable(String)) }
|
|
@@ -738,6 +743,11 @@ module Increase
|
|
|
738
743
|
end
|
|
739
744
|
attr_writer :device_channel
|
|
740
745
|
|
|
746
|
+
# A unique identifier assigned by the Directory Server (the card network) for this
|
|
747
|
+
# transaction.
|
|
748
|
+
sig { returns(String) }
|
|
749
|
+
attr_accessor :directory_server_transaction_id
|
|
750
|
+
|
|
741
751
|
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
742
752
|
# is transacting with.
|
|
743
753
|
sig { returns(String) }
|
|
@@ -804,6 +814,34 @@ module Increase
|
|
|
804
814
|
sig { returns(String) }
|
|
805
815
|
attr_accessor :requestor_url
|
|
806
816
|
|
|
817
|
+
# The city of the shipping address associated with this purchase.
|
|
818
|
+
sig { returns(T.nilable(String)) }
|
|
819
|
+
attr_accessor :shipping_address_city
|
|
820
|
+
|
|
821
|
+
# The country of the shipping address associated with this purchase.
|
|
822
|
+
sig { returns(T.nilable(String)) }
|
|
823
|
+
attr_accessor :shipping_address_country
|
|
824
|
+
|
|
825
|
+
# The first line of the shipping address associated with this purchase.
|
|
826
|
+
sig { returns(T.nilable(String)) }
|
|
827
|
+
attr_accessor :shipping_address_line1
|
|
828
|
+
|
|
829
|
+
# The second line of the shipping address associated with this purchase.
|
|
830
|
+
sig { returns(T.nilable(String)) }
|
|
831
|
+
attr_accessor :shipping_address_line2
|
|
832
|
+
|
|
833
|
+
# The third line of the shipping address associated with this purchase.
|
|
834
|
+
sig { returns(T.nilable(String)) }
|
|
835
|
+
attr_accessor :shipping_address_line3
|
|
836
|
+
|
|
837
|
+
# The postal code of the shipping address associated with this purchase.
|
|
838
|
+
sig { returns(T.nilable(String)) }
|
|
839
|
+
attr_accessor :shipping_address_postal_code
|
|
840
|
+
|
|
841
|
+
# The US state of the shipping address associated with this purchase.
|
|
842
|
+
sig { returns(T.nilable(String)) }
|
|
843
|
+
attr_accessor :shipping_address_state
|
|
844
|
+
|
|
807
845
|
# The status of the card authentication.
|
|
808
846
|
sig do
|
|
809
847
|
returns(
|
|
@@ -812,6 +850,21 @@ module Increase
|
|
|
812
850
|
end
|
|
813
851
|
attr_accessor :status
|
|
814
852
|
|
|
853
|
+
# A unique identifier assigned by the 3DS Server initiating the authentication
|
|
854
|
+
# attempt for this transaction.
|
|
855
|
+
sig { returns(String) }
|
|
856
|
+
attr_accessor :three_d_secure_server_transaction_id
|
|
857
|
+
|
|
858
|
+
# The type of transaction being authenticated.
|
|
859
|
+
sig do
|
|
860
|
+
returns(
|
|
861
|
+
T.nilable(
|
|
862
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType::TaggedSymbol
|
|
863
|
+
)
|
|
864
|
+
)
|
|
865
|
+
end
|
|
866
|
+
attr_accessor :transaction_type
|
|
867
|
+
|
|
815
868
|
# A constant representing the object's type. For this resource it will always be
|
|
816
869
|
# `card_authentication`.
|
|
817
870
|
sig do
|
|
@@ -827,6 +880,7 @@ module Increase
|
|
|
827
880
|
sig do
|
|
828
881
|
params(
|
|
829
882
|
id: String,
|
|
883
|
+
access_control_server_transaction_id: String,
|
|
830
884
|
billing_address_city: T.nilable(String),
|
|
831
885
|
billing_address_country: T.nilable(String),
|
|
832
886
|
billing_address_line1: T.nilable(String),
|
|
@@ -853,6 +907,7 @@ module Increase
|
|
|
853
907
|
),
|
|
854
908
|
device_channel:
|
|
855
909
|
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::OrHash,
|
|
910
|
+
directory_server_transaction_id: String,
|
|
856
911
|
merchant_acceptor_id: String,
|
|
857
912
|
merchant_category_code: String,
|
|
858
913
|
merchant_country: String,
|
|
@@ -871,8 +926,20 @@ module Increase
|
|
|
871
926
|
),
|
|
872
927
|
requestor_name: String,
|
|
873
928
|
requestor_url: String,
|
|
929
|
+
shipping_address_city: T.nilable(String),
|
|
930
|
+
shipping_address_country: T.nilable(String),
|
|
931
|
+
shipping_address_line1: T.nilable(String),
|
|
932
|
+
shipping_address_line2: T.nilable(String),
|
|
933
|
+
shipping_address_line3: T.nilable(String),
|
|
934
|
+
shipping_address_postal_code: T.nilable(String),
|
|
935
|
+
shipping_address_state: T.nilable(String),
|
|
874
936
|
status:
|
|
875
937
|
Increase::CardPayment::Element::CardAuthentication::Status::OrSymbol,
|
|
938
|
+
three_d_secure_server_transaction_id: String,
|
|
939
|
+
transaction_type:
|
|
940
|
+
T.nilable(
|
|
941
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType::OrSymbol
|
|
942
|
+
),
|
|
876
943
|
type:
|
|
877
944
|
Increase::CardPayment::Element::CardAuthentication::Type::OrSymbol
|
|
878
945
|
).returns(T.attached_class)
|
|
@@ -880,6 +947,9 @@ module Increase
|
|
|
880
947
|
def self.new(
|
|
881
948
|
# The Card Authentication identifier.
|
|
882
949
|
id:,
|
|
950
|
+
# A unique identifier assigned by the Access Control Server (us) for this
|
|
951
|
+
# transaction.
|
|
952
|
+
access_control_server_transaction_id:,
|
|
883
953
|
# The city of the cardholder billing address associated with the card used for
|
|
884
954
|
# this purchase.
|
|
885
955
|
billing_address_city:,
|
|
@@ -920,6 +990,9 @@ module Increase
|
|
|
920
990
|
deny_reason:,
|
|
921
991
|
# The device channel of the card authentication attempt.
|
|
922
992
|
device_channel:,
|
|
993
|
+
# A unique identifier assigned by the Directory Server (the card network) for this
|
|
994
|
+
# transaction.
|
|
995
|
+
directory_server_transaction_id:,
|
|
923
996
|
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
924
997
|
# is transacting with.
|
|
925
998
|
merchant_acceptor_id:,
|
|
@@ -950,8 +1023,27 @@ module Increase
|
|
|
950
1023
|
requestor_name:,
|
|
951
1024
|
# The URL of the 3DS requestor.
|
|
952
1025
|
requestor_url:,
|
|
1026
|
+
# The city of the shipping address associated with this purchase.
|
|
1027
|
+
shipping_address_city:,
|
|
1028
|
+
# The country of the shipping address associated with this purchase.
|
|
1029
|
+
shipping_address_country:,
|
|
1030
|
+
# The first line of the shipping address associated with this purchase.
|
|
1031
|
+
shipping_address_line1:,
|
|
1032
|
+
# The second line of the shipping address associated with this purchase.
|
|
1033
|
+
shipping_address_line2:,
|
|
1034
|
+
# The third line of the shipping address associated with this purchase.
|
|
1035
|
+
shipping_address_line3:,
|
|
1036
|
+
# The postal code of the shipping address associated with this purchase.
|
|
1037
|
+
shipping_address_postal_code:,
|
|
1038
|
+
# The US state of the shipping address associated with this purchase.
|
|
1039
|
+
shipping_address_state:,
|
|
953
1040
|
# The status of the card authentication.
|
|
954
1041
|
status:,
|
|
1042
|
+
# A unique identifier assigned by the 3DS Server initiating the authentication
|
|
1043
|
+
# attempt for this transaction.
|
|
1044
|
+
three_d_secure_server_transaction_id:,
|
|
1045
|
+
# The type of transaction being authenticated.
|
|
1046
|
+
transaction_type:,
|
|
955
1047
|
# A constant representing the object's type. For this resource it will always be
|
|
956
1048
|
# `card_authentication`.
|
|
957
1049
|
type:
|
|
@@ -962,6 +1054,7 @@ module Increase
|
|
|
962
1054
|
override.returns(
|
|
963
1055
|
{
|
|
964
1056
|
id: String,
|
|
1057
|
+
access_control_server_transaction_id: String,
|
|
965
1058
|
billing_address_city: T.nilable(String),
|
|
966
1059
|
billing_address_country: T.nilable(String),
|
|
967
1060
|
billing_address_line1: T.nilable(String),
|
|
@@ -988,6 +1081,7 @@ module Increase
|
|
|
988
1081
|
),
|
|
989
1082
|
device_channel:
|
|
990
1083
|
Increase::CardPayment::Element::CardAuthentication::DeviceChannel,
|
|
1084
|
+
directory_server_transaction_id: String,
|
|
991
1085
|
merchant_acceptor_id: String,
|
|
992
1086
|
merchant_category_code: String,
|
|
993
1087
|
merchant_country: String,
|
|
@@ -1006,8 +1100,20 @@ module Increase
|
|
|
1006
1100
|
),
|
|
1007
1101
|
requestor_name: String,
|
|
1008
1102
|
requestor_url: String,
|
|
1103
|
+
shipping_address_city: T.nilable(String),
|
|
1104
|
+
shipping_address_country: T.nilable(String),
|
|
1105
|
+
shipping_address_line1: T.nilable(String),
|
|
1106
|
+
shipping_address_line2: T.nilable(String),
|
|
1107
|
+
shipping_address_line3: T.nilable(String),
|
|
1108
|
+
shipping_address_postal_code: T.nilable(String),
|
|
1109
|
+
shipping_address_state: T.nilable(String),
|
|
1009
1110
|
status:
|
|
1010
1111
|
Increase::CardPayment::Element::CardAuthentication::Status::TaggedSymbol,
|
|
1112
|
+
three_d_secure_server_transaction_id: String,
|
|
1113
|
+
transaction_type:
|
|
1114
|
+
T.nilable(
|
|
1115
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType::TaggedSymbol
|
|
1116
|
+
),
|
|
1011
1117
|
type:
|
|
1012
1118
|
Increase::CardPayment::Element::CardAuthentication::Type::TaggedSymbol
|
|
1013
1119
|
}
|
|
@@ -1381,6 +1487,26 @@ module Increase
|
|
|
1381
1487
|
end
|
|
1382
1488
|
attr_accessor :category
|
|
1383
1489
|
|
|
1490
|
+
# Fields specific to merchant initiated transactions.
|
|
1491
|
+
sig do
|
|
1492
|
+
returns(
|
|
1493
|
+
T.nilable(
|
|
1494
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated
|
|
1495
|
+
)
|
|
1496
|
+
)
|
|
1497
|
+
end
|
|
1498
|
+
attr_reader :merchant_initiated
|
|
1499
|
+
|
|
1500
|
+
sig do
|
|
1501
|
+
params(
|
|
1502
|
+
merchant_initiated:
|
|
1503
|
+
T.nilable(
|
|
1504
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::OrHash
|
|
1505
|
+
)
|
|
1506
|
+
).void
|
|
1507
|
+
end
|
|
1508
|
+
attr_writer :merchant_initiated
|
|
1509
|
+
|
|
1384
1510
|
# The device channel of the card authentication attempt.
|
|
1385
1511
|
sig do
|
|
1386
1512
|
params(
|
|
@@ -1389,14 +1515,20 @@ module Increase
|
|
|
1389
1515
|
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::OrHash
|
|
1390
1516
|
),
|
|
1391
1517
|
category:
|
|
1392
|
-
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::OrSymbol
|
|
1518
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::OrSymbol,
|
|
1519
|
+
merchant_initiated:
|
|
1520
|
+
T.nilable(
|
|
1521
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::OrHash
|
|
1522
|
+
)
|
|
1393
1523
|
).returns(T.attached_class)
|
|
1394
1524
|
end
|
|
1395
1525
|
def self.new(
|
|
1396
1526
|
# Fields specific to the browser device channel.
|
|
1397
1527
|
browser:,
|
|
1398
1528
|
# The category of the device channel.
|
|
1399
|
-
category
|
|
1529
|
+
category:,
|
|
1530
|
+
# Fields specific to merchant initiated transactions.
|
|
1531
|
+
merchant_initiated:
|
|
1400
1532
|
)
|
|
1401
1533
|
end
|
|
1402
1534
|
|
|
@@ -1408,7 +1540,11 @@ module Increase
|
|
|
1408
1540
|
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser
|
|
1409
1541
|
),
|
|
1410
1542
|
category:
|
|
1411
|
-
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::TaggedSymbol
|
|
1543
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::TaggedSymbol,
|
|
1544
|
+
merchant_initiated:
|
|
1545
|
+
T.nilable(
|
|
1546
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated
|
|
1547
|
+
)
|
|
1412
1548
|
}
|
|
1413
1549
|
)
|
|
1414
1550
|
end
|
|
@@ -1577,6 +1713,205 @@ module Increase
|
|
|
1577
1713
|
def self.values
|
|
1578
1714
|
end
|
|
1579
1715
|
end
|
|
1716
|
+
|
|
1717
|
+
class MerchantInitiated < Increase::Internal::Type::BaseModel
|
|
1718
|
+
OrHash =
|
|
1719
|
+
T.type_alias do
|
|
1720
|
+
T.any(
|
|
1721
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated,
|
|
1722
|
+
Increase::Internal::AnyHash
|
|
1723
|
+
)
|
|
1724
|
+
end
|
|
1725
|
+
|
|
1726
|
+
# The merchant initiated indicator for the transaction.
|
|
1727
|
+
sig do
|
|
1728
|
+
returns(
|
|
1729
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1730
|
+
)
|
|
1731
|
+
end
|
|
1732
|
+
attr_accessor :indicator
|
|
1733
|
+
|
|
1734
|
+
# Fields specific to merchant initiated transactions.
|
|
1735
|
+
sig do
|
|
1736
|
+
params(
|
|
1737
|
+
indicator:
|
|
1738
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::OrSymbol
|
|
1739
|
+
).returns(T.attached_class)
|
|
1740
|
+
end
|
|
1741
|
+
def self.new(
|
|
1742
|
+
# The merchant initiated indicator for the transaction.
|
|
1743
|
+
indicator:
|
|
1744
|
+
)
|
|
1745
|
+
end
|
|
1746
|
+
|
|
1747
|
+
sig do
|
|
1748
|
+
override.returns(
|
|
1749
|
+
{
|
|
1750
|
+
indicator:
|
|
1751
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1752
|
+
}
|
|
1753
|
+
)
|
|
1754
|
+
end
|
|
1755
|
+
def to_hash
|
|
1756
|
+
end
|
|
1757
|
+
|
|
1758
|
+
# The merchant initiated indicator for the transaction.
|
|
1759
|
+
module Indicator
|
|
1760
|
+
extend Increase::Internal::Type::Enum
|
|
1761
|
+
|
|
1762
|
+
TaggedSymbol =
|
|
1763
|
+
T.type_alias do
|
|
1764
|
+
T.all(
|
|
1765
|
+
Symbol,
|
|
1766
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator
|
|
1767
|
+
)
|
|
1768
|
+
end
|
|
1769
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1770
|
+
|
|
1771
|
+
# Recurring transaction.
|
|
1772
|
+
RECURRING_TRANSACTION =
|
|
1773
|
+
T.let(
|
|
1774
|
+
:recurring_transaction,
|
|
1775
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1776
|
+
)
|
|
1777
|
+
|
|
1778
|
+
# Installment transaction.
|
|
1779
|
+
INSTALLMENT_TRANSACTION =
|
|
1780
|
+
T.let(
|
|
1781
|
+
:installment_transaction,
|
|
1782
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1783
|
+
)
|
|
1784
|
+
|
|
1785
|
+
# Add card.
|
|
1786
|
+
ADD_CARD =
|
|
1787
|
+
T.let(
|
|
1788
|
+
:add_card,
|
|
1789
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1790
|
+
)
|
|
1791
|
+
|
|
1792
|
+
# Maintain card information.
|
|
1793
|
+
MAINTAIN_CARD_INFORMATION =
|
|
1794
|
+
T.let(
|
|
1795
|
+
:maintain_card_information,
|
|
1796
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1797
|
+
)
|
|
1798
|
+
|
|
1799
|
+
# Account verification.
|
|
1800
|
+
ACCOUNT_VERIFICATION =
|
|
1801
|
+
T.let(
|
|
1802
|
+
:account_verification,
|
|
1803
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1804
|
+
)
|
|
1805
|
+
|
|
1806
|
+
# Split or delayed shipment.
|
|
1807
|
+
SPLIT_DELAYED_SHIPMENT =
|
|
1808
|
+
T.let(
|
|
1809
|
+
:split_delayed_shipment,
|
|
1810
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1811
|
+
)
|
|
1812
|
+
|
|
1813
|
+
# Top up.
|
|
1814
|
+
TOP_UP =
|
|
1815
|
+
T.let(
|
|
1816
|
+
:top_up,
|
|
1817
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1818
|
+
)
|
|
1819
|
+
|
|
1820
|
+
# Mail order.
|
|
1821
|
+
MAIL_ORDER =
|
|
1822
|
+
T.let(
|
|
1823
|
+
:mail_order,
|
|
1824
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1825
|
+
)
|
|
1826
|
+
|
|
1827
|
+
# Telephone order.
|
|
1828
|
+
TELEPHONE_ORDER =
|
|
1829
|
+
T.let(
|
|
1830
|
+
:telephone_order,
|
|
1831
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1832
|
+
)
|
|
1833
|
+
|
|
1834
|
+
# Whitelist status check.
|
|
1835
|
+
WHITELIST_STATUS_CHECK =
|
|
1836
|
+
T.let(
|
|
1837
|
+
:whitelist_status_check,
|
|
1838
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1839
|
+
)
|
|
1840
|
+
|
|
1841
|
+
# Other payment.
|
|
1842
|
+
OTHER_PAYMENT =
|
|
1843
|
+
T.let(
|
|
1844
|
+
:other_payment,
|
|
1845
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1846
|
+
)
|
|
1847
|
+
|
|
1848
|
+
# Billing agreement.
|
|
1849
|
+
BILLING_AGREEMENT =
|
|
1850
|
+
T.let(
|
|
1851
|
+
:billing_agreement,
|
|
1852
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1853
|
+
)
|
|
1854
|
+
|
|
1855
|
+
# Device binding status check.
|
|
1856
|
+
DEVICE_BINDING_STATUS_CHECK =
|
|
1857
|
+
T.let(
|
|
1858
|
+
:device_binding_status_check,
|
|
1859
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1860
|
+
)
|
|
1861
|
+
|
|
1862
|
+
# Card security code status check.
|
|
1863
|
+
CARD_SECURITY_CODE_STATUS_CHECK =
|
|
1864
|
+
T.let(
|
|
1865
|
+
:card_security_code_status_check,
|
|
1866
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1867
|
+
)
|
|
1868
|
+
|
|
1869
|
+
# Delayed shipment.
|
|
1870
|
+
DELAYED_SHIPMENT =
|
|
1871
|
+
T.let(
|
|
1872
|
+
:delayed_shipment,
|
|
1873
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1874
|
+
)
|
|
1875
|
+
|
|
1876
|
+
# Split payment.
|
|
1877
|
+
SPLIT_PAYMENT =
|
|
1878
|
+
T.let(
|
|
1879
|
+
:split_payment,
|
|
1880
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1881
|
+
)
|
|
1882
|
+
|
|
1883
|
+
# FIDO credential deletion.
|
|
1884
|
+
FIDO_CREDENTIAL_DELETION =
|
|
1885
|
+
T.let(
|
|
1886
|
+
:fido_credential_deletion,
|
|
1887
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1888
|
+
)
|
|
1889
|
+
|
|
1890
|
+
# FIDO credential registration.
|
|
1891
|
+
FIDO_CREDENTIAL_REGISTRATION =
|
|
1892
|
+
T.let(
|
|
1893
|
+
:fido_credential_registration,
|
|
1894
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1895
|
+
)
|
|
1896
|
+
|
|
1897
|
+
# Decoupled authentication fallback.
|
|
1898
|
+
DECOUPLED_AUTHENTICATION_FALLBACK =
|
|
1899
|
+
T.let(
|
|
1900
|
+
:decoupled_authentication_fallback,
|
|
1901
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1902
|
+
)
|
|
1903
|
+
|
|
1904
|
+
sig do
|
|
1905
|
+
override.returns(
|
|
1906
|
+
T::Array[
|
|
1907
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::Indicator::TaggedSymbol
|
|
1908
|
+
]
|
|
1909
|
+
)
|
|
1910
|
+
end
|
|
1911
|
+
def self.values
|
|
1912
|
+
end
|
|
1913
|
+
end
|
|
1914
|
+
end
|
|
1580
1915
|
end
|
|
1581
1916
|
|
|
1582
1917
|
# The 3DS requestor authentication indicator describes why the authentication
|
|
@@ -1827,6 +2162,65 @@ module Increase
|
|
|
1827
2162
|
end
|
|
1828
2163
|
end
|
|
1829
2164
|
|
|
2165
|
+
# The type of transaction being authenticated.
|
|
2166
|
+
module TransactionType
|
|
2167
|
+
extend Increase::Internal::Type::Enum
|
|
2168
|
+
|
|
2169
|
+
TaggedSymbol =
|
|
2170
|
+
T.type_alias do
|
|
2171
|
+
T.all(
|
|
2172
|
+
Symbol,
|
|
2173
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType
|
|
2174
|
+
)
|
|
2175
|
+
end
|
|
2176
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
2177
|
+
|
|
2178
|
+
# Purchase of goods or services.
|
|
2179
|
+
GOODS_SERVICE_PURCHASE =
|
|
2180
|
+
T.let(
|
|
2181
|
+
:goods_service_purchase,
|
|
2182
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType::TaggedSymbol
|
|
2183
|
+
)
|
|
2184
|
+
|
|
2185
|
+
# Check acceptance.
|
|
2186
|
+
CHECK_ACCEPTANCE =
|
|
2187
|
+
T.let(
|
|
2188
|
+
:check_acceptance,
|
|
2189
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType::TaggedSymbol
|
|
2190
|
+
)
|
|
2191
|
+
|
|
2192
|
+
# Account funding.
|
|
2193
|
+
ACCOUNT_FUNDING =
|
|
2194
|
+
T.let(
|
|
2195
|
+
:account_funding,
|
|
2196
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType::TaggedSymbol
|
|
2197
|
+
)
|
|
2198
|
+
|
|
2199
|
+
# Quasi-cash transaction.
|
|
2200
|
+
QUASI_CASH_TRANSACTION =
|
|
2201
|
+
T.let(
|
|
2202
|
+
:quasi_cash_transaction,
|
|
2203
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType::TaggedSymbol
|
|
2204
|
+
)
|
|
2205
|
+
|
|
2206
|
+
# Prepaid activation and load.
|
|
2207
|
+
PREPAID_ACTIVATION_AND_LOAD =
|
|
2208
|
+
T.let(
|
|
2209
|
+
:prepaid_activation_and_load,
|
|
2210
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType::TaggedSymbol
|
|
2211
|
+
)
|
|
2212
|
+
|
|
2213
|
+
sig do
|
|
2214
|
+
override.returns(
|
|
2215
|
+
T::Array[
|
|
2216
|
+
Increase::CardPayment::Element::CardAuthentication::TransactionType::TaggedSymbol
|
|
2217
|
+
]
|
|
2218
|
+
)
|
|
2219
|
+
end
|
|
2220
|
+
def self.values
|
|
2221
|
+
end
|
|
2222
|
+
end
|
|
2223
|
+
|
|
1830
2224
|
# A constant representing the object's type. For this resource it will always be
|
|
1831
2225
|
# `card_authentication`.
|
|
1832
2226
|
module Type
|
|
@@ -210,6 +210,7 @@ module Increase
|
|
|
210
210
|
type card_authentication =
|
|
211
211
|
{
|
|
212
212
|
id: String,
|
|
213
|
+
access_control_server_transaction_id: String,
|
|
213
214
|
billing_address_city: String?,
|
|
214
215
|
billing_address_country: String?,
|
|
215
216
|
:billing_address_line1 => String?,
|
|
@@ -226,6 +227,7 @@ module Increase
|
|
|
226
227
|
created_at: Time,
|
|
227
228
|
deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?,
|
|
228
229
|
device_channel: Increase::CardPayment::Element::CardAuthentication::DeviceChannel,
|
|
230
|
+
directory_server_transaction_id: String,
|
|
229
231
|
merchant_acceptor_id: String,
|
|
230
232
|
merchant_category_code: String,
|
|
231
233
|
merchant_country: String,
|
|
@@ -238,13 +240,24 @@ module Increase
|
|
|
238
240
|
requestor_challenge_indicator: Increase::Models::CardPayment::Element::CardAuthentication::requestor_challenge_indicator?,
|
|
239
241
|
requestor_name: String,
|
|
240
242
|
requestor_url: String,
|
|
243
|
+
shipping_address_city: String?,
|
|
244
|
+
shipping_address_country: String?,
|
|
245
|
+
:shipping_address_line1 => String?,
|
|
246
|
+
:shipping_address_line2 => String?,
|
|
247
|
+
:shipping_address_line3 => String?,
|
|
248
|
+
shipping_address_postal_code: String?,
|
|
249
|
+
shipping_address_state: String?,
|
|
241
250
|
status: Increase::Models::CardPayment::Element::CardAuthentication::status,
|
|
251
|
+
three_d_secure_server_transaction_id: String,
|
|
252
|
+
transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::transaction_type?,
|
|
242
253
|
type: Increase::Models::CardPayment::Element::CardAuthentication::type_
|
|
243
254
|
}
|
|
244
255
|
|
|
245
256
|
class CardAuthentication < Increase::Internal::Type::BaseModel
|
|
246
257
|
attr_accessor id: String
|
|
247
258
|
|
|
259
|
+
attr_accessor access_control_server_transaction_id: String
|
|
260
|
+
|
|
248
261
|
attr_accessor billing_address_city: String?
|
|
249
262
|
|
|
250
263
|
attr_accessor billing_address_country: String?
|
|
@@ -277,6 +290,8 @@ module Increase
|
|
|
277
290
|
|
|
278
291
|
attr_accessor device_channel: Increase::CardPayment::Element::CardAuthentication::DeviceChannel
|
|
279
292
|
|
|
293
|
+
attr_accessor directory_server_transaction_id: String
|
|
294
|
+
|
|
280
295
|
attr_accessor merchant_acceptor_id: String
|
|
281
296
|
|
|
282
297
|
attr_accessor merchant_category_code: String
|
|
@@ -301,12 +316,31 @@ module Increase
|
|
|
301
316
|
|
|
302
317
|
attr_accessor requestor_url: String
|
|
303
318
|
|
|
319
|
+
attr_accessor shipping_address_city: String?
|
|
320
|
+
|
|
321
|
+
attr_accessor shipping_address_country: String?
|
|
322
|
+
|
|
323
|
+
attr_accessor shipping_address_line1: String?
|
|
324
|
+
|
|
325
|
+
attr_accessor shipping_address_line2: String?
|
|
326
|
+
|
|
327
|
+
attr_accessor shipping_address_line3: String?
|
|
328
|
+
|
|
329
|
+
attr_accessor shipping_address_postal_code: String?
|
|
330
|
+
|
|
331
|
+
attr_accessor shipping_address_state: String?
|
|
332
|
+
|
|
304
333
|
attr_accessor status: Increase::Models::CardPayment::Element::CardAuthentication::status
|
|
305
334
|
|
|
335
|
+
attr_accessor three_d_secure_server_transaction_id: String
|
|
336
|
+
|
|
337
|
+
attr_accessor transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::transaction_type?
|
|
338
|
+
|
|
306
339
|
attr_accessor type: Increase::Models::CardPayment::Element::CardAuthentication::type_
|
|
307
340
|
|
|
308
341
|
def initialize: (
|
|
309
342
|
id: String,
|
|
343
|
+
access_control_server_transaction_id: String,
|
|
310
344
|
billing_address_city: String?,
|
|
311
345
|
billing_address_country: String?,
|
|
312
346
|
billing_address_line1: String?,
|
|
@@ -323,6 +357,7 @@ module Increase
|
|
|
323
357
|
created_at: Time,
|
|
324
358
|
deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?,
|
|
325
359
|
device_channel: Increase::CardPayment::Element::CardAuthentication::DeviceChannel,
|
|
360
|
+
directory_server_transaction_id: String,
|
|
326
361
|
merchant_acceptor_id: String,
|
|
327
362
|
merchant_category_code: String,
|
|
328
363
|
merchant_country: String,
|
|
@@ -335,12 +370,22 @@ module Increase
|
|
|
335
370
|
requestor_challenge_indicator: Increase::Models::CardPayment::Element::CardAuthentication::requestor_challenge_indicator?,
|
|
336
371
|
requestor_name: String,
|
|
337
372
|
requestor_url: String,
|
|
373
|
+
shipping_address_city: String?,
|
|
374
|
+
shipping_address_country: String?,
|
|
375
|
+
shipping_address_line1: String?,
|
|
376
|
+
shipping_address_line2: String?,
|
|
377
|
+
shipping_address_line3: String?,
|
|
378
|
+
shipping_address_postal_code: String?,
|
|
379
|
+
shipping_address_state: String?,
|
|
338
380
|
status: Increase::Models::CardPayment::Element::CardAuthentication::status,
|
|
381
|
+
three_d_secure_server_transaction_id: String,
|
|
382
|
+
transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::transaction_type?,
|
|
339
383
|
type: Increase::Models::CardPayment::Element::CardAuthentication::type_
|
|
340
384
|
) -> void
|
|
341
385
|
|
|
342
386
|
def to_hash: -> {
|
|
343
387
|
id: String,
|
|
388
|
+
access_control_server_transaction_id: String,
|
|
344
389
|
billing_address_city: String?,
|
|
345
390
|
billing_address_country: String?,
|
|
346
391
|
:billing_address_line1 => String?,
|
|
@@ -357,6 +402,7 @@ module Increase
|
|
|
357
402
|
created_at: Time,
|
|
358
403
|
deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?,
|
|
359
404
|
device_channel: Increase::CardPayment::Element::CardAuthentication::DeviceChannel,
|
|
405
|
+
directory_server_transaction_id: String,
|
|
360
406
|
merchant_acceptor_id: String,
|
|
361
407
|
merchant_category_code: String,
|
|
362
408
|
merchant_country: String,
|
|
@@ -369,7 +415,16 @@ module Increase
|
|
|
369
415
|
requestor_challenge_indicator: Increase::Models::CardPayment::Element::CardAuthentication::requestor_challenge_indicator?,
|
|
370
416
|
requestor_name: String,
|
|
371
417
|
requestor_url: String,
|
|
418
|
+
shipping_address_city: String?,
|
|
419
|
+
shipping_address_country: String?,
|
|
420
|
+
:shipping_address_line1 => String?,
|
|
421
|
+
:shipping_address_line2 => String?,
|
|
422
|
+
:shipping_address_line3 => String?,
|
|
423
|
+
shipping_address_postal_code: String?,
|
|
424
|
+
shipping_address_state: String?,
|
|
372
425
|
status: Increase::Models::CardPayment::Element::CardAuthentication::status,
|
|
426
|
+
three_d_secure_server_transaction_id: String,
|
|
427
|
+
transaction_type: Increase::Models::CardPayment::Element::CardAuthentication::transaction_type?,
|
|
373
428
|
type: Increase::Models::CardPayment::Element::CardAuthentication::type_
|
|
374
429
|
}
|
|
375
430
|
|
|
@@ -512,7 +567,8 @@ module Increase
|
|
|
512
567
|
type device_channel =
|
|
513
568
|
{
|
|
514
569
|
browser: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser?,
|
|
515
|
-
category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category
|
|
570
|
+
category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category,
|
|
571
|
+
merchant_initiated: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated?
|
|
516
572
|
}
|
|
517
573
|
|
|
518
574
|
class DeviceChannel < Increase::Internal::Type::BaseModel
|
|
@@ -520,14 +576,18 @@ module Increase
|
|
|
520
576
|
|
|
521
577
|
attr_accessor category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category
|
|
522
578
|
|
|
579
|
+
attr_accessor merchant_initiated: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated?
|
|
580
|
+
|
|
523
581
|
def initialize: (
|
|
524
582
|
browser: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser?,
|
|
525
|
-
category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category
|
|
583
|
+
category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category,
|
|
584
|
+
merchant_initiated: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated?
|
|
526
585
|
) -> void
|
|
527
586
|
|
|
528
587
|
def to_hash: -> {
|
|
529
588
|
browser: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser?,
|
|
530
|
-
category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category
|
|
589
|
+
category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category,
|
|
590
|
+
merchant_initiated: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated?
|
|
531
591
|
}
|
|
532
592
|
|
|
533
593
|
type browser =
|
|
@@ -597,6 +657,107 @@ module Increase
|
|
|
597
657
|
|
|
598
658
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category]
|
|
599
659
|
end
|
|
660
|
+
|
|
661
|
+
type merchant_initiated =
|
|
662
|
+
{
|
|
663
|
+
indicator: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::indicator
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
class MerchantInitiated < Increase::Internal::Type::BaseModel
|
|
667
|
+
attr_accessor indicator: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::indicator
|
|
668
|
+
|
|
669
|
+
def initialize: (
|
|
670
|
+
indicator: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::indicator
|
|
671
|
+
) -> void
|
|
672
|
+
|
|
673
|
+
def to_hash: -> {
|
|
674
|
+
indicator: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::indicator
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
type indicator =
|
|
678
|
+
:recurring_transaction
|
|
679
|
+
| :installment_transaction
|
|
680
|
+
| :add_card
|
|
681
|
+
| :maintain_card_information
|
|
682
|
+
| :account_verification
|
|
683
|
+
| :split_delayed_shipment
|
|
684
|
+
| :top_up
|
|
685
|
+
| :mail_order
|
|
686
|
+
| :telephone_order
|
|
687
|
+
| :whitelist_status_check
|
|
688
|
+
| :other_payment
|
|
689
|
+
| :billing_agreement
|
|
690
|
+
| :device_binding_status_check
|
|
691
|
+
| :card_security_code_status_check
|
|
692
|
+
| :delayed_shipment
|
|
693
|
+
| :split_payment
|
|
694
|
+
| :fido_credential_deletion
|
|
695
|
+
| :fido_credential_registration
|
|
696
|
+
| :decoupled_authentication_fallback
|
|
697
|
+
|
|
698
|
+
module Indicator
|
|
699
|
+
extend Increase::Internal::Type::Enum
|
|
700
|
+
|
|
701
|
+
# Recurring transaction.
|
|
702
|
+
RECURRING_TRANSACTION: :recurring_transaction
|
|
703
|
+
|
|
704
|
+
# Installment transaction.
|
|
705
|
+
INSTALLMENT_TRANSACTION: :installment_transaction
|
|
706
|
+
|
|
707
|
+
# Add card.
|
|
708
|
+
ADD_CARD: :add_card
|
|
709
|
+
|
|
710
|
+
# Maintain card information.
|
|
711
|
+
MAINTAIN_CARD_INFORMATION: :maintain_card_information
|
|
712
|
+
|
|
713
|
+
# Account verification.
|
|
714
|
+
ACCOUNT_VERIFICATION: :account_verification
|
|
715
|
+
|
|
716
|
+
# Split or delayed shipment.
|
|
717
|
+
SPLIT_DELAYED_SHIPMENT: :split_delayed_shipment
|
|
718
|
+
|
|
719
|
+
# Top up.
|
|
720
|
+
TOP_UP: :top_up
|
|
721
|
+
|
|
722
|
+
# Mail order.
|
|
723
|
+
MAIL_ORDER: :mail_order
|
|
724
|
+
|
|
725
|
+
# Telephone order.
|
|
726
|
+
TELEPHONE_ORDER: :telephone_order
|
|
727
|
+
|
|
728
|
+
# Whitelist status check.
|
|
729
|
+
WHITELIST_STATUS_CHECK: :whitelist_status_check
|
|
730
|
+
|
|
731
|
+
# Other payment.
|
|
732
|
+
OTHER_PAYMENT: :other_payment
|
|
733
|
+
|
|
734
|
+
# Billing agreement.
|
|
735
|
+
BILLING_AGREEMENT: :billing_agreement
|
|
736
|
+
|
|
737
|
+
# Device binding status check.
|
|
738
|
+
DEVICE_BINDING_STATUS_CHECK: :device_binding_status_check
|
|
739
|
+
|
|
740
|
+
# Card security code status check.
|
|
741
|
+
CARD_SECURITY_CODE_STATUS_CHECK: :card_security_code_status_check
|
|
742
|
+
|
|
743
|
+
# Delayed shipment.
|
|
744
|
+
DELAYED_SHIPMENT: :delayed_shipment
|
|
745
|
+
|
|
746
|
+
# Split payment.
|
|
747
|
+
SPLIT_PAYMENT: :split_payment
|
|
748
|
+
|
|
749
|
+
# FIDO credential deletion.
|
|
750
|
+
FIDO_CREDENTIAL_DELETION: :fido_credential_deletion
|
|
751
|
+
|
|
752
|
+
# FIDO credential registration.
|
|
753
|
+
FIDO_CREDENTIAL_REGISTRATION: :fido_credential_registration
|
|
754
|
+
|
|
755
|
+
# Decoupled authentication fallback.
|
|
756
|
+
DECOUPLED_AUTHENTICATION_FALLBACK: :decoupled_authentication_fallback
|
|
757
|
+
|
|
758
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::MerchantInitiated::indicator]
|
|
759
|
+
end
|
|
760
|
+
end
|
|
600
761
|
end
|
|
601
762
|
|
|
602
763
|
type requestor_authentication_indicator =
|
|
@@ -723,6 +884,34 @@ module Increase
|
|
|
723
884
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::status]
|
|
724
885
|
end
|
|
725
886
|
|
|
887
|
+
type transaction_type =
|
|
888
|
+
:goods_service_purchase
|
|
889
|
+
| :check_acceptance
|
|
890
|
+
| :account_funding
|
|
891
|
+
| :quasi_cash_transaction
|
|
892
|
+
| :prepaid_activation_and_load
|
|
893
|
+
|
|
894
|
+
module TransactionType
|
|
895
|
+
extend Increase::Internal::Type::Enum
|
|
896
|
+
|
|
897
|
+
# Purchase of goods or services.
|
|
898
|
+
GOODS_SERVICE_PURCHASE: :goods_service_purchase
|
|
899
|
+
|
|
900
|
+
# Check acceptance.
|
|
901
|
+
CHECK_ACCEPTANCE: :check_acceptance
|
|
902
|
+
|
|
903
|
+
# Account funding.
|
|
904
|
+
ACCOUNT_FUNDING: :account_funding
|
|
905
|
+
|
|
906
|
+
# Quasi-cash transaction.
|
|
907
|
+
QUASI_CASH_TRANSACTION: :quasi_cash_transaction
|
|
908
|
+
|
|
909
|
+
# Prepaid activation and load.
|
|
910
|
+
PREPAID_ACTIVATION_AND_LOAD: :prepaid_activation_and_load
|
|
911
|
+
|
|
912
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::transaction_type]
|
|
913
|
+
end
|
|
914
|
+
|
|
726
915
|
type type_ = :card_authentication
|
|
727
916
|
|
|
728
917
|
module Type
|