Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRecurringCommit

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, InvoiceAmount

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 2730


Instance Attribute Details

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



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

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

#ending_beforeTime?

Returns:

  • (Time, nil)


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

optional :ending_before, Time

#idString

Returns:

  • (String)


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

required :id, String

#invoice_amountMetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRecurringCommit::InvoiceAmount?



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

optional :invoice_amount,
-> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRecurringCommit::InvoiceAmount }

#rate_typeSymbol, ...



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

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