Class OrderOfferPermutationResult


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

      • OrderOfferPermutationResult

        public OrderOfferPermutationResult()
    • Method Detail

      • addVoucher

        public void addVoucher​(com.broadleafcommerce.promotion.offer.client.web.context.info.Voucher voucher,
                               @Nonnull
                               javax.money.MonetaryAmount estimatedValue)
      • getPermutationTotals

        public OrderTotals getPermutationTotals()
      • setPermutationTotals

        public void setPermutationTotals​(OrderTotals permutationTotals)
      • getTotalAdjustments

        public javax.money.MonetaryAmount getTotalAdjustments()
      • getTotalVouchersValue

        public javax.money.MonetaryAmount getTotalVouchersValue()
      • getVouchers

        public List<com.broadleafcommerce.promotion.offer.client.web.context.info.Voucher> getVouchers()