Pseudo-Algorithm for ValidatePayment
Check what kind of payment is entered by checking the PO Number and Credit Card Number input arguments.
If PO Number has a value, then the payment information is valid.
If Credit Card Number has a value, then get all the required fields.
Pass the credit card information to the Credit Card Transaction Service business service to validate the information.