Class BarcodeLookupApi

java.lang.Object
org.openapitools.client.api.BarcodeLookupApi

public class BarcodeLookupApi extends Object
  • Constructor Details

    • BarcodeLookupApi

      public BarcodeLookupApi()
    • BarcodeLookupApi

      public BarcodeLookupApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • barcodeLookupEanLookupCall

      public okhttp3.Call barcodeLookupEanLookupCall(String value, ApiCallback _callback) throws ApiException
      Build call for barcodeLookupEanLookup
      Parameters:
      value - Barcode value (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
    • barcodeLookupEanLookup

      public BarcodeLookupResponse barcodeLookupEanLookup(String value) throws ApiException
      Lookup EAN barcode value, return product data Lookup an input EAN barcode and return key details about the product
      Parameters:
      value - Barcode value (required)
      Returns:
      BarcodeLookupResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
    • barcodeLookupEanLookupWithHttpInfo

      public ApiResponse<BarcodeLookupResponse> barcodeLookupEanLookupWithHttpInfo(String value) throws ApiException
      Lookup EAN barcode value, return product data Lookup an input EAN barcode and return key details about the product
      Parameters:
      value - Barcode value (required)
      Returns:
      ApiResponse<BarcodeLookupResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
    • barcodeLookupEanLookupAsync

      public okhttp3.Call barcodeLookupEanLookupAsync(String value, ApiCallback<BarcodeLookupResponse> _callback) throws ApiException
      Lookup EAN barcode value, return product data (asynchronously) Lookup an input EAN barcode and return key details about the product
      Parameters:
      value - Barcode value (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -