Class DefaultCommercePlaceOrderStrategy
java.lang.Object
de.hybris.platform.commerceservices.order.impl.DefaultCommercePlaceOrderStrategy
- All Implemented Interfaces:
CommercePlaceOrderStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterPlaceOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) protected voidbeforePlaceOrder(CommerceCheckoutParameter parameter) protected voidbeforeSubmitOrder(CommerceCheckoutParameter parameter, CommerceOrderResult result) protected BaseSiteServiceprotected BaseStoreServiceprotected CalculationServiceprotected List<CommercePlaceOrderMethodHook>protected CommonI18NServiceprotected ConfigurationServiceprotected DeliveryServiceprotected ModelServiceprotected OrderServiceprotected PaymentServiceprotected PromotionsServiceplaceOrder(CommerceCheckoutParameter parameter) voidsetBaseSiteService(BaseSiteService siteService) voidsetBaseStoreService(BaseStoreService service) voidsetCalculationService(CalculationService calculationService) voidsetCommercePlaceOrderMethodHooks(List<CommercePlaceOrderMethodHook> commercePlaceOrderMethodHooks) voidsetCommonI18NService(CommonI18NService commonI18NService) voidsetConfigurationService(ConfigurationService configurationService) voidsetDeliveryService(DeliveryService deliveryService) voidsetExternalTaxesService(ExternalTaxesService externalTaxesService) voidsetModelService(ModelService modelService) voidsetOrderService(OrderService orderService) voidsetPaymentService(PaymentService paymentService) voidsetPromotionsService(PromotionsService promotionsService) voidsetTimeService(TimeService timeService)
-
Constructor Details
-
DefaultCommercePlaceOrderStrategy
public DefaultCommercePlaceOrderStrategy()
-
-
Method Details
-
placeOrder
public CommerceOrderResult placeOrder(CommerceCheckoutParameter parameter) throws InvalidCartException - Specified by:
placeOrderin 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
- Throws:
InvalidCartException
-
getModelService
-
setModelService
-
getDeliveryService
-
setDeliveryService
-
getCommonI18NService
-
setCommonI18NService
-
getPaymentService
-
setPaymentService
-
getOrderService
-
setOrderService
-
getBaseSiteService
-
setBaseSiteService
-
getBaseStoreService
-
setBaseStoreService
-
getPromotionsService
-
setPromotionsService
-
getCalculationService
-
setCalculationService
-
getExternalTaxesService
-
setExternalTaxesService
-
getCommercePlaceOrderMethodHooks
-
setCommercePlaceOrderMethodHooks
public void setCommercePlaceOrderMethodHooks(List<CommercePlaceOrderMethodHook> commercePlaceOrderMethodHooks) -
getConfigurationService
-
setConfigurationService
-
getTimeService
-
setTimeService
-