/// <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); } }