Class GenerateBarcodeApi

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

public class GenerateBarcodeApi extends Object
  • Constructor Details

    • GenerateBarcodeApi

      public GenerateBarcodeApi()
    • GenerateBarcodeApi

      public GenerateBarcodeApi(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)
    • generateBarcodeCode128Call

      public okhttp3.Call generateBarcodeCode128Call(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback _callback) throws ApiException
      Build call for generateBarcodeCode128
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -
    • generateBarcodeCode128

      public byte[] generateBarcodeCode128(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a EAN-13 code barcode as PNG file Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      byte[]
      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 -
    • generateBarcodeCode128WithHttpInfo

      public ApiResponse<byte[]> generateBarcodeCode128WithHttpInfo(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a EAN-13 code barcode as PNG file Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      ApiResponse<byte[]>
      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 -
    • generateBarcodeCode128Async

      public okhttp3.Call generateBarcodeCode128Async(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback<byte[]> _callback) throws ApiException
      Generate a EAN-13 code barcode as PNG file (asynchronously) Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -
    • generateBarcodeEAN13Call

      public okhttp3.Call generateBarcodeEAN13Call(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback _callback) throws ApiException
      Build call for generateBarcodeEAN13
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -
    • generateBarcodeEAN13

      public byte[] generateBarcodeEAN13(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a EAN-13 code barcode as PNG file Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      byte[]
      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 -
    • generateBarcodeEAN13WithHttpInfo

      public ApiResponse<byte[]> generateBarcodeEAN13WithHttpInfo(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a EAN-13 code barcode as PNG file Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      ApiResponse<byte[]>
      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 -
    • generateBarcodeEAN13Async

      public okhttp3.Call generateBarcodeEAN13Async(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback<byte[]> _callback) throws ApiException
      Generate a EAN-13 code barcode as PNG file (asynchronously) Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -
    • generateBarcodeEAN8Call

      public okhttp3.Call generateBarcodeEAN8Call(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback _callback) throws ApiException
      Build call for generateBarcodeEAN8
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -
    • generateBarcodeEAN8

      public byte[] generateBarcodeEAN8(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a EAN-8 code barcode as PNG file Validates and generate a EAN-8 barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      byte[]
      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 -
    • generateBarcodeEAN8WithHttpInfo

      public ApiResponse<byte[]> generateBarcodeEAN8WithHttpInfo(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a EAN-8 code barcode as PNG file Validates and generate a EAN-8 barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      ApiResponse<byte[]>
      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 -
    • generateBarcodeEAN8Async

      public okhttp3.Call generateBarcodeEAN8Async(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback<byte[]> _callback) throws ApiException
      Generate a EAN-8 code barcode as PNG file (asynchronously) Validates and generate a EAN-8 barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - Barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -
    • generateBarcodeQRCodeCall

      public okhttp3.Call generateBarcodeQRCodeCall(String value, Integer width, Integer height, ApiCallback _callback) throws ApiException
      Build call for generateBarcodeQRCode
      Parameters:
      value - QR code text to convert into the QR code barcode (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      _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 -
    • generateBarcodeQRCode

      public byte[] generateBarcodeQRCode(String value, Integer width, Integer height) throws ApiException
      Generate a QR code barcode as PNG file Generate a QR code barcode as a PNG file, a type of 2D barcode which can encode free-form text information
      Parameters:
      value - QR code text to convert into the QR code barcode (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      Returns:
      byte[]
      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 -
    • generateBarcodeQRCodeWithHttpInfo

      public ApiResponse<byte[]> generateBarcodeQRCodeWithHttpInfo(String value, Integer width, Integer height) throws ApiException
      Generate a QR code barcode as PNG file Generate a QR code barcode as a PNG file, a type of 2D barcode which can encode free-form text information
      Parameters:
      value - QR code text to convert into the QR code barcode (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      Returns:
      ApiResponse<byte[]>
      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 -
    • generateBarcodeQRCodeAsync

      public okhttp3.Call generateBarcodeQRCodeAsync(String value, Integer width, Integer height, ApiCallback<byte[]> _callback) throws ApiException
      Generate a QR code barcode as PNG file (asynchronously) Generate a QR code barcode as a PNG file, a type of 2D barcode which can encode free-form text information
      Parameters:
      value - QR code text to convert into the QR code barcode (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      _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 -
    • generateBarcodeUPCACall

      public okhttp3.Call generateBarcodeUPCACall(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback _callback) throws ApiException
      Build call for generateBarcodeUPCA
      Parameters:
      value - UPC-A barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -
    • generateBarcodeUPCA

      public byte[] generateBarcodeUPCA(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a UPC-A code barcode as PNG file Validate and generate a UPC-A barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - UPC-A barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      byte[]
      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 -
    • generateBarcodeUPCAWithHttpInfo

      public ApiResponse<byte[]> generateBarcodeUPCAWithHttpInfo(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a UPC-A code barcode as PNG file Validate and generate a UPC-A barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - UPC-A barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      ApiResponse<byte[]>
      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 -
    • generateBarcodeUPCAAsync

      public okhttp3.Call generateBarcodeUPCAAsync(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback<byte[]> _callback) throws ApiException
      Generate a UPC-A code barcode as PNG file (asynchronously) Validate and generate a UPC-A barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - UPC-A barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -
    • generateBarcodeUPCECall

      public okhttp3.Call generateBarcodeUPCECall(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback _callback) throws ApiException
      Build call for generateBarcodeUPCE
      Parameters:
      value - UPC-E barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -
    • generateBarcodeUPCE

      public byte[] generateBarcodeUPCE(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a UPC-E code barcode as PNG file Validates and generate a UPC-E barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - UPC-E barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      byte[]
      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 -
    • generateBarcodeUPCEWithHttpInfo

      public ApiResponse<byte[]> generateBarcodeUPCEWithHttpInfo(String value, Integer width, Integer height, Boolean includeLabel) throws ApiException
      Generate a UPC-E code barcode as PNG file Validates and generate a UPC-E barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - UPC-E barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      Returns:
      ApiResponse<byte[]>
      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 -
    • generateBarcodeUPCEAsync

      public okhttp3.Call generateBarcodeUPCEAsync(String value, Integer width, Integer height, Boolean includeLabel, ApiCallback<byte[]> _callback) throws ApiException
      Generate a UPC-E code barcode as PNG file (asynchronously) Validates and generate a UPC-E barcode as a PNG file, a type of 1D barcode
      Parameters:
      value - UPC-E barcode value to generate from (required)
      width - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      height - Optional: width of the barcode in pixels. Minimum value of 10. (optional)
      includeLabel - Optional: show text label on the image of the barcode value, default is true. (optional)
      _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 -