Class: Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Condition::Parameters
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Condition::Parameters
- Defined in:
- lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb,
sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs
Overview
Defined Under Namespace
Modules: Interval, Scope, Unit
Instance Attribute Summary collapse
-
#interval ⇒ Symbol, ...
The time window for statistical attributes (
AMOUNT_Z_SCORE,AVG_TRANSACTION_AMOUNT,STDEV_TRANSACTION_AMOUNT). -
#scope ⇒ Symbol, ...
The entity scope to evaluate the attribute against.
-
#unit ⇒ Symbol, ...
The unit for impossible travel attributes.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(interval: nil, scope: nil, unit: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Parameters for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(interval: nil, scope: nil, unit: nil) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Condition::Parameters for more details.
Additional parameters for certain attributes. Required when attribute is one
of AMOUNT_Z_SCORE, AVG_TRANSACTION_AMOUNT, STDEV_TRANSACTION_AMOUNT,
IS_NEW_COUNTRY, IS_NEW_MCC, IS_FIRST_TRANSACTION, CONSECUTIVE_DECLINES,
TIME_SINCE_LAST_TRANSACTION, or DISTINCT_COUNTRY_COUNT (require scope); or
TRAVEL_SPEED or DISTANCE_FROM_LAST_TRANSACTION (require unit). Not used
for other attributes.
`TRAVEL_
|
|
# File 'lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb', line 457
|
Instance Attribute Details
#interval ⇒ Symbol, ...
The time window for statistical attributes (AMOUNT_Z_SCORE,
AVG_TRANSACTION_AMOUNT, STDEV_TRANSACTION_AMOUNT). Use LIFETIME for
all-time history or a specific window (7D, 30D, 90D).
435 436 |
# File 'lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb', line 435 optional :interval, enum: -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Condition::Parameters::Interval } |
#scope ⇒ Symbol, ...
The entity scope to evaluate the attribute against.
442 443 |
# File 'lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb', line 442 optional :scope, enum: -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Condition::Parameters::Scope } |
#unit ⇒ Symbol, ...
The unit for impossible travel attributes. Required when attribute is
TRAVEL_SPEED or DISTANCE_FROM_LAST_TRANSACTION.
For TRAVEL_SPEED: MPH (miles per hour) or KPH (kilometers per hour).
For DISTANCE_FROM_LAST_TRANSACTION: MILES or KILOMETERS.
454 455 |
# File 'lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb', line 454 optional :unit, enum: -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Condition::Parameters::Unit } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb', line 489
|
Instance Method Details
#to_hash ⇒ {
228 |
# File 'sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs', line 228
def to_hash: -> {
|