public override int GetHashCode() { int hash = 100003; int secondPrime = 70001; //NO SE HACE VALIDACION DE VALORES NULOS DADO QUE LOS ATRIBUTOS SON OBLIGATORIOS hash = hash * secondPrime + AuthenticationData.GetHashCode(); hash = hash * secondPrime + DeviceType.GetHashCode(); hash = hash * secondPrime + Amount.GetHashCode(); hash = hash * secondPrime + ExternalTransactionReference.GetHashCode(); hash = hash * secondPrime + MNO.GetHashCode(); hash = hash * secondPrime + Recipient.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 99907; int secondPrime = 67619; //NO SE HACE VALIDACION DE VALORES NULOS DADO QUE LOS ATRIBUTOS SON OBLIGATORIOS hash = hash * secondPrime + AuthenticationData.GetHashCode(); hash = hash * secondPrime + DeviceType.GetHashCode(); hash = hash * secondPrime + Amount.GetHashCode(); hash = hash * secondPrime + ExternalTransactionReference.GetHashCode(); hash = hash * secondPrime + Recipient.GetHashCode(); hash = hash * secondPrime + WalletType.GetHashCode(); hash = hash * secondPrime + (RecipientAccessId == null ? 0 : RecipientAccessId.GetHashCode()); hash = hash * secondPrime + (RecipientPdv == null ? 0 : RecipientPdv.GetHashCode()); hash = hash * secondPrime + (RequestDate == null ? 0 : RequestDate.GetHashCode()); hash = hash * secondPrime + (Comment == null ? 0 : Comment.GetHashCode()); return(hash); }