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