Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingCondition

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb

Overview

Represents the various repricing conditions you can use for a conditional override.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1RepricingCondition

Returns a new instance of GoogleCloudChannelV1RepricingCondition.



2665
2666
2667
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2665

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sku_group_conditionGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition

A condition that applies the override if a line item SKU is found in the SKU group. Corresponds to the JSON property skuGroupCondition



2663
2664
2665
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2663

def sku_group_condition
  @sku_group_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2670
2671
2672
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2670

def update!(**args)
  @sku_group_condition = args[:sku_group_condition] if args.key?(:sku_group_condition)
end