Пример #1
0
 /// <summary>
 /// Class constructor requires all mandatory fields.
 /// </summary>
 public Store(int id, string name, IEnumerable <Operator> operators, AntiFraudInfo antiFraud, string merchantId, string ip, Person owner)
 {
     ID            = id;
     Name          = name;
     Operators     = operators;
     AntiFraudInfo = antiFraud;
     MerchantId    = merchantId;
     IpAddress     = ip;
     Owner         = owner;
 }
Пример #2
0
 /// <summary>
 /// Equality implementation.
 /// </summary>
 /// <param name="other">Other AntiFraudInfo instance</param>
 public bool Equals(AntiFraudInfo other)
 {
     return(ApiKey == other.ApiKey && LoginToken == other.LoginToken);
 }