Interface CreateOrder
- All Known Implementing Classes:
CreateOrderImpl
public interface CreateOrder
This interaction object is used to create an order out of an existing document.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateOrderFromBasket(Basket source, Order destination, boolean isBasketLinkedToOrder, TransactionConfiguration config) Create an order with the data of a basket.
-
Method Details
-
createOrderFromBasket
void createOrderFromBasket(Basket source, Order destination, boolean isBasketLinkedToOrder, TransactionConfiguration config) throws CommunicationException, BusinessObjectException Create an order with the data of a basket.- Parameters:
source- Basket which an order should be created ofdestination- Order to createisBasketLinkedToOrder- is basket linked to order?config- Configuration to use this creation- Throws:
CommunicationException- the communication with the back end failedBusinessObjectException
-