/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Description != null) { hashCode = hashCode * 59 + Description.GetHashCode(); } if (MerchantSuppliedId != null) { hashCode = hashCode * 59 + MerchantSuppliedId.GetHashCode(); } if (Active != null) { hashCode = hashCode * 59 + Active.GetHashCode(); } if (SortId != null) { hashCode = hashCode * 59 + SortId.GetHashCode(); } if (MinNumOptions != null) { hashCode = hashCode * 59 + MinNumOptions.GetHashCode(); } if (MaxNumOptions != null) { hashCode = hashCode * 59 + MaxNumOptions.GetHashCode(); } if (NumFreeOptions != null) { hashCode = hashCode * 59 + NumFreeOptions.GetHashCode(); } if (MinOptionChoiceQuantity != null) { hashCode = hashCode * 59 + MinOptionChoiceQuantity.GetHashCode(); } if (MaxOptionChoiceQuantity != null) { hashCode = hashCode * 59 + MaxOptionChoiceQuantity.GetHashCode(); } if (MinAggregateOptionsQuantity != null) { hashCode = hashCode * 59 + MinAggregateOptionsQuantity.GetHashCode(); } if (MaxAggregateOptionsQuantity != null) { hashCode = hashCode * 59 + MaxAggregateOptionsQuantity.GetHashCode(); } if (Options != null) { hashCode = hashCode * 59 + Options.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Subtitle != null) { hashCode = hashCode * 59 + Subtitle.GetHashCode(); } if (MerchantSuppliedId != null) { hashCode = hashCode * 59 + MerchantSuppliedId.GetHashCode(); } if (Active != null) { hashCode = hashCode * 59 + Active.GetHashCode(); } if (SortId != null) { hashCode = hashCode * 59 + SortId.GetHashCode(); } if (Items != null) { hashCode = hashCode * 59 + Items.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Description != null) { hashCode = hashCode * 59 + Description.GetHashCode(); } if (MerchantSuppliedId != null) { hashCode = hashCode * 59 + MerchantSuppliedId.GetHashCode(); } if (Active != null) { hashCode = hashCode * 59 + Active.GetHashCode(); } if (IsAlcohol != null) { hashCode = hashCode * 59 + IsAlcohol.GetHashCode(); } if (IsBikeFriendly != null) { hashCode = hashCode * 59 + IsBikeFriendly.GetHashCode(); } if (SortId != null) { hashCode = hashCode * 59 + SortId.GetHashCode(); } if (Price != null) { hashCode = hashCode * 59 + Price.GetHashCode(); } if (BasePrice != null) { hashCode = hashCode * 59 + BasePrice.GetHashCode(); } if (Extras != null) { hashCode = hashCode * 59 + Extras.GetHashCode(); } if (TaxRate != null) { hashCode = hashCode * 59 + TaxRate.GetHashCode(); } if (OriginalImageUrl != null) { hashCode = hashCode * 59 + OriginalImageUrl.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Description != null) { hashCode = hashCode * 59 + Description.GetHashCode(); } if (MerchantSuppliedId != null) { hashCode = hashCode * 59 + MerchantSuppliedId.GetHashCode(); } if (Active != null) { hashCode = hashCode * 59 + Active.GetHashCode(); } if (Price != null) { hashCode = hashCode * 59 + Price.GetHashCode(); } if (BasePrice != null) { hashCode = hashCode * 59 + BasePrice.GetHashCode(); } if (Default != null) { hashCode = hashCode * 59 + Default.GetHashCode(); } if (SortId != null) { hashCode = hashCode * 59 + SortId.GetHashCode(); } if (TaxRate != null) { hashCode = hashCode * 59 + TaxRate.GetHashCode(); } if (Extras != null) { hashCode = hashCode * 59 + Extras.GetHashCode(); } return(hashCode); } }