public class Walletobjects.Giftcardobject extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Walletobjects.Giftcardobject.Addmessage |
class |
Walletobjects.Giftcardobject.Get |
class |
Walletobjects.Giftcardobject.Insert |
class |
Walletobjects.Giftcardobject.List |
class |
Walletobjects.Giftcardobject.Patch |
class |
Walletobjects.Giftcardobject.Update |
| Constructor and Description |
|---|
Giftcardobject() |
| Modifier and Type | Method and Description |
|---|---|
Walletobjects.Giftcardobject.Addmessage |
addmessage(String resourceId,
AddMessageRequest content)
Adds a message to the gift card object referenced by the given object ID.
|
Walletobjects.Giftcardobject.Get |
get(String resourceId)
Returns the gift card object with the given object ID.
|
Walletobjects.Giftcardobject.Insert |
insert(GiftCardObject content)
Inserts an gift card object with the given ID and properties.
|
Walletobjects.Giftcardobject.List |
list()
Returns a list of all gift card objects for a given issuer ID.
|
Walletobjects.Giftcardobject.Patch |
patch(String resourceId,
GiftCardObject content)
Updates the gift card object referenced by the given object ID.
|
Walletobjects.Giftcardobject.Update |
update(String resourceId,
GiftCardObject content)
Updates the gift card object referenced by the given object ID.
|
public Walletobjects.Giftcardobject.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.Giftcardobject.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.Giftcardobject.Insert insert(GiftCardObject content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the GiftCardObjectIOExceptionpublic Walletobjects.Giftcardobject.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Walletobjects.Giftcardobject.Patch patch(String resourceId, GiftCardObject 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 GiftCardObjectIOExceptionpublic Walletobjects.Giftcardobject.Update update(String resourceId, GiftCardObject 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 GiftCardObjectIOExceptionCopyright © 2011–2025 Google. All rights reserved.