/// <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 (Fees != null) { hashCode = hashCode * 59 + Fees.GetHashCode(); } if (Applications != null) { hashCode = hashCode * 59 + Applications.GetHashCode(); } if (MinimumRate != null) { hashCode = hashCode * 59 + MinimumRate.GetHashCode(); } if (MaximumRate != null) { hashCode = hashCode * 59 + MaximumRate.GetHashCode(); } 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 (Type != null) { hashCode = hashCode * 59 + Type.GetHashCode(); } if (Fees != null) { hashCode = hashCode * 59 + Fees.GetHashCode(); } if (InterestRate != null) { hashCode = hashCode * 59 + InterestRate.GetHashCode(); } if (RequiredWarranties != null) { hashCode = hashCode * 59 + RequiredWarranties.GetHashCode(); } if (TermsConditions != null) { hashCode = hashCode * 59 + TermsConditions.GetHashCode(); } 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 (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Identification != null) { hashCode = hashCode * 59 + Identification.GetHashCode(); } if (RewardsProgram != null) { hashCode = hashCode * 59 + RewardsProgram.GetHashCode(); } if (Fees != null) { hashCode = hashCode * 59 + Fees.GetHashCode(); } if (Interest != null) { hashCode = hashCode * 59 + Interest.GetHashCode(); } if (TermsConditions != null) { hashCode = hashCode * 59 + TermsConditions.GetHashCode(); } 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 (Bsb != null) { hashCode = hashCode * 59 + Bsb.GetHashCode(); } if (AccountNumber != null) { hashCode = hashCode * 59 + AccountNumber.GetHashCode(); } if (BundleName != null) { hashCode = hashCode * 59 + BundleName.GetHashCode(); } if (SpecificAccountUType != null) { hashCode = hashCode * 59 + SpecificAccountUType.GetHashCode(); } if (TermDeposit != null) { hashCode = hashCode * 59 + TermDeposit.GetHashCode(); } if (CreditCard != null) { hashCode = hashCode * 59 + CreditCard.GetHashCode(); } if (Loan != null) { hashCode = hashCode * 59 + Loan.GetHashCode(); } if (Features != null) { hashCode = hashCode * 59 + Features.GetHashCode(); } if (Fees != null) { hashCode = hashCode * 59 + Fees.GetHashCode(); } if (DepositRates != null) { hashCode = hashCode * 59 + DepositRates.GetHashCode(); } if (LendingRates != null) { hashCode = hashCode * 59 + LendingRates.GetHashCode(); } if (Address != null) { hashCode = hashCode * 59 + Address.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (amount_ != null) { hash ^= Amount.GetHashCode(); } if (Narration.Length != 0) { hash ^= Narration.GetHashCode(); } if (ChargeCreditType != 0) { hash ^= ChargeCreditType.GetHashCode(); } if (effectiveForOpsdate_ != null) { hash ^= EffectiveForOpsdate.GetHashCode(); } if (effectiveAtClock_ != null) { hash ^= EffectiveAtClock.GetHashCode(); } if (incidentalItem_ != null) { hash ^= IncidentalItem.GetHashCode(); } if (incurredBy_ != null) { hash ^= IncurredBy.GetHashCode(); } if (IssuanceSchedule != 0) { hash ^= IssuanceSchedule.GetHashCode(); } if (enteredBy_ != null) { hash ^= EnteredBy.GetHashCode(); } if (id_ != null) { hash ^= Id.GetHashCode(); } if (taxes_ != null) { hash ^= Taxes.GetHashCode(); } if (fees_ != null) { hash ^= Fees.GetHashCode(); } hash ^= currentTaxAssessments_.GetHashCode(); return(hash); }
/// <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 (Type != null) { hashCode = hashCode * 59 + Type.GetHashCode(); } if (Fees != null) { hashCode = hashCode * 59 + Fees.GetHashCode(); } if (ServiceBundles != null) { hashCode = hashCode * 59 + ServiceBundles.GetHashCode(); } if (OpeningClosingChannels != null) { hashCode = hashCode * 59 + OpeningClosingChannels.GetHashCode(); } if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (TransactionMethods != null) { hashCode = hashCode * 59 + TransactionMethods.GetHashCode(); } if (TermsConditions != null) { hashCode = hashCode * 59 + TermsConditions.GetHashCode(); } if (IncomeRate != null) { hashCode = hashCode * 59 + IncomeRate.GetHashCode(); } 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); }
/// <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 (Bundles != null) { hashCode = hashCode * 59 + Bundles.GetHashCode(); } if (Features != null) { hashCode = hashCode * 59 + Features.GetHashCode(); } if (Constraints != null) { hashCode = hashCode * 59 + Constraints.GetHashCode(); } if (Eligibility != null) { hashCode = hashCode * 59 + Eligibility.GetHashCode(); } if (Fees != null) { hashCode = hashCode * 59 + Fees.GetHashCode(); } if (DepositRates != null) { hashCode = hashCode * 59 + DepositRates.GetHashCode(); } if (LendingRates != null) { hashCode = hashCode * 59 + LendingRates.GetHashCode(); } return(hashCode); } }