java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.domain.inventory.InventoryAvailabilityRequest
All Implemented Interfaces:
Serializable

public class InventoryAvailabilityRequest extends Object implements Serializable
A request DTO to fetch the inventory availability status of a catalog item.
Author:
Marie Standeven (mariestandeven)
See Also:
  • Constructor Details

    • InventoryAvailabilityRequest

      public InventoryAvailabilityRequest()
  • Method Details

    • getSku

      public String getSku()
      This Stock Keeping Unit that uniquely identifies this item.
    • getQuantity

      public int getQuantity()
      The quantity being requested for this item.
    • getAdditionalAttributes

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

      public void setSku(String sku)
      This Stock Keeping Unit that uniquely identifies this item.
    • setQuantity

      public void setQuantity(int quantity)
      The quantity being requested for this item.
    • setAdditionalAttributes

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

      public String toString()
      Overrides:
      toString in class Object