Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddCredit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddCredit
- Defined in:
- lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb
Defined Under Namespace
Modules: Type Classes: Product
Instance Attribute Summary collapse
-
#access_schedule ⇒ MetronomeSDK::Models::ScheduleDuration?
The schedule that the customer will gain access to the credits.
- #applicable_product_ids ⇒ Array<String>?
- #applicable_product_tags ⇒ Array<String>?
- #description ⇒ String?
-
#hierarchy_configuration ⇒ MetronomeSDK::Models::CommitHierarchyConfiguration?
Optional configuration for recurring credit hierarchy access control.
- #id ⇒ String
- #name ⇒ String?
-
#netsuite_sales_order_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
-
#priority ⇒ Float?
If multiple credits or commits are applicable, the one with the lower priority will apply first.
- #product ⇒ MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddCredit::Product
-
#salesforce_opportunity_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
-
#specifiers ⇒ Array<MetronomeSDK::Models::CommitSpecifierInput>?
List of filters that determine what kind of customer usage draws down a commit or credit.
- #type ⇒ Symbol, MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddCredit::Type
Instance Method Summary collapse
- #initialize(id: , name: ) ⇒ Object constructor
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: , name: ) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 602
|
Instance Attribute Details
#access_schedule ⇒ MetronomeSDK::Models::ScheduleDuration?
The schedule that the customer will gain access to the credits.
544 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 544 optional :access_schedule, -> { MetronomeSDK::ScheduleDuration } |
#applicable_product_ids ⇒ Array<String>?
549 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 549 optional :applicable_product_ids, MetronomeSDK::Internal::Type::ArrayOf[String] |
#applicable_product_tags ⇒ Array<String>?
554 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 554 optional :applicable_product_tags, MetronomeSDK::Internal::Type::ArrayOf[String] |
#description ⇒ String?
559 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 559 optional :description, String |
#hierarchy_configuration ⇒ MetronomeSDK::Models::CommitHierarchyConfiguration?
Optional configuration for recurring credit hierarchy access control
565 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 565 optional :hierarchy_configuration, -> { MetronomeSDK::CommitHierarchyConfiguration } |
#id ⇒ String
526 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 526 required :id, String |
#name ⇒ String?
570 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 570 optional :name, String |
#netsuite_sales_order_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
576 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 576 optional :netsuite_sales_order_id, String |
#priority ⇒ Float?
If multiple credits or commits are applicable, the one with the lower priority will apply first.
583 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 583 optional :priority, Float |
#product ⇒ MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddCredit::Product
531 532 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 531 required :product, -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddCredit::Product } |
#salesforce_opportunity_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
589 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 589 optional :salesforce_opportunity_id, String |
#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`.
600 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 600 optional :specifiers, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::CommitSpecifierInput] } |
#type ⇒ Symbol, MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddCredit::Type
537 538 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 537 required :type, enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddCredit::Type } |