CompletePurchaseValue
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zawiera szczegółowe informacje o cyfrowych produktach w aplikacji. Powrót do działania jako dane wyjściowe dla
actions.type.CompletePurchaseValue
Zapis JSON |
{
"purchaseStatus": enum (PurchaseStatus ),
"orderId": string,
"purchaseToken": string
} |
Pola |
purchaseStatus |
enum (PurchaseStatus )
Stan bieżącego zakupu.
|
orderId |
string
Unikalny identyfikator zamówienia dla transakcji. Ten identyfikator odpowiada identyfikatorowi zamówienia dostarczonemu przez Google.
|
purchaseToken |
string
Nieprzejrzysty token, który jednoznacznie identyfikuje zakup danego produktu i danej pary użytkownika.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThis document outlines the JSON representation of sku details for digital in-app goods, used as output for \u003ccode\u003eactions.type.CompletePurchaseValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON response includes \u003ccode\u003epurchaseStatus\u003c/code\u003e, \u003ccode\u003eorderId\u003c/code\u003e, and \u003ccode\u003epurchaseToken\u003c/code\u003e fields providing details about the purchase status, a unique order ID, and a purchase token for the specific item and user.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epurchaseStatus\u003c/code\u003e uses the \u003ccode\u003ePurchaseStatus\u003c/code\u003e enum to indicate the current state of the purchase, while \u003ccode\u003eorderId\u003c/code\u003e corresponds to the Google-provided order ID for the transaction.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epurchaseToken\u003c/code\u003e is a unique identifier linking a specific purchase to a particular item and user, ensuring clear tracking and management of digital goods.\u003c/p\u003e\n"]]],[],null,["# CompletePurchaseValue\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nContains sku details for digital in-app goods. Returned to the Action as output for\n`actions.type.CompletePurchaseValue`.\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------|---|\n| ``` { \"purchaseStatus\": enum (`PurchaseStatus`), \"orderId\": string, \"purchaseToken\": string } ``` |\n\n| Fields ||\n|------------------|----------------------------------------------------------------------------------------------------------------------|\n| `purchaseStatus` | `enum (``PurchaseStatus``)` Status of current purchase. |\n| `orderId` | `string` A unique order identifier for the transaction. This identifier corresponds to the Google provided order ID. |\n| `purchaseToken` | `string` A opaque token that uniquely identifies a purchase for a given item and user pair. |"]]