Google Shopping Merchant Promotions V1beta Client - Class ListPromotionsResponse (0.1.2)

Reference documentation and code samples for the Google Shopping Merchant Promotions V1beta Client class ListPromotionsResponse.

Response message for the ListPromotions method.

Generated from protobuf message google.shopping.merchant.promotions.v1beta.ListPromotionsResponse

Namespace

Google \ Shopping \ Merchant \ Promotions \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ promotions array<Promotion>

The processed promotions from the specified account.

↳ next_page_token string

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

getPromotions

The processed promotions from the specified account.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPromotions

The processed promotions from the specified account.

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

getNextPageToken

A token, which can be sent as page_token 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 page_token to retrieve the next page.

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

Parameter
Name Description
var string
Returns
Type Description
$this