Class SkuInventoryAvailabilitySummary

  • All Implemented Interfaces:
    Serializable

    public class SkuInventoryAvailabilitySummary
    extends Object
    implements Serializable
    Provides a data structure to simply indicate if the SKU is available without disclosing the quantity available. Summary availability.
    Author:
    Kelly Tisdell (ktisdell)
    See Also:
    Serialized Form
    • Constructor Detail

      • SkuInventoryAvailabilitySummary

        public SkuInventoryAvailabilitySummary()
    • Method Detail

      • isAvailable

        public boolean isAvailable()
      • getInventoryLocationId

        public String getInventoryLocationId()
      • getSkuRef

        public SkuRef getSkuRef()
      • getVendorRef

        @Nullable
        public String getVendorRef()
        Soft reference to the vendor associated with this sku inventory. This value can be null, in which case, no vendor is associated.
        Returns:
        Soft reference to the vendor associated with this sku inventory.
      • setAvailable

        public void setAvailable​(boolean available)
      • setInventoryLocationId

        public void setInventoryLocationId​(String inventoryLocationId)
      • setSkuRef

        public void setSkuRef​(SkuRef skuRef)
      • setVendorRef

        public void setVendorRef​(@Nullable
                                 String vendorRef)
        Soft reference to the vendor associated with this sku inventory. This value can be null, in which case, no vendor is associated.
        Parameters:
        vendorRef - Soft reference to the vendor associated with this sku inventory.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object