CompletePurchaseValue
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
มีรายละเอียด SKU สำหรับสินค้าดิจิทัลในแอป กลับไปยังการดำเนินการเป็นเอาต์พุตสำหรับ
actions.type.CompletePurchaseValue
การแสดง JSON |
{
"purchaseStatus": enum (PurchaseStatus ),
"orderId": string,
"purchaseToken": string
} |
ช่อง |
purchaseStatus |
enum (PurchaseStatus )
สถานะของการซื้อปัจจุบัน
|
orderId |
string
ตัวระบุคำสั่งซื้อที่ไม่ซ้ำกันสำหรับธุรกรรม โดยตัวระบุนี้สอดคล้องกับรหัสคำสั่งซื้อที่ Google ระบุไว้
|
purchaseToken |
string
โทเค็นทึบแสงที่ระบุการซื้อแบบไม่ซ้ำสำหรับสินค้าและคู่ผู้ใช้ที่ระบุ
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"],[[["This document outlines the JSON representation of sku details for digital in-app goods, used as output for `actions.type.CompletePurchaseValue`."],["The JSON response includes `purchaseStatus`, `orderId`, and `purchaseToken` fields providing details about the purchase status, a unique order ID, and a purchase token for the specific item and user."],["`purchaseStatus` uses the `PurchaseStatus` enum to indicate the current state of the purchase, while `orderId` corresponds to the Google-provided order ID for the transaction."],["`purchaseToken` is a unique identifier linking a specific purchase to a particular item and user, ensuring clear tracking and management of digital goods."]]],[]]