public decimal Withdraw(ICashWihdrawal card, decimal amount) { return(card.AtmWithdraw(amount)); }
public void PaymentWithdraw(ICashWihdrawal card, string paymentDetails, decimal amount) { card.AtmWithdraw(amount); //Logic for transfering money to another account }