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; }
internal Voucher(string code, string type, int value, int currentUses, int maxUses) { Code = code; Type = VoucherUtility.GetType(type); Value = value; CurrentUses = currentUses; MaxUses = maxUses; }