Class: Lithic::Models::AuthRules::VelocityLimitParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::AuthRules::VelocityLimitParams
- Defined in:
- lib/lithic/models/auth_rules/velocity_limit_params.rb
Defined Under Namespace
Modules: Scope Classes: Filters
Instance Attribute Summary collapse
- #filters ⇒ Lithic::Models::AuthRules::VelocityLimitParams::Filters
-
#limit_amount ⇒ Integer?
The maximum amount of spend velocity allowed in the period in minor units (the smallest unit of a currency, e.g. cents for USD).
-
#limit_count ⇒ Integer?
The number of spend velocity impacting transactions may not exceed this limit in the period.
-
#period ⇒ Lithic::Models::AuthRules::VelocityLimitPeriod::TrailingWindowObject, ...
Velocity over the current day since 00:00 / 12 AM in Eastern Time.
-
#scope ⇒ Symbol, Lithic::Models::AuthRules::VelocityLimitParams::Scope
The scope the velocity is calculated for.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(filters:, period:, scope:, limit_amount: nil, limit_count: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see VelocityLimitParams for more details.
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(filters:, period:, scope:, limit_amount: nil, limit_count: nil) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::AuthRules::VelocityLimitParams for more details.
|
|
# File 'lib/lithic/models/auth_rules/velocity_limit_params.rb', line 42
|
Instance Attribute Details
#filters ⇒ Lithic::Models::AuthRules::VelocityLimitParams::Filters
10 |
# File 'lib/lithic/models/auth_rules/velocity_limit_params.rb', line 10 required :filters, -> { Lithic::AuthRules::VelocityLimitParams::Filters } |
#limit_amount ⇒ Integer?
The maximum amount of spend velocity allowed in the period in minor units (the smallest unit of a currency, e.g. cents for USD). Transactions exceeding this limit will be declined.
30 |
# File 'lib/lithic/models/auth_rules/velocity_limit_params.rb', line 30 optional :limit_amount, Integer, nil?: true |
#limit_count ⇒ Integer?
The number of spend velocity impacting transactions may not exceed this limit in the period. Transactions exceeding this limit will be declined. A spend velocity impacting transaction is a transaction that has been authorized, and optionally settled, or a force post (a transaction that settled without prior authorization).
40 |
# File 'lib/lithic/models/auth_rules/velocity_limit_params.rb', line 40 optional :limit_count, Integer, nil?: true |
#period ⇒ Lithic::Models::AuthRules::VelocityLimitPeriod::TrailingWindowObject, ...
Velocity over the current day since 00:00 / 12 AM in Eastern Time
16 |
# File 'lib/lithic/models/auth_rules/velocity_limit_params.rb', line 16 required :period, union: -> { Lithic::AuthRules::VelocityLimitPeriod } |
#scope ⇒ Symbol, Lithic::Models::AuthRules::VelocityLimitParams::Scope
The scope the velocity is calculated for
22 |
# File 'lib/lithic/models/auth_rules/velocity_limit_params.rb', line 22 required :scope, enum: -> { Lithic::AuthRules::VelocityLimitParams::Scope } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/auth_rules/velocity_limit_params.rb', line 132
|