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>
- (::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItem>) — Output only. Line items that were cancelled.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The creation timestamp.
#display_name
def display_name() -> ::String
- (::String) — Required. The user-specified name of the order.
#display_name=
def display_name=(value) -> ::String
- value (::String) — Required. The user-specified name of the order.
- (::String) — Required. The user-specified name of the order.
#etag
def etag() -> ::String
- (::String) — The weak etag of the order.
#etag=
def etag=(value) -> ::String
- value (::String) — The weak etag of the order.
- (::String) — The weak etag of the order.
#line_items
def line_items() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItem>
- (::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItem>) — Output only. The items being purchased.
#name
def name() -> ::String
-
(::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
- (::Google::Protobuf::Timestamp) — Output only. The last update timestamp.