Google Shopping Merchant Reviews V1beta Client - Class ListProductReviewsResponse (0.6.1)

Reference documentation and code samples for the Google Shopping Merchant Reviews V1beta Client class ListProductReviewsResponse.

response message for the ListProductReviews method.

Generated from protobuf message google.shopping.merchant.reviews.v1beta.ListProductReviewsResponse

Namespace

Google \ Shopping \ Merchant \ Reviews \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ product_reviews array<ProductReview>

The product review.

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

getProductReviews

The product review.

Returns
Type Description
Google\Protobuf\RepeatedField<ProductReview>

setProductReviews

The product review.

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