Class: MetronomeSDK::Models::V2::ContractEditParams::UpdateRecurringCredit

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

Instance Attribute Details

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



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

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

#ending_beforeTime?

Returns:

  • (Time, nil)


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

optional :ending_before, Time, nil?: true

#rate_typeSymbol, ...

If provided, updates the recurring credit to use the specified rate type when generating future credits.



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

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

#recurring_credit_idString

Returns:

  • (String)


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

required :recurring_credit_id, String