public bool Equals(OneTimeProductListResponse other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(OneTimeProducts.SequenceEqual(other.OneTimeProducts)); }
public override int GetHashCode() { return(OneTimeProducts != null ? OneTimeProducts.GetHashCode() : 0); }