A FulfillmentOrigin provides a mechanism to specify that calculators should apply to items from a particular inventory location.
If the Fulfillment Calculator has an Origin set, it will only apply to FulfillmentPricingItems
that have a location from the Origin in their fulfillmentOriginInfos
.
By default, CartOps does not set the fulfillment location on FulfillmentPricingItems when building the FulfillmentPricingRequest. Implement com.broadleafcommerce.cartoperation.service.fulfillment.option.DefaultFulfillmentOptionRequestService.getFulfillmentOriginInfos
to add inventory location data to the FulfillmentPricingItems.