public class SimilarProductMetaImpl extends Object implements SimilarProductMeta, io.vrap.rmf.base.client.ModelBase
| Constructor and Description |
|---|
SimilarProductMetaImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
LocalizedString |
getDescription()
Localized product description used for similarity estimation.
|
LocalizedString |
getName()
Localized product name used for similarity estimation.
|
Money |
getPrice()
The product price in cents using the currency defined in SimilarProductSearchRequest If multiple prices exist, the median value is taken as a representative amount.
|
Long |
getVariantCount()
Total number of variants associated with the product.
|
int |
hashCode() |
void |
setDescription(LocalizedString description) |
void |
setName(LocalizedString name) |
void |
setPrice(Money price) |
void |
setVariantCount(Long variantCount) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, typeReference, withSimilarProductMetapublic SimilarProductMetaImpl()
public LocalizedString getName()
Localized product name used for similarity estimation.
getName in interface SimilarProductMetapublic LocalizedString getDescription()
Localized product description used for similarity estimation.
getDescription in interface SimilarProductMetapublic Money getPrice()
The product price in cents using the currency defined in SimilarProductSearchRequest If multiple prices exist, the median value is taken as a representative amount.
getPrice in interface SimilarProductMetapublic Long getVariantCount()
Total number of variants associated with the product.
getVariantCount in interface SimilarProductMetapublic void setName(LocalizedString name)
setName in interface SimilarProductMetapublic void setDescription(LocalizedString description)
setDescription in interface SimilarProductMetapublic void setPrice(Money price)
setPrice in interface SimilarProductMetapublic void setVariantCount(Long variantCount)
setVariantCount in interface SimilarProductMeta