Class FulfillmentPricingEndpoint
java.lang.Object
com.broadleafcommerce.shipping.web.endpoint.FulfillmentPricingEndpoint
-
Constructor Summary
ConstructorDescriptionFulfillmentPricingEndpoint
(FulfillmentPricingService fulfillmentPricingService) -
Method Summary
Modifier and TypeMethodDescriptionprotected FulfillmentPricingService
List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse>
getRateOptions
(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse
getSingleRate
(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Constructor Details
-
FulfillmentPricingEndpoint
-
-
Method Details
-
getRateOptions
@Policy(permissionRoots="SHIPPING_RATES", operationTypes=READ) @FrameworkPostMapping("/rates") public List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse> getRateOptions(@RequestBody com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
getSingleRate
@Policy(permissionRoots="SHIPPING_RATES", operationTypes=READ) @FrameworkPostMapping("/rate") public com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse getSingleRate(@RequestBody com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
getFulfillmentPricingService
-