public class DefaultOrderInfoContextDtoFactory extends Object implements OrderInfoContextDtoFactory<OrderInfoContextDto>
| Constructor and Description |
|---|
DefaultOrderInfoContextDtoFactory() |
| Modifier and Type | Method and Description |
|---|---|
OrderInfoContextDto |
createOrderInfoContextDto(OrderModel order)
Initializes this dto with values form the order to be used by velocity or anyother rendering engine.
|
protected List<OrderInfoContextDto.OrderEntryInfoContextDto> |
createOrderInfoEntries(OrderModel order) |
protected B2BCurrencyConversionService |
getB2bCurrencyConversionService() |
protected B2BOrderService |
getB2BOrderService() |
protected CommonI18NService |
getCommonI18NService() |
protected ConfigurationService |
getConfigurationService() |
void |
setAllStringAttributesToEmpty(Object ctx)
Initialize all the class fields of type String to an empty string.
|
void |
setB2bCurrencyConversionService(B2BCurrencyConversionService b2bCurrencyConversionService) |
void |
setB2BOrderService(B2BOrderService b2bOrderService) |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setConfigurationService(ConfigurationService configurationService) |
protected List<OrderInfoContextDto.OrderEntryInfoContextDto> createOrderInfoEntries(OrderModel order)
public OrderInfoContextDto createOrderInfoContextDto(OrderModel order)
createOrderInfoContextDto in interface OrderInfoContextDtoFactory<OrderInfoContextDto>order - A hybris Order modelpublic void setAllStringAttributesToEmpty(Object ctx)
ctx - the new all string attributes to emptyprotected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
protected B2BCurrencyConversionService getB2bCurrencyConversionService()
public void setB2bCurrencyConversionService(B2BCurrencyConversionService b2bCurrencyConversionService)
protected B2BOrderService getB2BOrderService()
public void setB2BOrderService(B2BOrderService b2bOrderService)
Copyright © 2017 SAP SE. All Rights Reserved.