TransactionRequest
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนื้อหาของคําขอธุรกรรมจาก GTAF ถึง DPA
การแสดง JSON |
{
"planId": string,
"transactionId": string,
"offerContext": string,
"callbackUrl": string
} |
ช่อง |
planId |
string
ต้องระบุ รหัสแพ็กเกจที่ซื้อ
|
transactionId |
string
ต้องระบุ ตัวระบุที่ไม่ซ้ํากันสําหรับคําขอนี้ หาก DPA ได้รับคําขอการซื้อหลายรายการที่มีรหัสธุรกรรมเดียวกัน คําขอทั้งหมดควรถูกปฏิเสธยกเว้นรายการแรก
|
offerContext |
string
บริบทของข้อเสนอแพ็กเกจอินเทอร์เน็ต
|
callbackUrl |
string
URL สําหรับ DPA สําหรับโทรกลับ
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-09-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"]],["อัปเดตล่าสุด 2022-09-26 UTC"],[[["This documentation outlines the JSON structure for transaction requests sent from GTAF to a DPA for purchasing data plans."],["The request includes crucial information such as plan ID, a unique transaction ID, offer context, and a callback URL for the DPA to respond."],["Each field within the JSON object has specific requirements and serves a distinct purpose in facilitating the transaction process."]]],["A transaction request from GTAF to a DPA includes four key fields: `planId` (required), representing the ID of the plan to purchase; `transactionId` (required), a unique identifier for the request, where duplicate IDs should be rejected; `offerContext`, providing context for the data plan offer; and `callbackUrl`, specifying the URL for the DPA to use for callback. This information is in the form of a JSON object.\n"]]