Class: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit
- Defined in:
- lib/metronome_sdk/models/v2/contract_edit_params.rb
Defined Under Namespace
Modules: RateType Classes: AccessSchedule, InvoiceSchedule
Instance Attribute Summary collapse
- #access_schedule ⇒ MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::AccessSchedule?
-
#applicable_product_ids ⇒ Array<String>?
Which products the commit applies to.
-
#applicable_product_tags ⇒ Array<String>?
Which tags the commit applies to.
- #commit_id ⇒ String
-
#hierarchy_configuration ⇒ MetronomeSDK::Models::CommitHierarchyConfiguration?
Optional configuration for commit hierarchy access control.
- #invoice_schedule ⇒ MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::InvoiceSchedule?
- #netsuite_sales_order_id ⇒ String?
- #priority ⇒ Float?
- #product_id ⇒ String?
-
#rate_type ⇒ Symbol, ...
If provided, updates the commit to use the specified rate type for current and future invoices.
- #rollover_fraction ⇒ Float?
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(id: , amount: nil, quantity: nil, timestamp: nil, unit_price: nil) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3233
|
Instance Attribute Details
#access_schedule ⇒ MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::AccessSchedule?
3176 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3176 optional :access_schedule, -> { MetronomeSDK::V2::ContractEditParams::UpdateCommit::AccessSchedule } |
#applicable_product_ids ⇒ Array<String>?
Which products the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.
3184 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3184 optional :applicable_product_ids, MetronomeSDK::Internal::Type::ArrayOf[String], nil?: true |
#applicable_product_tags ⇒ Array<String>?
Which tags the commit applies to. If applicable_product_ids, applicable_product_tags or specifiers are not provided, the commit applies to all products.
3192 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3192 optional :applicable_product_tags, MetronomeSDK::Internal::Type::ArrayOf[String], nil?: true |
#commit_id ⇒ String
3171 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3171 required :commit_id, String |
#hierarchy_configuration ⇒ MetronomeSDK::Models::CommitHierarchyConfiguration?
Optional configuration for commit hierarchy access control
3198 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3198 optional :hierarchy_configuration, -> { MetronomeSDK::CommitHierarchyConfiguration } |
#invoice_schedule ⇒ MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::InvoiceSchedule?
3203 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3203 optional :invoice_schedule, -> { MetronomeSDK::V2::ContractEditParams::UpdateCommit::InvoiceSchedule } |
#netsuite_sales_order_id ⇒ String?
3208 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3208 optional :netsuite_sales_order_id, String, nil?: true |
#priority ⇒ Float?
3213 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3213 optional :priority, Float, nil?: true |
#product_id ⇒ String?
3218 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3218 optional :product_id, String |
#rate_type ⇒ Symbol, ...
If provided, updates the commit to use the specified rate type for current and future invoices. Previously finalized invoices will need to be voided and regenerated to reflect the rate type change.
3226 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3226 optional :rate_type, enum: -> { MetronomeSDK::V2::ContractEditParams::UpdateCommit::RateType } |
#rollover_fraction ⇒ Float?
3231 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3231 optional :rollover_fraction, Float, nil?: true |