@ConditionalOnBroadleafModule(value=REST_API)
@RestController(value="blFulfillmentLocationEndpoint")
@RequestMapping(value="/fulfillment-location/",
produces={"application/json","application/xml"})
public class FulfillmentLocationEndpoint
extends com.broadleafcommerce.rest.api.endpoint.BaseEndpoint
FulfillmentLocationService functionality| Modifier and Type | Field and Description |
|---|---|
protected AdvancedInventoryService |
inventoryService |
protected FulfillmentLocationService |
locationService |
| Constructor and Description |
|---|
FulfillmentLocationEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
List<InventoryWrapper> |
findAllInventoryForLocation(javax.servlet.http.HttpServletRequest request,
Long locationId) |
List<FulfillmentLocationWrapper> |
findAllPhysicalLocations(javax.servlet.http.HttpServletRequest request) |
List<FulfillmentLocationWrapper> |
findAllPickupLocations(javax.servlet.http.HttpServletRequest request) |
List<FulfillmentLocationWrapper> |
findAllShippingLocations(javax.servlet.http.HttpServletRequest request) |
FulfillmentLocationWrapper |
findDefaultFulfillmentLocation(javax.servlet.http.HttpServletRequest request) |
FulfillmentLocationWrapper |
findLocationById(javax.servlet.http.HttpServletRequest request,
Long locationId) |
protected FulfillmentLocationService locationService
protected AdvancedInventoryService inventoryService
@RequestMapping(value="default",
method=GET)
public FulfillmentLocationWrapper findDefaultFulfillmentLocation(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="{locationId}",
method=GET)
public FulfillmentLocationWrapper findLocationById(javax.servlet.http.HttpServletRequest request,
@PathVariable(value="locationId")
Long locationId)
@RequestMapping(value="{locationId}/inventory",
method=GET)
public List<InventoryWrapper> findAllInventoryForLocation(javax.servlet.http.HttpServletRequest request,
@PathVariable(value="locationId")
Long locationId)
@RequestMapping(value="pickup",
method=GET)
public List<FulfillmentLocationWrapper> findAllPickupLocations(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="ship",
method=GET)
public List<FulfillmentLocationWrapper> findAllShippingLocations(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="physical",
method=GET)
public List<FulfillmentLocationWrapper> findAllPhysicalLocations(javax.servlet.http.HttpServletRequest request)
Copyright © 2020. All rights reserved.