CompletePurchaseValueSpec
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
กำหนดข้อกำหนดสำหรับเริ่มการซื้อในแอปที่เกี่ยวข้องกับสินค้าดิจิทัล ประเภทของสินค้าดิจิทัลที่เป็นไปได้ ได้แก่ การซื้อในแอปและการสมัครใช้บริการในแอป
การแสดง JSON |
{
"skuId": {
object (SkuId )
},
"developerPayload": string
} |
ช่อง |
skuId |
object (SkuId )
ผลิตภัณฑ์ที่กำลังซื้อ
|
developerPayload |
string
สตริงที่คลุมเครือที่ระบุโดยนักพัฒนาแอป ซึ่งจะเชื่อมโยงกับการซื้อและคาดว่าจะแสดงผลเป็นส่วนหนึ่งของข้อมูลการซื้อ
|
SkuId
การแสดง JSON |
{
"skuType": enum (SkuType ),
"id": string,
"packageName": string
} |
ช่อง |
skuType |
enum (SkuType )
ประเภทของ SKU
|
id |
string
ตัวระบุ SKU ของผลิตภัณฑ์ที่ใช้สำหรับการลงทะเบียนใน Developer Console
|
packageName |
string
ชื่อแพ็กเกจ Android ที่มีการลงทะเบียน SKU
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eLists all the sample projects supported by the gactions CLI with pagination support through \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters.\u003c/p\u003e\n"],["\u003cp\u003eProvides the name, a hosted URL to a zip file, and a description for each sample project.\u003c/p\u003e\n"],["\u003cp\u003eUses gRPC Transcoding for HTTP requests and requires an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eReturns a JSON response containing an array of sample projects and a token for accessing the next page of results.\u003c/p\u003e\n"]]],[],null,["# CompletePurchaseValueSpec\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [SkuId](#SkuId)\n - [JSON representation](#SkuId.SCHEMA_REPRESENTATION)\n\nDefines specification for initiating in-app purchase related to digital goods Types of possible digital goods: in-app purchases, in-app subscriptions.\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"skuId\": { object (/assistant/actionssdk/reference/rest/Shared.Types/CompletePurchaseValueSpec#SkuId) }, \"developerPayload\": string } ``` |\n\n| Fields ||\n|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `skuId` | `object (`[SkuId](/assistant/actionssdk/reference/rest/Shared.Types/CompletePurchaseValueSpec#SkuId)`)` The product being purchased. |\n| `developerPayload` | `string` An opaque string specified by developer, which would associate with the purchase and is expected to return as part of purchase data. |\n\nSkuId\n-----\n\nIdentifier of a SKU.\n\n| JSON representation ||\n|------------------------------------------------------------------------------|---|\n| ``` { \"skuType\": enum (`SkuType`), \"id\": string, \"packageName\": string } ``` |\n\n| Fields ||\n|---------------|--------------------------------------------------------------------------------------------|\n| `skuType` | `enum (``SkuType``)` The type of SKU. |\n| `id` | `string` The identifier of the product SKU used for registration in the developer console. |\n| `packageName` | `string` The name of the android package under which the sku was registered. |"]]