Purchase
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อความการซื้อที่บันทึกแพ็กเกจที่ซื้อ รวมถึงรายละเอียดของธุรกรรม
การแสดง JSON |
{
"planId": string,
"transactionId": string,
"transactionMessage": string,
"confirmationCode": string,
"planActivationTime": string
} |
ช่อง |
planId |
string
รหัสของแพ็กเกจที่ซื้อ
|
transactionId |
string
รหัสธุรกรรมจากคำขอซื้อ
|
transactionMessage |
string
ข้อความที่จะแสดงต่อผู้ใช้หลังการทำธุรกรรม
|
confirmationCode |
string
DPA สร้างรหัสยืนยันสำหรับธุรกรรมที่สำเร็จ ต้องระบุสำหรับการผสานรวม Google Assistant
|
planActivationTime |
string (Timestamp format)
เวลาเปิดใช้งานแพ็กเกจ หากไม่มี planActivationTime แสดงว่า GTAF จะถือว่าแพ็กเกจเปิดใช้งานแล้ว การประทับเวลาจะอยู่ในรูปแบบ RFC3339 UTC "Zulu" ที่มีความละเอียดเป็นหน่วยนาโนวินาทีและมีตัวเลขเศษส่วนได้สูงสุด 9 หลัก ตัวอย่างเช่น "2014-10-02T15:01:23Z" และ "2014-10-02T15:01:23.045123456Z"
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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 JSON represents a purchase message with details of a purchased plan. Key information includes the `planId`, `transactionId`, and a `transactionMessage` for the user. A `confirmationCode` is provided for successful transactions. The `planActivationTime` indicates when the plan activates, defaulting to immediate if absent. All fields are strings except for the timestamp format of `planActivationTime` in RFC3339 UTC \"Zulu\" format.\n"]]