Class CalculatorSummaryResult
java.lang.Object
com.broadleafcommerce.fulfillment.service.dto.CalculatorSummaryResult
This object is used to store the results of a calculator for a set of eligible items. Its primary
purpose is to support establishing a base set of options and prices when computing fulfillment
options by item.
See
DefaultFulfillmentCalculatorService.priceFulfillmentItems(com.broadleafcommerce.fulfillment.service.dto.FulfillmentPricingContext, java.util.List<com.broadleafcommerce.fulfillment.service.dto.calculator.FulfillmentCalculator>)
flow for details on usage.-
Constructor Summary
ConstructorDescriptionCalculatorSummaryResult
(@NonNull FulfillmentPriceResultHolder priceResultHolder) -
Method Summary
Modifier and TypeMethodDescriptionjavax.money.MonetaryAmount
int
javax.money.MonetaryAmount
com.broadleafcommerce.fulfillment.common.domain.Weight
-
Constructor Details
-
CalculatorSummaryResult
-
-
Method Details
-
getCalculatorTotal
public javax.money.MonetaryAmount getCalculatorTotal() -
getEligibleItemsSubTotal
public javax.money.MonetaryAmount getEligibleItemsSubTotal() -
getEligibleItemsQuantity
public int getEligibleItemsQuantity() -
getEligibleItemsWeight
public com.broadleafcommerce.fulfillment.common.domain.Weight getEligibleItemsWeight() -
getPriceResultHolder
-
getEligibleItems
-