public class CommerceDiscountValue
extends java.lang.Object
Constructor and Description |
---|
CommerceDiscountValue(long id,
CommerceMoney discountAmount,
java.math.BigDecimal discountPercentage,
java.math.BigDecimal[] percentages) |
Modifier and Type | Method and Description |
---|---|
CommerceMoney |
getDiscountAmount() |
java.math.BigDecimal |
getDiscountPercentage() |
long |
getId() |
java.math.BigDecimal[] |
getPercentages() |
public CommerceDiscountValue(long id, CommerceMoney discountAmount, java.math.BigDecimal discountPercentage, java.math.BigDecimal[] percentages)
public CommerceMoney getDiscountAmount()
public java.math.BigDecimal getDiscountPercentage()
public long getId()
public java.math.BigDecimal[] getPercentages()