lithic 0.1.0.pre.alpha.55 → 0.1.0.pre.alpha.56
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 +20 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +8 -53
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -5
- data/lib/lithic/models/auth_rules/v2_create_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_update_response.rb +21 -8
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute.rb +242 -510
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +7 -5
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/transaction.rb +3 -69
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +48 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +16 -5
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -7
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +16 -7
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/transaction.rbi +4 -90
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +8 -3
- data/rbi/lithic/resources/disputes.rbi +5 -7
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +46 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +11 -1
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +13 -1
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +9 -5
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/transaction.rbs +4 -51
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +10 -0
- metadata +50 -17
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
class ConditionalTokenizationActionParameters < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute action
|
|
8
|
+
# The action to take if the conditions are met
|
|
9
|
+
#
|
|
10
|
+
# @return [Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction]
|
|
11
|
+
required :action, union: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action }
|
|
12
|
+
|
|
13
|
+
# @!attribute conditions
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition>]
|
|
16
|
+
required :conditions,
|
|
17
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition] }
|
|
18
|
+
|
|
19
|
+
# @!method initialize(action:, conditions:)
|
|
20
|
+
# @param action [Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction] The action to take if the conditions are met
|
|
21
|
+
#
|
|
22
|
+
# @param conditions [Array<Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition>]
|
|
23
|
+
|
|
24
|
+
# The action to take if the conditions are met
|
|
25
|
+
#
|
|
26
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters#action
|
|
27
|
+
module Action
|
|
28
|
+
extend Lithic::Internal::Type::Union
|
|
29
|
+
|
|
30
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction }
|
|
31
|
+
|
|
32
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction }
|
|
33
|
+
|
|
34
|
+
class DeclineAction < Lithic::Internal::Type::BaseModel
|
|
35
|
+
# @!attribute type
|
|
36
|
+
# Decline the tokenization request
|
|
37
|
+
#
|
|
38
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type]
|
|
39
|
+
required :type,
|
|
40
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type }
|
|
41
|
+
|
|
42
|
+
# @!attribute reason
|
|
43
|
+
# Reason code for declining the tokenization request
|
|
44
|
+
#
|
|
45
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason, nil]
|
|
46
|
+
optional :reason,
|
|
47
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason }
|
|
48
|
+
|
|
49
|
+
# @!method initialize(type:, reason: nil)
|
|
50
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type] Decline the tokenization request
|
|
51
|
+
#
|
|
52
|
+
# @param reason [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason] Reason code for declining the tokenization request
|
|
53
|
+
|
|
54
|
+
# Decline the tokenization request
|
|
55
|
+
#
|
|
56
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction#type
|
|
57
|
+
module Type
|
|
58
|
+
extend Lithic::Internal::Type::Enum
|
|
59
|
+
|
|
60
|
+
DECLINE = :DECLINE
|
|
61
|
+
|
|
62
|
+
# @!method self.values
|
|
63
|
+
# @return [Array<Symbol>]
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Reason code for declining the tokenization request
|
|
67
|
+
#
|
|
68
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction#reason
|
|
69
|
+
module Reason
|
|
70
|
+
extend Lithic::Internal::Type::Enum
|
|
71
|
+
|
|
72
|
+
ACCOUNT_SCORE_1 = :ACCOUNT_SCORE_1
|
|
73
|
+
DEVICE_SCORE_1 = :DEVICE_SCORE_1
|
|
74
|
+
ALL_WALLET_DECLINE_REASONS_PRESENT = :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
75
|
+
WALLET_RECOMMENDED_DECISION_RED = :WALLET_RECOMMENDED_DECISION_RED
|
|
76
|
+
CVC_MISMATCH = :CVC_MISMATCH
|
|
77
|
+
CARD_EXPIRY_MONTH_MISMATCH = :CARD_EXPIRY_MONTH_MISMATCH
|
|
78
|
+
CARD_EXPIRY_YEAR_MISMATCH = :CARD_EXPIRY_YEAR_MISMATCH
|
|
79
|
+
CARD_INVALID_STATE = :CARD_INVALID_STATE
|
|
80
|
+
CUSTOMER_RED_PATH = :CUSTOMER_RED_PATH
|
|
81
|
+
INVALID_CUSTOMER_RESPONSE = :INVALID_CUSTOMER_RESPONSE
|
|
82
|
+
NETWORK_FAILURE = :NETWORK_FAILURE
|
|
83
|
+
GENERIC_DECLINE = :GENERIC_DECLINE
|
|
84
|
+
DIGITAL_CARD_ART_REQUIRED = :DIGITAL_CARD_ART_REQUIRED
|
|
85
|
+
|
|
86
|
+
# @!method self.values
|
|
87
|
+
# @return [Array<Symbol>]
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class RequireTfaAction < Lithic::Internal::Type::BaseModel
|
|
92
|
+
# @!attribute type
|
|
93
|
+
# Require two-factor authentication for the tokenization request
|
|
94
|
+
#
|
|
95
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type]
|
|
96
|
+
required :type,
|
|
97
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type }
|
|
98
|
+
|
|
99
|
+
# @!attribute reason
|
|
100
|
+
# Reason code for requiring two-factor authentication
|
|
101
|
+
#
|
|
102
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason, nil]
|
|
103
|
+
optional :reason,
|
|
104
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason }
|
|
105
|
+
|
|
106
|
+
# @!method initialize(type:, reason: nil)
|
|
107
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type] Require two-factor authentication for the tokenization request
|
|
108
|
+
#
|
|
109
|
+
# @param reason [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason] Reason code for requiring two-factor authentication
|
|
110
|
+
|
|
111
|
+
# Require two-factor authentication for the tokenization request
|
|
112
|
+
#
|
|
113
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction#type
|
|
114
|
+
module Type
|
|
115
|
+
extend Lithic::Internal::Type::Enum
|
|
116
|
+
|
|
117
|
+
REQUIRE_TFA = :REQUIRE_TFA
|
|
118
|
+
|
|
119
|
+
# @!method self.values
|
|
120
|
+
# @return [Array<Symbol>]
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Reason code for requiring two-factor authentication
|
|
124
|
+
#
|
|
125
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction#reason
|
|
126
|
+
module Reason
|
|
127
|
+
extend Lithic::Internal::Type::Enum
|
|
128
|
+
|
|
129
|
+
WALLET_RECOMMENDED_TFA = :WALLET_RECOMMENDED_TFA
|
|
130
|
+
SUSPICIOUS_ACTIVITY = :SUSPICIOUS_ACTIVITY
|
|
131
|
+
DEVICE_RECENTLY_LOST = :DEVICE_RECENTLY_LOST
|
|
132
|
+
TOO_MANY_RECENT_ATTEMPTS = :TOO_MANY_RECENT_ATTEMPTS
|
|
133
|
+
TOO_MANY_RECENT_TOKENS = :TOO_MANY_RECENT_TOKENS
|
|
134
|
+
TOO_MANY_DIFFERENT_CARDHOLDERS = :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
135
|
+
OUTSIDE_HOME_TERRITORY = :OUTSIDE_HOME_TERRITORY
|
|
136
|
+
HAS_SUSPENDED_TOKENS = :HAS_SUSPENDED_TOKENS
|
|
137
|
+
HIGH_RISK = :HIGH_RISK
|
|
138
|
+
ACCOUNT_SCORE_LOW = :ACCOUNT_SCORE_LOW
|
|
139
|
+
DEVICE_SCORE_LOW = :DEVICE_SCORE_LOW
|
|
140
|
+
CARD_STATE_TFA = :CARD_STATE_TFA
|
|
141
|
+
HARDCODED_TFA = :HARDCODED_TFA
|
|
142
|
+
CUSTOMER_RULE_TFA = :CUSTOMER_RULE_TFA
|
|
143
|
+
DEVICE_HOST_CARD_EMULATION = :DEVICE_HOST_CARD_EMULATION
|
|
144
|
+
|
|
145
|
+
# @!method self.values
|
|
146
|
+
# @return [Array<Symbol>]
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# @!method self.variants
|
|
151
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction)]
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
|
155
|
+
# @!attribute attribute
|
|
156
|
+
# The attribute to target.
|
|
157
|
+
#
|
|
158
|
+
# The following attributes may be targeted:
|
|
159
|
+
#
|
|
160
|
+
# - `TIMESTAMP`: The timestamp of the tokenization request in ISO 8601 format.
|
|
161
|
+
# - `TOKENIZATION_CHANNEL`: The channel through which the tokenization request was
|
|
162
|
+
# initiated (e.g., DIGITAL_WALLET, ECOMMERCE).
|
|
163
|
+
# - `TOKENIZATION_SOURCE`: The source of the tokenization request.
|
|
164
|
+
# - `TOKEN_REQUESTOR_NAME`: The name of the entity requesting the token. Valid
|
|
165
|
+
# values are `ALT_ID`, `AMAZON_ONE`, `AMERICAN_EXPRESS_TOKEN_SERVICE`,
|
|
166
|
+
# `ANDROID_PAY`, `APPLE_PAY`, `FACEBOOK`, `FITBIT_PAY`, `GARMIN_PAY`,
|
|
167
|
+
# `GOOGLE_PAY`, `GOOGLE_VCN`, `ISSUER_HCE`, `MICROSOFT_PAY`, `NETFLIX`,
|
|
168
|
+
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
169
|
+
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
170
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
171
|
+
# = medium risk).
|
|
172
|
+
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
173
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
174
|
+
# = medium risk).
|
|
175
|
+
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
176
|
+
# provider. Valid values include APPROVE, DECLINE,
|
|
177
|
+
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
178
|
+
# - `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
|
|
179
|
+
# - `WALLET_TOKEN_STATUS`: The current status of the wallet token.
|
|
180
|
+
#
|
|
181
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute]
|
|
182
|
+
required :attribute,
|
|
183
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute }
|
|
184
|
+
|
|
185
|
+
# @!attribute operation
|
|
186
|
+
# The operation to apply to the attribute
|
|
187
|
+
#
|
|
188
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalOperation]
|
|
189
|
+
required :operation, enum: -> { Lithic::AuthRules::ConditionalOperation }
|
|
190
|
+
|
|
191
|
+
# @!attribute value
|
|
192
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
193
|
+
#
|
|
194
|
+
# @return [String, Integer, Array<String>]
|
|
195
|
+
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
196
|
+
|
|
197
|
+
# @!method initialize(attribute:, operation:, value:)
|
|
198
|
+
# Some parameter documentations has been truncated, see
|
|
199
|
+
# {Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition}
|
|
200
|
+
# for more details.
|
|
201
|
+
#
|
|
202
|
+
# @param attribute [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute] The attribute to target.
|
|
203
|
+
#
|
|
204
|
+
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
205
|
+
#
|
|
206
|
+
# @param value [String, Integer, Array<String>] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
207
|
+
|
|
208
|
+
# The attribute to target.
|
|
209
|
+
#
|
|
210
|
+
# The following attributes may be targeted:
|
|
211
|
+
#
|
|
212
|
+
# - `TIMESTAMP`: The timestamp of the tokenization request in ISO 8601 format.
|
|
213
|
+
# - `TOKENIZATION_CHANNEL`: The channel through which the tokenization request was
|
|
214
|
+
# initiated (e.g., DIGITAL_WALLET, ECOMMERCE).
|
|
215
|
+
# - `TOKENIZATION_SOURCE`: The source of the tokenization request.
|
|
216
|
+
# - `TOKEN_REQUESTOR_NAME`: The name of the entity requesting the token. Valid
|
|
217
|
+
# values are `ALT_ID`, `AMAZON_ONE`, `AMERICAN_EXPRESS_TOKEN_SERVICE`,
|
|
218
|
+
# `ANDROID_PAY`, `APPLE_PAY`, `FACEBOOK`, `FITBIT_PAY`, `GARMIN_PAY`,
|
|
219
|
+
# `GOOGLE_PAY`, `GOOGLE_VCN`, `ISSUER_HCE`, `MICROSOFT_PAY`, `NETFLIX`,
|
|
220
|
+
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
221
|
+
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
222
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
223
|
+
# = medium risk).
|
|
224
|
+
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
225
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
226
|
+
# = medium risk).
|
|
227
|
+
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
228
|
+
# provider. Valid values include APPROVE, DECLINE,
|
|
229
|
+
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
230
|
+
# - `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
|
|
231
|
+
# - `WALLET_TOKEN_STATUS`: The current status of the wallet token.
|
|
232
|
+
#
|
|
233
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition#attribute
|
|
234
|
+
module Attribute
|
|
235
|
+
extend Lithic::Internal::Type::Enum
|
|
236
|
+
|
|
237
|
+
TIMESTAMP = :TIMESTAMP
|
|
238
|
+
TOKENIZATION_CHANNEL = :TOKENIZATION_CHANNEL
|
|
239
|
+
TOKENIZATION_SOURCE = :TOKENIZATION_SOURCE
|
|
240
|
+
TOKEN_REQUESTOR_NAME = :TOKEN_REQUESTOR_NAME
|
|
241
|
+
WALLET_ACCOUNT_SCORE = :WALLET_ACCOUNT_SCORE
|
|
242
|
+
WALLET_DEVICE_SCORE = :WALLET_DEVICE_SCORE
|
|
243
|
+
WALLET_RECOMMENDED_DECISION = :WALLET_RECOMMENDED_DECISION
|
|
244
|
+
TOKEN_REQUESTOR_ID = :TOKEN_REQUESTOR_ID
|
|
245
|
+
WALLET_TOKEN_STATUS = :WALLET_TOKEN_STATUS
|
|
246
|
+
|
|
247
|
+
# @!method self.values
|
|
248
|
+
# @return [Array<Symbol>]
|
|
249
|
+
end
|
|
250
|
+
end
|
|
251
|
+
end
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
7
|
+
module ConditionalValue
|
|
8
|
+
extend Lithic::Internal::Type::Union
|
|
9
|
+
|
|
10
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
11
|
+
variant String
|
|
12
|
+
|
|
13
|
+
# A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`, `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
|
|
14
|
+
variant Integer
|
|
15
|
+
|
|
16
|
+
# An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF`
|
|
17
|
+
variant -> { Lithic::Models::AuthRules::ConditionalValue::StringArray }
|
|
18
|
+
|
|
19
|
+
# @!method self.variants
|
|
20
|
+
# @return [Array(String, Integer, Array<String>)]
|
|
21
|
+
|
|
22
|
+
# @type [Lithic::Internal::Type::Converter]
|
|
23
|
+
StringArray = Lithic::Internal::Type::ArrayOf[String]
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -11,7 +11,7 @@ module Lithic
|
|
|
11
11
|
# @!attribute parameters
|
|
12
12
|
# Parameters for the Auth Rule
|
|
13
13
|
#
|
|
14
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters]
|
|
14
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters]
|
|
15
15
|
required :parameters, union: -> { Lithic::AuthRules::V2CreateParams::Parameters }
|
|
16
16
|
|
|
17
17
|
# @!attribute type
|
|
@@ -23,7 +23,8 @@ module Lithic
|
|
|
23
23
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
24
24
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
25
25
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
26
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
26
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
27
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
27
28
|
#
|
|
28
29
|
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Type]
|
|
29
30
|
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Type }
|
|
@@ -74,7 +75,7 @@ module Lithic
|
|
|
74
75
|
# Some parameter documentations has been truncated, see
|
|
75
76
|
# {Lithic::Models::AuthRules::V2CreateParams} for more details.
|
|
76
77
|
#
|
|
77
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters] Parameters for the Auth Rule
|
|
78
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters] Parameters for the Auth Rule
|
|
78
79
|
#
|
|
79
80
|
# @param type [Symbol, Lithic::Models::AuthRules::V2CreateParams::Type] The type of Auth Rule. For certain rule types, this determines the event stream
|
|
80
81
|
#
|
|
@@ -108,8 +109,12 @@ module Lithic
|
|
|
108
109
|
|
|
109
110
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters }
|
|
110
111
|
|
|
112
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters }
|
|
113
|
+
|
|
114
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters }
|
|
115
|
+
|
|
111
116
|
# @!method self.variants
|
|
112
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters)]
|
|
117
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters)]
|
|
113
118
|
end
|
|
114
119
|
|
|
115
120
|
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
@@ -120,7 +125,8 @@ module Lithic
|
|
|
120
125
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
121
126
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
122
127
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
123
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
128
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
129
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
124
130
|
module Type
|
|
125
131
|
extend Lithic::Internal::Type::Enum
|
|
126
132
|
|
|
@@ -139,6 +145,9 @@ module Lithic
|
|
|
139
145
|
|
|
140
146
|
AUTHORIZATION = :AUTHORIZATION
|
|
141
147
|
THREE_DS_AUTHENTICATION = :THREE_DS_AUTHENTICATION
|
|
148
|
+
TOKENIZATION = :TOKENIZATION
|
|
149
|
+
ACH_CREDIT_RECEIPT = :ACH_CREDIT_RECEIPT
|
|
150
|
+
ACH_DEBIT_RECEIPT = :ACH_DEBIT_RECEIPT
|
|
142
151
|
|
|
143
152
|
# @!method self.values
|
|
144
153
|
# @return [Array<Symbol>]
|
|
@@ -79,7 +79,8 @@ module Lithic
|
|
|
79
79
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
80
80
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
81
81
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
82
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
82
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
83
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
83
84
|
#
|
|
84
85
|
# @return [Symbol, Lithic::Models::AuthRules::V2CreateResponse::Type]
|
|
85
86
|
required :type, enum: -> { Lithic::Models::AuthRules::V2CreateResponse::Type }
|
|
@@ -125,7 +126,7 @@ module Lithic
|
|
|
125
126
|
# @!attribute parameters
|
|
126
127
|
# Parameters for the Auth Rule
|
|
127
128
|
#
|
|
128
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters]
|
|
129
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters]
|
|
129
130
|
required :parameters,
|
|
130
131
|
union: -> { Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters }
|
|
131
132
|
|
|
@@ -142,7 +143,7 @@ module Lithic
|
|
|
142
143
|
# Some parameter documentations has been truncated, see
|
|
143
144
|
# {Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion} for more details.
|
|
144
145
|
#
|
|
145
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters] Parameters for the Auth Rule
|
|
146
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters] Parameters for the Auth Rule
|
|
146
147
|
#
|
|
147
148
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
|
148
149
|
|
|
@@ -162,8 +163,12 @@ module Lithic
|
|
|
162
163
|
|
|
163
164
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters }
|
|
164
165
|
|
|
166
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters }
|
|
167
|
+
|
|
168
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters }
|
|
169
|
+
|
|
165
170
|
# @!method self.variants
|
|
166
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters)]
|
|
171
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters)]
|
|
167
172
|
end
|
|
168
173
|
end
|
|
169
174
|
|
|
@@ -172,7 +177,7 @@ module Lithic
|
|
|
172
177
|
# @!attribute parameters
|
|
173
178
|
# Parameters for the Auth Rule
|
|
174
179
|
#
|
|
175
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters]
|
|
180
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters]
|
|
176
181
|
required :parameters, union: -> { Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters }
|
|
177
182
|
|
|
178
183
|
response_only do
|
|
@@ -188,7 +193,7 @@ module Lithic
|
|
|
188
193
|
# Some parameter documentations has been truncated, see
|
|
189
194
|
# {Lithic::Models::AuthRules::V2CreateResponse::DraftVersion} for more details.
|
|
190
195
|
#
|
|
191
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters] Parameters for the Auth Rule
|
|
196
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters] Parameters for the Auth Rule
|
|
192
197
|
#
|
|
193
198
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
|
194
199
|
|
|
@@ -208,8 +213,12 @@ module Lithic
|
|
|
208
213
|
|
|
209
214
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters }
|
|
210
215
|
|
|
216
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters }
|
|
217
|
+
|
|
218
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters }
|
|
219
|
+
|
|
211
220
|
# @!method self.variants
|
|
212
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters)]
|
|
221
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters)]
|
|
213
222
|
end
|
|
214
223
|
end
|
|
215
224
|
|
|
@@ -221,6 +230,9 @@ module Lithic
|
|
|
221
230
|
|
|
222
231
|
AUTHORIZATION = :AUTHORIZATION
|
|
223
232
|
THREE_DS_AUTHENTICATION = :THREE_DS_AUTHENTICATION
|
|
233
|
+
TOKENIZATION = :TOKENIZATION
|
|
234
|
+
ACH_CREDIT_RECEIPT = :ACH_CREDIT_RECEIPT
|
|
235
|
+
ACH_DEBIT_RECEIPT = :ACH_DEBIT_RECEIPT
|
|
224
236
|
|
|
225
237
|
# @!method self.values
|
|
226
238
|
# @return [Array<Symbol>]
|
|
@@ -247,7 +259,8 @@ module Lithic
|
|
|
247
259
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
248
260
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
249
261
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
250
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
262
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
263
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
251
264
|
#
|
|
252
265
|
# @see Lithic::Models::AuthRules::V2CreateResponse#type
|
|
253
266
|
module Type
|
|
@@ -11,11 +11,11 @@ module Lithic
|
|
|
11
11
|
# @!attribute parameters
|
|
12
12
|
# Parameters for the Auth Rule
|
|
13
13
|
#
|
|
14
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, nil]
|
|
14
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, nil]
|
|
15
15
|
optional :parameters, union: -> { Lithic::AuthRules::V2DraftParams::Parameters }, nil?: true
|
|
16
16
|
|
|
17
17
|
# @!method initialize(parameters: nil, request_options: {})
|
|
18
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, nil] Parameters for the Auth Rule
|
|
18
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, nil] Parameters for the Auth Rule
|
|
19
19
|
#
|
|
20
20
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
21
21
|
|
|
@@ -33,8 +33,12 @@ module Lithic
|
|
|
33
33
|
|
|
34
34
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters }
|
|
35
35
|
|
|
36
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters }
|
|
37
|
+
|
|
38
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters }
|
|
39
|
+
|
|
36
40
|
# @!method self.variants
|
|
37
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters)]
|
|
41
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters)]
|
|
38
42
|
end
|
|
39
43
|
end
|
|
40
44
|
end
|
|
@@ -79,7 +79,8 @@ module Lithic
|
|
|
79
79
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
80
80
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
81
81
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
82
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
82
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
83
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
83
84
|
#
|
|
84
85
|
# @return [Symbol, Lithic::Models::AuthRules::V2DraftResponse::Type]
|
|
85
86
|
required :type, enum: -> { Lithic::Models::AuthRules::V2DraftResponse::Type }
|
|
@@ -125,7 +126,7 @@ module Lithic
|
|
|
125
126
|
# @!attribute parameters
|
|
126
127
|
# Parameters for the Auth Rule
|
|
127
128
|
#
|
|
128
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters]
|
|
129
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters]
|
|
129
130
|
required :parameters, union: -> { Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters }
|
|
130
131
|
|
|
131
132
|
response_only do
|
|
@@ -141,7 +142,7 @@ module Lithic
|
|
|
141
142
|
# Some parameter documentations has been truncated, see
|
|
142
143
|
# {Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion} for more details.
|
|
143
144
|
#
|
|
144
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters] Parameters for the Auth Rule
|
|
145
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters] Parameters for the Auth Rule
|
|
145
146
|
#
|
|
146
147
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
|
147
148
|
|
|
@@ -161,8 +162,12 @@ module Lithic
|
|
|
161
162
|
|
|
162
163
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters }
|
|
163
164
|
|
|
165
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters }
|
|
166
|
+
|
|
167
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters }
|
|
168
|
+
|
|
164
169
|
# @!method self.variants
|
|
165
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters)]
|
|
170
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters)]
|
|
166
171
|
end
|
|
167
172
|
end
|
|
168
173
|
|
|
@@ -171,7 +176,7 @@ module Lithic
|
|
|
171
176
|
# @!attribute parameters
|
|
172
177
|
# Parameters for the Auth Rule
|
|
173
178
|
#
|
|
174
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters]
|
|
179
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters]
|
|
175
180
|
required :parameters, union: -> { Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters }
|
|
176
181
|
|
|
177
182
|
response_only do
|
|
@@ -187,7 +192,7 @@ module Lithic
|
|
|
187
192
|
# Some parameter documentations has been truncated, see
|
|
188
193
|
# {Lithic::Models::AuthRules::V2DraftResponse::DraftVersion} for more details.
|
|
189
194
|
#
|
|
190
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters] Parameters for the Auth Rule
|
|
195
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters] Parameters for the Auth Rule
|
|
191
196
|
#
|
|
192
197
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
|
193
198
|
|
|
@@ -207,8 +212,12 @@ module Lithic
|
|
|
207
212
|
|
|
208
213
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters }
|
|
209
214
|
|
|
215
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters }
|
|
216
|
+
|
|
217
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters }
|
|
218
|
+
|
|
210
219
|
# @!method self.variants
|
|
211
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters)]
|
|
220
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters)]
|
|
212
221
|
end
|
|
213
222
|
end
|
|
214
223
|
|
|
@@ -220,6 +229,9 @@ module Lithic
|
|
|
220
229
|
|
|
221
230
|
AUTHORIZATION = :AUTHORIZATION
|
|
222
231
|
THREE_DS_AUTHENTICATION = :THREE_DS_AUTHENTICATION
|
|
232
|
+
TOKENIZATION = :TOKENIZATION
|
|
233
|
+
ACH_CREDIT_RECEIPT = :ACH_CREDIT_RECEIPT
|
|
234
|
+
ACH_DEBIT_RECEIPT = :ACH_DEBIT_RECEIPT
|
|
223
235
|
|
|
224
236
|
# @!method self.values
|
|
225
237
|
# @return [Array<Symbol>]
|
|
@@ -246,7 +258,8 @@ module Lithic
|
|
|
246
258
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
247
259
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
248
260
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
249
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
261
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
262
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
250
263
|
#
|
|
251
264
|
# @see Lithic::Models::AuthRules::V2DraftResponse#type
|
|
252
265
|
module Type
|
|
@@ -86,6 +86,9 @@ module Lithic
|
|
|
86
86
|
|
|
87
87
|
AUTHORIZATION = :AUTHORIZATION
|
|
88
88
|
THREE_DS_AUTHENTICATION = :THREE_DS_AUTHENTICATION
|
|
89
|
+
TOKENIZATION = :TOKENIZATION
|
|
90
|
+
ACH_CREDIT_RECEIPT = :ACH_CREDIT_RECEIPT
|
|
91
|
+
ACH_DEBIT_RECEIPT = :ACH_DEBIT_RECEIPT
|
|
89
92
|
|
|
90
93
|
# @!method self.values
|
|
91
94
|
# @return [Array<Symbol>]
|