public static bool Equals(OutputArticle?left, OutputArticle?right) { bool result = ArticleId.Equals(left?.Id, right?.Id); result &= (result ? (left?.Packs.SequenceEqual(right?.Packs)).GetValueOrDefault() : false); return(result); }
public static bool Equals(ArticlePriceResponseArticle?left, ArticlePriceResponseArticle?right) { bool result = ArticleId.Equals(left?.Id, right?.Id); result &= (result ? (left?.PriceInformations.SequenceEqual(right?.PriceInformations)).GetValueOrDefault() : false); return(result); }
public static bool Equals(InitiateInputRequestArticle?left, InitiateInputRequestArticle?right) { bool result = ArticleId.Equals(left?.Id, right?.Id); result &= (result ? String.Equals(left?.FmdId, right?.FmdId, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? (left?.Packs.SequenceEqual(right?.Packs)).GetValueOrDefault() : false); return(result); }
public static bool Equals(StockDeliveryInfoArticle?left, StockDeliveryInfoArticle?right) { bool result = ArticleId.Equals(left?.Id, right?.Id); result &= (result ? (EqualityComparer <int?> .Default.Equals(left?.Quantity, right?.Quantity)) : false); result &= (result ? (left?.Packs.SequenceEqual(right?.Packs)).GetValueOrDefault() : false); return(result); }
public static bool Equals(ArticleInfoRequestArticle?left, ArticleInfoRequestArticle?right) { bool result = ArticleId.Equals(left?.Id, right?.Id); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.Depth, right?.Depth) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.Width, right?.Width) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.Height, right?.Height) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.Weight, right?.Weight) : false); return(result); }
public static bool Equals(ShoppingCartItem?left, ShoppingCartItem?right) { bool result = ArticleId.Equals(left?.ArticleId, right?.ArticleId); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.OrderedQuantity, right?.OrderedQuantity) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.DispensedQuantity, right?.DispensedQuantity) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.PaidQuantity, right?.PaidQuantity) : false); result &= (result ? EqualityComparer <decimal?> .Default.Equals(left?.Price, right?.Price) : false); result &= (result ? Iso4217Code.Equals(left?.Currency, right?.Currency) : false); return(result); }
public static bool Equals(StockInfoRequestCriteria?left, StockInfoRequestCriteria?right) { bool result = ArticleId.Equals(left?.ArticleId, right?.ArticleId); result &= (result ? String.Equals(left?.BatchNumber, right?.BatchNumber, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.ExternalId, right?.ExternalId, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.SerialNumber, right?.SerialNumber, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.MachineLocation, right?.MachineLocation, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? StockLocationId.Equals(left?.StockLocationId, right?.StockLocationId) : false); return(result); }
public static bool Equals(InitiateInputMessageArticle?left, InitiateInputMessageArticle?right) { bool result = ArticleId.Equals(left?.Id, right?.Id); result &= (result ? String.Equals(left?.Name, right?.Name, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.DosageForm, right?.DosageForm, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.PackagingUnit, right?.PackagingUnit, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.MaxSubItemQuantity, right?.MaxSubItemQuantity) : false); result &= (result ? (left?.Packs.SequenceEqual(right?.Packs)).GetValueOrDefault() : false); return(result); }
public static bool Equals(ArticleInfoResponseArticle?left, ArticleInfoResponseArticle?right) { bool result = ArticleId.Equals(left?.Id, right?.Id); result &= (result ? String.Equals(left?.Name, right?.Name, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.DosageForm, right?.DosageForm, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.PackagingUnit, right?.PackagingUnit, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? EqualityComparer <bool?> .Default.Equals(left?.RequiresFridge, right?.RequiresFridge) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.MaxSubItemQuantity, right?.MaxSubItemQuantity) : false); result &= (result ? PackDate.Equals(left?.SerialNumberSinceExpiryDate, right?.SerialNumberSinceExpiryDate) : false); return(result); }
public bool Equals(FlatESearchESumResult other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ArticleId.Equals(other.ArticleId)); }
public static bool Equals(OutputCriteria?left, OutputCriteria?right) { bool result = EqualityComparer <int?> .Default.Equals(left?.Quantity, right?.Quantity); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.SubItemQuantity, right?.SubItemQuantity) : false); result &= (result ? ArticleId.Equals(left?.ArticleId, right?.ArticleId) : false); result &= (result ? PackId.Equals(left?.PackId, right?.PackId) : false); result &= (result ? PackDate.Equals(left?.MinimumExpiryDate, right?.MinimumExpiryDate) : false); result &= (result ? String.Equals(left?.BatchNumber, right?.BatchNumber, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.ExternalId, right?.ExternalId, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.SerialNumber, right?.SerialNumber, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.MachineLocation, right?.MachineLocation, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? StockLocationId.Equals(left?.StockLocationId, right?.StockLocationId) : false); result &= (result ? EqualityComparer <bool?> .Default.Equals(left?.SingleBatchNumber, right?.SingleBatchNumber) : false); result &= (result ? (left?.Labels.SequenceEqual(right?.Labels)).GetValueOrDefault() : false); return(result); }
public static bool Equals(ArticleMasterSetArticle?left, ArticleMasterSetArticle?right) { bool result = ArticleId.Equals(left?.Id, right?.Id); result &= (result ? String.Equals(left?.Name, right?.Name, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.DosageForm, right?.DosageForm, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.PackagingUnit, right?.PackagingUnit, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? String.Equals(left?.MachineLocation, right?.MachineLocation, StringComparison.OrdinalIgnoreCase) : false); result &= (result ? StockLocationId.Equals(left?.StockLocationId, right?.StockLocationId) : false); result &= (result ? EqualityComparer <bool?> .Default.Equals(left?.RequiresFridge, right?.RequiresFridge) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.MaxSubItemQuantity, right?.MaxSubItemQuantity) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.Depth, right?.Depth) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.Width, right?.Width) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.Height, right?.Height) : false); result &= (result ? EqualityComparer <int?> .Default.Equals(left?.Weight, right?.Weight) : false); result &= (result ? PackDate.Equals(left?.SerialNumberSinceExpiryDate, right?.SerialNumberSinceExpiryDate) : false); result &= (result ? (left?.ProductCodes.SequenceEqual(right?.ProductCodes)).GetValueOrDefault() : false); return(result); }
public static bool Equals(ArticleSelectedArticle?left, ArticleSelectedArticle?right) { return(ArticleId.Equals(left?.Id, right?.Id)); }
public static bool Equals(ArticlePriceRequestArticle?left, ArticlePriceRequestArticle?right) { return(ArticleId.Equals(left?.Id, right?.Id)); }
public static bool Equals(AlternativeArticle?left, AlternativeArticle?right) { return(ArticleId.Equals(left?.Id, right?.Id)); }
public static bool Equals(CrossSellingArticle?left, CrossSellingArticle?right) { return(ArticleId.Equals(left?.Id, right?.Id)); }