Class Order (0.1.5)

Order(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
name str
Output only. The resource name of the order. Has the form billingAccounts/{billing_account}/orders/{order}.
display_name str
Required. The user-specified name of the order.
line_items MutableSequence[google.cloud.commerce_consumer_procurement_v1.types.LineItem]
Output only. The items being purchased.
cancelled_line_items MutableSequence[google.cloud.commerce_consumer_procurement_v1.types.LineItem]
Output only. Line items that were cancelled.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The creation timestamp.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The last update timestamp.
etag str
The weak etag of the order.