Class SkuInventoryAvailabilityRequest

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

public class SkuInventoryAvailabilityRequest extends Object implements Serializable
Request to check availability for a SKU with a specified minimum quantity.
Author:
Marie Standeven
See Also:
  • Constructor Details

    • SkuInventoryAvailabilityRequest

      public SkuInventoryAvailabilityRequest()
  • Method Details

    • getSkuCode

      public String getSkuCode()
      The value of the SKU reference. This will be one of SKU contextId, SKU external ID, arbitrary SKU code, UPC, EAN, or GTIN.
    • getQuantityRequested

      public Integer getQuantityRequested()
      Quantity delta that is being requested (i.e. the number to check). These must always be positive numbers.
    • setSkuCode

      public void setSkuCode(String skuCode)
      The value of the SKU reference. This will be one of SKU contextId, SKU external ID, arbitrary SKU code, UPC, EAN, or GTIN.
    • setQuantityRequested

      public void setQuantityRequested(Integer quantityRequested)
      Quantity delta that is being requested (i.e. the number to check). These must always be positive numbers.
    • 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