Class: Lithic::Models::AccountSpendLimits::SpendVelocity

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/account_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(daily: nil, lifetime: nil, monthly: nil) ⇒ Object

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

Parameters:

  • daily (Integer) (defaults to: nil)

    Current daily spend velocity (in cents) on the Account. Present if daily spend l

  • lifetime (Integer) (defaults to: nil)

    Current lifetime spend velocity (in cents) on the Account. Present if lifetime s

  • monthly (Integer) (defaults to: nil)

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



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

Instance Attribute Details

#dailyInteger?

Current daily spend velocity (in cents) on the Account. Present if daily spend limit is set.

Returns:

  • (Integer, nil)


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

optional :daily, Integer

#lifetimeInteger?

Current lifetime spend velocity (in cents) on the Account. Present if lifetime spend limit is set.

Returns:

  • (Integer, nil)


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

optional :lifetime, Integer

#monthlyInteger?

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

Returns:

  • (Integer, nil)


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

optional :monthly, Integer