Class: Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb

Overview

See Also:

Defined Under Namespace

Modules: Interval, Scope

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters for more details.

Additional parameters required for transaction history signal 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`. Not used for other attributes.

Parameters:



# File 'lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb', line 340

Instance Attribute Details

#intervalSymbol, ...

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`).



330
331
# File 'lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb', line 330

optional :interval,
enum: -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval }

#scopeSymbol, ...

The entity scope to evaluate the attribute against.



337
338
# File 'lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb', line 337

optional :scope,
enum: -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb', line 368