public interface OfferTier extends Comparable<OfferTier>, Serializable, MultiTenantCloneable<OfferTier>
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getAmount()
Returns the amount of the offer.
|
Long |
getId()
Returns the unique id of the offer tier.
|
Long |
getMinQuantity()
The minimum number needed to qualify for this tier.
|
Offer |
getOffer()
Returns the associated offer.
|
void |
setAmount(BigDecimal amount)
Sets the amount of the tier.
|
void |
setId(Long id)
Sets the id of the offer tier.
|
void |
setMinQuantity(Long minQuantity)
Sets the minimum number need to qualify for this tier.
|
void |
setOffer(Offer offer)
Sets the associated offer.
|
compareTo
createOrRetrieveCopyInstance
Long getId()
void setId(Long id)
id
- BigDecimal getAmount()
Offer.getDiscountType()
void setAmount(BigDecimal amount)
amount
- Long getMinQuantity()
void setMinQuantity(Long minQuantity)
minQuantity
- Offer getOffer()
void setOffer(Offer offer)
offer
- Copyright © 2020. All rights reserved.