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.
3042 3043 3044 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3042 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
3040 3041 3042 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3040 def percentage_adjustment @percentage_adjustment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3047 3048 3049 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3047 def update!(**args) @percentage_adjustment = args[:percentage_adjustment] if args.key?(:percentage_adjustment) end |