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.
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>) — 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>) — 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>) — 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.