Class EnhancedFulfillmentLineItem
- java.lang.Object
-
- com.broadleafcommerce.promotion.offer.web.context.EnhancedLineItem
-
- com.broadleafcommerce.promotion.offer.web.context.EnhancedFulfillmentLineItem
-
- All Implemented Interfaces:
com.broadleafcommerce.promotion.offer.client.web.context.FulfillmentLineItem,com.broadleafcommerce.promotion.offer.client.web.context.LineItem,Serializable
public class EnhancedFulfillmentLineItem extends EnhancedLineItem implements com.broadleafcommerce.promotion.offer.client.web.context.FulfillmentLineItem
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnhancedFulfillmentLineItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)EnhancedOrderLineItemgetOrderLineItem()The correspondingEnhancedOrderLineItemfor thisEnhancedFulfillmentLineItem.StringgetRelatedOrderLineItemNumber()inthashCode()voidsetOrderLineItem(EnhancedOrderLineItem orderLineItem)The correspondingEnhancedOrderLineItemfor thisEnhancedFulfillmentLineItem.voidsetRelatedOrderLineItemNumber(String relatedOrderLineItemNumber)StringtoString()-
Methods inherited from class com.broadleafcommerce.promotion.offer.web.context.EnhancedLineItem
calculateTotalAdjustmentValue, calculateTotalWithAdjustments, createNewDetail, finalizePrice, getAdjustedTotalWithoutFutureCredits, getAttributes, getAveragePrice, getCurrency, getFinalPrice, getFinalTotalAdjustmentValue, getFutureCreditAdjustmentValue, getFutureCredits, getId, getLineNumber, getOfferDetails, getPrice, getProratedAdjustments, getQuantity, getSalePrice, getStandardPrice, getTotalPrice, getTotalPriceWithoutAdjustments, getTotalStandardPrice, getUnadjustedSalePrice, hasAdjustments, initializePriceDetails, isDependent, isDiscountable, isOnSale, isSubscription, mergeDetails, mergeLikeDetails, resetOfferDetails, resetPriceDetails, setAttributes, setCurrency, setDiscountable, setFinalPrice, setId, setLineNumber, setOfferDetails, setProratedAdjustments, setQuantity, setSalePrice, setStandardPrice, setSubscription
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.broadleafcommerce.promotion.offer.client.web.context.LineItem
getAttributes, getLineNumber, getQuantity, getSalePrice, getStandardPrice, isDiscountable, isSubscription, setAttributes, setDiscountable, setLineNumber, setQuantity, setSalePrice, setStandardPrice, setSubscription
-
-
-
-
Method Detail
-
getRelatedOrderLineItemNumber
public String getRelatedOrderLineItemNumber()
- Specified by:
getRelatedOrderLineItemNumberin interfacecom.broadleafcommerce.promotion.offer.client.web.context.FulfillmentLineItem
-
getOrderLineItem
public EnhancedOrderLineItem getOrderLineItem()
The correspondingEnhancedOrderLineItemfor thisEnhancedFulfillmentLineItem. Built out as part of the offer engine and not provided by the original JSON caller.- Returns:
- The corresponding
EnhancedOrderLineItemfor thisEnhancedFulfillmentLineItem. - See Also:
EnhancedOrderLineItem
-
setRelatedOrderLineItemNumber
public void setRelatedOrderLineItemNumber(String relatedOrderLineItemNumber)
- Specified by:
setRelatedOrderLineItemNumberin interfacecom.broadleafcommerce.promotion.offer.client.web.context.FulfillmentLineItem
-
setOrderLineItem
public void setOrderLineItem(EnhancedOrderLineItem orderLineItem)
The correspondingEnhancedOrderLineItemfor thisEnhancedFulfillmentLineItem. Built out as part of the offer engine and not provided by the original JSON caller.- Parameters:
item- The correspondingEnhancedOrderLineItemfor thisEnhancedFulfillmentLineItem.- See Also:
EnhancedOrderLineItem
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classEnhancedLineItem
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classEnhancedLineItem
-
hashCode
public int hashCode()
- Overrides:
hashCodein classEnhancedLineItem
-
toString
public String toString()
- Overrides:
toStringin classEnhancedLineItem
-
-