Class OrderOfferAdjustment
java.lang.Object
com.broadleafcommerce.promotion.offer.web.context.info.OrderOfferAdjustment
- All Implemented Interfaces:
Serializable
DTO containing price adjustment information for an
EnhancedOrder
caused by a
CandidateOrderOffer
targeting it.- Author:
- Nathan Moore (nathanmoore).
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.money.MonetaryAmount
getOffer()
getOrder()
int
hashCode()
boolean
boolean
boolean
boolean
void
setAmount
(javax.money.MonetaryAmount amount) void
setCandidateOrderOffer
(CandidateOrderOffer candidateOrderOffer) void
setFutureCredit
(boolean isFutureCredit) void
void
setOrder
(EnhancedOrder order) void
setRoundingMode
(RoundingMode roundingMode) void
setRoundOfferValues
(boolean roundOfferValues) toString()
-
Field Details
-
ONE_HUNDRED
protected static final int ONE_HUNDRED- See Also:
-
-
Constructor Details
-
OrderOfferAdjustment
public OrderOfferAdjustment()
-
-
Method Details
-
getOffer
-
isCombinable
public boolean isCombinable() -
isTotalitarian
public boolean isTotalitarian() -
toString
-
getCandidateOrderOffer
-
getOrder
-
getAmount
public javax.money.MonetaryAmount getAmount() -
isRoundOfferValues
public boolean isRoundOfferValues() -
getRoundingMode
-
isFutureCredit
public boolean isFutureCredit() -
setCandidateOrderOffer
-
setOrder
-
setAmount
public void setAmount(javax.money.MonetaryAmount amount) -
setOffer
-
setRoundOfferValues
public void setRoundOfferValues(boolean roundOfferValues) -
setRoundingMode
-
setFutureCredit
public void setFutureCredit(boolean isFutureCredit) -
equals
-
canEqual
-
hashCode
public int hashCode()
-