Class DiscountableItemInfo
java.lang.Object
com.broadleafcommerce.promotion.offer.service.dto.DiscountableItemInfo
When processing order adjustments, we need to be able to prorate the adjustment to the relevant
line items. This DTO is used to store those details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAmountQtyForItemId
(String itemId) javax.money.MonetaryAmount
void
setDiscountableTotal
(javax.money.MonetaryAmount discountableTotal) void
setItemValues
(String itemId, AmountQtyTuple amountQtyTuple)
-
Constructor Details
-
DiscountableItemInfo
public DiscountableItemInfo()
-
-
Method Details
-
getAmountQtyForItemId
-
setItemValues
-
getDiscountableTotal
public javax.money.MonetaryAmount getDiscountableTotal() -
setDiscountableTotal
public void setDiscountableTotal(javax.money.MonetaryAmount discountableTotal) -
getAmountQtyTuples
-