PresentationOptions
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตัวเลือกที่ใช้ปรับแต่งงานนำเสนอคำสั่งซื้อสำหรับผู้ใช้
การแสดง JSON |
{
"actionDisplayName": string
} |
ช่อง |
actionDisplayName |
string
actionDisplayName สามารถมีค่าใดค่าหนึ่งต่อไปนี้ PLACE_ORDER : ใช้สำหรับการสั่งซื้อ PAY : ใช้สำหรับการชำระเงิน BUY : ใช้สำหรับการซื้อ SEND : ใช้สำหรับการโอนเงิน BOOK : ใช้สำหรับการจอง RESERVE : ใช้สำหรับการจอง SCHEDULE : ใช้เพื่อกำหนดเวลานัดหมาย SUBSCRIBE : ใช้สำหรับการสมัครใช้บริการ
actionDisplayName คือชื่อของการดําเนินการที่อธิบายคําสั่งซื้อนี้ได้ดีที่สุด เพื่อนำไปใช้ในที่ต่างๆ เช่น ข้อความแจ้ง ชิปคำแนะนำ และอื่นๆ ขณะเสนอคำสั่งซื้อให้กับผู้ใช้
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eJSON representation is used to customize how an order is presented to the user.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eactionDisplayName\u003c/code\u003e is a string field that categorizes the order's primary action (e.g., placing an order, making a payment).\u003c/p\u003e\n"],["\u003cp\u003eThis categorization influences how the order is presented to the user, such as in prompts or suggestion chips.\u003c/p\u003e\n"],["\u003cp\u003ePossible values for \u003ccode\u003eactionDisplayName\u003c/code\u003e include: \u003ccode\u003ePLACE_ORDER\u003c/code\u003e, \u003ccode\u003ePAY\u003c/code\u003e, \u003ccode\u003eBUY\u003c/code\u003e, \u003ccode\u003eSEND\u003c/code\u003e, \u003ccode\u003eBOOK\u003c/code\u003e, \u003ccode\u003eRESERVE\u003c/code\u003e, \u003ccode\u003eSCHEDULE\u003c/code\u003e, and \u003ccode\u003eSUBSCRIBE\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document outlines a JSON representation for customizing order presentation. The key element is `actionDisplayName`, a string field specifying the action type. Possible values include `PLACE_ORDER`, `PAY`, `BUY`, `SEND`, `BOOK`, `RESERVE`, `SCHEDULE`, and `SUBSCRIBE`. This field determines how the order is displayed and proposed to the user in prompts and suggestions, using a specific name to describe the action.\n"],null,["# PresentationOptions\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nOptions used to customize the order presentation to the user.\n\n| JSON representation ||\n|-----------------------------------------|---|\n| ``` { \"actionDisplayName\": string } ``` |\n\n| Fields ||\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `actionDisplayName` | `string` actionDisplayName can be one of the following values: `PLACE_ORDER`: Used for placing an order. `PAY`: Used for a payment. `BUY`: Used for a purchase. `SEND`: Used for a money transfer. `BOOK`: Used for a booking. `RESERVE`: Used for reservation. `SCHEDULE`: Used for scheduling an appointment. `SUBSCRIBE`: Used for subscription. actionDisplayName refers to the name of the action which best describes this order. This will be used in various places like prompt, suggestion chip etc while proposing the order to the user. \u003cbr /\u003e |"]]