קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מנפיק הכרטיס
מנפיק הכרטיסים הוא הישות שהכרטיס נמצא בבעלותה, והיא אחראית על הנפקת הכרטיסים לנוסעים שלהם. זה יכול להיות אתם, המפתח או הארגון שאתם מייצגים.
כדי להפוך למנפיק כרטיסים, קודם צריך להירשם כמנפיקי כרטיסים.
מחלקה של כרטיס עלייה למטוס
אפשר לחשוב על FlightClass כטיסה מתוכננת. המנפיק יכול ליצור מספר טיסות מתוכננות עם תמורות של מסלולים ותזמונים. כל
FlightClass שמייצג טיסה מתוזמנת יכול להכיל
את שדות המראה והנתונים שלו, בהתאם לדרישות הספציפיות של שדה התעופה.
בנוסף, אפשר להשתמש ב-FlightClass גם כדי להפעיל תכונות נוספות כמו Smart Tap.
אובייקט של כרטיס עלייה למטוס
אובייקט של כרטיס עלייה למטוס הוא מופע של מחלקה של כרטיס עלייה למטוס. צריך ליצור מכונה חדשה של FlightObject לכל נוסע שמופץ עם כרטיס עלייה למטוס.
ציון עובר
מחלקה של כרטיס עלייה למטוס היא סוג של מחלקה. מחלקות של כרטיסים מתארות מידע כללי על אובייקטים קשורים בכרטיס (כמו סגנון ומראה), ולא כוללות את פרטי הנוסעים.
דוגמאות לסוגים נוספים של אישורי מעבר:
כרטיסי מועדון לקוחות
כרטיסים לאירוע
כרטיסי מתנה
מבצעים
כרטיסים לתחבורה ציבורית
תעודות חיסון קורונה
העברת אובייקט
FlightObject הוא סוג של אובייקט העברה. כמו FlightObject, אובייקט Pass הוא מופע של סוג מעבר תואם. צריך ליצור אובייקט כרטיס לכל נוסע שהנפיק כרטיס עלייה למטוס.
חפצים בכרטיסים מכילים מידע ספציפי לנוסע. לדוגמה, אפשר להשתמש בהם כדי לזהות שלא רק לנוסע יש כרטיס לטיסה, אלא גם
כדי לזהות איזה מושב בטיסה הוא הקצה להם.
חשבון שירות
חשבון השירות הוא הזהות שמשמשת לקריאה ל-Google Wallet API.
צריך להעניק לחשבון השירות הזה הרשאת גישה ל-Google Wallet API.
מפתח לחשבון השירות
המפתח של חשבון השירות הוא פרטי הכניסה שמשמשים לאימות האפליקציה כחשבון השירות. המפתח של חשבון השירות הוא רגיש מאוד וצריך לשמור על פרטיותו. אם לצד שלישי יש גישה למפתח של חשבון השירות, הוא יכול להזדהות כחשבון השירות ולבצע פעולות שחשבון השירות מורשה לבצע.
[[["התוכן קל להבנה","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 (שעון UTC)."],[[["\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."]]