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

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

Request message for ConsumerProcurementService.GetOrder

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

Namespace

Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the order to retrieve.

getName

Required. The name of the order to retrieve.

Returns
TypeDescription
string

setName

Required. The name of the order to retrieve.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the order to retrieve.

Returns
TypeDescription
Google\Cloud\Commerce\Consumer\Procurement\V1\GetOrderRequest