public class AbsoluteCouponType extends CouponType
Modifier and Type | Field and Description |
---|---|
private java.lang.Float |
amount |
static java.lang.String |
COUPON_TYPE_NAME |
private java.lang.Boolean |
giftCouponWithoutTax |
private java.lang.Boolean |
shippingCostsIncluded |
Constructor and Description |
---|
AbsoluteCouponType(java.lang.String name,
java.lang.String formatted) |
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
getAmount() |
java.lang.Boolean |
getGiftCouponWithoutTax() |
java.lang.Boolean |
getShippingCostsIncluded() |
void |
setAmount(java.lang.Float amount) |
void |
setGiftCouponWithoutTax(java.lang.Boolean giftCouponWithoutTax) |
void |
setShippingCostsIncluded(java.lang.Boolean shippingCostsIncluded) |
getFormatted, getName, setFormatted, setName
public static final java.lang.String COUPON_TYPE_NAME
@NotNull @Min(value=0L) private java.lang.Float amount
private java.lang.Boolean shippingCostsIncluded
private java.lang.Boolean giftCouponWithoutTax
public AbsoluteCouponType(java.lang.String name, java.lang.String formatted)
public java.lang.Float getAmount()
public void setAmount(java.lang.Float amount)
public java.lang.Boolean getShippingCostsIncluded()
public void setShippingCostsIncluded(java.lang.Boolean shippingCostsIncluded)
public java.lang.Boolean getGiftCouponWithoutTax()
public void setGiftCouponWithoutTax(java.lang.Boolean giftCouponWithoutTax)