public class DefaultMetaProductInfo extends Object implements MetaProductInfo
MetaProductInfo interface.| Constructor and Description |
|---|
DefaultMetaProductInfo(boolean canBeAddedToCart,
String productMessage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeAddedToCart()
Check if the product can be added to a cart.
|
boolean |
equals(Object other) |
String |
getProductMessage()
A message to be displayed next to the product.
|
int |
hashCode() |
public DefaultMetaProductInfo(boolean canBeAddedToCart,
String productMessage)
public boolean canBeAddedToCart()
MetaProductInfocanBeAddedToCart in interface MetaProductInfopublic String getProductMessage()
MetaProductInfogetProductMessage in interface MetaProductInfoCopyright © 2017 SAP SE. All Rights Reserved.