Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::CancelOrderRequest (v1.2.0)

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

Request message for ConsumerProcurementService.CancelOrder.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cancellation_policy

def cancellation_policy() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::CancelOrderRequest::CancellationPolicy
Returns

#cancellation_policy=

def cancellation_policy=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::CancelOrderRequest::CancellationPolicy
Parameter
Returns

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. The weak etag, which can be optionally populated, of the order that this cancel 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 cancel 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 cancel request is based on. Validation checking will only happen if the invoker supplies this field.

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the order.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the order.
Returns
  • (::String) — Required. The resource name of the order.