public class StockEntry extends Object
| Constructor and Description |
|---|
StockEntry() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCreatedAt() |
String |
getPrice() |
Product |
getProduct() |
Quantity |
getQuantity() |
StockStatus |
getStatus() |
boolean |
isSpecial() |
void |
setCreatedAt(String createdAt) |
void |
setPrice(String price) |
void |
setProduct(Product product) |
void |
setQuantity(Quantity quantity) |
void |
setSpecial(boolean special) |
void |
setStatus(StockStatus status) |
public StockStatus getStatus()
public void setStatus(StockStatus status)
status - the stock statuspublic Product getProduct()
public void setProduct(Product product)
product - the related productpublic String getPrice()
public void setPrice(String price)
price - the pricepublic Quantity getQuantity()
public void setQuantity(Quantity quantity)
quantity - the available quantitypublic boolean isSpecial()
public void setSpecial(boolean special)
special - true if it's a special offerpublic String getCreatedAt()
public void setCreatedAt(String createdAt)
createdAt - ISO 8601 formatted timestamp of creationCopyright © 2015. All rights reserved.