注文

顧客のために販売パートナーによって発注された注文を表すエンティティ。

JSON 表現

{
  "name": string,
  "offerId": string,
  "orderStatus": enum(OrderStatus),
  "purchaseOrderId": string,
  "orderItems": [
    {
      object(OrderItem)
    }
  ],
  "entitlementName": [
    string
  ],
  "createTime": string,
  "updateTime": string
}
フィールド
name

string

注文のリソース名。注文の名前の形式は accounts/{account_id}/customers/{customer_id}/orders/{orderId} で、読み取り専用です。

offerId

string

この注文が行われるオファーのリソース名。オファー ID の形式は accounts/{account_id}/offers/{offerId} です。

orderStatus

enum(OrderStatus)

注文の現在のステータスです。読み取り専用。

purchaseOrderId

string

注文書 ID。販売パートナーはこれを使用して注文をトラッキングできます。

orderItems[]

object(OrderItem)

entitlementName[]

string

注文の処理後に作成されるエンタイトルメント。エンタイトルメントのリソース名の形式は accounts/{account_id}/customers/{customer_id}/entitlements/{id} で、読み取り専用です。

createTime

string(Timestamp 形式)

読み取り専用。

RFC3339 UTC 「ズールー」形式でナノ秒の精度のタイムスタンプ。例: "2014-10-02T15:01:23.045123456Z"

updateTime

string(Timestamp 形式)

RFC3339 UTC「ズールー」形式でナノ秒の精度のタイムスタンプ。例: "2014-10-02T15:01:23.045123456Z"

OrderItem

JSON 表現

{
  "offerItemName": string,
  "commitmentSettings": {
    object(CommitmentSettings)
  },
  "renewalType": enum(RenewalType),
  "numUnits": number,
  "maxUnits": number,
  "paymentPlan": enum(PaymentPlan)
}
フィールド
offerItemName

string

オファーで参照される単一のアイテムのリソース名。オファー アイテムの名前の形式は accounts/{account_id}/offers/{offerId}/offerItems/{offer_item_id} です。

commitmentSettings

object(CommitmentSettings)

コミットメント ベースのプランの場合はコミットメント設定。読み取り専用。

renewalType

enum(RenewalType)

更新可能プランの更新設定。

numUnits

number

注文の数量(該当する場合)。たとえば、ユーザー数に基づくオファーの場合、これはユーザーの数になります。ライセンス数に基づくオファーの場合、これはライセンスの数になります。

maxUnits

number

paymentPlan

enum(PaymentPlan)

注文に関連付けられた支払いプラン。