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

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOrders

The list of orders in this response.

Parameter
NameDescription
var array<Google\Cloud\Commerce\Consumer\Procurement\V1\Order>
Returns
TypeDescription
$this

getNextPageToken

The token for fetching the next page.

Returns
TypeDescription
string

setNextPageToken

The token for fetching the next page.

Parameter
NameDescription
var string
Returns
TypeDescription
$this