Class OrderItemStockImpl

  • All Implemented Interfaces:
    OrderItemStock

    public class OrderItemStockImpl
    extends Object
    implements OrderItemStock

    OrderItemStockImpl class.

    Since:
    1.0.16
    Author:
    Logicommerce
    • Constructor Detail

      • OrderItemStockImpl

        public OrderItemStockImpl()
    • Method Detail

      • getQuantity

        public int getQuantity()

        Getter for the field quantity.

        Specified by:
        getQuantity in interface OrderItemStock
        Returns:
        a int
      • getReservedQuantity

        public int getReservedQuantity()

        Getter for the field reservedQuantity.

        Specified by:
        getReservedQuantity in interface OrderItemStock
        Returns:
        a int
      • getOffsetDays

        public int getOffsetDays()

        Getter for the field offsetDays.

        Specified by:
        getOffsetDays in interface OrderItemStock
        Returns:
        a int
      • getPriority

        public int getPriority()

        Getter for the field priority.

        Specified by:
        getPriority in interface OrderItemStock
        Returns:
        a int
      • setWarehouseGroupId

        public void setWarehouseGroupId​(Integer warehouseGroupId)

        Setter for the field warehouseGroupId.

        Parameters:
        warehouseGroupId - a Integer object
      • setId

        public void setId​(Integer id)

        Setter for the field id.

        Parameters:
        id - a Integer object
      • setWarehouseId

        public void setWarehouseId​(Integer warehouseId)

        Setter for the field warehouseId.

        Parameters:
        warehouseId - a Integer object
      • setQuantity

        public void setQuantity​(int quantity)

        Setter for the field quantity.

        Parameters:
        quantity - a int
      • setReservedQuantity

        public void setReservedQuantity​(int reservedQuantity)

        Setter for the field reservedQuantity.

        Parameters:
        reservedQuantity - a int
      • setIncomingDate

        public void setIncomingDate​(LocalDate incomingDate)

        Setter for the field incomingDate.

        Parameters:
        incomingDate - a LocalDate object
      • setOffsetDays

        public void setOffsetDays​(int offsetDays)

        Setter for the field offsetDays.

        Parameters:
        offsetDays - a int
      • setPriority

        public void setPriority​(int priority)

        Setter for the field priority.

        Parameters:
        priority - a int
      • setHash

        public void setHash​(String hash)

        Setter for the field hash.

        Parameters:
        hash - a String object
      • setPrevisionType

        public void setPrevisionType​(PrevisionType previsionType)

        Setter for the field previsionType.

        Parameters:
        previsionType - a PrevisionType object
      • setSubstractedStocks

        public void setSubstractedStocks​(List<OrderItemSubstractedStock> substractedStocks)

        Setter for the field substractedStocks.

        Parameters:
        substractedStocks - a List object