this.discountRate = discountRate;
this.growthRate = growthRate;
this.periods = periods;
}
@Override
<BUG>public <T extends MonetaryAmount> T apply(T amount) {
return (T) PresentValueGrowingAnnuityPayment.of().calculate(amount,
discountRate, growthRate, periods);</BUG>
}
@Override

this.discountRate = discountRate;
this.growthRate = growthRate;
this.periods = periods;
}
@Override
public MonetaryAmount apply(MonetaryAmount amount) {
return PresentValueGrowingAnnuityPayment.of().calculate(amount,
discountRate, growthRate, periods);
}
@Override
