lithic 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/README.md +1 -10
- data/lib/lithic/internal/type/union.rb +21 -7
- data/lib/lithic/models/account_holder_create_params.rb +4 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
- data/lib/lithic/models/account_holder_update_params.rb +6 -3
- data/lib/lithic/models/account_holder_update_response.rb +156 -86
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
- data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
- data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
- data/lib/lithic/models/address.rb +33 -19
- data/lib/lithic/models/address_update.rb +27 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +55 -27
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
- data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
- data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
- data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +203 -45
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/card_authorization.rb +11 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
- data/lib/lithic/models/kyb.rb +4 -2
- data/lib/lithic/models/kyb_business_entity.rb +35 -19
- data/lib/lithic/models/kyc.rb +2 -1
- data/lib/lithic/models/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +120 -66
- data/lib/lithic/models/payment.rb +2 -1
- data/lib/lithic/models/transaction.rb +2 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
- data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
- data/lib/lithic/resources/auth_rules/v2.rb +44 -8
- data/lib/lithic/resources/cards.rb +6 -2
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +4 -0
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +18 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -1
- data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
- data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
- data/rbi/lithic/models/address.rbi +57 -29
- data/rbi/lithic/models/address_update.rbi +50 -24
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +53 -19
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
- data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +325 -50
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/card_authorization.rbi +12 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
- data/rbi/lithic/models/kyb.rbi +8 -4
- data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
- data/rbi/lithic/models/kyc.rbi +4 -2
- data/rbi/lithic/models/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +195 -90
- data/rbi/lithic/models/payment.rbi +4 -2
- data/rbi/lithic/models/transaction.rbi +4 -2
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
- data/rbi/lithic/resources/cards.rbi +11 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +7 -0
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
- data/sig/lithic/models/account_holder_update_response.rbs +52 -52
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
- data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
- data/sig/lithic/models/address.rbs +13 -13
- data/sig/lithic/models/address_update.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +8 -7
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
- data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
- data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
- data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +86 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
- data/sig/lithic/models/card_authorization.rbs +5 -0
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +39 -39
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +2 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- metadata +26 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
|
@@ -28,18 +28,27 @@ module Lithic
|
|
|
28
28
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
29
29
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
30
30
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
31
|
-
# fee on behalf of the cardholder.
|
|
31
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
32
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
|
33
|
+
# represents the amount of cash being withdrawn or advanced. Use an integer
|
|
34
|
+
# value.
|
|
32
35
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
33
36
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
34
37
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
35
38
|
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
36
|
-
# multiplying the raw score by 10x.
|
|
39
|
+
# multiplying the raw score by 10x. Use an integer value.
|
|
37
40
|
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
|
38
|
-
# trailing 15 minutes before the authorization.
|
|
41
|
+
# trailing 15 minutes before the authorization. Use an integer value.
|
|
39
42
|
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
|
40
|
-
# trailing hour up and until the authorization.
|
|
43
|
+
# trailing hour up and until the authorization. Use an integer value.
|
|
41
44
|
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
|
42
|
-
# trailing 24 hours up and until the authorization.
|
|
45
|
+
# trailing 24 hours up and until the authorization. Use an integer value.
|
|
46
|
+
# - `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in
|
|
47
|
+
# the trailing 15 minutes before the authorization. Use an integer value.
|
|
48
|
+
# - `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in
|
|
49
|
+
# the trailing hour up and until the authorization. Use an integer value.
|
|
50
|
+
# - `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in
|
|
51
|
+
# the trailing 24 hours up and until the authorization. Use an integer value.
|
|
43
52
|
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
|
44
53
|
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
|
45
54
|
# `PENDING_FULFILLMENT`.
|
|
@@ -50,9 +59,73 @@ module Lithic
|
|
|
50
59
|
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
51
60
|
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
52
61
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
62
|
+
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
63
|
+
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
53
64
|
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
54
65
|
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
55
66
|
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
67
|
+
# - `SERVICE_LOCATION_STATE`: The state/province code (ISO 3166-2) where the
|
|
68
|
+
# cardholder received the service, e.g. "NY". When a service location is present
|
|
69
|
+
# in the network data, the service location state is used. Otherwise, falls back
|
|
70
|
+
# to the card acceptor state.
|
|
71
|
+
# - `SERVICE_LOCATION_POSTAL_CODE`: The postal code where the cardholder received
|
|
72
|
+
# the service, e.g. "10001". When a service location is present in the network
|
|
73
|
+
# data, the service location postal code is used. Otherwise, falls back to the
|
|
74
|
+
# card acceptor postal code.
|
|
75
|
+
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
76
|
+
# Use an integer value.
|
|
77
|
+
# - `IS_DOMESTIC`: Whether the merchant's country matches the card program's
|
|
78
|
+
# issuing country. Valid values are `TRUE`, `FALSE`. For programs with no
|
|
79
|
+
# issuing country configured, this attribute does not evaluate.
|
|
80
|
+
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
81
|
+
# of the authorization. Use an integer value. For programs where Lithic does not
|
|
82
|
+
# manage or retain account holder data, this attribute does not evaluate.
|
|
83
|
+
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
84
|
+
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
85
|
+
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
86
|
+
# Use a decimal value.
|
|
87
|
+
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
88
|
+
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
89
|
+
# `parameters.interval`. Use a decimal value.
|
|
90
|
+
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
91
|
+
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
92
|
+
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
93
|
+
# and `parameters.interval`. Use a decimal value.
|
|
94
|
+
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
95
|
+
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
96
|
+
# Requires `parameters.scope`.
|
|
97
|
+
# - `IS_NEW_MCC`: Whether the transaction's MCC has not been seen in the entity's
|
|
98
|
+
# transaction history. Valid values are `TRUE`, `FALSE`. Requires
|
|
99
|
+
# `parameters.scope`.
|
|
100
|
+
# - `IS_FIRST_TRANSACTION`: Whether this is the first transaction for the entity.
|
|
101
|
+
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
102
|
+
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
103
|
+
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
104
|
+
# supported for `BUSINESS_ACCOUNT` scope. Use an integer value.
|
|
105
|
+
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
106
|
+
# transaction for the entity, rounded to the nearest whole day. Requires
|
|
107
|
+
# `parameters.scope`. Use an integer value.
|
|
108
|
+
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
109
|
+
# the entity's transaction history. Requires `parameters.scope`. Use an integer
|
|
110
|
+
# value.
|
|
111
|
+
# - `IS_NEW_MERCHANT`: Whether the card acceptor ID has not been seen in the
|
|
112
|
+
# card's approved transaction history (capped at the 1000 most recently seen
|
|
113
|
+
# merchants). Valid values are `TRUE`, `FALSE`. Card-scoped only; no
|
|
114
|
+
# `parameters` required.
|
|
115
|
+
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
116
|
+
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
117
|
+
# Use a decimal value.
|
|
118
|
+
# - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
|
|
119
|
+
# between the postal code centers of the last card-present transaction and the
|
|
120
|
+
# current transaction, divided by the elapsed time. Null if there is no prior
|
|
121
|
+
# card-present transaction, if either postal code cannot be geocoded, or if
|
|
122
|
+
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`. Use a
|
|
123
|
+
# decimal value.
|
|
124
|
+
# - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
|
|
125
|
+
# code centers of the last card-present transaction and the current transaction.
|
|
126
|
+
# Null if there is no prior card-present transaction or if either postal code
|
|
127
|
+
# cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
|
|
128
|
+
# Use a decimal value.
|
|
56
129
|
module ConditionalAttribute
|
|
57
130
|
extend Lithic::Internal::Type::Enum
|
|
58
131
|
|
|
@@ -95,6 +168,11 @@ module Lithic
|
|
|
95
168
|
:TRANSACTION_AMOUNT,
|
|
96
169
|
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
97
170
|
)
|
|
171
|
+
CASH_AMOUNT =
|
|
172
|
+
T.let(
|
|
173
|
+
:CASH_AMOUNT,
|
|
174
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
175
|
+
)
|
|
98
176
|
RISK_SCORE =
|
|
99
177
|
T.let(
|
|
100
178
|
:RISK_SCORE,
|
|
@@ -115,6 +193,21 @@ module Lithic
|
|
|
115
193
|
:CARD_TRANSACTION_COUNT_24H,
|
|
116
194
|
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
117
195
|
)
|
|
196
|
+
CARD_DECLINE_COUNT_15_M =
|
|
197
|
+
T.let(
|
|
198
|
+
:CARD_DECLINE_COUNT_15M,
|
|
199
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
200
|
+
)
|
|
201
|
+
CARD_DECLINE_COUNT_1_H =
|
|
202
|
+
T.let(
|
|
203
|
+
:CARD_DECLINE_COUNT_1H,
|
|
204
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
205
|
+
)
|
|
206
|
+
CARD_DECLINE_COUNT_24_H =
|
|
207
|
+
T.let(
|
|
208
|
+
:CARD_DECLINE_COUNT_24H,
|
|
209
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
210
|
+
)
|
|
118
211
|
CARD_STATE =
|
|
119
212
|
T.let(
|
|
120
213
|
:CARD_STATE,
|
|
@@ -135,11 +228,106 @@ module Lithic
|
|
|
135
228
|
:WALLET_TYPE,
|
|
136
229
|
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
137
230
|
)
|
|
231
|
+
TRANSACTION_INITIATOR =
|
|
232
|
+
T.let(
|
|
233
|
+
:TRANSACTION_INITIATOR,
|
|
234
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
235
|
+
)
|
|
138
236
|
ADDRESS_MATCH =
|
|
139
237
|
T.let(
|
|
140
238
|
:ADDRESS_MATCH,
|
|
141
239
|
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
142
240
|
)
|
|
241
|
+
SERVICE_LOCATION_STATE =
|
|
242
|
+
T.let(
|
|
243
|
+
:SERVICE_LOCATION_STATE,
|
|
244
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
245
|
+
)
|
|
246
|
+
SERVICE_LOCATION_POSTAL_CODE =
|
|
247
|
+
T.let(
|
|
248
|
+
:SERVICE_LOCATION_POSTAL_CODE,
|
|
249
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
250
|
+
)
|
|
251
|
+
CARD_AGE =
|
|
252
|
+
T.let(
|
|
253
|
+
:CARD_AGE,
|
|
254
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
255
|
+
)
|
|
256
|
+
IS_DOMESTIC =
|
|
257
|
+
T.let(
|
|
258
|
+
:IS_DOMESTIC,
|
|
259
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
260
|
+
)
|
|
261
|
+
ACCOUNT_AGE =
|
|
262
|
+
T.let(
|
|
263
|
+
:ACCOUNT_AGE,
|
|
264
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
265
|
+
)
|
|
266
|
+
AMOUNT_Z_SCORE =
|
|
267
|
+
T.let(
|
|
268
|
+
:AMOUNT_Z_SCORE,
|
|
269
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
270
|
+
)
|
|
271
|
+
AVG_TRANSACTION_AMOUNT =
|
|
272
|
+
T.let(
|
|
273
|
+
:AVG_TRANSACTION_AMOUNT,
|
|
274
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
275
|
+
)
|
|
276
|
+
STDEV_TRANSACTION_AMOUNT =
|
|
277
|
+
T.let(
|
|
278
|
+
:STDEV_TRANSACTION_AMOUNT,
|
|
279
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
280
|
+
)
|
|
281
|
+
IS_NEW_COUNTRY =
|
|
282
|
+
T.let(
|
|
283
|
+
:IS_NEW_COUNTRY,
|
|
284
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
285
|
+
)
|
|
286
|
+
IS_NEW_MCC =
|
|
287
|
+
T.let(
|
|
288
|
+
:IS_NEW_MCC,
|
|
289
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
290
|
+
)
|
|
291
|
+
IS_FIRST_TRANSACTION =
|
|
292
|
+
T.let(
|
|
293
|
+
:IS_FIRST_TRANSACTION,
|
|
294
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
295
|
+
)
|
|
296
|
+
CONSECUTIVE_DECLINES =
|
|
297
|
+
T.let(
|
|
298
|
+
:CONSECUTIVE_DECLINES,
|
|
299
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
300
|
+
)
|
|
301
|
+
TIME_SINCE_LAST_TRANSACTION =
|
|
302
|
+
T.let(
|
|
303
|
+
:TIME_SINCE_LAST_TRANSACTION,
|
|
304
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
305
|
+
)
|
|
306
|
+
DISTINCT_COUNTRY_COUNT =
|
|
307
|
+
T.let(
|
|
308
|
+
:DISTINCT_COUNTRY_COUNT,
|
|
309
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
310
|
+
)
|
|
311
|
+
IS_NEW_MERCHANT =
|
|
312
|
+
T.let(
|
|
313
|
+
:IS_NEW_MERCHANT,
|
|
314
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
315
|
+
)
|
|
316
|
+
THREE_DS_SUCCESS_RATE =
|
|
317
|
+
T.let(
|
|
318
|
+
:THREE_DS_SUCCESS_RATE,
|
|
319
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
320
|
+
)
|
|
321
|
+
TRAVEL_SPEED =
|
|
322
|
+
T.let(
|
|
323
|
+
:TRAVEL_SPEED,
|
|
324
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
325
|
+
)
|
|
326
|
+
DISTANCE_FROM_LAST_TRANSACTION =
|
|
327
|
+
T.let(
|
|
328
|
+
:DISTANCE_FROM_LAST_TRANSACTION,
|
|
329
|
+
Lithic::AuthRules::ConditionalAttribute::TaggedSymbol
|
|
330
|
+
)
|
|
143
331
|
|
|
144
332
|
sig do
|
|
145
333
|
override.returns(
|