Cloud Channel V1 API - Class Google::Cloud::Channel::V1::PercentageAdjustment (v0.11.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::PercentageAdjustment.

An adjustment that applies a flat markup or markdown to an entire bill.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#percentage

def percentage() -> ::Google::Type::Decimal
Returns
  • (::Google::Type::Decimal) — The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"

#percentage=

def percentage=(value) -> ::Google::Type::Decimal
Parameter
  • value (::Google::Type::Decimal) — The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"
Returns
  • (::Google::Type::Decimal) — The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"