Google Shopping Merchant Inventories V1beta Client - Class ListLocalInventoriesResponse (0.5.2)

Reference documentation and code samples for the Google Shopping Merchant Inventories V1beta Client class ListLocalInventoriesResponse.

Response message for the ListLocalInventories method.

Generated from protobuf message google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse

Namespace

Google \ Shopping \ Merchant \ Inventories \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ local_inventories array<LocalInventory>

The LocalInventory resources for the given product from the specified account.

↳ next_page_token string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

getLocalInventories

The LocalInventory resources for the given product from the specified account.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setLocalInventories

The LocalInventory resources for the given product from the specified account.

Parameter
Name Description
var array<LocalInventory>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as pageToken to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as pageToken to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this