Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingCondition
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingCondition
- 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
-
#sku_group_condition ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition
A condition that applies the override if a line item SKU is found in the SKU group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1RepricingCondition
constructor
A new instance of GoogleCloudChannelV1RepricingCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1RepricingCondition
Returns a new instance of GoogleCloudChannelV1RepricingCondition.
3023 3024 3025 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sku_group_condition ⇒ Google::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
3021 3022 3023 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3021 def sku_group_condition @sku_group_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3028 3029 3030 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3028 def update!(**args) @sku_group_condition = args[:sku_group_condition] if args.key?(:sku_group_condition) end |