Package org.openapitools.client.api
Class BarcodeLookupApi
java.lang.Object
org.openapitools.client.api.BarcodeLookupApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbarcodeLookupEanLookup(String value) Lookup EAN barcode value, return product data Lookup an input EAN barcode and return key details about the productokhttp3.CallbarcodeLookupEanLookupAsync(String value, ApiCallback<BarcodeLookupResponse> _callback) Lookup EAN barcode value, return product data (asynchronously) Lookup an input EAN barcode and return key details about the productokhttp3.CallbarcodeLookupEanLookupCall(String value, ApiCallback _callback) Build call for barcodeLookupEanLookupLookup EAN barcode value, return product data Lookup an input EAN barcode and return key details about the productintvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
BarcodeLookupApi
public BarcodeLookupApi() -
BarcodeLookupApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
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
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 -
-