Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit
- Defined in:
- lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb
Defined Under Namespace
Modules: RateType Classes: AccessSchedule, InvoiceSchedule
Instance Attribute Summary collapse
- #access_schedule ⇒ MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::AccessSchedule?
-
#applicable_product_ids ⇒ Array<String>?
Which products the commit applies to.
-
#applicable_product_tags ⇒ Array<String>?
Which tags the commit applies to.
-
#hierarchy_configuration ⇒ MetronomeSDK::Models::CommitHierarchyConfiguration?
Optional configuration for commit hierarchy access control.
- #id ⇒ String
- #invoice_schedule ⇒ MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::InvoiceSchedule?
- #name ⇒ String?
- #netsuite_sales_order_id ⇒ String?
-
#priority ⇒ Float?
If multiple commits are applicable, the one with the lower priority will apply first.
- #product_id ⇒ String?
-
#rate_type ⇒ Symbol, ...
If set, the commit’s rate type was updated to the specified value.
- #rollover_fraction ⇒ Float?
-
#specifiers ⇒ Array<MetronomeSDK::Models::CommitSpecifierInput>?
List of filters that determine what kind of customer usage draws down a commit or credit.
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_get_edit_history_response.rb', line 1916
|
Instance Attribute Details
#access_schedule ⇒ MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::AccessSchedule?
1838 1839 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1838 optional :access_schedule, -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::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.
1847 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1847 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.
1855 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1855 optional :applicable_product_tags, MetronomeSDK::Internal::Type::ArrayOf[String], nil?: true |
#hierarchy_configuration ⇒ MetronomeSDK::Models::CommitHierarchyConfiguration?
Optional configuration for commit hierarchy access control
1861 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1861 optional :hierarchy_configuration, -> { MetronomeSDK::CommitHierarchyConfiguration } |
#id ⇒ String
1833 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1833 required :id, String |
#invoice_schedule ⇒ MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::InvoiceSchedule?
1866 1867 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1866 optional :invoice_schedule, -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::InvoiceSchedule } |
#name ⇒ String?
1872 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1872 optional :name, String |
#netsuite_sales_order_id ⇒ String?
1877 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1877 optional :netsuite_sales_order_id, String, nil?: true |
#priority ⇒ Float?
If multiple commits are applicable, the one with the lower priority will apply first.
1884 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1884 optional :priority, Float, nil?: true |
#product_id ⇒ String?
1889 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1889 optional :product_id, String |
#rate_type ⇒ Symbol, ...
If set, the commit’s rate type was updated to the specified value.
1895 1896 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1895 optional :rate_type, enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::RateType } |
#rollover_fraction ⇒ Float?
1901 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1901 optional :rollover_fraction, Float, nil?: true |
#specifiers ⇒ Array<MetronomeSDK::Models::CommitSpecifierInput>?
List of filters that determine what kind of customer usage draws down a commit or credit. A customer’s usage needs to meet the condition of at least one of the specifiers to contribute to a commit’s or credit’s drawdown. This field cannot be used together with ‘applicable_product_ids` or `applicable_product_tags`. Instead, to target usage by product or product tag, pass those values in the body of `specifiers`.
1912 1913 1914 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1912 optional :specifiers, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::CommitSpecifierInput] }, nil?: true |