Package | Description |
---|---|
com.google.api.services.walletobjects | |
com.google.api.services.walletobjects.model |
Modifier and Type | Method and Description |
---|---|
Walletobjects.Transitobject.Insert |
Walletobjects.Transitobject.insert(TransitObject content)
Inserts an transit object with the given ID and properties.
|
Walletobjects.Transitobject.Patch |
Walletobjects.Transitobject.patch(String resourceId,
TransitObject content)
Updates the transit object referenced by the given object ID.
|
Walletobjects.Transitobject.Update |
Walletobjects.Transitobject.update(String resourceId,
TransitObject content)
Updates the transit object referenced by the given object ID.
|
Constructor and Description |
---|
Insert(TransitObject content)
Inserts an transit object with the given ID and properties.
|
Patch(String resourceId,
TransitObject content)
Updates the transit object referenced by the given object ID.
|
Update(String resourceId,
TransitObject content)
Updates the transit object referenced by the given object ID.
|
Modifier and Type | Method and Description |
---|---|
TransitObject |
TransitObject.clone() |
TransitObject |
TransitObjectAddMessageResponse.getResource()
The updated TransitObject resource.
|
TransitObject |
TransitObject.set(String fieldName,
Object value) |
TransitObject |
TransitObject.setActivationStatus(ActivationStatus activationStatus)
The activation status for the object.
|
TransitObject |
TransitObject.setAppLinkData(AppLinkData appLinkData)
Optional information about the partner app link.
|
TransitObject |
TransitObject.setBarcode(Barcode barcode)
The barcode type and value.
|
TransitObject |
TransitObject.setClassId(String classId)
Required.
|
TransitObject |
TransitObject.setClassReference(TransitClass classReference)
A copy of the inherited fields of the parent class.
|
TransitObject |
TransitObject.setConcessionCategory(String concessionCategory)
The concession category for the ticket.
|
TransitObject |
TransitObject.setCustomConcessionCategory(LocalizedString customConcessionCategory)
A custom concession category to use when `concessionCategory` does not provide the right
option.
|
TransitObject |
TransitObject.setCustomTicketStatus(LocalizedString customTicketStatus)
A custom status to use for the ticket status value when `ticketStatus` does not provide the
right option.
|
TransitObject |
TransitObject.setDeviceContext(DeviceContext deviceContext)
Device context associated with the object.
|
TransitObject |
TransitObject.setDisableExpirationNotification(Boolean disableExpirationNotification)
Indicates if notifications should explicitly be suppressed.
|
TransitObject |
TransitObject.setGroupingInfo(GroupingInfo groupingInfo)
Information that controls how passes are grouped together.
|
TransitObject |
TransitObject.setHasLinkedDevice(Boolean hasLinkedDevice)
Whether this object is currently linked to a single device.
|
TransitObject |
TransitObject.setHasUsers(Boolean hasUsers)
Indicates if the object has users.
|
TransitObject |
TransitObject.setHeroImage(Image heroImage)
Optional banner image displayed on the front of the card.
|
TransitObject |
TransitObject.setHexBackgroundColor(String hexBackgroundColor)
The background color for the card.
|
TransitObject |
TransitObject.setId(String id)
Required.
|
TransitObject |
TransitObject.setImageModulesData(List<ImageModuleData> imageModulesData)
Image module data.
|
TransitObject |
TransitObject.setInfoModuleData(InfoModuleData infoModuleData)
Deprecated.
|
TransitObject |
TransitObject.setLinksModuleData(LinksModuleData linksModuleData)
Links module data.
|
TransitObject |
TransitObject.setLocations(List<LatLongPoint> locations)
Note: This field is currently not supported to trigger geo notifications.
|
TransitObject |
TransitObject.setMessages(List<Message> messages)
An array of messages displayed in the app.
|
TransitObject |
TransitObject.setPassConstraints(PassConstraints passConstraints)
Pass constraints for the object.
|
TransitObject |
TransitObject.setPassengerNames(String passengerNames)
The name(s) of the passengers the ticket is assigned to.
|
TransitObject |
TransitObject.setPassengerType(String passengerType)
The number of passengers.
|
TransitObject |
TransitObject.setPurchaseDetails(PurchaseDetails purchaseDetails)
Purchase details for this ticket.
|
TransitObject |
TransitObject.setRotatingBarcode(RotatingBarcode rotatingBarcode)
The rotating barcode type and value.
|
TransitObject |
TransitObject.setSmartTapRedemptionValue(String smartTapRedemptionValue)
The value that will be transmitted to a Smart Tap certified terminal over NFC for this object.
|
TransitObject |
TransitObject.setState(String state)
Required.
|
TransitObject |
TransitObject.setTextModulesData(List<TextModuleData> textModulesData)
Text module data.
|
TransitObject |
TransitObject.setTicketLeg(TicketLeg ticketLeg)
A single ticket leg contains departure and arrival information along with boarding and seating
information.
|
TransitObject |
TransitObject.setTicketLegs(List<TicketLeg> ticketLegs)
Each ticket may contain one or more legs.
|
TransitObject |
TransitObject.setTicketNumber(String ticketNumber)
The number of the ticket.
|
TransitObject |
TransitObject.setTicketRestrictions(TicketRestrictions ticketRestrictions)
Information about what kind of restrictions there are on using this ticket.
|
TransitObject |
TransitObject.setTicketStatus(String ticketStatus)
The status of the ticket.
|
TransitObject |
TransitObject.setTripId(String tripId)
This id is used to group tickets together if the user has saved multiple tickets for the same
trip.
|
TransitObject |
TransitObject.setTripType(String tripType)
Required.
|
TransitObject |
TransitObject.setValidTimeInterval(TimeInterval validTimeInterval)
The time period this object will be `active` and object can be used.
|
TransitObject |
TransitObject.setVersion(Long version)
Deprecated
|
Modifier and Type | Method and Description |
---|---|
List<TransitObject> |
TransitObjectListResponse.getResources()
Resources corresponding to the list request.
|
List<TransitObject> |
Resources.getTransitObjects() |
Modifier and Type | Method and Description |
---|---|
TransitObjectAddMessageResponse |
TransitObjectAddMessageResponse.setResource(TransitObject resource)
The updated TransitObject resource.
|
Modifier and Type | Method and Description |
---|---|
TransitObjectListResponse |
TransitObjectListResponse.setResources(List<TransitObject> resources)
Resources corresponding to the list request.
|
Resources |
Resources.setTransitObjects(List<TransitObject> transitObjects) |
Copyright © 2011–2024 Google. All rights reserved.