Class DefaultOrderUtilityImpl
java.lang.Object
de.hybris.platform.orderscheduling.impl.DefaultOrderUtilityImpl
- All Implemented Interfaces:
OrderUtility
The Class DefaultOrderUtilityImpl. This is a preliminary release of a new functionality. It is incomplete and subject
to change in future versions. Use at your own risk.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOrderFromCart(CartModel cart, AddressModel deliveryAddress, AddressModel paymentAddress, PaymentInfoModel paymentInfo) Creates the order from cart.createOrderFromOrderTemplate(OrderModel template) Creates the order from order template.protected CalculationServicevoidrunOrder(OrderModel order) Run order.runScheduledOrder(OrderModel order) Run scheduled order.voidsetCalculationService(CalculationService calculationService) voidsetModelService(ModelService modelService) voidsetOrderService(OrderService orderService)
-
Constructor Details
-
DefaultOrderUtilityImpl
public DefaultOrderUtilityImpl()
-
-
Method Details
-
createOrderFromCart
public OrderModel createOrderFromCart(CartModel cart, AddressModel deliveryAddress, AddressModel paymentAddress, PaymentInfoModel paymentInfo) throws InvalidCartException Description copied from interface:OrderUtilityCreates the order from cart.- Specified by:
createOrderFromCartin interfaceOrderUtility- Parameters:
cart- the cart- Returns:
- OrderModel
- Throws:
InvalidCartException
-
createOrderFromOrderTemplate
Description copied from interface:OrderUtilityCreates the order from order template.- Specified by:
createOrderFromOrderTemplatein interfaceOrderUtility- Parameters:
template- the template- Returns:
- OrderModel
-
runScheduledOrder
Description copied from interface:OrderUtilityRun scheduled order.- Specified by:
runScheduledOrderin interfaceOrderUtility- Parameters:
order- the order- Returns:
- OrderModel
-
runOrder
Description copied from interface:OrderUtilityRun order.- Specified by:
runOrderin interfaceOrderUtility- Parameters:
order- the order
-
getCalculationService
-
setCalculationService
-
setModelService
-
getModelService
-
setOrderService
-
getOrderService
-