CompletePurchaseValueSpec
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Definisce le specifiche per avviare gli acquisti in-app relativi ai prodotti digitali. Tipi di possibili prodotti digitali: acquisti in-app e abbonamenti in-app.
Rappresentazione JSON |
{
"skuId": {
object (SkuId )
},
"developerPayload": string
} |
Campi |
skuId |
object (SkuId )
Il prodotto acquistato.
|
developerPayload |
string
Una stringa opaca specificata dallo sviluppatore, che viene associata all'acquisto e dovrebbe essere restituita come parte dei dati di acquisto.
|
SkuId
Identificatore di uno SKU.
Rappresentazione JSON |
{
"skuType": enum (SkuType ),
"id": string,
"packageName": string
} |
Campi |
skuType |
enum (SkuType )
Il tipo di SKU.
|
id |
string
L'identificatore dello SKU del prodotto utilizzato per la registrazione nella Developer Console.
|
packageName |
string
Il nome del pacchetto Android in cui è stato registrato lo SKU.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]