Exemple #1
0
 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;
 }
Exemple #2
0
 public Voucher(string code, string type, int value, int currentUses, int maxUses)
 {
     _code        = code;
     _type        = VoucherUtility.GetType(type);
     _value       = value;
     _currentUses = currentUses;
     _maxUses     = maxUses;
 }