}
for (Map.Entry<Long, CalculationPriceSetItemDto> mapEntry : pricingProcessorResult.getTypeIdToCalculationPriceSetItemMap().entrySet()) {
CalculationPriceSetItemDto calculationPriceSetItemDto = mapEntry.getValue();
ComputableCalculationPriceSetItem computableCalculationPriceSetItem = typeIdToComputableCalculationPriceSetItemMap.get(mapEntry.getKey());
computableCalculationPriceSetItem.setCalculationPriceSetItem(calculationPriceSetItemDto);
computableCalculationPriceSetItem.recalculate();
}
computableCalculation.getCalculation().setPrice(pricingProcessorResult.getTotalPrice());
computableCalculation.recalculate(calculator);
return pricingProcessorResult;
}