public override int GetHashCode() { int hash = 1; if (groupBookingIndicator_ != null) { hash ^= GroupBookingIndicator.GetHashCode(); } if (paymentId_ != null) { hash ^= PaymentId.GetHashCode(); } if (PaymentDate.Length != 0) { hash ^= PaymentDate.GetHashCode(); } if (PaymentReference.Length != 0) { hash ^= PaymentReference.GetHashCode(); } if (PaymentType.Length != 0) { hash ^= PaymentType.GetHashCode(); } if (creditAmount_ != null) { hash ^= CreditAmount.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(PaymentDate.GetHashCode() ^ PaymentDeliveryDate.GetHashCode() ^ PaymentType.GetHashCode() ^ Currency.GetHashCode() ^ BankCountry.GetHashCode()); }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (PaymentAmount?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Receipt?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (PaymentDate?.GetHashCode() ?? 0); return(hashCode); }
public override int GetHashCode() { int hashCode = 137802613; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(CardNumber); hashCode = hashCode * -1521134295 + Amount.GetHashCode(); hashCode = hashCode * -1521134295 + PaymentDate.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Currency); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(PaymentStatus); return(hashCode); }