All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.walletobjects.Walletobjects.Offerobject.html Maven / Gradle / Ivy







Walletobjects.Offerobject (Google Wallet API v1-rev20241017-2.0.0)












com.google.api.services.walletobjects

Class Walletobjects.Offerobject

  • java.lang.Object
    • com.google.api.services.walletobjects.Walletobjects.Offerobject
  • Enclosing class:
    Walletobjects


    public class Walletobjects.Offerobject
    extends Object
    The "offerobject" collection of methods.
    • Constructor Detail

      • Offerobject

        public Offerobject()
    • Method Detail

      • addmessage

        public Walletobjects.Offerobject.Addmessage addmessage(String resourceId,
                                                               AddMessageRequest content)
                                                        throws IOException
        Adds a message to the offer object referenced by the given object ID. Create a request for the method "offerobject.addmessage". This request holds the parameters needed by the walletobjects server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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
        Returns:
        the request
        Throws:
        IOException
      • get

        public Walletobjects.Offerobject.Get get(String resourceId)
                                          throws IOException
        Returns the offer object with the given object ID. Create a request for the method "offerobject.get". This request holds the parameters needed by the walletobjects server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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 '-'.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Walletobjects.Offerobject.Insert insert(OfferObject content)
                                                throws IOException
        Inserts an offer object with the given ID and properties. Create a request for the method "offerobject.insert". This request holds the parameters needed by the walletobjects server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        content - the OfferObject
        Returns:
        the request
        Throws:
        IOException
      • list

        public Walletobjects.Offerobject.List list()
                                            throws IOException
        Returns a list of all offer objects for a given issuer ID. Create a request for the method "offerobject.list". This request holds the parameters needed by the walletobjects server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Walletobjects.Offerobject.Patch patch(String resourceId,
                                                     OfferObject content)
                                              throws IOException
        Updates the offer object referenced by the given object ID. This method supports patch semantics. Create a request for the method "offerobject.patch". This request holds the parameters needed by the walletobjects server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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
        Returns:
        the request
        Throws:
        IOException
      • update

        public Walletobjects.Offerobject.Update update(String resourceId,
                                                       OfferObject content)
                                                throws IOException
        Updates the offer object referenced by the given object ID. Create a request for the method "offerobject.update". This request holds the parameters needed by the walletobjects server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy