public Voucher(string Code, string Type, int Value, int CurrentUses, int MaxUses) { this._code = Code; this._type = VoucherUtility.GetType(Type); this._value = Value; this._currentUses = CurrentUses; this._maxUses = MaxUses; }
public Voucher(string code, string type, int value, int currentUses, int maxUses) { _code = code; _type = VoucherUtility.GetType(type); _value = value; _currentUses = currentUses; _maxUses = maxUses; }