public class Walletobjects.Loyaltyclass extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Walletobjects.Loyaltyclass.Addmessage |
class |
Walletobjects.Loyaltyclass.Get |
class |
Walletobjects.Loyaltyclass.Insert |
class |
Walletobjects.Loyaltyclass.List |
class |
Walletobjects.Loyaltyclass.Patch |
class |
Walletobjects.Loyaltyclass.Update |
| Constructor and Description |
|---|
Loyaltyclass() |
| Modifier and Type | Method and Description |
|---|---|
Walletobjects.Loyaltyclass.Addmessage |
addmessage(String resourceId,
AddMessageRequest content)
Adds a message to the loyalty class referenced by the given class ID.
|
Walletobjects.Loyaltyclass.Get |
get(String resourceId)
Returns the loyalty class with the given class ID.
|
Walletobjects.Loyaltyclass.Insert |
insert(LoyaltyClass content)
Inserts an loyalty class with the given ID and properties.
|
Walletobjects.Loyaltyclass.List |
list()
Returns a list of all loyalty classes for a given issuer ID.
|
Walletobjects.Loyaltyclass.Patch |
patch(String resourceId,
LoyaltyClass content)
Updates the loyalty class referenced by the given class ID.
|
Walletobjects.Loyaltyclass.Update |
update(String resourceId,
LoyaltyClass content)
Updates the loyalty class referenced by the given class ID.
|
public Walletobjects.Loyaltyclass.Addmessage addmessage(String resourceId, AddMessageRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for a class. This ID must be unique across all classes 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.Loyaltyclass.Get get(String resourceId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for a class. This ID must be unique across all classes 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.Loyaltyclass.Insert insert(LoyaltyClass content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the LoyaltyClassIOExceptionpublic Walletobjects.Loyaltyclass.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Walletobjects.Loyaltyclass.Patch patch(String resourceId, LoyaltyClass content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for a class. This ID must be unique across all classes 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 LoyaltyClassIOExceptionpublic Walletobjects.Loyaltyclass.Update update(String resourceId, LoyaltyClass content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceId - The unique identifier for a class. This ID must be unique across all classes 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 LoyaltyClassIOExceptionCopyright © 2011–2025 Google. All rights reserved.