Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client 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.
Generated from protobuf message google.cloud.commerce.consumer.procurement.v1.Order
Namespace
Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the order. Has the form billingAccounts/{billing_account}/orders/{order}
.
↳ display_name
string
Required. The user-specified name of the order.
↳ line_items
↳ cancelled_line_items
↳ create_time
↳ update_time
↳ etag
string
The weak etag of the order.
getName
Output only. The resource name of the order.
Has the form billingAccounts/{billing_account}/orders/{order}
.
string
setName
Output only. The resource name of the order.
Has the form billingAccounts/{billing_account}/orders/{order}
.
var
string
$this
getDisplayName
Required. The user-specified name of the order.
string
setDisplayName
Required. The user-specified name of the order.
var
string
$this
getLineItems
Output only. The items being purchased.
setLineItems
Output only. The items being purchased.
$this
getCancelledLineItems
Output only. Line items that were cancelled.
setCancelledLineItems
Output only. Line items that were cancelled.
$this
getCreateTime
Output only. The creation timestamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation timestamp.
$this
getUpdateTime
Output only. The last update timestamp.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last update timestamp.
$this
getEtag
The weak etag of the order.
string
setEtag
The weak etag of the order.
var
string
$this