Die Transactions API wird am 3. Mai 2023 eingestellt, bevor die Konversationsaktionen am 13. Juni 2023 eingestellt werden. Weitere Informationen finden Sie unter
Einstellung von Konversationsaktionen.
TransactionDecisionValue
Als Ausgabe für actions.intent.TRANSACTION_DECISION
an die Aktion zurückgegeben.
JSON-Darstellung |
{
"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 .
} |
Felder |
transactionDecision |
enum (TransactionDecision )
Entscheidung bezüglich der Bestellung.
|
Union-Feld value . Für value ist nur einer der folgenden Werte zulässig: |
order |
object (Order )
Der Auftrag, den der Nutzer genehmigt hat. Dieses Feld ist nur vorhanden, wenn transactionDecision den Wert ORDER_ACCEPTED hat.
|
deliveryAddress |
object (Location )
Wenn ein Nutzer eine Aktualisierung der Lieferadresse anfordert, enthält dieses Feld die neue Lieferadresse. Dieses Feld ist nur vorhanden, wenn transactionDecision den Wert DELIVERY_ADDRESS_UPDATED hat.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-22 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-22 (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."]]],[]]