Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRecurringCredit::AccessAmount
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRecurringCredit::AccessAmount
- Defined in:
- lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb,
sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ AccessAmount
constructor
A new instance of AccessAmount.
- #to_hash ⇒ { quantity: Float, unit_price: Float }
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 ⇒ AccessAmount
Returns a new instance of AccessAmount.
3666 |
# File 'sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs', line 3666
def initialize: (?quantity: Float, ?unit_price: Float) -> void
|
Instance Attribute Details
#quantity ⇒ Float?
3792 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3792 optional :quantity, Float |
#unit_price ⇒ Float?
3797 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3797 optional :unit_price, Float |
Instance Method Details
#to_hash ⇒ { quantity: Float, unit_price: Float }
3668 |
# File 'sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs', line 3668
def to_hash: -> { quantity: Float, unit_price: Float }
|