Class ProductMatch

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

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

  • Constructor Details

    • ProductMatch

      public ProductMatch()
  • Method Details

    • EAN

      public ProductMatch EAN(@Nullable String EAN)
    • getEAN

      @Nullable public String getEAN()
      EAN code for the product
      Returns:
      EAN
    • setEAN

      public void setEAN(@Nullable String EAN)
    • title

      public ProductMatch title(@Nullable String title)
    • getTitle

      @Nullable public String getTitle()
      Title of the product
      Returns:
      title
    • setTitle

      public void setTitle(@Nullable String title)
    • 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 ProductMatch
    • fromJson

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

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