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-09-12 UTC。
[null,null,["最終更新日 2024-09-12 UTC。"],[[["JSON is returned as output for `actions.intent.TRANSACTION_DECISION`."],["It contains the `transactionDecision` field indicating the decision (e.g., order acceptance, delivery address update)."],["Depending on the `transactionDecision`, it might include `order` or `deliveryAddress` details."],["`order` is present when the transaction decision is `ORDER_ACCEPTED` and contains the approved order details."],["`deliveryAddress` is included when the transaction decision is `DELIVERY_ADDRESS_UPDATED` and contains the updated delivery address."]]],[]]