Google Cloud Commerce Consumer Procurement V1 Client - Class ListOrdersResponse (0.2.3)

Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class ListOrdersResponse.

Response message for ConsumerProcurementService.ListOrders.

Generated from protobuf message google.cloud.commerce.consumer.procurement.v1.ListOrdersResponse

Namespace

Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ orders array<Google\Cloud\Commerce\Consumer\Procurement\V1\Order>

The list of orders in this response.

↳ next_page_token string

The token for fetching the next page.

getOrders

The list of orders in this response.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOrders

The list of orders in this response.

Parameter
Name Description
var array<Google\Cloud\Commerce\Consumer\Procurement\V1\Order>
Returns
Type Description
$this

getNextPageToken

The token for fetching the next page.

Returns
Type Description
string

setNextPageToken

The token for fetching the next page.

Parameter
Name Description
var string
Returns
Type Description
$this