Changed PaymentTypes object to be non static and added helper function instead