Class 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:
    Serialized Form
    • Constructor Detail

      • InventoryAvailabilityRequest

        public InventoryAvailabilityRequest()
    • Method Detail

      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object