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 booleanbooleaninthashCode()booleanWhether this adjustment is applied to the sale price of the item.voidsetAppliedToSalePrice(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:
equalsin classAdjustment
-
canEqual
- Overrides:
canEqualin classAdjustment
-
hashCode
public int hashCode()- Overrides:
hashCodein classAdjustment
-
toString
- Overrides:
toStringin classAdjustment
-