Class DiscountableItemInfo

java.lang.Object
com.broadleafcommerce.promotion.offer.service.dto.DiscountableItemInfo

public class DiscountableItemInfo extends Object
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 Details

    • DiscountableItemInfo

      public DiscountableItemInfo()
  • Method Details

    • getAmountQtyForItemId

      public AmountQtyTuple getAmountQtyForItemId(String itemId)
    • setItemValues

      public void setItemValues(String itemId, AmountQtyTuple amountQtyTuple)
    • getDiscountableTotal

      public javax.money.MonetaryAmount getDiscountableTotal()
    • setDiscountableTotal

      public void setDiscountableTotal(javax.money.MonetaryAmount discountableTotal)
    • getAmountQtyTuples

      public List<AmountQtyTuple> getAmountQtyTuples()