public interface OrderUtility
| Modifier and Type | Method and Description |
|---|---|
OrderModel |
createOrderFromCart(CartModel cart,
AddressModel deliveryAddress,
AddressModel paymentAddress,
PaymentInfoModel paymentInfo)
Creates the order from cart.
|
OrderModel |
createOrderFromOrderTemplate(OrderModel template)
Creates the order from order template.
|
void |
runOrder(OrderModel order)
Run order.
|
OrderModel |
runScheduledOrder(OrderModel order)
Run scheduled order.
|
void runOrder(OrderModel order)
order - the orderOrderModel createOrderFromOrderTemplate(OrderModel template)
template - the templateOrderModel createOrderFromCart(CartModel cart, AddressModel deliveryAddress, AddressModel paymentAddress, PaymentInfoModel paymentInfo) throws InvalidCartException
cart - the cartInvalidCartExceptionOrderModel runScheduledOrder(OrderModel order)
order - the orderCopyright © 2017 SAP SE. All Rights Reserved.