add function: creditCard in CheckOutScenario.java