Class SkuLocationInfoItem


  • public final class SkuLocationInfoItem
    extends Object
    The locations and zones info for SKU.
    • Constructor Detail

      • SkuLocationInfoItem

        public SkuLocationInfoItem()
    • Method Detail

      • location

        public String location()
        Get the location property: The available location of the SKU.
        Returns:
        the location value.
      • withLocation

        public SkuLocationInfoItem withLocation​(String location)
        Set the location property: The available location of the SKU.
        Parameters:
        location - the location value to set.
        Returns:
        the SkuLocationInfoItem object itself.
      • zones

        public List<String> zones()
        Get the zones property: The available zone of the SKU.
        Returns:
        the zones value.
      • withZones

        public SkuLocationInfoItem withZones​(List<String> zones)
        Set the zones property: The available zone of the SKU.
        Parameters:
        zones - the zones value to set.
        Returns:
        the SkuLocationInfoItem object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.