Class FulfillmentGroupOfferPermutationResult
java.lang.Object
com.broadleafcommerce.promotion.offer.service.dto.FulfillmentGroupOfferPermutationResult
DTO containing results of the evaluation of a permutation of item offers.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdjustment
(FulfillmentGroupAdjustment adjustment) protected boolean
boolean
protected String
getFGid
(FulfillmentGroupAdjustment adjustment) javax.money.MonetaryAmount
int
hashCode()
boolean
boolean
void
setAdjustments
(Map<String, List<FulfillmentGroupAdjustment>> adjustments) void
setAppliedOffers
(List<Offer> appliedOffers) void
setCodeResponseMap
(Map<String, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse> codeResponseMap) void
setPermutationTotals
(OrderTotals permutationTotals) void
setTotalAdjustments
(javax.money.MonetaryAmount totalAdjustments) toString()
void
updateCodeResponse
(String code, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse response) void
updateCodesResponses
(Set<OfferCode> offerCodes, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse response)
-
Constructor Details
-
FulfillmentGroupOfferPermutationResult
public FulfillmentGroupOfferPermutationResult()
-
-
Method Details
-
isLessValueThan
-
isEqualTo
-
addAdjustment
-
getFGid
-
updateCodeResponse
public void updateCodeResponse(String code, com.broadleafcommerce.promotion.offer.client.web.context.discounts.CodeResponse response) -
updateCodesResponses
-
getPermutationTotals
-
getAppliedOffers
-
getCodeResponseMap
-
getAdjustments
-
getTotalAdjustments
public javax.money.MonetaryAmount getTotalAdjustments() -
setPermutationTotals
-
setAppliedOffers
-
setCodeResponseMap
-
setAdjustments
-
setTotalAdjustments
public void setTotalAdjustments(javax.money.MonetaryAmount totalAdjustments) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-