protected Voucher(IDictionary <Match, int> matches, int tax, Bookmaker bookmaker, int cash) { CashIn = cash; Matches = matches; Id = Guid.NewGuid(); Tax = tax; Bookmaker = bookmaker; }
public static Voucher Create(IDictionary <Match, int> matches, int tax, Bookmaker SportsBetting, int cash) => new Voucher(matches, tax, SportsBetting, cash);