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

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"