Java Factory Design Pattern Payment Application