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

1.8.0 (latest) 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.4.0 0.3.2 0.2.0 0.1.0 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-ConsumerProcurementService-Client#Google__Cloud__Commerce__Consumer__Procurement__V1__ConsumerProcurementService__Client_place_order_instance_ "Google::Cloud::Commerce::Consumer::Procurement::V1::ConsumerProcurementService::Client#place_order (method)").

## 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**

- (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\>) --- Optional. Places order for offer. Required when an offer-based order is being placed.

### #line_item_info=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\>) --- Optional. Places order for offer. Required when an offer-based order is being placed.
**Returns**

- (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-LineItemInfo)\>) --- Optional. Places order for offer. Required when an offer-based order is being placed.

### #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 24 hours after the first request.

  The request ID must be a valid
  [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).

### #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 24 hours after the first request.


  The request ID must be a valid
  [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
**Returns**

- (::String) --- Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 24 hours after the first request.

  The request ID must be a valid
  [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).