public bool PayWtihBC( string BCId, string BCDateExpiration, string BCCryptogram ) { // TODO BC payement check with banks Bracket.AddTransaction(TransactionType.BC, GetRemainsDependent()); return(true); }
public void PayWithCash(double amount) { var remainAmount = GetRemainsDependent(); Bracket.AddTransaction(TransactionType.Cash, amount); if (amount == remainAmount) { Bracket.AddTransaction(TransactionType.CashChange, 0); } }
public void PayWithCheck(double amount) { Bracket.AddTransaction(TransactionType.Check, amount); }
public void PayWithBC(double amount) { Bracket.AddTransaction(TransactionType.BC, amount); }
public void GiveBackChange(double amount) { Bracket.AddTransaction(TransactionType.CashChange, amount); }