Class DefaultOneOrderOSINBaggageAllowanceListTypeHandler
java.lang.Object
de.hybris.platform.oneorderfacades.handlers.osin.impl.DefaultOneOrderOSINBaggageAllowanceListTypeHandler
- All Implemented Interfaces:
OneOrderOSINDataListsHandler
public class DefaultOneOrderOSINBaggageAllowanceListTypeHandler
extends Object
implements OneOrderOSINDataListsHandler
The One Order implementation of
OneOrderOSINDataListsHandler interface. This handler populates the BaggageAllowanceList
type in the dataList attribute.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MeasureTypeCalculate max weight measure type.protected BaggageAllowanceTypeCreate baggage allowance baggage allowance type.protected de.hybris.platform.servicelayer.config.ConfigurationServiceGets the configurationServicevoidhandle(OrderModel orderModel, DataListsType dataListsType) Gets the hold item entries from the orderModel and creates a list of baggageAllowance types.voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets the configurationService
-
Constructor Details
-
DefaultOneOrderOSINBaggageAllowanceListTypeHandler
public DefaultOneOrderOSINBaggageAllowanceListTypeHandler()
-
-
Method Details
-
handle
Gets the hold item entries from the orderModel and creates a list of baggageAllowance types.- Specified by:
handlein interfaceOneOrderOSINDataListsHandler- Parameters:
orderModel- the orderModeldataListsType- the dataListsType
-
createBaggageAllowance
Create baggage allowance baggage allowance type.- Parameters:
product- the product- Returns:
- the baggage allowance type
-
calculateMaxWeight
Calculate max weight measure type.- Parameters:
product- the product- Returns:
- the big decimal
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()Gets the configurationService- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets the configurationService- Parameters:
configurationService- the configurationService
-