مفاهیم و اصطلاحات کلیدی
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
صادرکننده گذرنامه
صادرکننده گذرنامه مالک گذرنامه است و باید برای مشتریان خود مجوز صادر کند. این می تواند شما، توسعه دهنده یا سازمانی باشید که نماینده آن هستید.
برای تبدیل شدن به صادرکننده مجوز، ابتدا باید به عنوان صادرکننده ثبت نام کنید.
کلاس وفاداری
یک کلاس وفاداری را می توان به عنوان برنامه وفاداری در نظر گرفت. یک صادرکننده ممکن است چندین برنامه وفاداری مانند Standard و Premium ایجاد کند که هر کدام سبک و ظاهر متمایز خود را دارند.
علاوه بر سبک و ظاهر، از کلاسهای وفاداری میتوان برای فعال کردن ویژگیهای اضافی مانند Smart Tap و ثبت نام و ورود به سیستم نیز استفاده کرد.
شیء وفاداری
یک شیء وفاداری نمونه ای از یک کلاس وفاداری است. برای هر مشتری که در یک برنامه وفاداری ثبت نام کرده است، یک نمونه Loyalty Object جدید ایجاد کنید.
گذراندن کلاس
کلاس وفاداری نوعی کلاس پاس است. کلاسهای پاس اطلاعات کلی برای اشیاء پاس مرتبط مانند سبک و ظاهر را توصیف میکنند و جزئیات مشتری را شامل نمیشوند.
انواع دیگر کلاس های پاس عبارتند از:
- کارت پرواز
- بلیط های رویداد
- کارت هدیه
- ارائه می دهد
- پاس های ترانزیت
- کارت واکسن
پاس شی
Loyalty Object نوعی از Object Pass است. مانند Loyalty Objects، یک Pass Object نمونه ای از یک Pass Class مربوطه است. برای هر مشتری که مجوز صادر کرده است یک Pass Object ایجاد کنید.
Pass Objects حاوی اطلاعات خاص مشتری است. به عنوان مثال، می توان از آن برای تشخیص اینکه مشتری نه تنها بلیت پرواز دارد، بلکه تشخیص اینکه کدام صندلی در پرواز به او اختصاص داده شده است، استفاده شود.
حساب خدمات
حساب سرویس هویتی است که برای فراخوانی Google Wallet API استفاده میشود. مطمئن شوید که اجازه دسترسی به Google Wallet API را به این حساب سرویس بدهید.
کلید حساب سرویس
کلید حساب سرویس اعتباری است که برای احراز هویت برنامه شما به عنوان حساب سرویس استفاده می شود. کلید حساب سرویس بسیار حساس است و باید خصوصی نگه داشته شود. اگر شخص ثالثی به کلید حساب سرویس دسترسی داشته باشد، می تواند خود را به عنوان حساب سرویس شناسایی کند و اقداماتی را انجام دهد که حساب سرویس مجاز به انجام آن است.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-09-03 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-09-03 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe pass issuer, who can be you or your organization, must register and issue passes to customers.\u003c/p\u003e\n"],["\u003cp\u003eLoyalty programs are represented by Loyalty Classes, which define style, appearance, and features like Smart Tap.\u003c/p\u003e\n"],["\u003cp\u003eA Loyalty Object is created for each customer enrolled in a loyalty program, and it's an instance of a Loyalty Class, which is a type of Pass Class.\u003c/p\u003e\n"],["\u003cp\u003ePass Objects store customer-specific information and are instances of Pass Classes, which can represent various types like boarding passes, event tickets, and gift cards.\u003c/p\u003e\n"],["\u003cp\u003eA service account with a securely stored key is used to authenticate your application with the Google Wallet API.\u003c/p\u003e\n"]]],["Passes issuers register to create loyalty programs (Loyalty Classes) with unique styles and features. Each customer enrolled gets a Loyalty Object, an instance of the Loyalty Class. Pass Classes, including Loyalty Classes, define general pass details. Each customer receives a Pass Object, an instance of a Pass Class, containing customer-specific information. A service account accesses the Google Wallet API, authenticated by a private service account key.\n"],null,["# Key concepts and terminology\n\nPass issuer\n-----------\n\nThe Passes issuer owns the pass and must issue passes to their customers. This\ncan be 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\nLoyalty Class\n-------------\n\nA Loyalty Class can be thought of as loyalty program. An issuer might create\nmultiple loyalty programs like *Standard* and *Premium*, each with their own\ndistinctive style and appearance.\n\nIn addition to style and appearance, Loyalty Classes can also be used to enable\nadditional features like Smart Tap, and the Enrollment and Sign In.\n\nLoyalty Object\n--------------\n\nA Loyalty Object is an instance of a Loyalty Class. Create a new Loyalty Object\ninstance for each customer that's enrolled in a loyalty program.\n\nPass Class\n----------\n\nA Loyalty Class is a type of Pass Class. Pass Classes describe general\ninformation for related Pass Objects such as style and appearance, and don't\ninclude customer details.\n\nOther types of Pass Classes include:\n\n- Boarding pass\n- Event tickets\n- Gift cards\n- Offers\n- Transit passes\n- Vaccine cards\n\nPass Object\n-----------\n\nA Loyalty Object is a type of Pass Object. Like Loyalty Objects, a Pass Object\nis an instance of a corresponding Pass Class. Create a Pass Object\nfor each customer that's issued a pass.\n\nPass Objects contains customer-specific information. For example, it can be used\nto identify that a customer not only has a ticket for a flight, but also\nidentify which seat on the flight they've been allotted.\n\nService account\n---------------\n\nThe service account is the identity that's used to call the Google Wallet API.\nBe sure to grant permission to access the Google Wallet API to this service account.\n\nService account key\n-------------------\n\nThe service account key is the credential used to authenticate your application\nas the service account. The service account key is highly sensitive and\nmust be kept private. If a third party has access to the service account\nkey, they can identify themselves as the service account and perform\nactions that the service account is permitted to perform."]]