Class HitImpl
java.lang.Object
com.commercetools.api.models.order.HitImpl
- All Implemented Interfaces:
Hit
,io.vrap.rmf.base.client.ModelBase
Hit
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Unique identifier of the Order.The higher the value is, the more relevant the hit is for the search request.Current version of the Order.int
hashCode()
void
Unique identifier of the Order.void
setRelevance
(Double relevance) The higher the value is, the more relevant the hit is for the search request.void
setVersion
(Long version) Current version of the Order.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
HitImpl
public HitImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the Order.
-
getVersion
Current version of the Order.
- Specified by:
getVersion
in interfaceHit
- Returns:
- version
-
getRelevance
The higher the value is, the more relevant the hit is for the search request.
- Specified by:
getRelevance
in interfaceHit
- Returns:
- relevance
-
setId
Description copied from interface:Hit
Unique identifier of the Order.
-
setVersion
Description copied from interface:Hit
Current version of the Order.
- Specified by:
setVersion
in interfaceHit
- Parameters:
version
- value to be set
-
setRelevance
Description copied from interface:Hit
The higher the value is, the more relevant the hit is for the search request.
- Specified by:
setRelevance
in interfaceHit
- Parameters:
relevance
- value to be set
-
equals
-
hashCode
public int hashCode()
-