Package org.openapitools.client.model
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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ProductMatchCreate an instance of ProductMatch given an JSON stringgetEAN()EAN code for the productgetTitle()Title of the productinthashCode()voidvoidtoJson()Convert an instance of ProductMatch to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_E_A_N
- See Also:
-
SERIALIZED_NAME_TITLE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProductMatch
public ProductMatch()
-
-
Method Details
-
EAN
-
getEAN
EAN code for the product- Returns:
- EAN
-
setEAN
-
title
-
getTitle
Title of the product- Returns:
- title
-
setTitle
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of ProductMatch to an JSON string- Returns:
- JSON string
-