با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
صادرکننده مجوز
صادرکننده گذرنامه، نهادی است که صاحب گذرنامه است و مسئول صدور گذر برای مسافران خود است. این می تواند شما، توسعه دهنده یا سازمانی باشید که نماینده آن هستید.
برای تبدیل شدن به صادرکننده مجوز، ابتدا باید به عنوان صادرکننده ثبت نام کنید.
کلاس کارت پرواز
FlightClass می توان به عنوان پرواز برنامه ریزی شده در نظر گرفت. یک صادرکننده می تواند چندین پرواز برنامه ریزی شده با تغییر مسیرها و زمان بندی ایجاد کند. هر FlightClass که یک پرواز برنامهریزی شده را نشان میدهد، میتواند دارای فیلدهای ظاهری و دادههای خاص خود باشد تا نیازهای خاص فرودگاه را برآورده کند.
علاوه بر این، از FlightClass نیز می توان برای فعال کردن ویژگی های اضافی مانند Smart Tap استفاده کرد.
شیء کارت پرواز
شیء Boarding Pass نمونه ای از کلاس Boarding Pass است. یک نمونه FlightObject جدید باید برای هر مسافری که با کارت پرواز توزیع می شود ایجاد شود.
گذراندن کلاس
کلاس Boarding Pass یک نوع کلاس پاس است. کلاسهای پاس، اطلاعات کلی را برای اشیاء پاس مرتبط (مانند سبک و ظاهر) توصیف میکنند و جزئیات مسافر را در بر نمیگیرند.
انواع دیگر کلاس های پاس شامل موارد زیر است:
کارت های وفاداری
بلیط های رویداد
کارت هدیه
ارائه می دهد
پاس های ترانزیت
کارت های کووید
پاس شی
FlightObject یک نوع شیء عبور است. مانند یک FlightObject ، یک Object Pass نمونه ای از یک کلاس عبور مربوطه است. برای هر مسافری که کارت پرواز صادر کرده است، باید یک شیء عبور ایجاد شود.
اشیاء پاس حاوی اطلاعات مختص مسافر هستند. به عنوان مثال، می توان از آنها برای تشخیص اینکه یک مسافر نه تنها بلیت پرواز دارد، بلکه مشخص کرد که کدام صندلی در پرواز به آنها اختصاص داده شده است، استفاده شود.
حساب خدمات
حساب سرویس هویتی است که برای فراخوانی Google Wallet API استفاده میشود. اجازه دسترسی به Google Wallet API باید به این حساب سرویس داده شود.
کلید حساب سرویس
کلید حساب سرویس اعتباری است که برای احراز هویت برنامه شما به عنوان حساب سرویس استفاده می شود. کلید حساب سرویس بسیار حساس است و باید خصوصی نگه داشته شود. اگر شخص ثالثی به کلید حساب سرویس دسترسی داشته باشد، می تواند خود را به عنوان حساب سرویس شناسایی کند و اقداماتی را انجام دهد که حساب سرویس مجاز به انجام آن است.
تاریخ آخرین بهروزرسانی 2025-09-04 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-09-04 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eBoarding Passes are digital representations of flight tickets, containing passenger and flight-specific information like seat assignments and flight details, issued by registered entities called Issuers.\u003c/p\u003e\n"],["\u003cp\u003eIssuers create Boarding Pass Classes to define the general style, appearance, and data fields for a specific flight or route, like a template for individual Boarding Passes.\u003c/p\u003e\n"],["\u003cp\u003eA new Boarding Pass Object (an instance of a Boarding Pass Class) is generated for each passenger, holding their unique information within the framework of the Boarding Pass Class.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Wallet API integration requires a Service Account, an identity with granted access to the API, and a secure Service Account Key for authentication.\u003c/p\u003e\n"],["\u003cp\u003eBoarding Passes are part of a broader system of digital passes within Google Wallet, encompassing other types such as loyalty cards, event tickets, and gift cards.\u003c/p\u003e\n"]]],["A Pass Issuer, which could be a developer or organization, must register to issue passes. They create `FlightClasses` (scheduled flights) that define appearance and data. For each passenger, a `FlightObject` (instance of the `FlightClass`) is created, containing passenger-specific information. A `Pass Class` defines general pass details, while other pass types include loyalty cards and gift cards. A service account and its key are required for accessing the Google Wallet API. The key must be kept private.\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\nissuing passes to their passengers. This could be you, the developer, or the\norganization that you represent.\n\nIn order to become a passes issuer, you must first register as an Issuer.\n\nBoarding Pass class\n-------------------\n\nA `FlightClass` can be thought of as scheduled flight. An issuer can\ncreate multiple scheduled flights with permutation of routes and timings. Each\n`FlightClass` representing a scheduled flight can contain its own\nappearance and data fields to meet the airport-specific requirements.\n\nIn addition, a `FlightClass` can also be used to enable additional\nfeatures like Smart Tap.\n\nBoarding Pass object\n--------------------\n\nA Boarding Pass object is an instance of a Boarding Pass class. A new\n`FlightObject` instance needs to be created for each passenger that's\ndistributed with a Boarding Pass.\n\nPass Class\n----------\n\nA Boarding Pass 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 passenger details.\n\nOther types of pass classes include the following:\n\n- Loyalty cards\n- Event tickets\n- Gift cards\n- Offers\n- Transit passes\n- COVID cards\n\nPass Object\n-----------\n\nA `FlightObject` is a type of pass object. Like a\n`FlightObject`, a Pass Object is an instance of a corresponding pass\nClass. A pass object needs to be created for each passenger that's issued a\nBoarding Pass.\n\nPass objects contain passenger-specific information. For example, they can be\nused to identify that a passenger 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.\nPermission to access the Google Wallet API needs to be granted to this service\naccount.\n\nService account key\n-------------------\n\nThe service account key is the credential used to authenticate your\napplication as the service account. The service account key is highly sensitive\nand needs to be kept private. If a third party has access to the service account\nkey, they can identify themselves as the service account and perform actions\nthat the service account is permitted to perform."]]