public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ CardNumber.GetHashCode(); hashCode = (hashCode * 397) ^ GeneratedAt.GetHashCode(); return(hashCode); } }
//Auto-generated public override int GetHashCode() { var hashCode = 189736765; hashCode = hashCode * -1521134295 + CardNumber.GetHashCode(); hashCode = hashCode * -1521134295 + CCV.GetHashCode(); hashCode = hashCode * -1521134295 + Amount.GetHashCode(); hashCode = hashCode * -1521134295 + Timestamp.GetHashCode(); return(hashCode); }
//Auto-generated public override int GetHashCode() { var hashCode = 189736765; hashCode = hashCode * -1521134295 + CardNumber.GetHashCode(); hashCode = hashCode * -1521134295 + CCV.GetHashCode(); hashCode = hashCode * -1521134295 + Amount.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(SupplierId); hashCode = hashCode * -1521134295 + Timestamp.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = UserId; hashCode = (hashCode * 397) ^ Name.GetHashCode(); hashCode = (hashCode * 397) ^ CardNumber.GetHashCode(); hashCode = (hashCode * 397) ^ PersonalNumericalCode.GetHashCode(); hashCode = (hashCode * 397) ^ Address.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + (CardNumber == null ? 0 : CardNumber.GetHashCode()); hash = hash * 23 + (CardType == null ? 0 : CardType.GetHashCode()); hash = hash * 23 + (ExpMonth == default(byte) ? 0 : ExpMonth.GetHashCode()); hash = hash * 23 + (ExpYear == default(short) ? 0 : ExpYear.GetHashCode()); hash = hash * 23 + (ModifiedDate == default(DateTime) ? 0 : ModifiedDate.GetHashCode()); return(hash); } }
public override int GetHashCode() { unchecked { var hashCode = (GuestName != null ? GuestName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (GuestPhone != null ? GuestPhone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (GuestMailingAddress != null ? GuestMailingAddress.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DateAttending != null ? DateAttending.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CardNumber != null ? CardNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CardExpirationDate != null ? CardExpirationDate.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CardVerificationValue != null ? CardVerificationValue.GetHashCode() : 0); return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Id != null) { hashCode = hashCode * 59 + Id.GetHashCode(); } if (CurrencyCode != null) { hashCode = hashCode * 59 + CurrencyCode.GetHashCode(); } if (Amount != null) { hashCode = hashCode * 59 + Amount.GetHashCode(); } if (CVC != null) { hashCode = hashCode * 59 + CVC.GetHashCode(); } if (CardNumber != null) { hashCode = hashCode * 59 + CardNumber.GetHashCode(); } if (FullName != null) { hashCode = hashCode * 59 + FullName.GetHashCode(); } if (CardExpiryDate != null) { hashCode = hashCode * 59 + CardExpiryDate.GetHashCode(); } if (RequestDate != null) { hashCode = hashCode * 59 + RequestDate.GetHashCode(); } if (SendingBankName != null) { hashCode = hashCode * 59 + SendingBankName.GetHashCode(); } if (RecievingBankName != null) { hashCode = hashCode * 59 + RecievingBankName.GetHashCode(); } return(hashCode); } }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (PaymentMethod?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CardholderName?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CardNumber?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CCV?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ExpirationMonth?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ExpirationYear?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (IBANNumber?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (BankName?.GetHashCode() ?? 0); return(hashCode); }
public override int GetHashCode() { var hashCode = 1007649997; hashCode = hashCode * -1521134295 + DeliveryId.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(DeliveryDate); hashCode = hashCode * -1521134295 + DeliveryPrice.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(DeliveryAddress); hashCode = hashCode * -1521134295 + CardNumber.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Description); return(hashCode); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (CardNumber != null) { hashCode = hashCode * 59 + CardNumber.GetHashCode(); } if (ExpiryDate != null) { hashCode = hashCode * 59 + ExpiryDate.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (CardNumber.Length != 0) { hash ^= CardNumber.GetHashCode(); } if (Cvc.Length != 0) { hash ^= Cvc.GetHashCode(); } if (ExpiryMonth != 0) { hash ^= ExpiryMonth.GetHashCode(); } if (FourDigitExpiryYear != 0) { hash ^= FourDigitExpiryYear.GetHashCode(); } if (Zipcode.Length != 0) { hash ^= Zipcode.GetHashCode(); } if (CardholderName.Length != 0) { hash ^= CardholderName.GetHashCode(); } if (IsVirtualCard != false) { hash ^= IsVirtualCard.GetHashCode(); } if (virtualCardLimit_ != null) { hash ^= VirtualCardLimit.GetHashCode(); } if (virtualCardAvailableOn_ != null) { hash ^= VirtualCardAvailableOn.GetHashCode(); } if (virtualCardExpiresOn_ != null) { hash ^= VirtualCardExpiresOn.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (cardMerchant_ != null) { hash ^= CardMerchant.GetHashCode(); } if (CardNumber.Length != 0) { hash ^= CardNumber.GetHashCode(); } if (searchRange_ != null) { hash ^= SearchRange.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(Name.GetHashCode() | CardNumber.GetHashCode() | AmountToPay.GetHashCode()); }
public override int GetHashCode() { return(CardNumber.GetHashCode()); }