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
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::CancelOrderRequest::CancellationPolicy) — Optional. Cancellation policy of this request.
#cancellation_policy=
def cancellation_policy=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::CancelOrderRequest::CancellationPolicy
Parameter
- value (::Google::Cloud::Commerce::Consumer::Procurement::V1::CancelOrderRequest::CancellationPolicy) — Optional. Cancellation policy of this request.
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::CancelOrderRequest::CancellationPolicy) — Optional. Cancellation policy of this request.
#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.