Google Cloud Commerce Producer V1beta Client - Class ListPrivateOffersResponse (0.2.0)

Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class ListPrivateOffersResponse.

Message for response to listing PrivateOffers

Generated from protobuf message google.cloud.commerceproducer.v1beta.ListPrivateOffersResponse

Namespace

Google \ Cloud \ CommerceProducer \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ private_offers array<PrivateOffer>

The list of PrivateOffer

↳ 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.

getPrivateOffers

The list of PrivateOffer

Returns
Type Description
Google\Protobuf\RepeatedField<PrivateOffer>

setPrivateOffers

The list of PrivateOffer

Parameter
Name Description
var array<PrivateOffer>
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