# Google Cloud Channel V1 Client - Class PercentageAdjustment (2.4.1)

2.4.1 (latest) 2.4.0 2.3.1 2.2.1 2.1.4 2.0.0 1.9.5 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 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` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Decimal.html` 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** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Decimal.html|null` |   |

### 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** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Decimal.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |