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

The inventory statistics for a merchant.

Generated from protobuf message `google.shopping.merchant.lfp.v1.LfpMerchantState.InventoryStats`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ submitted_entries` | `int|string` Number of entries (understanding entry as a pair of product and store) that were built based on provided inventories/sales and submitted to Google. |
| `↳ submitted_in_stock_entries` | `int|string` Number of submitted in stock entries. |
| `↳ unsubmitted_entries` | `int|string` Number of entries that were built based on provided inventories/sales and couldn't be submitted to Google due to errors like missing product. |
| `↳ submitted_products` | `int|string` Number of products from provided inventories/sales that were created from matches to existing online products provided by the merchant or to the Google catalog. |

### getSubmittedEntries

Number of entries (understanding entry as a pair of product and store)
that were built based on provided inventories/sales and submitted to
Google.

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

### setSubmittedEntries

Number of entries (understanding entry as a pair of product and store)
that were built based on provided inventories/sales and submitted to
Google.

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

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

### getSubmittedInStockEntries

Number of submitted in stock entries.

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

### setSubmittedInStockEntries

Number of submitted in stock entries.

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

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

### getUnsubmittedEntries

Number of entries that were built based on provided
inventories/sales and couldn't be submitted to Google due to errors like
missing product.

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

### setUnsubmittedEntries

Number of entries that were built based on provided
inventories/sales and couldn't be submitted to Google due to errors like
missing product.

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

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

### getSubmittedProducts

Number of products from provided inventories/sales that were created from
matches to existing online products provided by the merchant or to the
Google catalog.

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

### setSubmittedProducts

Number of products from provided inventories/sales that were created from
matches to existing online products provided by the merchant or to the
Google catalog.

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

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