Class: WhopSDK::Models::CardRetrieveResponse::Limit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::CardRetrieveResponse::Limit
- Defined in:
- lib/whop_sdk/models/card_retrieve_response.rb,
sig/whop_sdk/models/card_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Float
The limit amount in dollars.
-
#frequency ⇒ String
Limit window, for example
per24HourPeriodorperAuthorization.
Instance Method Summary collapse
-
#initialize ⇒ Limit
constructor
A new instance of Limit.
- #to_hash ⇒ { amount: Float, frequency: String }
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 ⇒ Limit
Returns a new instance of Limit.
138 |
# File 'sig/whop_sdk/models/card_retrieve_response.rbs', line 138
def initialize: (amount: Float, frequency: String) -> void
|
Instance Attribute Details
#amount ⇒ Float
The limit amount in dollars.
191 |
# File 'lib/whop_sdk/models/card_retrieve_response.rb', line 191 required :amount, Float |
#frequency ⇒ String
Limit window, for example per24HourPeriod or perAuthorization.
197 |
# File 'lib/whop_sdk/models/card_retrieve_response.rb', line 197 required :frequency, String |
Instance Method Details
#to_hash ⇒ { amount: Float, frequency: String }
140 |
# File 'sig/whop_sdk/models/card_retrieve_response.rbs', line 140
def to_hash: -> { amount: Float, frequency: String }
|