Example #1
0
 public void Fund(PaymentAccount paymentAccount, float amount)
 {
     if (paymentAccount == null)
     {
         return;
     }
     paymentAccount.Fund(amount);
 }
Example #2
0
        public bool Charge(PaymentAccount paymentAccount, float amount)
        {
            if (paymentAccount == null)
            {
                return(false);
            }

            return(paymentAccount.Charge(amount));
        }