TransactionRequest
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Isi permintaan transaksi dari GTAF ke DPA.
Representasi JSON |
{
"planId": string,
"transactionId": string,
"offerContext": string,
"callbackUrl": string
} |
Kolom |
planId |
string
Wajib diisi. ID rencana yang akan dibeli.
|
transactionId |
string
Wajib diisi. ID unik untuk permintaan khusus ini. Jika DPA menerima beberapa permintaan pembelian dengan transactionId yang sama, semua DPA kecuali permintaan pertama harus ditolak.
|
offerContext |
string
Konteks untuk penawaran paket data.
|
callbackUrl |
string
URL untuk DPA yang akan ditelepon balik.
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2022-09-26 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2022-09-26 UTC."],[[["This document 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"]]