public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DeliveryDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (OrderQuantity?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (OrderDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (InvoiceId?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (InvoiceDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (FundedRate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (InterestRate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (TotalValue?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (FundingValue?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (PaymentId?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (PayementDate?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CreditNoteNumber?.GetHashCode() ?? 0); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = (InvoiceId != null ? InvoiceId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ InvoiceNumber; hashCode = (hashCode * 397) ^ (InvoiceNumberAsString != null ? InvoiceNumberAsString.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Total.GetHashCode(); hashCode = (hashCode * 397) ^ Subtotal.GetHashCode(); hashCode = (hashCode * 397) ^ Tax.GetHashCode(); hashCode = (hashCode * 397) ^ TaxPercentage.GetHashCode(); hashCode = (hashCode * 397) ^ InvoiceDate.GetHashCode(); hashCode = (hashCode * 397) ^ (ContractName != null ? ContractName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ PeriodStartDate.GetHashCode(); hashCode = (hashCode * 397) ^ PeriodEndDate.GetHashCode(); hashCode = (hashCode * 397) ^ (Currency != null ? Currency.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (From != null ? From.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (To != null ? To.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (LineItems?.Sum(x => x.GetHashCode()) ?? 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (invoiceId_ != null) { hash ^= InvoiceId.GetHashCode(); } if (reservationId_ != null) { hash ^= ReservationId.GetHashCode(); } if (amount_ != null) { hash ^= Amount.GetHashCode(); } if (payment_ != null) { hash ^= Payment.GetHashCode(); } if (taxes_ != null) { hash ^= Taxes.GetHashCode(); } if (fees_ != null) { hash ^= Fees.GetHashCode(); } if (charges_ != null) { hash ^= Charges.GetHashCode(); } if (Voided != false) { hash ^= Voided.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (groupBookingId_ != null) { hash ^= GroupBookingId.GetHashCode(); } if (InvoiceNumber != 0) { hash ^= InvoiceNumber.GetHashCode(); } if (invoiceId_ != null) { hash ^= InvoiceId.GetHashCode(); } if (Voided != false) { hash ^= Voided.GetHashCode(); } if (createdBy_ != null) { hash ^= CreatedBy.GetHashCode(); } if (voidedBy_ != null) { hash ^= VoidedBy.GetHashCode(); } if (voidedAt_ != null) { hash ^= VoidedAt.GetHashCode(); } if (createdAt_ != null) { hash ^= CreatedAt.GetHashCode(); } return(hash); }