Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class ListOnlineReturnPoliciesRequest.
Request message for the ListOnlineReturnPolicies method.
Generated from protobuf message google.shopping.merchant.accounts.v1.ListOnlineReturnPoliciesRequest
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The Merchant Center account for which to list return policies. Format: |
↳ page_size |
int
Optional. The maximum number of |
↳ page_token |
string
Optional. A page token, received from a previous |
getParent
Required. The Merchant Center account for which to list return policies.
Format: accounts/{account}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The Merchant Center account for which to list return policies.
Format: accounts/{account}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageSize
Optional. The maximum number of OnlineReturnPolicy resources to return.
The service returns fewer than this value if the number of return policies
for the given business is less that than the pageSize. The default value
is 10. The maximum value is 100; If a value higher than the maximum is
specified, then the pageSize will default to the maximum
| Returns | |
|---|---|
| Type | Description |
int |
|
setPageSize
Optional. The maximum number of OnlineReturnPolicy resources to return.
The service returns fewer than this value if the number of return policies
for the given business is less that than the pageSize. The default value
is 10. The maximum value is 100; If a value higher than the maximum is
specified, then the pageSize will default to the maximum
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageToken
Optional. A page token, received from a previous ListOnlineReturnPolicies
call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOnlineReturnPolicies must match the call that provided the page
token. The token returned as
nextPageToken
in the response to the previous request.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPageToken
Optional. A page token, received from a previous ListOnlineReturnPolicies
call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOnlineReturnPolicies must match the call that provided the page
token. The token returned as
nextPageToken
in the response to the previous request.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
parent |
string
Required. The Merchant Center account for which to list return policies.
Format: |
| Returns | |
|---|---|
| Type | Description |
ListOnlineReturnPoliciesRequest |
|