Class: Lithic::Models::AuthRules::RuleStats

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

Defined Under Namespace

Classes: Example

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Lithic::Internal::Type::BaseModel

Instance Attribute Details

#approvedInteger?

The total number of historical transactions approved by this rule during the relevant period, or the number of transactions that would have been approved if the rule was evaluated in shadow mode.



13
# File 'lib/lithic/models/auth_rules/rule_stats.rb', line 13

optional :approved, Integer

#challengedInteger?

The total number of historical transactions challenged by this rule during the relevant period, or the number of transactions that would have been challenged if the rule was evaluated in shadow mode. Currently applicable only for 3DS Auth Rules.



22
# File 'lib/lithic/models/auth_rules/rule_stats.rb', line 22

optional :challenged, Integer

#declinedInteger?

The total number of historical transactions declined by this rule during the relevant period, or the number of transactions that would have been declined if the rule was evaluated in shadow mode.



30
# File 'lib/lithic/models/auth_rules/rule_stats.rb', line 30

optional :declined, Integer

#examplesArray<Lithic::Models::AuthRules::RuleStats::Example>?

Example events and their outcomes.



36
# File 'lib/lithic/models/auth_rules/rule_stats.rb', line 36

optional :examples, -> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::RuleStats::Example] }