public interface AbstractProductPrice
AbstractProductPrice
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Retrieves the possibly null value for the optional attribute
description . |
BigDecimal |
getDiscount()
Retrieves the possibly null value for the optional attribute
discount . |
BigDecimal |
getPrice()
Retrieves the possibly null value for the optional attribute
price . |
short |
getPriceCurrency()
Retrieves the value for the attribute
priceCurrency . |
<T extends AbstractPriceLevel> |
getPriceLevel()
Retrieves the
Collection of objects referenced by priceLevel . |
BigDecimal |
getQuantityFrom()
Retrieves the possibly null value for the optional attribute
quantityFrom . |
BigDecimal |
getQuantityTo()
Retrieves the possibly null value for the optional attribute
quantityTo . |
Uom |
getUom()
Retrieves the value for the reference
uom . |
List<Short> |
getUsage()
Retrieves a list containing all the elements for the attribute
usage . |
Boolean |
isDiscountIsPercentage()
Retrieves the possibly null value for the optional attribute
discountIsPercentage . |
void |
setDescription(String description)
Sets a new value for the attribute
description . |
void |
setDiscount(BigDecimal discount)
Sets a new value for the attribute
discount . |
void |
setDiscountIsPercentage(Boolean discountIsPercentage)
Sets a new value for the attribute
discountIsPercentage . |
void |
setPrice(BigDecimal price)
Sets a new value for the attribute
price . |
void |
setPriceCurrency(short priceCurrency)
Sets a new value for the attribute
priceCurrency . |
void |
setQuantityFrom(BigDecimal quantityFrom)
Sets a new value for the attribute
quantityFrom . |
void |
setQuantityTo(BigDecimal quantityTo)
Sets a new value for the attribute
quantityTo . |
void |
setUom(Uom uom)
Sets a new value for the reference
uom . |
void |
setUsage(short... usage)
Clears
usage and adds the given value(s). |
String getDescription()
description
.description
.void setDescription(String description)
description
.description
- The possibly null new value for attribute description
.BigDecimal getDiscount()
discount
.discount
.void setDiscount(BigDecimal discount)
discount
.discount
- The possibly null new value for attribute discount
.Boolean isDiscountIsPercentage()
discountIsPercentage
.discountIsPercentage
.void setDiscountIsPercentage(Boolean discountIsPercentage)
discountIsPercentage
.discountIsPercentage
- The possibly null new value for attribute discountIsPercentage
.BigDecimal getPrice()
price
.price
.void setPrice(BigDecimal price)
price
.price
- The possibly null new value for attribute price
.short getPriceCurrency()
priceCurrency
.priceCurrency
.void setPriceCurrency(short priceCurrency)
priceCurrency
.priceCurrency
- The non-null new value for attribute priceCurrency
.<T extends AbstractPriceLevel> List<T> getPriceLevel()
Collection
of objects referenced by priceLevel
.Collection
of referenced objects.BigDecimal getQuantityFrom()
quantityFrom
.quantityFrom
.void setQuantityFrom(BigDecimal quantityFrom)
quantityFrom
.quantityFrom
- The possibly null new value for attribute quantityFrom
.BigDecimal getQuantityTo()
quantityTo
.quantityTo
.void setQuantityTo(BigDecimal quantityTo)
quantityTo
.quantityTo
- The possibly null new value for attribute quantityTo
.Uom getUom()
uom
.null
value for this reference.void setUom(Uom uom)
uom
.uom
- The new non-null
value for this reference.List<Short> getUsage()
usage
.void setUsage(short... usage)
usage
and adds the given value(s).
This method is equivalent to
list.clear(); for(short e : attributeName){ list.add(e); }
usage
- value(s) to be added to usage
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.