# Google Shopping Merchant Accounts V1beta 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

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class SeasonalOverride.

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

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1beta \\ 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` |   |