Class BarcodeScanResult

java.lang.Object
org.openapitools.client.model.BarcodeScanResult

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-11-03T00:26:55.543571700Z[Etc/UTC]", comments="Generator version: 7.12.0") public class BarcodeScanResult extends Object
Result of the barcode scan
  • Field Details

  • Constructor Details

    • BarcodeScanResult

      public BarcodeScanResult()
  • Method Details

    • successful

      public BarcodeScanResult successful(@Nullable Boolean successful)
    • getSuccessful

      @Nullable public Boolean getSuccessful()
      True if the operation was successful, false otherwise
      Returns:
      successful
    • setSuccessful

      public void setSuccessful(@Nullable Boolean successful)
    • barcodeType

      public BarcodeScanResult barcodeType(@Nullable String barcodeType)
    • getBarcodeType

      @Nullable public String getBarcodeType()
      The type of the barcode; possible values are AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A, UPC_E, All_1D, UPC_EAN_EXTENSION, MSI, PLESSEY, IMB
      Returns:
      barcodeType
    • setBarcodeType

      public void setBarcodeType(@Nullable String barcodeType)
    • rawText

      public BarcodeScanResult rawText(@Nullable String rawText)
    • getRawText

      @Nullable public String getRawText()
      The barcode text
      Returns:
      rawText
    • setRawText

      public void setRawText(@Nullable String rawText)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to BarcodeScanResult
    • fromJson

      public static BarcodeScanResult fromJson(String jsonString) throws IOException
      Create an instance of BarcodeScanResult given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of BarcodeScanResult
      Throws:
      IOException - if the JSON string is invalid with respect to BarcodeScanResult
    • toJson

      public String toJson()
      Convert an instance of BarcodeScanResult to an JSON string
      Returns:
      JSON string