Class: Lithic::Models::AccountSpendLimits::SpendLimit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::AccountSpendLimits::SpendLimit
- Defined in:
- lib/lithic/models/account_spend_limits.rb,
sig/lithic/models/account_spend_limits.rbs
Overview
Instance Attribute Summary collapse
-
#daily ⇒ Integer?
The configured daily spend limit (in cents) on the Account.
-
#lifetime ⇒ Integer?
The configured lifetime spend limit (in cents) on the Account.
-
#monthly ⇒ Integer?
The configured monthly spend limit (in cents) on the Account.
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 ⇒ Object
77 |
# File 'sig/lithic/models/account_spend_limits.rbs', line 77
def initialize: (
|
Instance Attribute Details
#daily ⇒ Integer?
The configured daily spend limit (in cents) on the Account.
67 |
# File 'lib/lithic/models/account_spend_limits.rb', line 67 optional :daily, Integer |
#lifetime ⇒ Integer?
The configured lifetime spend limit (in cents) on the Account.
73 |
# File 'lib/lithic/models/account_spend_limits.rb', line 73 optional :lifetime, Integer |
#monthly ⇒ Integer?
The configured monthly spend limit (in cents) on the Account.
79 |
# File 'lib/lithic/models/account_spend_limits.rb', line 79 optional :monthly, Integer |
Instance Method Details
#to_hash ⇒ { daily: Integer, lifetime: Integer, monthly: Integer }
83 |
# File 'sig/lithic/models/account_spend_limits.rbs', line 83
def to_hash: -> { daily: Integer, lifetime: Integer, monthly: Integer }
|