Class SkuInventoryAvailabilitySummary

java.lang.Object
com.broadleafcommerce.cartoperation.domain.SkuInventoryAvailabilitySummary
All Implemented Interfaces:
Serializable

public class SkuInventoryAvailabilitySummary extends Object implements Serializable
See Also:
  • Constructor Details

    • SkuInventoryAvailabilitySummary

      public SkuInventoryAvailabilitySummary()
  • Method Details

    • isAvailable

      public boolean isAvailable()
      Indicates if the requested quantity is available.
      Returns:
    • getInventoryLocationId

      public String getInventoryLocationId()
      The Inventory Location for which this availability is indicated.
      Returns:
    • getSkuRef

      public InventorySkuRef getSkuRef()
      Holder of pointer(s) that reference the SKU. The default is skuCode.
      Returns:
    • getVendorRef

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

      public Map<String,Object> getAdditionalAttributes()
      Map holding any additional attributes passed in the request not matching any defined properties.
    • setAvailable

      public void setAvailable(boolean available)
      Indicates if the requested quantity is available.
      Parameters:
      available - - indicates if the quantity requested is available
    • setInventoryLocationId

      public void setInventoryLocationId(String inventoryLocationId)
      The Inventory Location for which this availability is indicated.
      Parameters:
      inventoryLocationId - - Indicates the Inventory Location that contains the Inventory.
    • setSkuRef

      public void setSkuRef(InventorySkuRef skuRef)
      Holder of pointer(s) that reference the SKU. The default is skuCode.
      Parameters:
      skuRef - - A generic holder for pointers that reference the SKU
    • setVendorRef

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

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Map holding any additional attributes passed in the request not matching any defined properties.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object