public class GoodsPrice extends org.beigesoft.model.AEditableHasVersion implements org.beigesoft.model.IHasId<GoodsPriceId>
Model of Price for sell Goods.
| Constructor and Description |
|---|
GoodsPrice() |
| Modifier and Type | Method and Description |
|---|---|
org.beigesoft.accounting.persistable.InvItem |
getGoods()
Getter for goods.
|
GoodsPriceId |
getItsId()
Usually it's simple getter that return model ID.
|
BigDecimal |
getItsPrice()
Getter for itsPrice.
|
BigDecimal |
getPreviousPrice()
Getter for previousPrice.
|
PriceCategory |
getPriceCategory()
Getter for priceCategory.
|
void |
setGoods(org.beigesoft.accounting.persistable.InvItem pGoods)
Setter for goods.
|
void |
setItsId(GoodsPriceId pItsId)
Usually it's simple setter for model ID.
|
void |
setItsPrice(BigDecimal pItsPrice)
Setter for itsPrice.
|
void |
setPreviousPrice(BigDecimal pPreviousPrice)
Setter for previousPrice.
|
void |
setPriceCategory(PriceCategory pPriceCategory)
Setter for pPriceCategory.
|
public final GoodsPriceId getItsId()
Usually it's simple getter that return model ID.
getItsId in interface org.beigesoft.model.IHasId<GoodsPriceId>public final void setItsId(GoodsPriceId pItsId)
Usually it's simple setter for model ID.
setItsId in interface org.beigesoft.model.IHasId<GoodsPriceId>pId - model IDpublic final void setPriceCategory(PriceCategory pPriceCategory)
Setter for pPriceCategory.
pPriceCategory - referencepublic final void setGoods(org.beigesoft.accounting.persistable.InvItem pGoods)
Setter for goods.
pGoods - referencepublic final PriceCategory getPriceCategory()
Getter for priceCategory.
public final org.beigesoft.accounting.persistable.InvItem getGoods()
Getter for goods.
public final BigDecimal getItsPrice()
Getter for itsPrice.
public final void setItsPrice(BigDecimal pItsPrice)
Setter for itsPrice.
pItsPrice - referencepublic final BigDecimal getPreviousPrice()
Getter for previousPrice.
public final void setPreviousPrice(BigDecimal pPreviousPrice)
Setter for previousPrice.
pPreviousPrice - referenceCopyright © 2017–2018. All rights reserved.