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

URL settings for cart or checkout URL.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ checkout_uri_template` | `string` Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the [help center doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting) |
| `↳ cart_uri_template` | `string` Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the [help center doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting) |

### getCheckoutUriTemplate

Checkout URL template. When the placeholders are expanded will redirect
the buyer to the merchant checkout page with the item in the cart. For
more details, check the [help center
doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)

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

### hasCheckoutUriTemplate

### setCheckoutUriTemplate

Checkout URL template. When the placeholders are expanded will redirect
the buyer to the merchant checkout page with the item in the cart. For
more details, check the [help center
doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)

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

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

### getCartUriTemplate

Cart URL template. When the placeholders are expanded will redirect the
buyer to the cart page on the merchant website with the selected
item in cart. For more details, check the [help center
doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)

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

### hasCartUriTemplate

### setCartUriTemplate

Cart URL template. When the placeholders are expanded will redirect the
buyer to the cart page on the merchant website with the selected
item in cart. For more details, check the [help center
doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)

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

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

### getUriTemplate

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