Class: MetronomeSDK::Models::V1::ContractAmendParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::ContractAmendParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/metronome_sdk/models/v1/contract_amend_params.rb
Overview
Defined Under Namespace
Classes: Commit, Credit, Discount, Override, ProfessionalService, ResellerRoyalty, ScheduledCharge
Instance Attribute Summary collapse
- #commits ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::Commit>?
-
#contract_id ⇒ String
ID of the contract to amend.
- #credits ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::Credit>?
-
#custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg.
-
#customer_id ⇒ String
ID of the customer whose contract is to be amended.
-
#discounts ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::Discount>?
This field’s availability is dependent on your client’s configuration.
-
#netsuite_sales_order_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
- #overrides ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::Override>?
-
#professional_services ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::ProfessionalService>?
This field’s availability is dependent on your client’s configuration.
-
#reseller_royalties ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::ResellerRoyalty>?
This field’s availability is dependent on your client’s configuration.
-
#salesforce_opportunity_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
- #scheduled_charges ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::ScheduledCharge>?
-
#starting_at ⇒ Time
inclusive start time for the amendment.
-
#total_contract_value ⇒ Float?
This field’s availability is dependent on your client’s configuration.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(gcp_account_id: nil, gcp_offer_id: nil) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 1107
|
Instance Attribute Details
#commits ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::Commit>?
32 33 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 32 optional :commits, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractAmendParams::Commit] } |
#contract_id ⇒ String
ID of the contract to amend
15 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 15 required :contract_id, String |
#credits ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::Credit>?
38 39 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 38 optional :credits, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractAmendParams::Credit] } |
#custom_fields ⇒ Hash{Symbol=>String}?
Custom fields to be added eg. { “key1”: “value1”, “key2”: “value2” }
45 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 45 optional :custom_fields, MetronomeSDK::Internal::Type::HashOf[String] |
#customer_id ⇒ String
ID of the customer whose contract is to be amended
21 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 21 required :customer_id, String |
#discounts ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::Discount>?
This field’s availability is dependent on your client’s configuration.
51 52 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 51 optional :discounts, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractAmendParams::Discount] } |
#netsuite_sales_order_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
58 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 58 optional :netsuite_sales_order_id, String |
#overrides ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::Override>?
63 64 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 63 optional :overrides, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractAmendParams::Override] } |
#professional_services ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::ProfessionalService>?
This field’s availability is dependent on your client’s configuration.
70 71 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 70 optional :professional_services, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractAmendParams::ProfessionalService] } |
#reseller_royalties ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::ResellerRoyalty>?
This field’s availability is dependent on your client’s configuration.
77 78 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 77 optional :reseller_royalties, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractAmendParams::ResellerRoyalty] } |
#salesforce_opportunity_id ⇒ String?
This field’s availability is dependent on your client’s configuration.
84 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 84 optional :salesforce_opportunity_id, String |
#scheduled_charges ⇒ Array<MetronomeSDK::Models::V1::ContractAmendParams::ScheduledCharge>?
89 90 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 89 optional :scheduled_charges, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::ContractAmendParams::ScheduledCharge] } |
#starting_at ⇒ Time
inclusive start time for the amendment
27 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 27 required :starting_at, Time |
#total_contract_value ⇒ Float?
This field’s availability is dependent on your client’s configuration.
96 |
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 96 optional :total_contract_value, Float |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/metronome_sdk/models/v1/contract_amend_params.rb', line 720
|