Request will cancel the auto renewal, if order is not subscription based,
the request will fail.
CancelImmediately
Request will cancel the whole order immediately, if order cannot be
immediately cancelled, the request will fail.
Unspecified
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference documentation for the `CancelOrderRequest.Types.CancellationPolicy` enum within the Google Cloud Commerce Consumer Procurement v1 API."],["The `CancellationPolicy` enum defines how a customer can cancel an order, with options including `CancelAtTermEnd`, `CancelImmediately`, and `Unspecified`."],["`CancelAtTermEnd` is used to cancel the auto-renewal of an order, while `CancelImmediately` terminates the entire order immediately, and both requests will fail if they are not possible."],["The `Unspecified` option attempts cancellation, reverting to turning off auto-renewal if immediate cancellation is not possible, but its use is discouraged due to non-deterministic outcomes."],["The documented API enum is available in different versions, from 1.0.0 to 1.4.0, with 1.4.0 being the latest."]]],[]]