Class GroupOrderConsignmentEntryPopulator
java.lang.Object
de.hybris.platform.commercefacades.order.converters.populator.GroupOrderEntryPopulator<OrderModel,OrderData>
de.hybris.platform.commercefacades.order.converters.populator.GroupOrderConsignmentEntryPopulator
- All Implemented Interfaces:
Populator<OrderModel,OrderData>
public class GroupOrderConsignmentEntryPopulator
extends GroupOrderEntryPopulator<OrderModel,OrderData>
-
Field Summary
Fields inherited from class de.hybris.platform.commercefacades.order.converters.populator.GroupOrderEntryPopulator
INVALID_ENTRY_NUMBER, VARIANT_TYPE, ZERO_QUANTITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconsolidateGroupedConsignmentOrderEntry(Map<String, ConsignmentEntryData> baseProductGroupConsignmentEntryMap) protected List<ConsignmentEntryData>groupConsignmentEntries(List<ConsignmentEntryData> entries, OrderData order) voidpopulate(OrderModel source, OrderData target) Populate the target instance with values from the source instance.Methods inherited from class de.hybris.platform.commercefacades.order.converters.populator.GroupOrderEntryPopulator
buildPrice, consolidateGroupedOrderEntry, createBaseProduct, createGroupedOrderEntry, createRootGroup, getEntryGroupUtils, getMaxPrice, getMinPrice, getPriceDataFactory, getProductService, getTotalPrice, getTotalQuantity, groupEntries, isGroupable, isNotEmptyPrice, populate, setEntryGroups, setEntryGroupUtils, setPriceDataFactory, setProductService, unwrapEntry
-
Constructor Details
-
GroupOrderConsignmentEntryPopulator
public GroupOrderConsignmentEntryPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
groupConsignmentEntries
protected List<ConsignmentEntryData> groupConsignmentEntries(List<ConsignmentEntryData> entries, OrderData order) -
consolidateGroupedConsignmentOrderEntry
protected void consolidateGroupedConsignmentOrderEntry(Map<String, ConsignmentEntryData> baseProductGroupConsignmentEntryMap)
-