/**
* An interface for addable basket items
- *
+ * <p>
* @author Roland Haeder<roland@mxchange.org>
*/
public interface AddableBasketItem extends Serializable {
/**
* Check equality on item instance
- *
+ * <p>
* @param object Other object to check
*/
@Override
/**
* Getter for item amount
- *
+ * <p>
* @return the amount
*/
public Long getOrderedAmount ();
/**
* Setter for item amount
- *
+ * <p>
* @param amount the amount to set
*/
public void setOrderedAmount (final Long amount);
/**
* Getter for entry id (from database backend)
- *
+ * <p>
* @return the id
*/
public Long getItemId ();
/**
* Setter for entry id (from database backend)
- *
+ * <p>
* @param id the id to set
*/
public void setItemId (final Long id);
/**
* Getter for item type
- *
+ * <p>
* @return the type
*/
public String getItemType ();
/**
* Setter for item type
- *
+ * <p>
* @param type the type to set
*/
public void setItemType (final String type);
/**
* Getter for product instance
- *
+ * <p>
* @return the product
*/
public Product getItemProduct ();
/**
* Setter fo product instance
- *
+ * <p>
* @param product the product to set
*/
public void setItemProduct (final Product product);
/**
* Determines whether the item has a Product instance set
- *
+ * <p>
* @return Whether a Product instance is set
*/
public boolean isProductType ();