public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.payDate) { hashcode = (hashcode * 397) + PayDate.GetHashCode(); } if (__isset.coinBalance) { hashcode = (hashcode * 397) + CoinBalance.GetHashCode(); } if (__isset.coin) { hashcode = (hashcode * 397) + Coin.GetHashCode(); } if (__isset.price) { hashcode = (hashcode * 397) + Price.GetHashCode(); } if (__isset.title) { hashcode = (hashcode * 397) + Title.GetHashCode(); } if (__isset.refund) { hashcode = (hashcode * 397) + Refund.GetHashCode(); } if (__isset.paySeq) { hashcode = (hashcode * 397) + PaySeq.GetHashCode(); } if (__isset.currency) { hashcode = (hashcode * 397) + Currency.GetHashCode(); } if (__isset.currencySign) { hashcode = (hashcode * 397) + CurrencySign.GetHashCode(); } if (__isset.displayPrice) { hashcode = (hashcode * 397) + DisplayPrice.GetHashCode(); } if (__isset.payload) { hashcode = (hashcode * 397) + Payload.GetHashCode(); } if (__isset.channelId) { hashcode = (hashcode * 397) + ChannelId.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { unchecked { var hashCode = Date.GetHashCode(); hashCode = (hashCode * 397) ^ PayDate.GetHashCode(); hashCode = (hashCode * 397) ^ (Currency != null ? Currency.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FinancingId != null ? FinancingId.GetHashCode() : 0); return(hashCode); } }