return certificateRequestEvent.isUrgentRequest();
}
@Override
protected Money doCalculationForAmountToPay(Event event, DateTime when, boolean applyDiscount) {
final CertificateRequestEvent certificateRequestEvent = (CertificateRequestEvent) event;
Money totalAmountToPay =
isUrgent(certificateRequestEvent) ? getBaseAmount().multiply(BigDecimal.valueOf(2)).add(getAmountForUnits(event)) : super
.doCalculationForAmountToPay(event, when, applyDiscount);
totalAmountToPay = totalAmountToPay.add(calculateAmountToPayForPages(certificateRequestEvent));