Cloud Commerce Consumer Procurement V1 API - Module Google::Cloud::Commerce::Consumer::Procurement::V1::CancelOrderRequest::CancellationPolicy (v1.1.0)

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

Indicates the cancellation policy the customer uses to cancel the order.

Constants

CANCELLATION_POLICY_UNSPECIFIED

value: 0
If unspecified, cancellation will try to cancel the order, if order cannot be immediately cancelled, auto renewal will be turned off. However, caller should avoid using the value as it will yield a non-deterministic result. This is still supported mainly to maintain existing integrated usages and ensure backwards compatibility.

CANCELLATION_POLICY_CANCEL_IMMEDIATELY

value: 1
Request will cancel the whole order immediately, if order cannot be immediately cancelled, the request will fail.

CANCELLATION_POLICY_CANCEL_AT_TERM_END

value: 2
Request will cancel the auto renewal, if order is not subscription based, the request will fail.