Class FulfillmentGroupOfferPermutationResult

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

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

    • FulfillmentGroupOfferPermutationResult

      public FulfillmentGroupOfferPermutationResult()
  • Method Details

    • isLessValueThan

      public boolean isLessValueThan(FulfillmentGroupOfferPermutationResult other)
    • isEqualTo

      public boolean isEqualTo(FulfillmentGroupOfferPermutationResult other)
    • addAdjustment

      public void addAdjustment(FulfillmentGroupAdjustment adjustment)
    • getFGid

      protected String getFGid(FulfillmentGroupAdjustment adjustment)
    • updateCodeResponse

      public void updateCodeResponse(String code, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse response)
    • updateCodesResponses

      public void updateCodesResponses(Set<OfferCode> offerCodes, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse response)
    • getPermutationTotals

      public OrderTotals getPermutationTotals()
    • getAppliedOffers

      public List<Offer> getAppliedOffers()
    • getCodeResponseMap

      public Map<String,com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse> getCodeResponseMap()
    • getAdjustments

      public Map<String,List<FulfillmentGroupAdjustment>> getAdjustments()
    • getTotalAdjustments

      public javax.money.MonetaryAmount getTotalAdjustments()
    • setPermutationTotals

      public void setPermutationTotals(OrderTotals permutationTotals)
    • setAppliedOffers

      public void setAppliedOffers(List<Offer> appliedOffers)
    • setCodeResponseMap

      public void setCodeResponseMap(Map<String,com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse> codeResponseMap)
    • setAdjustments

      public void setAdjustments(Map<String,List<FulfillmentGroupAdjustment>> adjustments)
    • setTotalAdjustments

      public void setTotalAdjustments(javax.money.MonetaryAmount totalAdjustments)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object