CompletePurchaseValue
Stay organized with collections
Save and categorize content based on your preferences.
Contains sku details for digital in-app goods. Returned to the Action as output for
actions.type.CompletePurchaseValue
.
JSON representation |
{
"purchaseStatus": enum (PurchaseStatus ),
"orderId": string,
"purchaseToken": string
} |
Fields |
purchaseStatus |
enum (PurchaseStatus )
Status of current purchase.
|
orderId |
string
A unique order identifier for the transaction. This identifier corresponds to the Google provided order ID.
|
purchaseToken |
string
A opaque token that uniquely identifies a purchase for a given item and user pair.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 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."]]],[]]