public sealed class Order : IMessage<Order>, IEquatable<Order>, IDeepCloneable<Order>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Commerce Consumer Procurement v1 API class Order.
Represents a purchase made by a customer on Cloud Marketplace.
Creating an order makes sure that both the Google backend systems
as well as external service provider's systems (if needed) allow use of
purchased products and ensures the appropriate billing events occur.
An Order can be made against one Product with multiple add-ons (optional) or
one Quote which might reference multiple products.
Customers typically choose a price plan for each Product purchased when
they create an order and can change their plan later, if the product allows.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eOrder\u003c/code\u003e class within the Google Cloud Commerce Consumer Procurement v1 API, representing a customer's purchase on the Cloud Marketplace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOrder\u003c/code\u003e class allows for purchasing a single product with optional add-ons or multiple products via a quote, where customers can select and potentially change price plans.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOrder\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class, offering methods for interaction, equality checks, deep cloning, and buffer message capabilities.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eOrder\u003c/code\u003e class include \u003ccode\u003eCancelledLineItems\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eLineItems\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eOrderName\u003c/code\u003e, and \u003ccode\u003eUpdateTime\u003c/code\u003e, with details on the type and description for each.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API, as listed, is 1.4.0, with older versions like 1.3.0, 1.2.0, 1.1.0, and 1.0.0, also being detailed in the documentation.\u003c/p\u003e\n"]]],[],null,[]]