CompletePurchaseValueSpec
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Dijital ürünlerle ilgili uygulama içi satın alma işlemi başlatmaya yönelik spesifikasyonu tanımlar. Olası dijital ürün türleri: uygulama içi satın alma işlemleri, uygulama içi abonelikler.
JSON gösterimi |
{
"skuId": {
object (SkuId )
},
"developerPayload": string
} |
Alanlar |
skuId |
object (SkuId )
Satın alınan ürün.
|
developerPayload |
string
Geliştirici tarafından belirtilen, satın alma işlemiyle ilişkilendirilen ve satın alma verilerinin bir parçası olarak döndürülmesi beklenen opak bir dize.
|
SkuId
JSON gösterimi |
{
"skuType": enum (SkuType ),
"id": string,
"packageName": string
} |
Alanlar |
skuType |
enum (SkuType )
SKU'nun türü.
|
id |
string
Developer Console'da kayıt için kullanılan ürün SKU'sunun tanımlayıcısı.
|
packageName |
string
SKU'nun kaydedildiği Android paketinin adı.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]