Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingAdjustment
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingAdjustment
- 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
A type that represents the various adjustments you can apply to a bill.
Instance Attribute Summary collapse
-
#percentage_adjustment ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1PercentageAdjustment
An adjustment that applies a flat markup or markdown to an entire bill.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1RepricingAdjustment
constructor
A new instance of GoogleCloudChannelV1RepricingAdjustment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1RepricingAdjustment
Returns a new instance of GoogleCloudChannelV1RepricingAdjustment.
2189 2190 2191 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2189 def initialize(**args) update!(**args) end |
Instance Attribute Details
#percentage_adjustment ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1PercentageAdjustment
An adjustment that applies a flat markup or markdown to an entire bill.
Corresponds to the JSON property percentageAdjustment
2187 2188 2189 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2187 def percentage_adjustment @percentage_adjustment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2194 2195 2196 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2194 def update!(**args) @percentage_adjustment = args[:percentage_adjustment] if args.key?(:percentage_adjustment) end |