lithic 0.1.0.pre.alpha.54 → 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 +39 -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/account_holder_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- 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 +207 -0
- 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 +46 -283
- data/lib/lithic/models/auth_rules/v2_create_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -248
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_update_response.rb +23 -510
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
- data/lib/lithic/models/book_transfer_response.rb +6 -5
- data/lib/lithic/models/category_details.rb +27 -0
- 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/event.rb +213 -69
- data/lib/lithic/models/event_list_params.rb +112 -6
- data/lib/lithic/models/event_subscription.rb +112 -6
- data/lib/lithic/models/events/subscription_create_params.rb +112 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
- data/lib/lithic/models/events/subscription_update_params.rb +112 -6
- 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 +5 -68
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -424
- data/lib/lithic/models/financial_accounts/statement.rb +73 -211
- 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 +16 -14
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- 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/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +15 -185
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -43
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
- data/lib/lithic/resources/auth_rules/v2.rb +13 -56
- 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 +53 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +18 -3
- 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/account_holder_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- 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 +437 -0
- 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 +112 -680
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
- data/rbi/lithic/models/book_transfer_response.rbi +16 -11
- data/rbi/lithic/models/category_details.rbi +43 -0
- 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/event.rbi +348 -111
- data/rbi/lithic/models/event_list_params.rbi +155 -25
- data/rbi/lithic/models/event_subscription.rbi +155 -25
- data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
- data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
- 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 +15 -136
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -679
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -348
- 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 +27 -21
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -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/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +26 -336
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +77 -136
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +29 -72
- 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 +52 -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/account_holder_simulate_enrollment_review_response.rbs +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- 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 +112 -0
- 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 +32 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +3 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
- data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
- data/sig/lithic/models/book_transfer_response.rbs +10 -8
- data/sig/lithic/models/category_details.rbs +26 -0
- 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/event.rbs +25 -13
- data/sig/lithic/models/event_list_params.rbs +25 -13
- data/sig/lithic/models/event_subscription.rbs +25 -13
- data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
- 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 +7 -49
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -386
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -192
- 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 +17 -15
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +17 -145
- 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/auth_rules/v2.rbs +2 -12
- 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 +12 -0
- metadata +56 -11
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
|
@@ -101,7 +101,8 @@ module Lithic
|
|
|
101
101
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
102
102
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
103
103
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
104
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
104
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
105
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
105
106
|
sig do
|
|
106
107
|
returns(
|
|
107
108
|
Lithic::Models::AuthRules::V2UpdateResponse::Type::TaggedSymbol
|
|
@@ -170,7 +171,8 @@ module Lithic
|
|
|
170
171
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
171
172
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
172
173
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
173
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
174
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
175
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
174
176
|
type:,
|
|
175
177
|
# Card tokens to which the Auth Rule does not apply.
|
|
176
178
|
excluded_card_tokens: nil
|
|
@@ -238,7 +240,9 @@ module Lithic
|
|
|
238
240
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
239
241
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
240
242
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
241
|
-
Lithic::
|
|
243
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
244
|
+
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
245
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
242
246
|
),
|
|
243
247
|
version: Integer
|
|
244
248
|
).returns(T.attached_class)
|
|
@@ -275,581 +279,12 @@ module Lithic
|
|
|
275
279
|
Lithic::AuthRules::VelocityLimitParams,
|
|
276
280
|
Lithic::AuthRules::MerchantLockParameters,
|
|
277
281
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
278
|
-
Lithic::
|
|
282
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
283
|
+
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
284
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
279
285
|
)
|
|
280
286
|
end
|
|
281
287
|
|
|
282
|
-
class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
|
|
283
|
-
OrHash =
|
|
284
|
-
T.type_alias do
|
|
285
|
-
T.any(
|
|
286
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters,
|
|
287
|
-
Lithic::Internal::AnyHash
|
|
288
|
-
)
|
|
289
|
-
end
|
|
290
|
-
|
|
291
|
-
# The action to take if the conditions are met.
|
|
292
|
-
sig do
|
|
293
|
-
returns(
|
|
294
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
|
|
295
|
-
)
|
|
296
|
-
end
|
|
297
|
-
attr_accessor :action
|
|
298
|
-
|
|
299
|
-
sig do
|
|
300
|
-
returns(
|
|
301
|
-
T::Array[
|
|
302
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
|
|
303
|
-
]
|
|
304
|
-
)
|
|
305
|
-
end
|
|
306
|
-
attr_accessor :conditions
|
|
307
|
-
|
|
308
|
-
sig do
|
|
309
|
-
params(
|
|
310
|
-
action:
|
|
311
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::OrSymbol,
|
|
312
|
-
conditions:
|
|
313
|
-
T::Array[
|
|
314
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::OrHash
|
|
315
|
-
]
|
|
316
|
-
).returns(T.attached_class)
|
|
317
|
-
end
|
|
318
|
-
def self.new(
|
|
319
|
-
# The action to take if the conditions are met.
|
|
320
|
-
action:,
|
|
321
|
-
conditions:
|
|
322
|
-
)
|
|
323
|
-
end
|
|
324
|
-
|
|
325
|
-
sig do
|
|
326
|
-
override.returns(
|
|
327
|
-
{
|
|
328
|
-
action:
|
|
329
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol,
|
|
330
|
-
conditions:
|
|
331
|
-
T::Array[
|
|
332
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
|
|
333
|
-
]
|
|
334
|
-
}
|
|
335
|
-
)
|
|
336
|
-
end
|
|
337
|
-
def to_hash
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
# The action to take if the conditions are met.
|
|
341
|
-
module Action
|
|
342
|
-
extend Lithic::Internal::Type::Enum
|
|
343
|
-
|
|
344
|
-
TaggedSymbol =
|
|
345
|
-
T.type_alias do
|
|
346
|
-
T.all(
|
|
347
|
-
Symbol,
|
|
348
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action
|
|
349
|
-
)
|
|
350
|
-
end
|
|
351
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
352
|
-
|
|
353
|
-
DECLINE =
|
|
354
|
-
T.let(
|
|
355
|
-
:DECLINE,
|
|
356
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
|
|
357
|
-
)
|
|
358
|
-
CHALLENGE =
|
|
359
|
-
T.let(
|
|
360
|
-
:CHALLENGE,
|
|
361
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
|
|
362
|
-
)
|
|
363
|
-
|
|
364
|
-
sig do
|
|
365
|
-
override.returns(
|
|
366
|
-
T::Array[
|
|
367
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
|
|
368
|
-
]
|
|
369
|
-
)
|
|
370
|
-
end
|
|
371
|
-
def self.values
|
|
372
|
-
end
|
|
373
|
-
end
|
|
374
|
-
|
|
375
|
-
class Condition < Lithic::Internal::Type::BaseModel
|
|
376
|
-
OrHash =
|
|
377
|
-
T.type_alias do
|
|
378
|
-
T.any(
|
|
379
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition,
|
|
380
|
-
Lithic::Internal::AnyHash
|
|
381
|
-
)
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
# The attribute to target.
|
|
385
|
-
#
|
|
386
|
-
# The following attributes may be targeted:
|
|
387
|
-
#
|
|
388
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
389
|
-
# business by the types of goods or services it provides.
|
|
390
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
391
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
392
|
-
# Netherlands Antilles.
|
|
393
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
394
|
-
# the transaction.
|
|
395
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
396
|
-
# (merchant).
|
|
397
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
398
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
399
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
400
|
-
# `TOKEN_AUTHENTICATED`.
|
|
401
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
402
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
403
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
404
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
405
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
406
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
407
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
408
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
409
|
-
# fee on behalf of the cardholder.
|
|
410
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
411
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
412
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
413
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
414
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
415
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
416
|
-
# multiplying the raw score by 10x.
|
|
417
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
418
|
-
# trailing 15 minutes before the authorization.
|
|
419
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
420
|
-
# trailing hour up and until the authorization.
|
|
421
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
422
|
-
# trailing 24 hours up and until the authorization.
|
|
423
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
424
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
425
|
-
# `PENDING_FULFILLMENT`.
|
|
426
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
427
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
428
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
429
|
-
# `OK`, `BLOCKED`.
|
|
430
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
431
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
432
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
433
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
434
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
435
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
436
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
437
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
438
|
-
sig do
|
|
439
|
-
returns(
|
|
440
|
-
T.nilable(
|
|
441
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
442
|
-
)
|
|
443
|
-
)
|
|
444
|
-
end
|
|
445
|
-
attr_reader :attribute
|
|
446
|
-
|
|
447
|
-
sig do
|
|
448
|
-
params(
|
|
449
|
-
attribute:
|
|
450
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
|
|
451
|
-
).void
|
|
452
|
-
end
|
|
453
|
-
attr_writer :attribute
|
|
454
|
-
|
|
455
|
-
# The operation to apply to the attribute
|
|
456
|
-
sig do
|
|
457
|
-
returns(
|
|
458
|
-
T.nilable(
|
|
459
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
460
|
-
)
|
|
461
|
-
)
|
|
462
|
-
end
|
|
463
|
-
attr_reader :operation
|
|
464
|
-
|
|
465
|
-
sig do
|
|
466
|
-
params(
|
|
467
|
-
operation:
|
|
468
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
|
|
469
|
-
).void
|
|
470
|
-
end
|
|
471
|
-
attr_writer :operation
|
|
472
|
-
|
|
473
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
474
|
-
sig do
|
|
475
|
-
returns(
|
|
476
|
-
T.nilable(
|
|
477
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
478
|
-
)
|
|
479
|
-
)
|
|
480
|
-
end
|
|
481
|
-
attr_reader :value
|
|
482
|
-
|
|
483
|
-
sig do
|
|
484
|
-
params(
|
|
485
|
-
value:
|
|
486
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
487
|
-
).void
|
|
488
|
-
end
|
|
489
|
-
attr_writer :value
|
|
490
|
-
|
|
491
|
-
sig do
|
|
492
|
-
params(
|
|
493
|
-
attribute:
|
|
494
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
|
|
495
|
-
operation:
|
|
496
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol,
|
|
497
|
-
value:
|
|
498
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
499
|
-
).returns(T.attached_class)
|
|
500
|
-
end
|
|
501
|
-
def self.new(
|
|
502
|
-
# The attribute to target.
|
|
503
|
-
#
|
|
504
|
-
# The following attributes may be targeted:
|
|
505
|
-
#
|
|
506
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
507
|
-
# business by the types of goods or services it provides.
|
|
508
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
509
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
510
|
-
# Netherlands Antilles.
|
|
511
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
512
|
-
# the transaction.
|
|
513
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
514
|
-
# (merchant).
|
|
515
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
516
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
517
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
518
|
-
# `TOKEN_AUTHENTICATED`.
|
|
519
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
520
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
521
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
522
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
523
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
524
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
525
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
526
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
527
|
-
# fee on behalf of the cardholder.
|
|
528
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
529
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
530
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
531
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
532
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
533
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
534
|
-
# multiplying the raw score by 10x.
|
|
535
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
536
|
-
# trailing 15 minutes before the authorization.
|
|
537
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
538
|
-
# trailing hour up and until the authorization.
|
|
539
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
540
|
-
# trailing 24 hours up and until the authorization.
|
|
541
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
542
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
543
|
-
# `PENDING_FULFILLMENT`.
|
|
544
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
545
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
546
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
547
|
-
# `OK`, `BLOCKED`.
|
|
548
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
549
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
550
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
551
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
552
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
553
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
554
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
555
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
556
|
-
attribute: nil,
|
|
557
|
-
# The operation to apply to the attribute
|
|
558
|
-
operation: nil,
|
|
559
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
560
|
-
value: nil
|
|
561
|
-
)
|
|
562
|
-
end
|
|
563
|
-
|
|
564
|
-
sig do
|
|
565
|
-
override.returns(
|
|
566
|
-
{
|
|
567
|
-
attribute:
|
|
568
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol,
|
|
569
|
-
operation:
|
|
570
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol,
|
|
571
|
-
value:
|
|
572
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
573
|
-
}
|
|
574
|
-
)
|
|
575
|
-
end
|
|
576
|
-
def to_hash
|
|
577
|
-
end
|
|
578
|
-
|
|
579
|
-
# The attribute to target.
|
|
580
|
-
#
|
|
581
|
-
# The following attributes may be targeted:
|
|
582
|
-
#
|
|
583
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
584
|
-
# business by the types of goods or services it provides.
|
|
585
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
586
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
587
|
-
# Netherlands Antilles.
|
|
588
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
589
|
-
# the transaction.
|
|
590
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
591
|
-
# (merchant).
|
|
592
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
593
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
594
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
595
|
-
# `TOKEN_AUTHENTICATED`.
|
|
596
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
597
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
598
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
599
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
600
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
601
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
602
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
603
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
604
|
-
# fee on behalf of the cardholder.
|
|
605
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
606
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
607
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
608
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
609
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
610
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
611
|
-
# multiplying the raw score by 10x.
|
|
612
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
613
|
-
# trailing 15 minutes before the authorization.
|
|
614
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
615
|
-
# trailing hour up and until the authorization.
|
|
616
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
617
|
-
# trailing 24 hours up and until the authorization.
|
|
618
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
619
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
620
|
-
# `PENDING_FULFILLMENT`.
|
|
621
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
622
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
623
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
624
|
-
# `OK`, `BLOCKED`.
|
|
625
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
626
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
627
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
628
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
629
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
630
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
631
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
632
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
633
|
-
module Attribute
|
|
634
|
-
extend Lithic::Internal::Type::Enum
|
|
635
|
-
|
|
636
|
-
TaggedSymbol =
|
|
637
|
-
T.type_alias do
|
|
638
|
-
T.all(
|
|
639
|
-
Symbol,
|
|
640
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute
|
|
641
|
-
)
|
|
642
|
-
end
|
|
643
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
644
|
-
|
|
645
|
-
MCC =
|
|
646
|
-
T.let(
|
|
647
|
-
:MCC,
|
|
648
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
649
|
-
)
|
|
650
|
-
COUNTRY =
|
|
651
|
-
T.let(
|
|
652
|
-
:COUNTRY,
|
|
653
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
654
|
-
)
|
|
655
|
-
CURRENCY =
|
|
656
|
-
T.let(
|
|
657
|
-
:CURRENCY,
|
|
658
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
659
|
-
)
|
|
660
|
-
MERCHANT_ID =
|
|
661
|
-
T.let(
|
|
662
|
-
:MERCHANT_ID,
|
|
663
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
664
|
-
)
|
|
665
|
-
DESCRIPTOR =
|
|
666
|
-
T.let(
|
|
667
|
-
:DESCRIPTOR,
|
|
668
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
669
|
-
)
|
|
670
|
-
LIABILITY_SHIFT =
|
|
671
|
-
T.let(
|
|
672
|
-
:LIABILITY_SHIFT,
|
|
673
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
674
|
-
)
|
|
675
|
-
PAN_ENTRY_MODE =
|
|
676
|
-
T.let(
|
|
677
|
-
:PAN_ENTRY_MODE,
|
|
678
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
679
|
-
)
|
|
680
|
-
TRANSACTION_AMOUNT =
|
|
681
|
-
T.let(
|
|
682
|
-
:TRANSACTION_AMOUNT,
|
|
683
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
684
|
-
)
|
|
685
|
-
CASH_AMOUNT =
|
|
686
|
-
T.let(
|
|
687
|
-
:CASH_AMOUNT,
|
|
688
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
689
|
-
)
|
|
690
|
-
RISK_SCORE =
|
|
691
|
-
T.let(
|
|
692
|
-
:RISK_SCORE,
|
|
693
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
694
|
-
)
|
|
695
|
-
CARD_TRANSACTION_COUNT_15_M =
|
|
696
|
-
T.let(
|
|
697
|
-
:CARD_TRANSACTION_COUNT_15M,
|
|
698
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
699
|
-
)
|
|
700
|
-
CARD_TRANSACTION_COUNT_1_H =
|
|
701
|
-
T.let(
|
|
702
|
-
:CARD_TRANSACTION_COUNT_1H,
|
|
703
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
704
|
-
)
|
|
705
|
-
CARD_TRANSACTION_COUNT_24_H =
|
|
706
|
-
T.let(
|
|
707
|
-
:CARD_TRANSACTION_COUNT_24H,
|
|
708
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
709
|
-
)
|
|
710
|
-
CARD_STATE =
|
|
711
|
-
T.let(
|
|
712
|
-
:CARD_STATE,
|
|
713
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
714
|
-
)
|
|
715
|
-
PIN_ENTERED =
|
|
716
|
-
T.let(
|
|
717
|
-
:PIN_ENTERED,
|
|
718
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
719
|
-
)
|
|
720
|
-
PIN_STATUS =
|
|
721
|
-
T.let(
|
|
722
|
-
:PIN_STATUS,
|
|
723
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
724
|
-
)
|
|
725
|
-
WALLET_TYPE =
|
|
726
|
-
T.let(
|
|
727
|
-
:WALLET_TYPE,
|
|
728
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
729
|
-
)
|
|
730
|
-
TRANSACTION_INITIATOR =
|
|
731
|
-
T.let(
|
|
732
|
-
:TRANSACTION_INITIATOR,
|
|
733
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
734
|
-
)
|
|
735
|
-
ADDRESS_MATCH =
|
|
736
|
-
T.let(
|
|
737
|
-
:ADDRESS_MATCH,
|
|
738
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
739
|
-
)
|
|
740
|
-
|
|
741
|
-
sig do
|
|
742
|
-
override.returns(
|
|
743
|
-
T::Array[
|
|
744
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
745
|
-
]
|
|
746
|
-
)
|
|
747
|
-
end
|
|
748
|
-
def self.values
|
|
749
|
-
end
|
|
750
|
-
end
|
|
751
|
-
|
|
752
|
-
# The operation to apply to the attribute
|
|
753
|
-
module Operation
|
|
754
|
-
extend Lithic::Internal::Type::Enum
|
|
755
|
-
|
|
756
|
-
TaggedSymbol =
|
|
757
|
-
T.type_alias do
|
|
758
|
-
T.all(
|
|
759
|
-
Symbol,
|
|
760
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation
|
|
761
|
-
)
|
|
762
|
-
end
|
|
763
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
764
|
-
|
|
765
|
-
IS_ONE_OF =
|
|
766
|
-
T.let(
|
|
767
|
-
:IS_ONE_OF,
|
|
768
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
769
|
-
)
|
|
770
|
-
IS_NOT_ONE_OF =
|
|
771
|
-
T.let(
|
|
772
|
-
:IS_NOT_ONE_OF,
|
|
773
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
774
|
-
)
|
|
775
|
-
MATCHES =
|
|
776
|
-
T.let(
|
|
777
|
-
:MATCHES,
|
|
778
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
779
|
-
)
|
|
780
|
-
DOES_NOT_MATCH =
|
|
781
|
-
T.let(
|
|
782
|
-
:DOES_NOT_MATCH,
|
|
783
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
784
|
-
)
|
|
785
|
-
IS_EQUAL_TO =
|
|
786
|
-
T.let(
|
|
787
|
-
:IS_EQUAL_TO,
|
|
788
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
789
|
-
)
|
|
790
|
-
IS_NOT_EQUAL_TO =
|
|
791
|
-
T.let(
|
|
792
|
-
:IS_NOT_EQUAL_TO,
|
|
793
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
794
|
-
)
|
|
795
|
-
IS_GREATER_THAN =
|
|
796
|
-
T.let(
|
|
797
|
-
:IS_GREATER_THAN,
|
|
798
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
799
|
-
)
|
|
800
|
-
IS_GREATER_THAN_OR_EQUAL_TO =
|
|
801
|
-
T.let(
|
|
802
|
-
:IS_GREATER_THAN_OR_EQUAL_TO,
|
|
803
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
804
|
-
)
|
|
805
|
-
IS_LESS_THAN =
|
|
806
|
-
T.let(
|
|
807
|
-
:IS_LESS_THAN,
|
|
808
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
809
|
-
)
|
|
810
|
-
IS_LESS_THAN_OR_EQUAL_TO =
|
|
811
|
-
T.let(
|
|
812
|
-
:IS_LESS_THAN_OR_EQUAL_TO,
|
|
813
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
814
|
-
)
|
|
815
|
-
|
|
816
|
-
sig do
|
|
817
|
-
override.returns(
|
|
818
|
-
T::Array[
|
|
819
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
820
|
-
]
|
|
821
|
-
)
|
|
822
|
-
end
|
|
823
|
-
def self.values
|
|
824
|
-
end
|
|
825
|
-
end
|
|
826
|
-
|
|
827
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
828
|
-
module Value
|
|
829
|
-
extend Lithic::Internal::Type::Union
|
|
830
|
-
|
|
831
|
-
Variants =
|
|
832
|
-
T.type_alias { T.any(String, Integer, T::Array[String]) }
|
|
833
|
-
|
|
834
|
-
sig do
|
|
835
|
-
override.returns(
|
|
836
|
-
T::Array[
|
|
837
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
838
|
-
]
|
|
839
|
-
)
|
|
840
|
-
end
|
|
841
|
-
def self.variants
|
|
842
|
-
end
|
|
843
|
-
|
|
844
|
-
StringArray =
|
|
845
|
-
T.let(
|
|
846
|
-
Lithic::Internal::Type::ArrayOf[String],
|
|
847
|
-
Lithic::Internal::Type::Converter
|
|
848
|
-
)
|
|
849
|
-
end
|
|
850
|
-
end
|
|
851
|
-
end
|
|
852
|
-
|
|
853
288
|
sig do
|
|
854
289
|
override.returns(
|
|
855
290
|
T::Array[
|
|
@@ -892,7 +327,9 @@ module Lithic
|
|
|
892
327
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
893
328
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
894
329
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
895
|
-
Lithic::
|
|
330
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
|
|
331
|
+
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
332
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
|
|
896
333
|
),
|
|
897
334
|
version: Integer
|
|
898
335
|
).returns(T.attached_class)
|
|
@@ -929,580 +366,11 @@ module Lithic
|
|
|
929
366
|
Lithic::AuthRules::VelocityLimitParams,
|
|
930
367
|
Lithic::AuthRules::MerchantLockParameters,
|
|
931
368
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
932
|
-
Lithic::
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
|
|
937
|
-
OrHash =
|
|
938
|
-
T.type_alias do
|
|
939
|
-
T.any(
|
|
940
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters,
|
|
941
|
-
Lithic::Internal::AnyHash
|
|
942
|
-
)
|
|
943
|
-
end
|
|
944
|
-
|
|
945
|
-
# The action to take if the conditions are met.
|
|
946
|
-
sig do
|
|
947
|
-
returns(
|
|
948
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
|
|
369
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters,
|
|
370
|
+
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
371
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
949
372
|
)
|
|
950
373
|
end
|
|
951
|
-
attr_accessor :action
|
|
952
|
-
|
|
953
|
-
sig do
|
|
954
|
-
returns(
|
|
955
|
-
T::Array[
|
|
956
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
|
|
957
|
-
]
|
|
958
|
-
)
|
|
959
|
-
end
|
|
960
|
-
attr_accessor :conditions
|
|
961
|
-
|
|
962
|
-
sig do
|
|
963
|
-
params(
|
|
964
|
-
action:
|
|
965
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::OrSymbol,
|
|
966
|
-
conditions:
|
|
967
|
-
T::Array[
|
|
968
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::OrHash
|
|
969
|
-
]
|
|
970
|
-
).returns(T.attached_class)
|
|
971
|
-
end
|
|
972
|
-
def self.new(
|
|
973
|
-
# The action to take if the conditions are met.
|
|
974
|
-
action:,
|
|
975
|
-
conditions:
|
|
976
|
-
)
|
|
977
|
-
end
|
|
978
|
-
|
|
979
|
-
sig do
|
|
980
|
-
override.returns(
|
|
981
|
-
{
|
|
982
|
-
action:
|
|
983
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol,
|
|
984
|
-
conditions:
|
|
985
|
-
T::Array[
|
|
986
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
|
|
987
|
-
]
|
|
988
|
-
}
|
|
989
|
-
)
|
|
990
|
-
end
|
|
991
|
-
def to_hash
|
|
992
|
-
end
|
|
993
|
-
|
|
994
|
-
# The action to take if the conditions are met.
|
|
995
|
-
module Action
|
|
996
|
-
extend Lithic::Internal::Type::Enum
|
|
997
|
-
|
|
998
|
-
TaggedSymbol =
|
|
999
|
-
T.type_alias do
|
|
1000
|
-
T.all(
|
|
1001
|
-
Symbol,
|
|
1002
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action
|
|
1003
|
-
)
|
|
1004
|
-
end
|
|
1005
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1006
|
-
|
|
1007
|
-
DECLINE =
|
|
1008
|
-
T.let(
|
|
1009
|
-
:DECLINE,
|
|
1010
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
|
|
1011
|
-
)
|
|
1012
|
-
CHALLENGE =
|
|
1013
|
-
T.let(
|
|
1014
|
-
:CHALLENGE,
|
|
1015
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
|
|
1016
|
-
)
|
|
1017
|
-
|
|
1018
|
-
sig do
|
|
1019
|
-
override.returns(
|
|
1020
|
-
T::Array[
|
|
1021
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
|
|
1022
|
-
]
|
|
1023
|
-
)
|
|
1024
|
-
end
|
|
1025
|
-
def self.values
|
|
1026
|
-
end
|
|
1027
|
-
end
|
|
1028
|
-
|
|
1029
|
-
class Condition < Lithic::Internal::Type::BaseModel
|
|
1030
|
-
OrHash =
|
|
1031
|
-
T.type_alias do
|
|
1032
|
-
T.any(
|
|
1033
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition,
|
|
1034
|
-
Lithic::Internal::AnyHash
|
|
1035
|
-
)
|
|
1036
|
-
end
|
|
1037
|
-
|
|
1038
|
-
# The attribute to target.
|
|
1039
|
-
#
|
|
1040
|
-
# The following attributes may be targeted:
|
|
1041
|
-
#
|
|
1042
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
1043
|
-
# business by the types of goods or services it provides.
|
|
1044
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
1045
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
1046
|
-
# Netherlands Antilles.
|
|
1047
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
1048
|
-
# the transaction.
|
|
1049
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
1050
|
-
# (merchant).
|
|
1051
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
1052
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
1053
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
1054
|
-
# `TOKEN_AUTHENTICATED`.
|
|
1055
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
1056
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
1057
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
1058
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
1059
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
1060
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
1061
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
1062
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
1063
|
-
# fee on behalf of the cardholder.
|
|
1064
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
1065
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
1066
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
1067
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
1068
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
1069
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
1070
|
-
# multiplying the raw score by 10x.
|
|
1071
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
1072
|
-
# trailing 15 minutes before the authorization.
|
|
1073
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
1074
|
-
# trailing hour up and until the authorization.
|
|
1075
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
1076
|
-
# trailing 24 hours up and until the authorization.
|
|
1077
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
1078
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
1079
|
-
# `PENDING_FULFILLMENT`.
|
|
1080
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
1081
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
1082
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
1083
|
-
# `OK`, `BLOCKED`.
|
|
1084
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
1085
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
1086
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
1087
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
1088
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
1089
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
1090
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
1091
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
1092
|
-
sig do
|
|
1093
|
-
returns(
|
|
1094
|
-
T.nilable(
|
|
1095
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1096
|
-
)
|
|
1097
|
-
)
|
|
1098
|
-
end
|
|
1099
|
-
attr_reader :attribute
|
|
1100
|
-
|
|
1101
|
-
sig do
|
|
1102
|
-
params(
|
|
1103
|
-
attribute:
|
|
1104
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
|
|
1105
|
-
).void
|
|
1106
|
-
end
|
|
1107
|
-
attr_writer :attribute
|
|
1108
|
-
|
|
1109
|
-
# The operation to apply to the attribute
|
|
1110
|
-
sig do
|
|
1111
|
-
returns(
|
|
1112
|
-
T.nilable(
|
|
1113
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1114
|
-
)
|
|
1115
|
-
)
|
|
1116
|
-
end
|
|
1117
|
-
attr_reader :operation
|
|
1118
|
-
|
|
1119
|
-
sig do
|
|
1120
|
-
params(
|
|
1121
|
-
operation:
|
|
1122
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
|
|
1123
|
-
).void
|
|
1124
|
-
end
|
|
1125
|
-
attr_writer :operation
|
|
1126
|
-
|
|
1127
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
1128
|
-
sig do
|
|
1129
|
-
returns(
|
|
1130
|
-
T.nilable(
|
|
1131
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
1132
|
-
)
|
|
1133
|
-
)
|
|
1134
|
-
end
|
|
1135
|
-
attr_reader :value
|
|
1136
|
-
|
|
1137
|
-
sig do
|
|
1138
|
-
params(
|
|
1139
|
-
value:
|
|
1140
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
1141
|
-
).void
|
|
1142
|
-
end
|
|
1143
|
-
attr_writer :value
|
|
1144
|
-
|
|
1145
|
-
sig do
|
|
1146
|
-
params(
|
|
1147
|
-
attribute:
|
|
1148
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
|
|
1149
|
-
operation:
|
|
1150
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol,
|
|
1151
|
-
value:
|
|
1152
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
1153
|
-
).returns(T.attached_class)
|
|
1154
|
-
end
|
|
1155
|
-
def self.new(
|
|
1156
|
-
# The attribute to target.
|
|
1157
|
-
#
|
|
1158
|
-
# The following attributes may be targeted:
|
|
1159
|
-
#
|
|
1160
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
1161
|
-
# business by the types of goods or services it provides.
|
|
1162
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
1163
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
1164
|
-
# Netherlands Antilles.
|
|
1165
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
1166
|
-
# the transaction.
|
|
1167
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
1168
|
-
# (merchant).
|
|
1169
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
1170
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
1171
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
1172
|
-
# `TOKEN_AUTHENTICATED`.
|
|
1173
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
1174
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
1175
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
1176
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
1177
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
1178
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
1179
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
1180
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
1181
|
-
# fee on behalf of the cardholder.
|
|
1182
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
1183
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
1184
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
1185
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
1186
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
1187
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
1188
|
-
# multiplying the raw score by 10x.
|
|
1189
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
1190
|
-
# trailing 15 minutes before the authorization.
|
|
1191
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
1192
|
-
# trailing hour up and until the authorization.
|
|
1193
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
1194
|
-
# trailing 24 hours up and until the authorization.
|
|
1195
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
1196
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
1197
|
-
# `PENDING_FULFILLMENT`.
|
|
1198
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
1199
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
1200
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
1201
|
-
# `OK`, `BLOCKED`.
|
|
1202
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
1203
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
1204
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
1205
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
1206
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
1207
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
1208
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
1209
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
1210
|
-
attribute: nil,
|
|
1211
|
-
# The operation to apply to the attribute
|
|
1212
|
-
operation: nil,
|
|
1213
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
1214
|
-
value: nil
|
|
1215
|
-
)
|
|
1216
|
-
end
|
|
1217
|
-
|
|
1218
|
-
sig do
|
|
1219
|
-
override.returns(
|
|
1220
|
-
{
|
|
1221
|
-
attribute:
|
|
1222
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol,
|
|
1223
|
-
operation:
|
|
1224
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol,
|
|
1225
|
-
value:
|
|
1226
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
1227
|
-
}
|
|
1228
|
-
)
|
|
1229
|
-
end
|
|
1230
|
-
def to_hash
|
|
1231
|
-
end
|
|
1232
|
-
|
|
1233
|
-
# The attribute to target.
|
|
1234
|
-
#
|
|
1235
|
-
# The following attributes may be targeted:
|
|
1236
|
-
#
|
|
1237
|
-
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
|
1238
|
-
# business by the types of goods or services it provides.
|
|
1239
|
-
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
|
1240
|
-
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
|
1241
|
-
# Netherlands Antilles.
|
|
1242
|
-
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
|
1243
|
-
# the transaction.
|
|
1244
|
-
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
|
1245
|
-
# (merchant).
|
|
1246
|
-
# - `DESCRIPTOR`: Short description of card acceptor.
|
|
1247
|
-
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
|
1248
|
-
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
|
1249
|
-
# `TOKEN_AUTHENTICATED`.
|
|
1250
|
-
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
|
1251
|
-
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
|
1252
|
-
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
|
1253
|
-
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
|
1254
|
-
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
|
1255
|
-
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
1256
|
-
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
1257
|
-
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
1258
|
-
# fee on behalf of the cardholder.
|
|
1259
|
-
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
1260
|
-
# represents the amount of cash being withdrawn or advanced.
|
|
1261
|
-
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
1262
|
-
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
1263
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
1264
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
1265
|
-
# multiplying the raw score by 10x.
|
|
1266
|
-
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
1267
|
-
# trailing 15 minutes before the authorization.
|
|
1268
|
-
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
1269
|
-
# trailing hour up and until the authorization.
|
|
1270
|
-
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
1271
|
-
# trailing 24 hours up and until the authorization.
|
|
1272
|
-
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
1273
|
-
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
1274
|
-
# `PENDING_FULFILLMENT`.
|
|
1275
|
-
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
|
1276
|
-
# Valid values are `TRUE`, `FALSE`.
|
|
1277
|
-
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
|
1278
|
-
# `OK`, `BLOCKED`.
|
|
1279
|
-
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
1280
|
-
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
1281
|
-
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
1282
|
-
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
1283
|
-
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
1284
|
-
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
1285
|
-
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
1286
|
-
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
1287
|
-
module Attribute
|
|
1288
|
-
extend Lithic::Internal::Type::Enum
|
|
1289
|
-
|
|
1290
|
-
TaggedSymbol =
|
|
1291
|
-
T.type_alias do
|
|
1292
|
-
T.all(
|
|
1293
|
-
Symbol,
|
|
1294
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute
|
|
1295
|
-
)
|
|
1296
|
-
end
|
|
1297
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1298
|
-
|
|
1299
|
-
MCC =
|
|
1300
|
-
T.let(
|
|
1301
|
-
:MCC,
|
|
1302
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1303
|
-
)
|
|
1304
|
-
COUNTRY =
|
|
1305
|
-
T.let(
|
|
1306
|
-
:COUNTRY,
|
|
1307
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1308
|
-
)
|
|
1309
|
-
CURRENCY =
|
|
1310
|
-
T.let(
|
|
1311
|
-
:CURRENCY,
|
|
1312
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1313
|
-
)
|
|
1314
|
-
MERCHANT_ID =
|
|
1315
|
-
T.let(
|
|
1316
|
-
:MERCHANT_ID,
|
|
1317
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1318
|
-
)
|
|
1319
|
-
DESCRIPTOR =
|
|
1320
|
-
T.let(
|
|
1321
|
-
:DESCRIPTOR,
|
|
1322
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1323
|
-
)
|
|
1324
|
-
LIABILITY_SHIFT =
|
|
1325
|
-
T.let(
|
|
1326
|
-
:LIABILITY_SHIFT,
|
|
1327
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1328
|
-
)
|
|
1329
|
-
PAN_ENTRY_MODE =
|
|
1330
|
-
T.let(
|
|
1331
|
-
:PAN_ENTRY_MODE,
|
|
1332
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1333
|
-
)
|
|
1334
|
-
TRANSACTION_AMOUNT =
|
|
1335
|
-
T.let(
|
|
1336
|
-
:TRANSACTION_AMOUNT,
|
|
1337
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1338
|
-
)
|
|
1339
|
-
CASH_AMOUNT =
|
|
1340
|
-
T.let(
|
|
1341
|
-
:CASH_AMOUNT,
|
|
1342
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1343
|
-
)
|
|
1344
|
-
RISK_SCORE =
|
|
1345
|
-
T.let(
|
|
1346
|
-
:RISK_SCORE,
|
|
1347
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1348
|
-
)
|
|
1349
|
-
CARD_TRANSACTION_COUNT_15_M =
|
|
1350
|
-
T.let(
|
|
1351
|
-
:CARD_TRANSACTION_COUNT_15M,
|
|
1352
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1353
|
-
)
|
|
1354
|
-
CARD_TRANSACTION_COUNT_1_H =
|
|
1355
|
-
T.let(
|
|
1356
|
-
:CARD_TRANSACTION_COUNT_1H,
|
|
1357
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1358
|
-
)
|
|
1359
|
-
CARD_TRANSACTION_COUNT_24_H =
|
|
1360
|
-
T.let(
|
|
1361
|
-
:CARD_TRANSACTION_COUNT_24H,
|
|
1362
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1363
|
-
)
|
|
1364
|
-
CARD_STATE =
|
|
1365
|
-
T.let(
|
|
1366
|
-
:CARD_STATE,
|
|
1367
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1368
|
-
)
|
|
1369
|
-
PIN_ENTERED =
|
|
1370
|
-
T.let(
|
|
1371
|
-
:PIN_ENTERED,
|
|
1372
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1373
|
-
)
|
|
1374
|
-
PIN_STATUS =
|
|
1375
|
-
T.let(
|
|
1376
|
-
:PIN_STATUS,
|
|
1377
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1378
|
-
)
|
|
1379
|
-
WALLET_TYPE =
|
|
1380
|
-
T.let(
|
|
1381
|
-
:WALLET_TYPE,
|
|
1382
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1383
|
-
)
|
|
1384
|
-
TRANSACTION_INITIATOR =
|
|
1385
|
-
T.let(
|
|
1386
|
-
:TRANSACTION_INITIATOR,
|
|
1387
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1388
|
-
)
|
|
1389
|
-
ADDRESS_MATCH =
|
|
1390
|
-
T.let(
|
|
1391
|
-
:ADDRESS_MATCH,
|
|
1392
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1393
|
-
)
|
|
1394
|
-
|
|
1395
|
-
sig do
|
|
1396
|
-
override.returns(
|
|
1397
|
-
T::Array[
|
|
1398
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1399
|
-
]
|
|
1400
|
-
)
|
|
1401
|
-
end
|
|
1402
|
-
def self.values
|
|
1403
|
-
end
|
|
1404
|
-
end
|
|
1405
|
-
|
|
1406
|
-
# The operation to apply to the attribute
|
|
1407
|
-
module Operation
|
|
1408
|
-
extend Lithic::Internal::Type::Enum
|
|
1409
|
-
|
|
1410
|
-
TaggedSymbol =
|
|
1411
|
-
T.type_alias do
|
|
1412
|
-
T.all(
|
|
1413
|
-
Symbol,
|
|
1414
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation
|
|
1415
|
-
)
|
|
1416
|
-
end
|
|
1417
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1418
|
-
|
|
1419
|
-
IS_ONE_OF =
|
|
1420
|
-
T.let(
|
|
1421
|
-
:IS_ONE_OF,
|
|
1422
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1423
|
-
)
|
|
1424
|
-
IS_NOT_ONE_OF =
|
|
1425
|
-
T.let(
|
|
1426
|
-
:IS_NOT_ONE_OF,
|
|
1427
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1428
|
-
)
|
|
1429
|
-
MATCHES =
|
|
1430
|
-
T.let(
|
|
1431
|
-
:MATCHES,
|
|
1432
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1433
|
-
)
|
|
1434
|
-
DOES_NOT_MATCH =
|
|
1435
|
-
T.let(
|
|
1436
|
-
:DOES_NOT_MATCH,
|
|
1437
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1438
|
-
)
|
|
1439
|
-
IS_EQUAL_TO =
|
|
1440
|
-
T.let(
|
|
1441
|
-
:IS_EQUAL_TO,
|
|
1442
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1443
|
-
)
|
|
1444
|
-
IS_NOT_EQUAL_TO =
|
|
1445
|
-
T.let(
|
|
1446
|
-
:IS_NOT_EQUAL_TO,
|
|
1447
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1448
|
-
)
|
|
1449
|
-
IS_GREATER_THAN =
|
|
1450
|
-
T.let(
|
|
1451
|
-
:IS_GREATER_THAN,
|
|
1452
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1453
|
-
)
|
|
1454
|
-
IS_GREATER_THAN_OR_EQUAL_TO =
|
|
1455
|
-
T.let(
|
|
1456
|
-
:IS_GREATER_THAN_OR_EQUAL_TO,
|
|
1457
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1458
|
-
)
|
|
1459
|
-
IS_LESS_THAN =
|
|
1460
|
-
T.let(
|
|
1461
|
-
:IS_LESS_THAN,
|
|
1462
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1463
|
-
)
|
|
1464
|
-
IS_LESS_THAN_OR_EQUAL_TO =
|
|
1465
|
-
T.let(
|
|
1466
|
-
:IS_LESS_THAN_OR_EQUAL_TO,
|
|
1467
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1468
|
-
)
|
|
1469
|
-
|
|
1470
|
-
sig do
|
|
1471
|
-
override.returns(
|
|
1472
|
-
T::Array[
|
|
1473
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
1474
|
-
]
|
|
1475
|
-
)
|
|
1476
|
-
end
|
|
1477
|
-
def self.values
|
|
1478
|
-
end
|
|
1479
|
-
end
|
|
1480
|
-
|
|
1481
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
1482
|
-
module Value
|
|
1483
|
-
extend Lithic::Internal::Type::Union
|
|
1484
|
-
|
|
1485
|
-
Variants =
|
|
1486
|
-
T.type_alias { T.any(String, Integer, T::Array[String]) }
|
|
1487
|
-
|
|
1488
|
-
sig do
|
|
1489
|
-
override.returns(
|
|
1490
|
-
T::Array[
|
|
1491
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
1492
|
-
]
|
|
1493
|
-
)
|
|
1494
|
-
end
|
|
1495
|
-
def self.variants
|
|
1496
|
-
end
|
|
1497
|
-
|
|
1498
|
-
StringArray =
|
|
1499
|
-
T.let(
|
|
1500
|
-
Lithic::Internal::Type::ArrayOf[String],
|
|
1501
|
-
Lithic::Internal::Type::Converter
|
|
1502
|
-
)
|
|
1503
|
-
end
|
|
1504
|
-
end
|
|
1505
|
-
end
|
|
1506
374
|
|
|
1507
375
|
sig do
|
|
1508
376
|
override.returns(
|
|
@@ -1539,6 +407,21 @@ module Lithic
|
|
|
1539
407
|
:THREE_DS_AUTHENTICATION,
|
|
1540
408
|
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::TaggedSymbol
|
|
1541
409
|
)
|
|
410
|
+
TOKENIZATION =
|
|
411
|
+
T.let(
|
|
412
|
+
:TOKENIZATION,
|
|
413
|
+
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::TaggedSymbol
|
|
414
|
+
)
|
|
415
|
+
ACH_CREDIT_RECEIPT =
|
|
416
|
+
T.let(
|
|
417
|
+
:ACH_CREDIT_RECEIPT,
|
|
418
|
+
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::TaggedSymbol
|
|
419
|
+
)
|
|
420
|
+
ACH_DEBIT_RECEIPT =
|
|
421
|
+
T.let(
|
|
422
|
+
:ACH_DEBIT_RECEIPT,
|
|
423
|
+
Lithic::Models::AuthRules::V2UpdateResponse::EventStream::TaggedSymbol
|
|
424
|
+
)
|
|
1542
425
|
|
|
1543
426
|
sig do
|
|
1544
427
|
override.returns(
|
|
@@ -1591,7 +474,8 @@ module Lithic
|
|
|
1591
474
|
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
|
|
1592
475
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
1593
476
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
1594
|
-
# - `CONDITIONAL_ACTION`: AUTHORIZATION
|
|
477
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
478
|
+
# ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
|
|
1595
479
|
module Type
|
|
1596
480
|
extend Lithic::Internal::Type::Enum
|
|
1597
481
|
|