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

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ local_inventories array<Google\Shopping\Merchant\Inventories\V1beta\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLocalInventories

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

Parameter
NameDescription
var array<Google\Shopping\Merchant\Inventories\V1beta\LocalInventory>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this