Interface PlaceOrderStrategy
-
- All Known Implementing Classes:
DefaultB2BPlaceOrderStrategy,DefaultPlaceOrderStrategy
@Deprecated public interface PlaceOrderStrategyDeprecated.since ages - Obsolete strategy definition. UseCreateOrderFromCartStrategyfor order placement instead.The place order strategy.- Spring Bean ID:
- placeOrderStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description OrderModelplaceOrder(CartModel cart, AddressModel deliveryAddress, AddressModel paymentAddress, PaymentInfoModel paymentInfo)Deprecated.Place the order for the givencart.
-
-
-
Method Detail
-
placeOrder
OrderModel placeOrder(CartModel cart, AddressModel deliveryAddress, AddressModel paymentAddress, PaymentInfoModel paymentInfo) throws InvalidCartException
Deprecated.Place the order for the givencart. This means: first the cart is calculated (seeOrderService.calculateOrder(de.hybris.platform.core.model.order.AbstractOrderModel)than (if notnull) thedeliveryAddressandpaymentAddressandpaymentInfoare stored for the current session user and also to the cart. After this from thecartanOrderModelis created and the cart is removed from the session.- Parameters:
cart- theCartModeldeliveryAddress- the deliveryAddressModelfor the current session user. Can benull.paymentAddress- the paymentAddressModelfor the current session user. Can benull.paymentInfo- thePaymentInfoModelfor the current session user. Can benull.- Returns:
- the
OrderModel - Throws:
InvalidCartException
-
-