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

Request message for the InsertLfpStore method.

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

## 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 provider account Format: `accounts/{account}` |
| `↳ lfp_store` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpStore` Required. The store to insert. |

### getParent

Required. The LFP provider account
Format: `accounts/{account}`

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

### setParent

Required. The LFP provider account
Format: `accounts/{account}`

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

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

### getLfpStore

Required. The store to insert.

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

### hasLfpStore

### clearLfpStore

### setLfpStore

Required. The store to insert.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpStore` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The LFP provider account Format: `accounts/{account}` Please see LfpStoreServiceClient::accountName() for help formatting this field. |
| `lfpStore` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpStore` Required. The store to insert. |

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