OrderOptions
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตัวเลือกที่เชื่อมโยงกับคำสั่งซื้อ
การแสดง JSON |
{
"requestDeliveryAddress": boolean,
"userInfoOptions": {
object (UserInfoOptions )
}
} |
ช่อง |
requestDeliveryAddress |
boolean
หากจริง ต้องระบุที่อยู่สำหรับจัดส่งสำหรับคำสั่งซื้อที่เกี่ยวข้อง
|
userInfoOptions |
object (UserInfoOptions )
แอปสามารถขอข้อมูลผู้ใช้ได้โดยการตั้งค่าช่องนี้ หากมีการตั้งค่า ช่องที่เกี่ยวข้องจะแสดงใน ProposedOrderCard สำหรับการยืนยันจากผู้ใช้
|
UserInfoOptions
ตัวเลือกเกี่ยวกับข้อมูลผู้ใช้
ช่อง |
userInfoProperties[] |
enum (UserInfoProperty )
รายการพร็อพเพอร์ตี้ข้อมูลผู้ใช้
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[[["เข้าใจง่าย","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 provided content outlines the structure for defining order options and user information requests. `requestDeliveryAddress` (boolean) determines if a delivery address is mandatory for an order. `userInfoOptions` (object) allows apps to request user data; if set, these fields appear in the ProposedOrderCard. `userInfoOptions` contains `userInfoProperties`, which lists the specific user information properties being requested as an array of enum. Each element can be a field of the `UserInfoProperty`.\n"]]