org.broadleafcommerce.core.web.api.endpoint.order
@Component(value="blRestFulfillmentEndpoint") @Scope(value="singleton") public class FulfillmentEndpoint extends Object implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected CheckoutService |
checkoutService |
protected org.springframework.context.ApplicationContext |
context |
protected FulfillmentGroupService |
fulfillmentGroupService |
protected OrderService |
orderService |
| Constructor and Description |
|---|
FulfillmentEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
FulfillmentGroupWrapper |
addFulfillmentGroupToOrder(javax.servlet.http.HttpServletRequest request,
FulfillmentGroupWrapper wrapper,
boolean priceOrder) |
FulfillmentGroupWrapper |
addItemToFulfillmentGroup(javax.servlet.http.HttpServletRequest request,
Long fulfillmentGroupId,
FulfillmentGroupItemWrapper wrapper,
boolean priceOrder) |
List<FulfillmentGroupWrapper> |
findFulfillmentGroupsForOrder(javax.servlet.http.HttpServletRequest request) |
OrderWrapper |
removeAllFulfillmentGroupsFromOrder(javax.servlet.http.HttpServletRequest request,
boolean priceOrder) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected CheckoutService checkoutService
protected OrderService orderService
protected FulfillmentGroupService fulfillmentGroupService
protected org.springframework.context.ApplicationContext context
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic List<FulfillmentGroupWrapper> findFulfillmentGroupsForOrder(@Context javax.servlet.http.HttpServletRequest request)
public OrderWrapper removeAllFulfillmentGroupsFromOrder(@Context javax.servlet.http.HttpServletRequest request, boolean priceOrder)
public FulfillmentGroupWrapper addFulfillmentGroupToOrder(@Context javax.servlet.http.HttpServletRequest request, FulfillmentGroupWrapper wrapper, boolean priceOrder)
public FulfillmentGroupWrapper addItemToFulfillmentGroup(@Context javax.servlet.http.HttpServletRequest request, Long fulfillmentGroupId, FulfillmentGroupItemWrapper wrapper, boolean priceOrder)
Copyright © 2015. All Rights Reserved.