moved cardtype logic into CreditCardPaymentTypeViewModel