# Google Shopping Merchant Accounts V1 Client - Class SeasonalOverride (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.0 1.0.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.3 0.2.0 0.1.0 Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class SeasonalOverride.

Generated from protobuf message `google.shopping.merchant.accounts.v1.OnlineReturnPolicy.SeasonalOverride`

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1 \\ OnlineReturnPolicy

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ return_days` | `int` Number of days (from the delivery date) that the product can be returned. |
| `↳ return_until_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Fixed end date until which the product can be returned. |
| `↳ label` | `string` Required. Display name of this seasonal override in Merchant Center. |
| `↳ start_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Required. Defines the date range when this seasonal override applies. Both start_date and end_date are inclusive. The dates of the seasonal overrides should not overlap. |
| `↳ end_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Required. seasonal override end date (inclusive). |

### getReturnDays

Number of days (from the delivery date) that the product can be
returned.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasReturnDays

### setReturnDays

Number of days (from the delivery date) that the product can be
returned.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

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

### getReturnUntilDate

Fixed end date until which the product can be returned.

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

### hasReturnUntilDate

### setReturnUntilDate

Fixed end date until which the product can be returned.

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

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

### getLabel

Required. Display name of this seasonal override in Merchant Center.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setLabel

Required. Display name of this seasonal override in Merchant Center.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getStartDate

Required. Defines the date range when this seasonal override applies.

Both start_date and end_date are inclusive.
The dates of the seasonal overrides should not overlap.

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

### hasStartDate

### clearStartDate

### setStartDate

Required. Defines the date range when this seasonal override applies.

Both start_date and end_date are inclusive.
The dates of the seasonal overrides should not overlap.

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

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

### getEndDate

Required. seasonal override end date (inclusive).

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

### hasEndDate

### clearEndDate

### setEndDate

Required. seasonal override end date (inclusive).

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

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

### getReturnWindow

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |