Google ใช้เทคโนโลยี AI เพื่อแปลเนื้อหาเป็นภาษาที่คุณต้องการ การแปลโดย AI อาจมีข้อผิดพลาด
OrderOptions
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตัวเลือกที่เชื่อมโยงกับคำสั่งซื้อ
| การแสดง JSON |
{
"requestDeliveryAddress": boolean,
"userInfoOptions": {
object (UserInfoOptions)
}
} |
| ช่อง |
requestDeliveryAddress |
boolean
หากจริง ต้องระบุที่อยู่สำหรับจัดส่งสำหรับคำสั่งซื้อที่เกี่ยวข้อง
|
userInfoOptions |
object (UserInfoOptions)
แอปสามารถขอข้อมูลผู้ใช้ได้โดยการตั้งค่าช่องนี้ หากมีการตั้งค่า ช่องที่เกี่ยวข้องจะแสดงใน ProposedOrderCard สำหรับการยืนยันจากผู้ใช้
|
UserInfoOptions
ตัวเลือกเกี่ยวกับข้อมูลผู้ใช้
| ช่อง |
userInfoProperties[] |
enum (UserInfoProperty)
รายการพร็อพเพอร์ตี้ข้อมูลผู้ใช้
|
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[],["The document defines order options using JSON. It allows specifying whether a delivery address is required (`requestDeliveryAddress`), represented by a boolean. It also defines `userInfoOptions`, an object enabling apps to request user information. `userInfoOptions` uses `userInfoProperties`, an array of enumerated user info properties, for the specific details to be requested. If set, these fields appear in the ProposedOrderCard for user confirmation. The provided data structure and its types are detailed in associated tables.\n"]]