Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::PlaceOrderRequest (v1.0.2)

Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::PlaceOrderRequest.

Request message for ConsumerProcurementService.PlaceOrder.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The user-specified name of the order being placed.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The user-specified name of the order being placed.
Returns
  • (::String) — Required. The user-specified name of the order being placed.

#line_item_info

def line_item_info() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo>
Returns

#line_item_info=

def line_item_info=(value) -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo>
Parameter
Returns

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the parent resource. This field has the form billingAccounts/{billing-account-id}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the parent resource. This field has the form billingAccounts/{billing-account-id}.
Returns
  • (::String) — Required. The resource name of the parent resource. This field has the form billingAccounts/{billing-account-id}.

#request_id

def request_id() -> ::String
Returns
  • (::String) — Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request.

    The request ID must be a valid UUID.

#request_id=

def request_id=(value) -> ::String
Parameter
  • value (::String) — Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request.

    The request ID must be a valid UUID.

Returns
  • (::String) — Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request.

    The request ID must be a valid UUID.