Google Cloud Channel V1 Client - Class PercentageAdjustment (2.2.0)

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

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

Generated from protobuf message google.cloud.channel.v1.PercentageAdjustment

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ percentage
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"

getPercentage

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
Type
Description

hasPercentage

clearPercentage

setPercentage

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"

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: