TransactionRequest
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"planId": string,
"transactionId": string,
"offerContext": string,
"callbackUrl": string
} |
欄位 |
planId |
string
必要,要購買方案的 ID。
|
transactionId |
string
必要,這項特定要求的專屬 ID。如果資料保護主管機關收到多項與相同交易 ID 相同的購買要求,除了第一個交易 ID 以外,所有其他交易都應拒絕。
|
offerContext |
string
數據方案優惠的背景資訊。
|
callbackUrl |
string
DPA 回呼的網址。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-09-26 (世界標準時間)。
[[["容易理解","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 (世界標準時間)。"],[[["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"]]