Class: Lithic::Models::CardSpendLimits::SpendVelocity

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

Overview

See Also:

Instance Attribute 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(annually: nil, forever: nil, monthly: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::CardSpendLimits::SpendVelocity for more details.

Parameters:

  • annually (Integer) (defaults to: nil)

    Current annual spend velocity (in cents) on the Card. Present if annual spend li

  • forever (Integer) (defaults to: nil)

    Current forever spend velocity (in cents) on the Card. Present if forever spend

  • monthly (Integer) (defaults to: nil)

    Current monthly spend velocity (in cents) on the Card. Present if monthly spend



# File 'lib/lithic/models/card_spend_limits.rb', line 112


Instance Attribute Details

#annuallyInteger?

Current annual spend velocity (in cents) on the Card. Present if annual spend limit is set.

Returns:

  • (Integer, nil)


96
# File 'lib/lithic/models/card_spend_limits.rb', line 96

optional :annually, Integer

#foreverInteger?

Current forever spend velocity (in cents) on the Card. Present if forever spend limit is set.

Returns:

  • (Integer, nil)


103
# File 'lib/lithic/models/card_spend_limits.rb', line 103

optional :forever, Integer

#monthlyInteger?

Current monthly spend velocity (in cents) on the Card. Present if monthly spend limit is set.

Returns:

  • (Integer, nil)


110
# File 'lib/lithic/models/card_spend_limits.rb', line 110

optional :monthly, Integer