Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::Order (v0.3.2)

Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cancelled_line_items

def cancelled_line_items() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItem>
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The user-specified name of the order.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The user-specified name of the order.
Returns
  • (::String) — Required. The user-specified name of the order.

#etag

def etag() -> ::String
Returns
  • (::String) — The weak etag of the order.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — The weak etag of the order.
Returns
  • (::String) — The weak etag of the order.

#line_items

def line_items() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItem>
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of the order. Has the form billingAccounts/{billing_account}/orders/{order}.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns