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