Esempio n. 1
0
        public override int GetHashCode()
        {
            int hashCode = 858792878;

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

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

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

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

            return(hashCode);
        }
        public override int GetHashCode()
        {
            int hashCode = -598612092;

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

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

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

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

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

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

            return(hashCode);
        }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hashCode = -1155387790;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            return(hashCode);
        }