public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is OrderLineItemPricingBlocklistsBlockedTax other && ((Uid == null && other.Uid == null) || (Uid?.Equals(other.Uid) == true)) && ((TaxUid == null && other.TaxUid == null) || (TaxUid?.Equals(other.TaxUid) == true)) && ((TaxCatalogObjectId == null && other.TaxCatalogObjectId == null) || (TaxCatalogObjectId?.Equals(other.TaxCatalogObjectId) == true))); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is OrderLineItemAppliedTax other && ((Uid == null && other.Uid == null) || (Uid?.Equals(other.Uid) == true)) && ((TaxUid == null && other.TaxUid == null) || (TaxUid?.Equals(other.TaxUid) == true)) && ((AppliedMoney == null && other.AppliedMoney == null) || (AppliedMoney?.Equals(other.AppliedMoney) == true))); }