DeliveryAddressValue
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
กลับไปยังการดำเนินการเป็นเอาต์พุตสำหรับ actions.type.DeliveryAddressValue
การแสดง JSON |
{
"userDecision": enum (DeliveryAddressUserDecision ),
"location": {
object (Location )
}
} |
ช่อง |
userDecision |
enum (DeliveryAddressUserDecision )
การตัดสินใจของผู้ใช้เกี่ยวกับคำขอ
|
location |
object (Location )
มีที่อยู่สำหรับจัดส่งเฉพาะเมื่อผู้ใช้ตกลงที่จะแชร์ที่อยู่สำหรับจัดส่งเท่านั้น
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThe \u003ccode\u003eDeliveryAddressValue\u003c/code\u003e action output is represented in JSON format and provides the user's decision and delivery location.\u003c/p\u003e\n"],["\u003cp\u003eThis output contains two main fields: \u003ccode\u003euserDecision\u003c/code\u003e indicating user consent and \u003ccode\u003elocation\u003c/code\u003e providing the address if shared.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elocation\u003c/code\u003e field is populated only when the user agrees to share their delivery address.\u003c/p\u003e\n"]]],["The core content defines the JSON output for `actions.type.DeliveryAddressValue`. This output includes two key fields: `userDecision`, an enumeration indicating the user's response to the delivery address request, and `location`, an object containing the delivery address. The `location` object is only present when the user agrees to share their address, otherwise it is absent. This structure represents how a delivery address is shared after user interaction.\n"],null,["# DeliveryAddressValue\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nReturned to the Action as output for `actions.type.DeliveryAddressValue`.\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------|---|\n| ``` { \"userDecision\": enum (`DeliveryAddressUserDecision`), \"location\": { object (`Location`) } } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------|\n| `userDecision` | `enum (``DeliveryAddressUserDecision``)` User's decision regarding the request. |\n| `location` | `object (``Location``)` Contains delivery address only when user agrees to share the delivery address. |"]]