Package | Description |
---|---|
com.google.api.services.walletobjects | |
com.google.api.services.walletobjects.model |
Modifier and Type | Method and Description |
---|---|
Walletobjects.Flightobject.Insert |
Walletobjects.Flightobject.insert(FlightObject content)
Inserts an flight object with the given ID and properties.
|
Walletobjects.Flightobject.Patch |
Walletobjects.Flightobject.patch(String resourceId,
FlightObject content)
Updates the flight object referenced by the given object ID.
|
Walletobjects.Flightobject.Update |
Walletobjects.Flightobject.update(String resourceId,
FlightObject content)
Updates the flight object referenced by the given object ID.
|
Constructor and Description |
---|
Insert(FlightObject content)
Inserts an flight object with the given ID and properties.
|
Patch(String resourceId,
FlightObject content)
Updates the flight object referenced by the given object ID.
|
Update(String resourceId,
FlightObject content)
Updates the flight object referenced by the given object ID.
|
Modifier and Type | Method and Description |
---|---|
FlightObject |
FlightObject.clone() |
FlightObject |
FlightObjectAddMessageResponse.getResource()
The updated FlightObject resource.
|
FlightObject |
FlightObject.set(String fieldName,
Object value) |
FlightObject |
FlightObject.setAppLinkData(AppLinkData appLinkData)
Optional app or website link that will be displayed as a button on the front of the pass.
|
FlightObject |
FlightObject.setBarcode(Barcode barcode)
The barcode type and value.
|
FlightObject |
FlightObject.setBoardingAndSeatingInfo(BoardingAndSeatingInfo boardingAndSeatingInfo)
Passenger specific information about boarding and seating.
|
FlightObject |
FlightObject.setClassId(String classId)
Required.
|
FlightObject |
FlightObject.setClassReference(FlightClass classReference)
A copy of the inherited fields of the parent class.
|
FlightObject |
FlightObject.setDisableExpirationNotification(Boolean disableExpirationNotification)
Indicates if notifications should explicitly be suppressed.
|
FlightObject |
FlightObject.setGroupingInfo(GroupingInfo groupingInfo)
Information that controls how passes are grouped together.
|
FlightObject |
FlightObject.setHasLinkedDevice(Boolean hasLinkedDevice)
Whether this object is currently linked to a single device.
|
FlightObject |
FlightObject.setHasUsers(Boolean hasUsers)
Indicates if the object has users.
|
FlightObject |
FlightObject.setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
FlightObject |
FlightObject.setHexBackgroundColor(String hexBackgroundColor)
The background color for the card.
|
FlightObject |
FlightObject.setId(String id)
Required.
|
FlightObject |
FlightObject.setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
FlightObject |
FlightObject.setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
FlightObject |
FlightObject.setKind(String kind)
Identifies what kind of resource this is.
|
FlightObject |
FlightObject.setLinkedObjectIds(List<String> linkedObjectIds)
linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic,
giftcard, transit and boarding pass that should be automatically attached to this flight
object.
|
FlightObject |
FlightObject.setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
FlightObject |
FlightObject.setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
FlightObject |
FlightObject.setMerchantLocations(List<MerchantLocation> merchantLocations)
Merchant locations.
|
FlightObject |
FlightObject.setMessages(List<Message> messages)
An array of messages displayed in the app.
|
FlightObject |
FlightObject.setNotifyPreference(String notifyPreference)
Whether or not field updates to this object should trigger notifications.
|
FlightObject |
FlightObject.setPassConstraints(PassConstraints passConstraints)
Pass constraints for the object.
|
FlightObject |
FlightObject.setPassengerName(String passengerName)
Required.
|
FlightObject |
FlightObject.setReservationInfo(ReservationInfo reservationInfo)
Required.
|
FlightObject |
FlightObject.setRotatingBarcode(RotatingBarcode rotatingBarcode)
The rotating barcode type and value.
|
FlightObject |
FlightObject.setSaveRestrictions(SaveRestrictions saveRestrictions)
Restrictions on the object that needs to be verified before the user tries to save the pass.
|
FlightObject |
FlightObject.setSecurityProgramLogo(Image securityProgramLogo)
An image for the security program that applies to the passenger.
|
FlightObject |
FlightObject.setSmartTapRedemptionValue(String smartTapRedemptionValue)
The value that will be transmitted to a Smart Tap certified terminal over NFC for this object.
|
FlightObject |
FlightObject.setState(String state)
Required.
|
FlightObject |
FlightObject.setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
FlightObject |
FlightObject.setValidTimeInterval(TimeInterval validTimeInterval)
The time period this object will be `active` and object can be used.
|
FlightObject |
FlightObject.setValueAddedModuleData(List<ValueAddedModuleData> valueAddedModuleData)
Optional value added module data.
|
FlightObject |
FlightObject.setVersion(Long version)
Deprecated
|
Modifier and Type | Method and Description |
---|---|
List<FlightObject> |
Resources.getFlightObjects()
A list of flight objects.
|
List<FlightObject> |
FlightObjectListResponse.getResources()
Resources corresponding to the list request.
|
Modifier and Type | Method and Description |
---|---|
FlightObjectAddMessageResponse |
FlightObjectAddMessageResponse.setResource(FlightObject resource)
The updated FlightObject resource.
|
Modifier and Type | Method and Description |
---|---|
Resources |
Resources.setFlightObjects(List<FlightObject> flightObjects)
A list of flight objects.
|
FlightObjectListResponse |
FlightObjectListResponse.setResources(List<FlightObject> resources)
Resources corresponding to the list request.
|
Copyright © 2011–2025 Google. All rights reserved.