Class: MetronomeSDK::Models::V1::ContractCreateParams::Transition

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/contract_create_params.rb

Defined Under Namespace

Modules: Type Classes: FutureInvoiceBehavior

Instance Attribute Summary collapse

Class Method 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(from_contract_id: , type: , future_invoice_behavior: nil) ⇒ Object

Parameters:



# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 3266


Instance Attribute Details

#from_contract_idString

Returns:

  • (String)


3252
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 3252

required :from_contract_id, String

#future_invoice_behaviorMetronomeSDK::Models::V1::ContractCreateParams::Transition::FutureInvoiceBehavior?



3263
3264
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 3263

optional :future_invoice_behavior,
-> { MetronomeSDK::V1::ContractCreateParams::Transition::FutureInvoiceBehavior }

#typeSymbol, MetronomeSDK::Models::V1::ContractCreateParams::Transition::Type

This field’s available values may vary based on your client’s configuration.



3258
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 3258

required :type, enum: -> { MetronomeSDK::V1::ContractCreateParams::Transition::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 3282