TransactionDecisionValue

返回動作,做為 actions.intent.TRANSACTION_DECISION 的輸出內容。

JSON 表示法
{
  "transactionDecision": enum (TransactionDecision),

  // Union field value can be only one of the following:
  "order": {
    object (Order)
  },
  "deliveryAddress": {
    object (Location)
  }
  // End of list of possible types for union field value.
}
欄位
transactionDecision

enum (TransactionDecision)

對訂單做出決定。

聯集欄位 value

value 只能是下列其中一個值:

order

object (Order)

使用者核准的訂單。只有在 transactionDecisionORDER_ACCEPTED 時,系統才會顯示這個欄位。

deliveryAddress

object (Location)

如果使用者要求更新寄送地址,這個欄位會包含新的寄送地址。只有在 transactionDecisionDELIVERY_ADDRESS_UPDATED 時,系統才會顯示這個欄位。