ChargebackAmountNotification notification = new ChargebackAmountNotification(
notificationString);
return processor.process(notification);
}
if (notificationString.indexOf("authorization-amount-notification") > -1) {
AuthorizationAmountNotificationProcessor processor = new AuthorizationAmountNotificationProcessorImpl(
mc);
AuthorizationAmountNotification notification = new AuthorizationAmountNotification(
notificationString);
return processor.process(notification);
}
throw new Exception("Notification not recoginsed.");
}