public class Item extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
priceIncludingTax |
protected Long |
productId |
protected BigDecimal |
quantity |
protected Boolean |
recalculatePrice |
protected List<TaxLine> |
taxLines |
| Constructor and Description |
|---|
Item() |
| Modifier and Type | Method and Description |
|---|---|
Item |
addTaxLinesItem(TaxLine taxLinesItem) |
boolean |
equals(Object o) |
BigDecimal |
getPriceIncludingTax() |
Long |
getProductId() |
BigDecimal |
getQuantity() |
List<TaxLine> |
getTaxLines() |
int |
hashCode() |
Boolean |
isRecalculatePrice() |
Item |
priceIncludingTax(BigDecimal priceIncludingTax) |
Item |
productId(Long productId) |
Item |
quantity(BigDecimal quantity) |
Item |
recalculatePrice(Boolean recalculatePrice) |
void |
setPriceIncludingTax(BigDecimal priceIncludingTax) |
void |
setProductId(Long productId) |
void |
setQuantity(BigDecimal quantity) |
void |
setRecalculatePrice(Boolean recalculatePrice) |
void |
setTaxLines(List<TaxLine> taxLines) |
Item |
taxLines(List<TaxLine> taxLines) |
String |
toString() |
protected BigDecimal priceIncludingTax
protected Long productId
protected BigDecimal quantity
protected Boolean recalculatePrice
public Item priceIncludingTax(BigDecimal priceIncludingTax)
public BigDecimal getPriceIncludingTax()
public void setPriceIncludingTax(BigDecimal priceIncludingTax)
public Long getProductId()
public void setProductId(Long productId)
public Item quantity(BigDecimal quantity)
public BigDecimal getQuantity()
public void setQuantity(BigDecimal quantity)
public Boolean isRecalculatePrice()
public void setRecalculatePrice(Boolean recalculatePrice)
Copyright © 2024. All rights reserved.