public static Money computeAdjustmentValue(Money currentPriceDetailValue, BigDecimal offerUnitValue, OfferHolder offerHolder, PromotionRounding rounding) {
Offer offer = offerHolder.getOffer();
BroadleafCurrency currency = offerHolder.getCurrency();
OfferDiscountType discountType = offer.getDiscountType();
Money adjustmentValue;
if (currency != null) {
adjustmentValue = new Money(currency);
} else {
adjustmentValue = new Money();