Transactions API のサポートは 2023 年 6 月 13 日に終了します。2023 年 5 月 3 日に終了します。詳細については、
会話型アクションの廃止をご覧ください。
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 )
ユーザーが承認した注文。このフィールドは、transactionDecision が ORDER_ACCEPTED の場合にのみ存在します。
|
deliveryAddress |
object (Location )
ユーザーが配送先住所の更新をリクエストした場合、このフィールドに新しい配送先住所が含まれます。このフィールドは、transactionDecision が DELIVERY_ADDRESS_UPDATED の場合にのみ存在します。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-10-14 UTC。
[null,null,["最終更新日 2024-10-14 UTC。"],[[["Returned as output for the `actions.intent.TRANSACTION_DECISION` action."],["Represents the user's decision on a transaction, which can be to accept the order, update the delivery address, or another decision defined by `TransactionDecision`."],["If the user accepts the order (`transactionDecision` is `ORDER_ACCEPTED`), the JSON response includes the `order` object."],["If the user updates the delivery address (`transactionDecision` is `DELIVERY_ADDRESS_UPDATED`), the JSON response includes the `deliveryAddress` object."]]],[]]