Class: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit
- Defined in:
- lib/metronome_sdk/models/v2/contract_edit_params.rb
Defined Under Namespace
Modules: RateType Classes: AccessSchedule
Instance Attribute Summary collapse
- #access_schedule ⇒ MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::AccessSchedule?
-
#applicable_product_ids ⇒ Array<String>?
Which products the commit applies to.
-
#applicable_product_tags ⇒ Array<String>?
Which tags the commit applies to.
- #credit_id ⇒ String
-
#hierarchy_configuration ⇒ MetronomeSDK::Models::CommitHierarchyConfiguration?
Optional configuration for commit hierarchy access control.
- #netsuite_sales_order_id ⇒ String?
- #priority ⇒ Float?
- #product_id ⇒ String?
-
#rate_type ⇒ Symbol, ...
If provided, updates the credit to use the specified rate type for current and future invoices.
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, ending_before: nil, starting_at: nil) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3515
|
Instance Attribute Details
#access_schedule ⇒ MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::AccessSchedule?
3468 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3468 optional :access_schedule, -> { MetronomeSDK::V2::ContractEditParams::UpdateCredit::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.
3476 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3476 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.
3484 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3484 optional :applicable_product_tags, MetronomeSDK::Internal::Type::ArrayOf[String], nil?: true |
#credit_id ⇒ String
3463 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3463 required :credit_id, String |
#hierarchy_configuration ⇒ MetronomeSDK::Models::CommitHierarchyConfiguration?
Optional configuration for commit hierarchy access control
3490 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3490 optional :hierarchy_configuration, -> { MetronomeSDK::CommitHierarchyConfiguration } |
#netsuite_sales_order_id ⇒ String?
3495 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3495 optional :netsuite_sales_order_id, String, nil?: true |
#priority ⇒ Float?
3500 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3500 optional :priority, Float, nil?: true |
#product_id ⇒ String?
3505 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3505 optional :product_id, String |
#rate_type ⇒ Symbol, ...
If provided, updates the credit 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.
3513 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 3513 optional :rate_type, enum: -> { MetronomeSDK::V2::ContractEditParams::UpdateCredit::RateType } |