# Google Cloud Commerce Consumer Procurement V1 Client - Class ListOrdersRequest (1.3.3)

1.3.3 (latest) 1.3.2 1.2.2 1.1.3 1.0.0 0.2.5 0.1.1 Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class ListOrdersRequest.

Request message for
[ConsumerProcurementService.ListOrders](https://docs.cloud.google.com/php/docs/reference/cloud-commerce-consumer-procurement/latest/V1.Client.ConsumerProcurementServiceClient#_Google_Cloud_Commerce_Consumer_Procurement_V1_Client_ConsumerProcurementServiceClient__listOrders__).

Generated from protobuf message `google.cloud.commerce.consumer.procurement.v1.ListOrdersRequest`

## Namespace

Google \\ Cloud \\ Commerce \\ Consumer \\ Procurement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent resource to query for orders. This field has the form `billingAccounts/{billing-account-id}`. |
| `↳ page_size` | `int` The maximum number of entries requested. The default page size is 25 and the maximum page size is 200. |
| `↳ page_token` | `string` The token for fetching the next page. |
| `↳ filter` | `string` Filter that you can use to limit the list request. A query string that can match a selected set of attributes with string values. For example, `display_name=abc`. Supported query attributes are \* \* `display_name` If the query contains special characters other than letters, underscore, or digits, the phrase must be quoted with double quotes. For example, `display_name="foo:bar"`, where the display name needs to be quoted because it contains special character colon. Queries can be combined with `OR`, and `NOT` to form more complex queries. You can also group them to force a desired evaluation order. For example, `display_name=abc OR display_name=def`. |

### getParent

Required. The parent resource to query for orders.

This field has the form `billingAccounts/{billing-account-id}`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. The parent resource to query for orders.

This field has the form `billingAccounts/{billing-account-id}`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageSize

The maximum number of entries requested.

The default page size is 25 and the maximum page size is 200.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

The maximum number of entries requested.

The default page size is 25 and the maximum page size is 200.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageToken

The token for fetching the next page.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPageToken

The token for fetching the next page.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFilter

Filter that you can use to limit the list request.

A query string that can match a selected set of attributes
with string values. For example, `display_name=abc`.
Supported query attributes are

- `display_name` If the query contains special characters other than letters, underscore, or digits, the phrase must be quoted with double quotes. For example, `display_name="foo:bar"`, where the display name needs to be quoted because it contains special character colon. Queries can be combined with `OR`, and `NOT` to form more complex queries. You can also group them to force a desired evaluation order. For example, `display_name=abc OR display_name=def`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFilter

Filter that you can use to limit the list request.

A query string that can match a selected set of attributes
with string values. For example, `display_name=abc`.
Supported query attributes are

- `display_name` If the query contains special characters other than letters, underscore, or digits, the phrase must be quoted with double quotes. For example, `display_name="foo:bar"`, where the display name needs to be quoted because it contains special character colon. Queries can be combined with `OR`, and `NOT` to form more complex queries. You can also group them to force a desired evaluation order. For example, `display_name=abc OR display_name=def`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource to query for orders. This field has the form `billingAccounts/{billing-account-id}`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-commerce-consumer-procurement/latest/V1.ListOrdersRequest` |   |