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 होने पर ही यह फ़ील्ड दिखेगा.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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."]]],[]]