Class ItemAdjustment
java.lang.Object
com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment
com.broadleafcommerce.promotion.offer.client.web.context.discounts.ItemAdjustment
- All Implemented Interfaces:
Serializable
An adjustment for a line item of the order.
- Author:
- Chad Harchar (charchar)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
boolean
Whether this adjustment is applied to the sale price of the item.void
setAppliedToSalePrice
(boolean appliedToSalePrice) Whether this adjustment is applied to the sale price of the item.toString()
Methods inherited from class com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment
getAdjustmentAmount, getBeginPeriod, getCampaignTrackingId, getCodeUsed, getEndPeriod, getFreeTrialLength, getFreeTrialLengthUnits, getItemAdjustmentQuantity, getOfferCodeRef, getOfferRef, getOfferUses, getQualifierDetails, getQuantityPerUsage, getServiceLevel, getType, isFutureCredit, setAdjustmentAmount, setBeginPeriod, setCampaignTrackingId, setCodeUsed, setEndPeriod, setFreeTrialLength, setFreeTrialLengthUnits, setFutureCredit, setItemAdjustmentQuantity, setOfferCodeRef, setOfferRef, setOfferUses, setQualifierDetails, setQuantityPerUsage, setServiceLevel, setType
-
Constructor Details
-
ItemAdjustment
public ItemAdjustment()
-
-
Method Details
-
isAppliedToSalePrice
public boolean isAppliedToSalePrice()Whether this adjustment is applied to the sale price of the item. -
setAppliedToSalePrice
public void setAppliedToSalePrice(boolean appliedToSalePrice) Whether this adjustment is applied to the sale price of the item. -
equals
- Overrides:
equals
in classAdjustment
-
canEqual
- Overrides:
canEqual
in classAdjustment
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAdjustment
-
toString
- Overrides:
toString
in classAdjustment
-