You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -177,7 +187,7 @@ class Condition < Lithic::Internal::Type::BaseModel
177
187
#
178
188
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
179
189
#
180
-
# @param parameters [Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters] Additional parameters required for transaction history signal attributes. Requir
190
+
# @param parameters [Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters] Additional parameters for certain attributes. Required when `attribute` is one o
181
191
182
192
# The attribute to target.
183
193
#
@@ -281,6 +291,15 @@ class Condition < Lithic::Internal::Type::BaseModel
281
291
# `parameters` required.
282
292
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
283
293
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
294
+
# - `TRAVEL_SPEED`: The estimated speed of travel derived from the distance
295
+
# between the postal code centers of the last card-present transaction and the
296
+
# current transaction, divided by the elapsed time. Null if there is no prior
297
+
# card-present transaction, if either postal code cannot be geocoded, or if
298
+
# elapsed time is zero. Requires `parameters.unit` set to `MPH` or `KPH`.
299
+
# - `DISTANCE_FROM_LAST_TRANSACTION`: The estimated distance between the postal
300
+
# code centers of the last card-present transaction and the current transaction.
301
+
# Null if there is no prior card-present transaction or if either postal code
302
+
# cannot be geocoded. Requires `parameters.unit` set to `MILES` or `KILOMETERS`.
# `TIME_SINCE_LAST_TRANSACTION`, or `DISTINCT_COUNTRY_COUNT` (require `scope`); or
391
+
# `TRAVEL_SPEED` or `DISTANCE_FROM_LAST_TRANSACTION` (require `unit`). Not used
392
+
# for other attributes.
359
393
#
360
394
# @param interval [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval] The time window for statistical attributes (`AMOUNT_Z_SCORE`, `AVG_TRANSACTION_A
361
395
#
362
396
# @param scope [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope] The entity scope to evaluate the attribute against.
397
+
#
398
+
# @param unit [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Unit] The unit for impossible travel attributes. Required when `attribute` is
399
+
# `TRAVEL\_
363
400
364
401
# The time window for statistical attributes (`AMOUNT_Z_SCORE`,
365
402
# `AVG_TRANSACTION_AMOUNT`, `STDEV_TRANSACTION_AMOUNT`). Use `LIFETIME` for
@@ -391,6 +428,26 @@ module Scope
391
428
# @!method self.values
392
429
# @return [Array<Symbol>]
393
430
end
431
+
432
+
# The unit for impossible travel attributes. Required when `attribute` is
433
+
# `TRAVEL_SPEED` or `DISTANCE_FROM_LAST_TRANSACTION`.
434
+
#
435
+
# For `TRAVEL_SPEED`: `MPH` (miles per hour) or `KPH` (kilometers per hour).
436
+
#
437
+
# For `DISTANCE_FROM_LAST_TRANSACTION`: `MILES` or `KILOMETERS`.
0 commit comments