com.comprodls.ProductClient Maven / Gradle / Ivy
The newest version!
/*************************************************************************
*
* COMPRO CONFIDENTIAL
* __________________
*
* [2015] - [2020] Compro Technologies Private Limited
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Compro Technologies Private Limited. The
* intellectual and technical concepts contained herein are
* proprietary to Compro Technologies Private Limited and may
* be covered by U.S. and Foreign Patents, patents in process,
* and are protected by trade secret or copyright law.
*
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Compro Technologies Pvt. Ltd..
***************************************************************************/
/***********************************************************
* comproDLS SDK Main Module
* This module provides definition of SDK for Javascript
************************************************************/
package com.comprodls;
import java.io.IOException;
import org.apache.http.HttpException;
import org.json.simple.parser.ParseException;
public interface ProductClient {
/** Function to get all the products in an organization
* @param search Search query
* @param type Product type (multiple product type support by comma separated values)
* @param cursor Cursor to point next set of products
* @return Json string containing information of all the products in an organization
* @throws HttpException
* @throws IOException
* @throws ParseException
*/
public String getProducts(String search, String type, String cursor) throws HttpException, IOException, ParseException;
/** Function to get all the products in an organization
* @param search Search query
* @param type Product type (multiple product type support by comma separated values)
* @return Json string containing information of all the products in an organization
* @throws HttpException
* @throws IOException
* @throws ParseException
*/
public String getProducts(String search, String type) throws HttpException, IOException, ParseException;
/** Function to get all the products in an organization
* @param search Search query
* @return Json string containing information of all the products in an organization
* @throws HttpException
* @throws IOException
* @throws ParseException
*/
public String getProducts(String search) throws HttpException, IOException, ParseException;
/** Function to get all the products in an organization
* @return Json string containing information of all the products in an organization
* @throws HttpException
* @throws IOException
* @throws ParseException
*/
public String getProducts() throws HttpException, IOException, ParseException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy