Class ItemOfferPermutationResult


  • public class ItemOfferPermutationResult
    extends Object
    DTO containing results of the evaluation of a permutation of item offers.
    See Also:
    OffersPermutation
    • Constructor Detail

      • ItemOfferPermutationResult

        public ItemOfferPermutationResult​(javax.money.CurrencyUnit currency)
    • Method Detail

      • totalAdjustmentValue

        protected javax.money.MonetaryAmount totalAdjustmentValue()
      • hasDetails

        public boolean hasDetails()
      • addFreeGiftItem

        public void addFreeGiftItem​(com.broadleafcommerce.promotion.offer.client.web.context.info.FreeGiftItem freeGiftItem,
                                    @Nonnull
                                    javax.money.MonetaryAmount estimatedValue)
      • getPermutationTotals

        public OrderTotals getPermutationTotals()
      • setPermutationTotals

        public void setPermutationTotals​(OrderTotals permutationTotals)
      • getTotalAdjustmentValue

        public javax.money.MonetaryAmount getTotalAdjustmentValue()
      • getTotalFreeGiftsValue

        public javax.money.MonetaryAmount getTotalFreeGiftsValue()
      • getFreeGiftItems

        public List<com.broadleafcommerce.promotion.offer.client.web.context.info.FreeGiftItem> getFreeGiftItems()