Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRecurringCredit

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb

Defined Under Namespace

Modules: RateType Classes: AccessAmount

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(quantity: nil, unit_price: nil) ⇒ Object

Parameters:

  • quantity (Float) (defaults to: nil)
  • unit_price (Float) (defaults to: nil)


# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2806


Instance Attribute Details

#access_amountMetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRecurringCredit::AccessAmount?



2792
2793
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2792

optional :access_amount,
-> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRecurringCredit::AccessAmount }

#ending_beforeTime?

Returns:

  • (Time, nil)


2798
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2798

optional :ending_before, Time

#idString

Returns:

  • (String)


2787
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2787

required :id, String

#rate_typeSymbol, ...



2803
2804
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2803

optional :rate_type,
enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRecurringCredit::RateType }