# Google Shopping Merchant Lfp V1 Client - Class ListLfpStoresRequest (1.2.1)

1.2.1 (latest) 1.2.0 1.1.3 1.0.0 0.4.0 0.3.2 0.2.0 0.1.3 Reference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class ListLfpStoresRequest.

Request message for the ListLfpStores method.

Generated from protobuf message `google.shopping.merchant.lfp.v1.ListLfpStoresRequest`

## Namespace

Google \\ Shopping \\ Merchant \\ Lfp \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The LFP partner. Format: `accounts/{account}` |
| `↳ target_account` | `int|string` Required. The Merchant Center id of the merchant to list stores for. |
| `↳ page_size` | `int` Optional. The maximum number of `LfpStore` resources for the given account to return. The service returns fewer than this value if the number of stores for the given account is less than the `pageSize`. The default value is 250. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum. |
| `↳ page_token` | `string` Optional. A page token, received from a previous `ListLfpStoresRequest` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListLfpStoresRequest` must match the call that provided the page token. The token returned as [nextPageToken](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.ListLfpStoresResponse#_Google_Shopping_Merchant_Lfp_V1_ListLfpStoresResponse__getNextPageToken__) in the response to the previous request. |

### getParent

Required. The LFP partner.

Format: `accounts/{account}`

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

### setParent

Required. The LFP partner.

Format: `accounts/{account}`

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

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

### getTargetAccount

Required. The Merchant Center id of the merchant to list stores for.

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

### setTargetAccount

Required. The Merchant Center id of the merchant to list stores for.

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

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

### getPageSize

Optional. The maximum number of `LfpStore` resources for the given account
to return. The service returns fewer than this value if the number of
stores for the given account is less than the `pageSize`. The default value
is 250. The maximum value is 1000; If a value higher than the maximum is
specified, then the `pageSize` will default to the maximum.

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

### setPageSize

Optional. The maximum number of `LfpStore` resources for the given account
to return. The service returns fewer than this value if the number of
stores for the given account is less than the `pageSize`. The default value
is 250. The maximum value is 1000; If a value higher than the maximum is
specified, then the `pageSize` will default to the maximum.

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

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

### getPageToken

Optional. A page token, received from a previous `ListLfpStoresRequest`
call. Provide the page token to retrieve the subsequent page. When
paginating, all other parameters provided to `ListLfpStoresRequest` must
match the call that provided the page token. The token returned as
[nextPageToken](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.ListLfpStoresResponse#_Google_Shopping_Merchant_Lfp_V1_ListLfpStoresResponse__getNextPageToken__)
in the response to the previous request.

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

### setPageToken

Optional. A page token, received from a previous `ListLfpStoresRequest`
call. Provide the page token to retrieve the subsequent page. When
paginating, all other parameters provided to `ListLfpStoresRequest` must
match the call that provided the page token. The token returned as
[nextPageToken](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.ListLfpStoresResponse#_Google_Shopping_Merchant_Lfp_V1_ListLfpStoresResponse__getNextPageToken__)
in the response to the previous request.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The LFP partner. Format: `accounts/{account}` Please see LfpStoreServiceClient::accountName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.ListLfpStoresRequest` |   |