Purchase
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wiadomość z informacją o zakupie planu zawierająca szczegóły transakcji.
Zapis JSON |
{
"planId": string,
"transactionId": string,
"transactionMessage": string,
"confirmationCode": string,
"planActivationTime": string
} |
Pola |
planId |
string
Identyfikator kupionego planu.
|
transactionId |
string
Identyfikator transakcji z żądania.
|
transactionMessage |
string
Komunikat wyświetlany użytkownikowi po transakcji.
|
confirmationCode |
string
Wygenerowany przez organ ochrony danych kod potwierdzenia dla udanej transakcji. Wymagany do integracji z Asystentem Google.
|
planActivationTime |
string (Timestamp format)
Czas aktywacji planu. Jeśli nie ma informacji o atrybucie data aktywacji, GTAF zakłada, że abonament został już aktywowany. Sygnatura czasowa w formacie RFC3339 UTC &Zulu" z rozdzielczością nanosekundy i do 9 cyfr po przecinku. Przykłady: "2014-10-02T15:01:23Z" i "2014-10-02T15:01:23.045123456Z" .
|
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: 2022-09-26 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2022-09-26 UTC."],[[["The purchase message is a JSON object that captures details of a purchased plan, including the plan ID, transaction details, and a confirmation code."],["This message includes a plan activation time, allowing for delayed activation, or assumes immediate activation if the field is missing."],["A confirmation code is generated for successful transactions and is especially important for integration with Google Assistant."],["The message contains a user-facing message intended to be displayed after the transaction is completed."]]],["The JSON represents a purchase message with details of a purchased plan. Key information includes the `planId`, `transactionId`, and a `transactionMessage` for the user. A `confirmationCode` is provided for successful transactions. The `planActivationTime` indicates when the plan activates, defaulting to immediate if absent. All fields are strings except for the timestamp format of `planActivationTime` in RFC3339 UTC \"Zulu\" format.\n"]]