# Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::ModifyOrderRequest (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::ModifyOrderRequest.

Request message for
[ConsumerProcurementService.ModifyOrder](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_modify_order_instance_ "Google::Cloud::Commerce::Consumer::Procurement::V1::ConsumerProcurementService::Client#modify_order (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Optional. Updated display name of the order, leave as empty if you do not want to update current display name.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Updated display name of the order, leave as empty if you do not want to update current display name.
**Returns**

- (::String) --- Optional. Updated display name of the order, leave as empty if you do not want to update current display name.

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- Optional. The weak etag, which can be optionally populated, of the order that this modify request is based on. Validation checking will only happen if the invoker supplies this field.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The weak etag, which can be optionally populated, of the order that this modify request is based on. Validation checking will only happen if the invoker supplies this field.
**Returns**

- (::String) --- Optional. The weak etag, which can be optionally populated, of the order that this modify request is based on. Validation checking will only happen if the invoker supplies this field.

### #modifications

    def modifications() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::ModifyOrderRequest::Modification>

**Returns**

- (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::ModifyOrderRequest::Modification](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-ModifyOrderRequest-Modification)\>) --- Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.

### #modifications=

    def modifications=(value) -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::ModifyOrderRequest::Modification>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::ModifyOrderRequest::Modification](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-ModifyOrderRequest-Modification)\>) --- Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.
**Returns**

- (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::ModifyOrderRequest::Modification](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-ModifyOrderRequest-Modification)\>) --- Optional. Modifications for an existing Order created by an Offer. Required when Offer based Order is being modified, except for when going from an offer to a public plan.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Name of the order to update.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the order to update.
**Returns**

- (::String) --- Required. Name of the order to update.