Class PICSRequest

    • Constructor Summary

      Constructors 
      Constructor Description
      PICSRequest()
      Instantiate a PICS product info request
      PICSRequest​(int id)
      Instantiate a PICS product info request for a given app or package id
      PICSRequest​(int id, long accessToken)
      Instantiate a PICS product info request for a given app or package id and an access token
    • Constructor Detail

      • PICSRequest

        public PICSRequest()
        Instantiate a PICS product info request
      • PICSRequest

        public PICSRequest​(int id)
        Instantiate a PICS product info request for a given app or package id
        Parameters:
        id - App or package ID\
      • PICSRequest

        public PICSRequest​(int id,
                           long accessToken)
        Instantiate a PICS product info request for a given app or package id and an access token
        Parameters:
        id - App or package ID
        accessToken - PICS access token
    • Method Detail

      • getId

        public int getId()
        Returns:
        the ID of the app or package being requested
      • setId

        public void setId​(int id)
        Parameters:
        id - the ID of the app or package being requested
      • getAccessToken

        public long getAccessToken()
        Returns:
        the access token associated with the request
      • setAccessToken

        public void setAccessToken​(long accessToken)
        Parameters:
        accessToken - the access token associated with the request