# Google Shopping Merchant Accounts V1 Client - Class Homepage (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 Homepage.

The `Homepage` message represents a business's store homepage within the
system.

A business's homepage is the primary domain where customers interact with
their store.
The homepage can be claimed and verified as a proof of ownership and allows
the business to unlock features that require a verified website. For more
information, see [Understanding online store URL
verification](https://support.google.com/merchants/answer/176793).

Generated from protobuf message `google.shopping.merchant.accounts.v1.Homepage`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the store's homepage. Format: `accounts/{account}/homepage` |
| `↳ uri` | `string` Required. The URI (typically a URL) of the store's homepage. |
| `↳ claimed` | `bool` Output only. Whether the homepage is claimed. See <https://support.google.com/merchants/answer/176793>. |

### getName

Identifier. The resource name of the store's homepage.

Format: `accounts/{account}/homepage`

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

### setName

Identifier. The resource name of the store's homepage.

Format: `accounts/{account}/homepage`

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

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

### getUri

Required. The URI (typically a URL) of the store's homepage.

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

### hasUri

### clearUri

### setUri

Required. The URI (typically a URL) of the store's homepage.

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

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

### getClaimed

Output only. Whether the homepage is claimed. See
<https://support.google.com/merchants/answer/176793>.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setClaimed

Output only. Whether the homepage is claimed. See
<https://support.google.com/merchants/answer/176793>.

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

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