Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wystawca karty
Wydawca karty jest właścicielem karty i odpowiada za wystawianie kart klientom. Może to być Ty, deweloper lub organizacja, którą reprezentujesz.
Aby zostać wydawcą kart, należy najpierw zarejestrować się jako wydawca.
klasa biletu na wydarzenie
EventClass można określić jako zaplanowane wydarzenie. Wydawca może utworzyć wiele zaplanowanych wydarzeń z różnymi nazwami i czasem.
Każdy obiekt EventClass reprezentujący zaplanowane wydarzenie może mieć własny wygląd i pola danych, aby spełnić wymagania dotyczące danego miejsca.
Dodatkowo w EventClass możesz włączyć dodatkowe funkcje, takie jak smart tap.
obiekt biletu na wydarzenie
Obiekt biletu na wydarzenie jest wystąpieniem obiektu EventClass. Dla każdego klienta rozpowszechnianego z biletem na wydarzenie należy utworzyć nową instancję EventObject.
Klasa karty
EventClass to typ klasy karty. Klasy karty opisują ogólne informacje dotyczące powiązanych obiektów karty (np. styl i wygląd) i nie zawierają szczegółów klienta.
Obiekt karty
EventObject to typ obiektu karty. Podobnie jak EventObjects obiekt karty jest instancją odpowiedniej klasy karty. Obiekt karty należy utworzyć dla każdego klienta, który otrzymał bilet na wydarzenie.
Obiekty karty zawierają informacje dotyczące klienta. Dzięki niemu można np. sprawdzić, czy klient nie tylko ma bilet na wydarzenie, ale także przydzielone mu miejsce.
Konto usługi
Konto usługi to tożsamość używana do wywoływania interfejsu Google Wallet API. Tomu kontu usługi należy przyznać uprawnienia dostępu do interfejsu Pass API.
Klucz konta usługi
Klucz konta usługi to dane logowania używane do uwierzytelniania aplikacji jako konta usługi. Klucz konta usługi należy uznać za bardzo wrażliwy i zachowany jako prywatny. Jeśli osoba trzecia ma dostęp do klucza konta usługi, może zidentyfikować się jako konto usługi i wykonywać działania, na które konto usługi ma uprawnienia.
[[["Ł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: 2025-09-04 UTC."],[[["\u003cp\u003eThe Passes issuer is the entity responsible for creating and distributing passes to customers, requiring prior registration.\u003c/p\u003e\n"],["\u003cp\u003eEvent Ticket Classes represent scheduled events, enabling customization for venue needs and features like Smart Tap.\u003c/p\u003e\n"],["\u003cp\u003eEvent Ticket Objects are individual instances of Event Ticket Classes, issued to each customer with specific ticket details.\u003c/p\u003e\n"],["\u003cp\u003ePass Objects and Classes function similarly, with Objects storing customer-specific information like seat assignments.\u003c/p\u003e\n"],["\u003cp\u003eA Service Account and its Key are essential for authenticating your application with the Google Wallet API and should be kept secure.\u003c/p\u003e\n"]]],["An Issuer, after registering, creates `EventClass` instances for scheduled events, defining their appearance and data. For each customer, an `EventObject` is generated as an instance of the `EventClass`, containing customer-specific details like seat allocation. `EventClass` is a type of Pass Class, and `EventObject` a Pass Object. A service account, granted access to the Passes API, is used to call the API, and a sensitive service account key authenticates applications as the service account.\n"],null,["# Key concepts and terminology\n\nPass Issuer\n-----------\n\nThe Passes issuer is the entity that owns the pass and is responsible for issuing passes to their customers. This could\nbe you, the developer, or the organization that you represent.\n\nIn order to become a Passes Issuer, you must first register as an Issuer.\n\nevent ticket class\n------------------\n\nA `EventClass` can be thought of as scheduled event. An issuer may create multiple scheduled events with permutation of event names and timings.\nEach `EventClass` representing a scheduled event may contain its own appearance and data fields to meet the venue-specific requirements.\n\nIn addition, `EventClass` can also be used to enable additional features like Smart Tap.\n\nevent ticket object\n-------------------\n\nA event ticket object is an instance of a `EventClass`. A new `EventObject` instance should be created for each customer\nthat is distributed with a event ticket.\n\nPass Class\n----------\n\nA `EventClass` is a type of Pass Class. Pass Classes describe general information for related Pass Objects (such as\nstyle and appearance), and do not include customer details.\n\nPass Object\n-----------\n\nA `EventObject` is a type of Pass Object. Like `EventObjects`, a Pass Object is an instance of a corresponding Pass\nClass. A Pass Object should be created for each customer that is issued a event ticket.\n\nPass Objects contains customer-specific information. For example, it can be used to identify that a customer not only\nhas a ticket for a event, but also identify which seat on the event they've been allotted.\n\nService account\n---------------\n\nThe service account is the identity that is used to call the Google Wallet API. Permission to access the Passes API should be\ngranted to this service account.\n\nService account key\n-------------------\n\nThe service account key is the credential used to authenticate your application as the service account. The service\naccount key should be considered highly sensitive and kept private. If a third party has access to the service account\nkey, they will be able to identify themselves as the service account and perform actions that the service account is\npermitted to perform."]]