Cloud Commerce Consumer Procurement v1 API - Class Order (1.3.0)

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.

Inheritance

object > Order

Namespace

Google.Cloud.Commerce.Consumer.Procurement.V1

Assembly

Google.Cloud.Commerce.Consumer.Procurement.V1.dll

Constructors

Order()

public Order()

Order(Order)

public Order(Order other)
Parameter
Name Description
other Order

Properties

CancelledLineItems

public RepeatedField<LineItem> CancelledLineItems { get; }

Output only. Line items that were cancelled.

Property Value
Type Description
RepeatedFieldLineItem

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation timestamp.

Property Value
Type Description
Timestamp

DisplayName

public string DisplayName { get; set; }

Required. The user-specified name of the order.

Property Value
Type Description
string

Etag

public string Etag { get; set; }

The weak etag of the order.

Property Value
Type Description
string

LineItems

public RepeatedField<LineItem> LineItems { get; }

Output only. The items being purchased.

Property Value
Type Description
RepeatedFieldLineItem

Name

public string Name { get; set; }

Output only. The resource name of the order. Has the form billingAccounts/{billing_account}/orders/{order}.

Property Value
Type Description
string

OrderName

public OrderName OrderName { get; set; }

OrderName-typed view over the Name resource name property.

Property Value
Type Description
OrderName

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last update timestamp.

Property Value
Type Description
Timestamp