public override int GetHashCode()
        {
            int hashCode = -1105954045;

            if (AutoApplyDiscounts != null)
            {
                hashCode += AutoApplyDiscounts.GetHashCode();
            }

            if (AutoApplyTaxes != null)
            {
                hashCode += AutoApplyTaxes.GetHashCode();
            }

            return(hashCode);
        }
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            if (obj == this)
            {
                return(true);
            }

            return(obj is OrderPricingOptions other &&
                   ((AutoApplyDiscounts == null && other.AutoApplyDiscounts == null) || (AutoApplyDiscounts?.Equals(other.AutoApplyDiscounts) == true)) &&
                   ((AutoApplyTaxes == null && other.AutoApplyTaxes == null) || (AutoApplyTaxes?.Equals(other.AutoApplyTaxes) == true)));
        }
 protected void ToString(List <string> toStringOutput)
 {
     toStringOutput.Add($"AutoApplyDiscounts = {(AutoApplyDiscounts == null ? "null" : AutoApplyDiscounts.ToString())}");
     toStringOutput.Add($"AutoApplyTaxes = {(AutoApplyTaxes == null ? "null" : AutoApplyTaxes.ToString())}");
 }