public class CommerceOrderItemPrice
extends java.lang.Object
Constructor and Description |
---|
CommerceOrderItemPrice(com.liferay.commerce.currency.model.CommerceMoney unitPrice) |
Modifier and Type | Method and Description |
---|---|
com.liferay.commerce.currency.model.CommerceMoney |
getDiscountAmount() |
java.math.BigDecimal |
getDiscountPercentage() |
java.math.BigDecimal |
getDiscountPercentageLevel1() |
java.math.BigDecimal |
getDiscountPercentageLevel2() |
java.math.BigDecimal |
getDiscountPercentageLevel3() |
java.math.BigDecimal |
getDiscountPercentageLevel4() |
com.liferay.commerce.currency.model.CommerceMoney |
getFinalPrice() |
com.liferay.commerce.currency.model.CommerceMoney |
getPromoPrice() |
com.liferay.commerce.currency.model.CommerceMoney |
getUnitPrice() |
boolean |
isPriceOnApplication() |
void |
setDiscountAmount(com.liferay.commerce.currency.model.CommerceMoney discountAmount) |
void |
setDiscountPercentage(java.math.BigDecimal discountPercentage) |
void |
setDiscountPercentageLevel1(java.math.BigDecimal discountPercentageLevel1) |
void |
setDiscountPercentageLevel2(java.math.BigDecimal discountPercentageLevel2) |
void |
setDiscountPercentageLevel3(java.math.BigDecimal discountPercentageLevel3) |
void |
setDiscountPercentageLevel4(java.math.BigDecimal discountPercentageLevel4) |
void |
setFinalPrice(com.liferay.commerce.currency.model.CommerceMoney finalPrice) |
void |
setPriceOnApplication(boolean priceOnApplication) |
void |
setPromoPrice(com.liferay.commerce.currency.model.CommerceMoney promoPrice) |
void |
setUnitPrice(com.liferay.commerce.currency.model.CommerceMoney unitPrice) |
public CommerceOrderItemPrice(com.liferay.commerce.currency.model.CommerceMoney unitPrice)
public com.liferay.commerce.currency.model.CommerceMoney getDiscountAmount()
public java.math.BigDecimal getDiscountPercentage()
public java.math.BigDecimal getDiscountPercentageLevel1()
public java.math.BigDecimal getDiscountPercentageLevel2()
public java.math.BigDecimal getDiscountPercentageLevel3()
public java.math.BigDecimal getDiscountPercentageLevel4()
public com.liferay.commerce.currency.model.CommerceMoney getFinalPrice()
public com.liferay.commerce.currency.model.CommerceMoney getPromoPrice()
public com.liferay.commerce.currency.model.CommerceMoney getUnitPrice()
public boolean isPriceOnApplication()
public void setDiscountAmount(com.liferay.commerce.currency.model.CommerceMoney discountAmount)
public void setDiscountPercentage(java.math.BigDecimal discountPercentage)
public void setDiscountPercentageLevel1(java.math.BigDecimal discountPercentageLevel1)
public void setDiscountPercentageLevel2(java.math.BigDecimal discountPercentageLevel2)
public void setDiscountPercentageLevel3(java.math.BigDecimal discountPercentageLevel3)
public void setDiscountPercentageLevel4(java.math.BigDecimal discountPercentageLevel4)
public void setFinalPrice(com.liferay.commerce.currency.model.CommerceMoney finalPrice)
public void setPriceOnApplication(boolean priceOnApplication)
public void setPromoPrice(com.liferay.commerce.currency.model.CommerceMoney promoPrice)
public void setUnitPrice(com.liferay.commerce.currency.model.CommerceMoney unitPrice)