- eventticketclass
- eventticketobject
- /walletobjects/v1/eventTicketObjectGET
- /walletobjects/v1/eventTicketObjectPOST
- /walletobjects/v1/eventTicketObject/{resourceId}GET
- /walletobjects/v1/eventTicketObject/{resourceId}PATCH
- /walletobjects/v1/eventTicketObject/{resourceId}PUT
- /walletobjects/v1/eventTicketObject/{resourceId}/addMessagePOST
- /walletobjects/v1/eventTicketObject/{resourceId}/modifyLinkedOfferObjectsPOST
- flightclass
- flightobject
- giftcardclass
- giftcardobject
- issuer
- jwt
- loyaltyclass
- loyaltyobject
- /walletobjects/v1/loyaltyObject
- /walletobjects/v1/loyaltyObject
- /walletobjects/v1/loyaltyObject/{resourceId}
- /walletobjects/v1/loyaltyObject/{resourceId}
- /walletobjects/v1/loyaltyObject/{resourceId}
- /walletobjects/v1/loyaltyObject/{resourceId}/addMessage
- /walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects
- offerclass
- offerobject
- permissions
- smarttap
- transitclass
- transitobject
- valuablesclasses
- walletobjects
/walletobjects/v1/transitObject/{resourceId}
PATCH
/walletobjects/v1/transitObject/{resourceId}
transitobject
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://walletobjects.googleapis.com//walletobjects/v1/transitObject/' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
Request
Path Params
resourceId
stringÂ
required
Body Params application/json
appLinkData
object (AppLinkData)Â
optional
androidAppLinkInfo
object (AppLinkDataAppLinkInfo)Â
optional
iosAppLinkInfo
object (AppLinkDataAppLinkInfo)Â
optional
webAppLinkInfo
object (AppLinkDataAppLinkInfo)Â
optional
barcode
object (Barcode)Â
optional
alternateText
stringÂ
optional
kind
stringÂ
optional
"walletobjects#barcode"
.renderEncoding
enum<string>Â
optional
Allowed values:
RENDER_ENCODING_UNSPECIFIEDUTF_8
showCodeText
object (LocalizedString)Â
optional
type
enum<string>Â
optional
Allowed values:
BARCODE_TYPE_UNSPECIFIEDAZTECaztecCODE_39code39CODE_128code128CODABARcodabarDATA_MATRIXdataMatrixEAN_8ean8EAN_13ean13EAN13ITF_14itf14PDF_417pdf417PDF417QR_CODEqrCodeqrcodeUPC_AupcATEXT_ONLYtextOnly
value
stringÂ
optional
classId
stringÂ
optional
classReference
object (TransitClass)Â
optional
allowMultipleUsersPerObject
booleanÂ
optional
multipleDevicesAndHoldersAllowedStatus
instead.callbackOptions
object (CallbackOptions)Â
optional
classTemplateInfo
object (ClassTemplateInfo)Â
optional
countryCode
stringÂ
optional
customCarriageLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.carriage
).customCoachLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.ticketSeat.coach
).customConcessionCategoryLabel
object (LocalizedString)Â
optional
transitObject.concessionCategory
).customConfirmationCodeLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.confirmationCode
).customDiscountMessageLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.ticketCost.discountMessage
).customFareClassLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.ticketSeat.fareClass
).customFareNameLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.fareName
).customOtherRestrictionsLabel
object (LocalizedString)Â
optional
transitObject.ticketRestrictions.otherRestrictions
).customPlatformLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.platform
).customPurchaseFaceValueLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.ticketCost.faceValue
).customPurchasePriceLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.ticketCost.purchasePrice
).customPurchaseReceiptNumberLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.purchaseReceiptNumber
).customRouteRestrictionsDetailsLabel
object (LocalizedString)Â
optional
transitObject.ticketRestrictions.routeRestrictionsDetails
).customRouteRestrictionsLabel
object (LocalizedString)Â
optional
transitObject.ticketRestrictions.routeRestrictions
).customSeatLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.ticketSeat.seat
).customTicketNumberLabel
object (LocalizedString)Â
optional
transitObject.ticketNumber
).customTimeRestrictionsLabel
object (LocalizedString)Â
optional
transitObject.ticketRestrictions.timeRestrictions
).customTransitTerminusNameLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.transitTerminusName
).customZoneLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.zone
).enableSingleLegItinerary
booleanÂ
optional
enableSmartTap
booleanÂ
optional
heroImage
object (Image)Â
optional
hexBackgroundColor
stringÂ
optional
#ffcc00
. You can also use the shorthand version of the RGB triplet which is #rgb, such as #fc0
.homepageUri
object (Uri)Â
optional
id
stringÂ
optional
imageModulesData
array[object (ImageModuleData) {2}]Â
optional
infoModuleData
object (InfoModuleData)Â
optional
issuerName
stringÂ
optional
languageOverride
stringÂ
optional
linksModuleData
object (LinksModuleData)Â
optional
localizedIssuerName
object (LocalizedString)Â
optional
locations
array[object (LatLongPoint) {3}]Â
optional
logo
object (Image)Â
optional
messages
array[object (Message) {8}]Â
optional
multipleDevicesAndHoldersAllowedStatus
enum<string>Â
optional
Allowed values:
STATUS_UNSPECIFIEDMULTIPLE_HOLDERSmultipleHoldersONE_USER_ALL_DEVICESoneUserAllDevicesONE_USER_ONE_DEVICEoneUserOneDevice
redemptionIssuers
array[string <int64>]
optional
review
object (Review)Â
optional
approved
or rejected
.reviewStatus
enum<string>Â
optional
draft
or underReview
using the insert, patch, or update API calls. Once the review state is changed from draft
it may not be changed back to draft
. You should keep this field to draft
when the class is under development. A draft
class cannot be used to create any object. You should set this field to underReview
when you believe the class is ready for use. The platform will automatically set this field to approved
and it can be immediately used to create or migrate objects. When updating an already approved
class you should keep setting this field to underReview
.Allowed values:
REVIEW_STATUS_UNSPECIFIEDUNDER_REVIEWunderReviewAPPROVEDapprovedREJECTEDrejectedDRAFTdraft
textModulesData
array[object (TextModuleData) {5}]Â
optional
transitOperatorName
object (LocalizedString)Â
optional
transitType
enum<string>Â
optional
Allowed values:
TRANSIT_TYPE_UNSPECIFIEDBUSbusRAILrailTRAMtramFERRYferryOTHERother
version
string <int64>
optional
watermark
object (Image)Â
optional
wordMark
object (Image)Â
optional
concessionCategory
enum<string>Â
optional
Allowed values:
CONCESSION_CATEGORY_UNSPECIFIEDADULTadultCHILDchildSENIORsenior
customConcessionCategory
object (LocalizedString)Â
optional
concessionCategory
does not provide the right option. Both concessionCategory
and customConcessionCategory
may not be set.customTicketStatus
object (LocalizedString)Â
optional
ticketStatus
does not provide the right option. Both ticketStatus
and customTicketStatus
may not be set.disableExpirationNotification
booleanÂ
optional
messages
field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers.hasLinkedDevice
booleanÂ
optional
hasUsers
booleanÂ
optional
heroImage
object (Image)Â
optional
hexBackgroundColor
stringÂ
optional
#ffcc00
. You can also use the shorthand version of the RGB triplet which is #rgb, such as #fc0
.id
stringÂ
optional
imageModulesData
array[object (ImageModuleData) {2}]Â
optional
id
stringÂ
optional
mainImage
object (Image)Â
optional
infoModuleData
object (InfoModuleData)Â
optional
linksModuleData
object (LinksModuleData)Â
optional
locations
array[object (LatLongPoint) {3}]Â
optional
kind
stringÂ
optional
"walletobjects#latLongPoint"
.latitude
number <double>
optional
longitude
number <double>
optional
messages
array[object (Message) {8}]Â
optional
body
stringÂ
optional
displayInterval
object (TimeInterval)Â
optional
startTime
and endTime
for each message. A message is displayed immediately after a Wallet Object is inserted unless a startTime
is set. The message will appear in a list of messages indefinitely if endTime
is not provided.header
stringÂ
optional
id
stringÂ
optional
kind
stringÂ
optional
"walletobjects#walletObjectMessage"
.localizedBody
object (LocalizedString)Â
optional
localizedHeader
object (LocalizedString)Â
optional
messageType
enum<string>Â
optional
Allowed values:
MESSAGE_TYPE_UNSPECIFIEDTEXTtextEXPIRATION_NOTIFICATIONexpirationNotification
passengerNames
stringÂ
optional
passengerType
field is meant to give Google context on this field.passengerType
enum<string>Â
optional
Allowed values:
PASSENGER_TYPE_UNSPECIFIEDSINGLE_PASSENGERsinglePassengerMULTIPLE_PASSENGERSmultiplePassengers
purchaseDetails
object (PurchaseDetails)Â
optional
accountId
stringÂ
optional
confirmationCode
stringÂ
optional
purchaseDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Without offset information, some rich features may not be available.purchaseReceiptNumber
stringÂ
optional
ticketCost
object (TicketCost)Â
optional
smartTapRedemptionValue
stringÂ
optional
state
enum<string>Â
optional
inactive
object is moved to the "Expired passes" section.Allowed values:
STATE_UNSPECIFIEDACTIVEactiveCOMPLETEDcompletedEXPIREDexpiredINACTIVEinactive
textModulesData
array[object (TextModuleData) {5}]Â
optional
body
stringÂ
optional
header
stringÂ
optional
id
stringÂ
optional
localizedBody
object (LocalizedString)Â
optional
localizedHeader
object (LocalizedString)Â
optional
ticketLeg
object (TicketLeg)Â
optional
ticketLegs
field instead. Both ticketLeg
and ticketLegs
may not be set.arrivalDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the destination station. For example, if the event occurs at the 20th hour of June 5th, 2018 at the destination station, the local date/time portion should be 2018-06-05T20:00:00
. If the local date/time at the destination station is 4 hours before UTC, an offset of -04:00
may be appended. Without offset information, some rich features may not be available.carriage
stringÂ
optional
departureDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the origin station. For example, if the departure occurs at the 20th hour of June 5th, 2018 at the origin station, the local date/time portion should be 2018-06-05T20:00:00
. If the local date/time at the origin station is 4 hours before UTC, an offset of -04:00
may be appended. Without offset information, some rich features may not be available.destinationName
object (LocalizedString)Â
optional
destinationStationCode
stringÂ
optional
fareName
object (LocalizedString)Â
optional
originName
object (LocalizedString)Â
optional
desinationName
is present or if originStationCode
is not present.originStationCode
stringÂ
optional
destinationStationCode
is present or if originName
is not present.platform
stringÂ
optional
ticketSeat
object (TicketSeat)Â
optional
ticketSeats
field instead. Both ticketSeat
and ticketSeats
may not be set.ticketSeats
array[object (TicketSeat) {5}]Â
optional
ticketSeat
field instead. Both ticketSeat
and ticketSeats
may not be set.transitOperatorName
object (LocalizedString)Â
optional
transitTerminusName
object (LocalizedString)Â
optional
zone
stringÂ
optional
ticketLegs
array[object (TicketLeg) {14}]Â
optional
ticketLeg
field instead. Both ticketLeg
and ticketLegs
may not be set.arrivalDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the destination station. For example, if the event occurs at the 20th hour of June 5th, 2018 at the destination station, the local date/time portion should be 2018-06-05T20:00:00
. If the local date/time at the destination station is 4 hours before UTC, an offset of -04:00
may be appended. Without offset information, some rich features may not be available.carriage
stringÂ
optional
departureDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the origin station. For example, if the departure occurs at the 20th hour of June 5th, 2018 at the origin station, the local date/time portion should be 2018-06-05T20:00:00
. If the local date/time at the origin station is 4 hours before UTC, an offset of -04:00
may be appended. Without offset information, some rich features may not be available.destinationName
object (LocalizedString)Â
optional
destinationStationCode
stringÂ
optional
fareName
object (LocalizedString)Â
optional
originName
object (LocalizedString)Â
optional
desinationName
is present or if originStationCode
is not present.originStationCode
stringÂ
optional
destinationStationCode
is present or if originName
is not present.platform
stringÂ
optional
ticketSeat
object (TicketSeat)Â
optional
ticketSeats
field instead. Both ticketSeat
and ticketSeats
may not be set.ticketSeats
array[object (TicketSeat) {5}]Â
optional
ticketSeat
field instead. Both ticketSeat
and ticketSeats
may not be set.transitOperatorName
object (LocalizedString)Â
optional
transitTerminusName
object (LocalizedString)Â
optional
zone
stringÂ
optional
ticketNumber
stringÂ
optional
ticketRestrictions
object (TicketRestrictions)Â
optional
otherRestrictions
object (LocalizedString)Â
optional
routeRestrictions
object (LocalizedString)Â
optional
routeRestrictionsDetails
object (LocalizedString)Â
optional
routeRestrictions
.timeRestrictions
object (LocalizedString)Â
optional
ticketStatus
enum<string>Â
optional
state
field instead.Allowed values:
TICKET_STATUS_UNSPECIFIEDUSEDusedREFUNDEDrefundedEXCHANGEDexchanged
tripId
stringÂ
optional
tripType
enum<string>Â
optional
Allowed values:
TRIP_TYPE_UNSPECIFIEDROUND_TRIProundTripONE_WAYoneWay
validTimeInterval
object (TimeInterval)Â
optional
active
and object can be used. An object's state will be changed to expired
when this time period has passed.version
string <int64>
optional
Examples
Responses
🟢200Successful response
application/json
Body
appLinkData
object (AppLinkData)Â
optional
androidAppLinkInfo
object (AppLinkDataAppLinkInfo)Â
optional
iosAppLinkInfo
object (AppLinkDataAppLinkInfo)Â
optional
webAppLinkInfo
object (AppLinkDataAppLinkInfo)Â
optional
barcode
object (Barcode)Â
optional
alternateText
stringÂ
optional
kind
stringÂ
optional
"walletobjects#barcode"
.renderEncoding
enum<string>Â
optional
Allowed values:
RENDER_ENCODING_UNSPECIFIEDUTF_8
showCodeText
object (LocalizedString)Â
optional
type
enum<string>Â
optional
Allowed values:
BARCODE_TYPE_UNSPECIFIEDAZTECaztecCODE_39code39CODE_128code128CODABARcodabarDATA_MATRIXdataMatrixEAN_8ean8EAN_13ean13EAN13ITF_14itf14PDF_417pdf417PDF417QR_CODEqrCodeqrcodeUPC_AupcATEXT_ONLYtextOnly
value
stringÂ
optional
classId
stringÂ
optional
classReference
object (TransitClass)Â
optional
allowMultipleUsersPerObject
booleanÂ
optional
multipleDevicesAndHoldersAllowedStatus
instead.callbackOptions
object (CallbackOptions)Â
optional
classTemplateInfo
object (ClassTemplateInfo)Â
optional
countryCode
stringÂ
optional
customCarriageLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.carriage
).customCoachLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.ticketSeat.coach
).customConcessionCategoryLabel
object (LocalizedString)Â
optional
transitObject.concessionCategory
).customConfirmationCodeLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.confirmationCode
).customDiscountMessageLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.ticketCost.discountMessage
).customFareClassLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.ticketSeat.fareClass
).customFareNameLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.fareName
).customOtherRestrictionsLabel
object (LocalizedString)Â
optional
transitObject.ticketRestrictions.otherRestrictions
).customPlatformLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.platform
).customPurchaseFaceValueLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.ticketCost.faceValue
).customPurchasePriceLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.ticketCost.purchasePrice
).customPurchaseReceiptNumberLabel
object (LocalizedString)Â
optional
transitObject.purchaseDetails.purchaseReceiptNumber
).customRouteRestrictionsDetailsLabel
object (LocalizedString)Â
optional
transitObject.ticketRestrictions.routeRestrictionsDetails
).customRouteRestrictionsLabel
object (LocalizedString)Â
optional
transitObject.ticketRestrictions.routeRestrictions
).customSeatLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.ticketSeat.seat
).customTicketNumberLabel
object (LocalizedString)Â
optional
transitObject.ticketNumber
).customTimeRestrictionsLabel
object (LocalizedString)Â
optional
transitObject.ticketRestrictions.timeRestrictions
).customTransitTerminusNameLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.transitTerminusName
).customZoneLabel
object (LocalizedString)Â
optional
transitObject.ticketLeg.zone
).enableSingleLegItinerary
booleanÂ
optional
enableSmartTap
booleanÂ
optional
heroImage
object (Image)Â
optional
hexBackgroundColor
stringÂ
optional
#ffcc00
. You can also use the shorthand version of the RGB triplet which is #rgb, such as #fc0
.homepageUri
object (Uri)Â
optional
id
stringÂ
optional
imageModulesData
array[object (ImageModuleData) {2}]Â
optional
infoModuleData
object (InfoModuleData)Â
optional
issuerName
stringÂ
optional
languageOverride
stringÂ
optional
linksModuleData
object (LinksModuleData)Â
optional
localizedIssuerName
object (LocalizedString)Â
optional
locations
array[object (LatLongPoint) {3}]Â
optional
logo
object (Image)Â
optional
messages
array[object (Message) {8}]Â
optional
multipleDevicesAndHoldersAllowedStatus
enum<string>Â
optional
Allowed values:
STATUS_UNSPECIFIEDMULTIPLE_HOLDERSmultipleHoldersONE_USER_ALL_DEVICESoneUserAllDevicesONE_USER_ONE_DEVICEoneUserOneDevice
redemptionIssuers
array[string <int64>]
optional
review
object (Review)Â
optional
approved
or rejected
.reviewStatus
enum<string>Â
optional
draft
or underReview
using the insert, patch, or update API calls. Once the review state is changed from draft
it may not be changed back to draft
. You should keep this field to draft
when the class is under development. A draft
class cannot be used to create any object. You should set this field to underReview
when you believe the class is ready for use. The platform will automatically set this field to approved
and it can be immediately used to create or migrate objects. When updating an already approved
class you should keep setting this field to underReview
.Allowed values:
REVIEW_STATUS_UNSPECIFIEDUNDER_REVIEWunderReviewAPPROVEDapprovedREJECTEDrejectedDRAFTdraft
textModulesData
array[object (TextModuleData) {5}]Â
optional
transitOperatorName
object (LocalizedString)Â
optional
transitType
enum<string>Â
optional
Allowed values:
TRANSIT_TYPE_UNSPECIFIEDBUSbusRAILrailTRAMtramFERRYferryOTHERother
version
string <int64>
optional
watermark
object (Image)Â
optional
wordMark
object (Image)Â
optional
concessionCategory
enum<string>Â
optional
Allowed values:
CONCESSION_CATEGORY_UNSPECIFIEDADULTadultCHILDchildSENIORsenior
customConcessionCategory
object (LocalizedString)Â
optional
concessionCategory
does not provide the right option. Both concessionCategory
and customConcessionCategory
may not be set.customTicketStatus
object (LocalizedString)Â
optional
ticketStatus
does not provide the right option. Both ticketStatus
and customTicketStatus
may not be set.disableExpirationNotification
booleanÂ
optional
messages
field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers.hasLinkedDevice
booleanÂ
optional
hasUsers
booleanÂ
optional
heroImage
object (Image)Â
optional
hexBackgroundColor
stringÂ
optional
#ffcc00
. You can also use the shorthand version of the RGB triplet which is #rgb, such as #fc0
.id
stringÂ
optional
imageModulesData
array[object (ImageModuleData) {2}]Â
optional
id
stringÂ
optional
mainImage
object (Image)Â
optional
infoModuleData
object (InfoModuleData)Â
optional
linksModuleData
object (LinksModuleData)Â
optional
locations
array[object (LatLongPoint) {3}]Â
optional
kind
stringÂ
optional
"walletobjects#latLongPoint"
.latitude
number <double>
optional
longitude
number <double>
optional
messages
array[object (Message) {8}]Â
optional
body
stringÂ
optional
displayInterval
object (TimeInterval)Â
optional
startTime
and endTime
for each message. A message is displayed immediately after a Wallet Object is inserted unless a startTime
is set. The message will appear in a list of messages indefinitely if endTime
is not provided.header
stringÂ
optional
id
stringÂ
optional
kind
stringÂ
optional
"walletobjects#walletObjectMessage"
.localizedBody
object (LocalizedString)Â
optional
localizedHeader
object (LocalizedString)Â
optional
messageType
enum<string>Â
optional
Allowed values:
MESSAGE_TYPE_UNSPECIFIEDTEXTtextEXPIRATION_NOTIFICATIONexpirationNotification
passengerNames
stringÂ
optional
passengerType
field is meant to give Google context on this field.passengerType
enum<string>Â
optional
Allowed values:
PASSENGER_TYPE_UNSPECIFIEDSINGLE_PASSENGERsinglePassengerMULTIPLE_PASSENGERSmultiplePassengers
purchaseDetails
object (PurchaseDetails)Â
optional
accountId
stringÂ
optional
confirmationCode
stringÂ
optional
purchaseDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Without offset information, some rich features may not be available.purchaseReceiptNumber
stringÂ
optional
ticketCost
object (TicketCost)Â
optional
smartTapRedemptionValue
stringÂ
optional
state
enum<string>Â
optional
inactive
object is moved to the "Expired passes" section.Allowed values:
STATE_UNSPECIFIEDACTIVEactiveCOMPLETEDcompletedEXPIREDexpiredINACTIVEinactive
textModulesData
array[object (TextModuleData) {5}]Â
optional
body
stringÂ
optional
header
stringÂ
optional
id
stringÂ
optional
localizedBody
object (LocalizedString)Â
optional
localizedHeader
object (LocalizedString)Â
optional
ticketLeg
object (TicketLeg)Â
optional
ticketLegs
field instead. Both ticketLeg
and ticketLegs
may not be set.arrivalDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the destination station. For example, if the event occurs at the 20th hour of June 5th, 2018 at the destination station, the local date/time portion should be 2018-06-05T20:00:00
. If the local date/time at the destination station is 4 hours before UTC, an offset of -04:00
may be appended. Without offset information, some rich features may not be available.carriage
stringÂ
optional
departureDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the origin station. For example, if the departure occurs at the 20th hour of June 5th, 2018 at the origin station, the local date/time portion should be 2018-06-05T20:00:00
. If the local date/time at the origin station is 4 hours before UTC, an offset of -04:00
may be appended. Without offset information, some rich features may not be available.destinationName
object (LocalizedString)Â
optional
destinationStationCode
stringÂ
optional
fareName
object (LocalizedString)Â
optional
originName
object (LocalizedString)Â
optional
desinationName
is present or if originStationCode
is not present.originStationCode
stringÂ
optional
destinationStationCode
is present or if originName
is not present.platform
stringÂ
optional
ticketSeat
object (TicketSeat)Â
optional
ticketSeats
field instead. Both ticketSeat
and ticketSeats
may not be set.ticketSeats
array[object (TicketSeat) {5}]Â
optional
ticketSeat
field instead. Both ticketSeat
and ticketSeats
may not be set.transitOperatorName
object (LocalizedString)Â
optional
transitTerminusName
object (LocalizedString)Â
optional
zone
stringÂ
optional
ticketLegs
array[object (TicketLeg) {14}]Â
optional
ticketLeg
field instead. Both ticketLeg
and ticketLegs
may not be set.arrivalDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the destination station. For example, if the event occurs at the 20th hour of June 5th, 2018 at the destination station, the local date/time portion should be 2018-06-05T20:00:00
. If the local date/time at the destination station is 4 hours before UTC, an offset of -04:00
may be appended. Without offset information, some rich features may not be available.carriage
stringÂ
optional
departureDateTime
stringÂ
optional
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the "local date/time". This should be the local date/time at the origin station. For example, if the departure occurs at the 20th hour of June 5th, 2018 at the origin station, the local date/time portion should be 2018-06-05T20:00:00
. If the local date/time at the origin station is 4 hours before UTC, an offset of -04:00
may be appended. Without offset information, some rich features may not be available.destinationName
object (LocalizedString)Â
optional
destinationStationCode
stringÂ
optional
fareName
object (LocalizedString)Â
optional
originName
object (LocalizedString)Â
optional
desinationName
is present or if originStationCode
is not present.originStationCode
stringÂ
optional
destinationStationCode
is present or if originName
is not present.platform
stringÂ
optional
ticketSeat
object (TicketSeat)Â
optional
ticketSeats
field instead. Both ticketSeat
and ticketSeats
may not be set.ticketSeats
array[object (TicketSeat) {5}]Â
optional
ticketSeat
field instead. Both ticketSeat
and ticketSeats
may not be set.transitOperatorName
object (LocalizedString)Â
optional
transitTerminusName
object (LocalizedString)Â
optional
zone
stringÂ
optional
ticketNumber
stringÂ
optional
ticketRestrictions
object (TicketRestrictions)Â
optional
otherRestrictions
object (LocalizedString)Â
optional
routeRestrictions
object (LocalizedString)Â
optional
routeRestrictionsDetails
object (LocalizedString)Â
optional
routeRestrictions
.timeRestrictions
object (LocalizedString)Â
optional
ticketStatus
enum<string>Â
optional
state
field instead.Allowed values:
TICKET_STATUS_UNSPECIFIEDUSEDusedREFUNDEDrefundedEXCHANGEDexchanged
tripId
stringÂ
optional
tripType
enum<string>Â
optional
Allowed values:
TRIP_TYPE_UNSPECIFIEDROUND_TRIProundTripONE_WAYoneWay
validTimeInterval
object (TimeInterval)Â
optional
active
and object can be used. An object's state will be changed to expired
when this time period has passed.version
string <int64>
optional
Modified at 2022-09-10 16:56:46