# Google Cloud Talent Solution V4 Client - Class CompensationRange (2.3.0)

2.3.0 (latest) 2.2.1 2.1.3 2.0.2 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class CompensationRange.

Compensation range.

Generated from protobuf message `google.cloud.talent.v4.CompensationInfo.CompensationRange`

## Namespace

Google \\ Cloud \\ Talent \\ V4 \\ CompensationInfo

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ max_compensation` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the [currency code](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html#_Google_Type_Money__getCurrencyCode__) of min_compensation. |
| `↳ min_compensation` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the [currency code](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html#_Google_Type_Money__getCurrencyCode__) of max_compensation. |

### getMaxCompensation

The maximum amount of compensation. If left empty, the value is set
to a maximal compensation value and the currency code is set to
match the [currency code](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html#_Google_Type_Money__getCurrencyCode__) of
min_compensation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html|null` |   |

### hasMaxCompensation

### clearMaxCompensation

### setMaxCompensation

The maximum amount of compensation. If left empty, the value is set
to a maximal compensation value and the currency code is set to
match the [currency code](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html#_Google_Type_Money__getCurrencyCode__) of
min_compensation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` |

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

### getMinCompensation

The minimum amount of compensation. If left empty, the value is set
to zero and the currency code is set to match the
[currency code](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html#_Google_Type_Money__getCurrencyCode__) of max_compensation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html|null` |   |

### hasMinCompensation

### clearMinCompensation

### setMinCompensation

The minimum amount of compensation. If left empty, the value is set
to zero and the currency code is set to match the
[currency code](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html#_Google_Type_Money__getCurrencyCode__) of max_compensation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` |

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