Class: MetronomeSDK::Models::V2::ContractEditParams::UpdateRecurringCommit

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v2/contract_edit_params.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_edit_params.rb', line 3768

Instance Attribute Details

#access_amountMetronomeSDK::Models::V2::ContractEditParams::UpdateRecurringCommit::AccessAmount?



3748
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3748

optional :access_amount, -> { MetronomeSDK::V2::ContractEditParams::UpdateRecurringCommit::AccessAmount }

#ending_beforeTime?

Returns:

  • (Time, nil)


3753
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3753

optional :ending_before, Time, nil?: true

#invoice_amountMetronomeSDK::Models::V2::ContractEditParams::UpdateRecurringCommit::InvoiceAmount?



3758
3759
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3758

optional :invoice_amount,
-> { MetronomeSDK::V2::ContractEditParams::UpdateRecurringCommit::InvoiceAmount }

#rate_typeSymbol, ...

If provided, updates the recurring commit to use the specified rate type when generating future commits.



3766
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3766

optional :rate_type, enum: -> { MetronomeSDK::V2::ContractEditParams::UpdateRecurringCommit::RateType }

#recurring_commit_idString

Returns:

  • (String)


3743
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3743

required :recurring_commit_id, String