Class DefaultCommercePlaceOrderStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.impl.DefaultCommercePlaceOrderStrategy
-
- All Implemented Interfaces:
CommercePlaceOrderStrategy
public class DefaultCommercePlaceOrderStrategy extends java.lang.Object implements CommercePlaceOrderStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultCommercePlaceOrderStrategy()
-
Method Summary
-
-
-
Method Detail
-
placeOrder
public CommerceOrderResult placeOrder(CommerceCheckoutParameter parameter) throws InvalidCartException
- Specified by:
placeOrder
in interfaceCommercePlaceOrderStrategy
- Returns:
- the order that has been created
- Throws:
InvalidCartException
-
beforeSubmitOrder
protected void beforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) throws InvalidCartException
- Throws:
InvalidCartException
-
afterPlaceOrder
protected void afterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) throws InvalidCartException
- Throws:
InvalidCartException
-
beforePlaceOrder
protected void beforePlaceOrder(CommerceCheckoutParameter parameter) throws InvalidCartException
- Throws:
InvalidCartException
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getDeliveryService
protected DeliveryService getDeliveryService()
-
setDeliveryService
public void setDeliveryService(DeliveryService deliveryService)
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
getPaymentService
protected PaymentService getPaymentService()
-
setPaymentService
public void setPaymentService(PaymentService paymentService)
-
getOrderService
protected OrderService getOrderService()
-
setOrderService
public void setOrderService(OrderService orderService)
-
getBaseSiteService
protected BaseSiteService getBaseSiteService()
-
setBaseSiteService
public void setBaseSiteService(BaseSiteService siteService)
-
getBaseStoreService
protected BaseStoreService getBaseStoreService()
-
setBaseStoreService
public void setBaseStoreService(BaseStoreService service)
-
getPromotionsService
protected PromotionsService getPromotionsService()
-
setPromotionsService
public void setPromotionsService(PromotionsService promotionsService)
-
getCalculationService
protected CalculationService getCalculationService()
-
setCalculationService
public void setCalculationService(CalculationService calculationService)
-
getExternalTaxesService
public ExternalTaxesService getExternalTaxesService()
-
setExternalTaxesService
public void setExternalTaxesService(ExternalTaxesService externalTaxesService)
-
getCommercePlaceOrderMethodHooks
protected java.util.List<CommercePlaceOrderMethodHook> getCommercePlaceOrderMethodHooks()
-
setCommercePlaceOrderMethodHooks
public void setCommercePlaceOrderMethodHooks(java.util.List<CommercePlaceOrderMethodHook> commercePlaceOrderMethodHooks)
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
getTimeService
public TimeService getTimeService()
-
setTimeService
public void setTimeService(TimeService timeService)
-
-