Google Shopping Merchant Accounts V1 Client - Class ListOnlineReturnPoliciesResponse (1.4.1)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class ListOnlineReturnPoliciesResponse.

Response message for the ListOnlineReturnPolicies method.

Generated from protobuf message google.shopping.merchant.accounts.v1.ListOnlineReturnPoliciesResponse

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ online_return_policies array<OnlineReturnPolicy>

The retrieved return policies.

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

getOnlineReturnPolicies

The retrieved return policies.

Returns
Type Description
Google\Protobuf\RepeatedField<OnlineReturnPolicy>

setOnlineReturnPolicies

The retrieved return policies.

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