public class Walletobjects.Transitobject extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Walletobjects.Transitobject.Addmessage |
class |
Walletobjects.Transitobject.Get |
class |
Walletobjects.Transitobject.Insert |
class |
Walletobjects.Transitobject.List |
class |
Walletobjects.Transitobject.Patch |
class |
Walletobjects.Transitobject.Update |
| Constructor and Description |
|---|
Transitobject() |
| Modifier and Type | Method and Description |
|---|---|
Walletobjects.Transitobject.Addmessage |
addmessage(String resourceId,
AddMessageRequest content)
Adds a message to the transit object referenced by the given object ID.
|
Walletobjects.Transitobject.Get |
get(String resourceId)
Returns the transit object with the given object ID.
|
Walletobjects.Transitobject.Insert |
insert(TransitObject content)
Inserts an transit object with the given ID and properties.
|
Walletobjects.Transitobject.List |
list()
Returns a list of all transit objects for a given issuer ID.
|
Walletobjects.Transitobject.Patch |
patch(String resourceId,
TransitObject content)
Updates the transit object referenced by the given object ID.
|
Walletobjects.Transitobject.Update |
update(String resourceId,
TransitObject content)
Updates the transit object referenced by the given object ID.
|
public Walletobjects.Transitobject.Addmessage addmessage(String resourceId, AddMessageRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for an object. This ID must be unique across all objects from an issuer. This
value should follow the format issuer ID. identifier where the former is issued by Google
and latter is chosen by you. Your unique identifier should only include alphanumeric
characters, '.', '_', or '-'.content - the AddMessageRequestIOExceptionpublic Walletobjects.Transitobject.Get get(String resourceId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for an object. This ID must be unique across all objects from an issuer. This
value should follow the format issuer ID. identifier where the former is issued by Google
and latter is chosen by you. Your unique identifier should only include alphanumeric
characters, '.', '_', or '-'.IOExceptionpublic Walletobjects.Transitobject.Insert insert(TransitObject content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the TransitObjectIOExceptionpublic Walletobjects.Transitobject.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Walletobjects.Transitobject.Patch patch(String resourceId, TransitObject content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for an object. This ID must be unique across all objects from an issuer. This
value should follow the format issuer ID. identifier where the former is issued by Google
and latter is chosen by you. Your unique identifier should only include alphanumeric
characters, '.', '_', or '-'.content - the TransitObjectIOExceptionpublic Walletobjects.Transitobject.Update update(String resourceId, TransitObject content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for an object. This ID must be unique across all objects from an issuer. This
value should follow the format issuer ID. identifier where the former is issued by Google
and latter is chosen by you. Your unique identifier should only include alphanumeric
characters, '.', '_', or '-'.content - the TransitObjectIOExceptionCopyright © 2011–2025 Google. All rights reserved.