Module com.logicommerce.sdk
Class OrderItemStockImpl
- java.lang.Object
-
- com.logicommerce.sdk.models.order.implementations.OrderItemStockImpl
-
- All Implemented Interfaces:
OrderItemStock
public class OrderItemStockImpl extends Object implements OrderItemStock
OrderItemStockImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
-
Constructor Summary
Constructors Constructor Description OrderItemStockImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHash()
Getter for the fieldhash
.Integer
getId()
Getter for the fieldid
.LocalDate
getIncomingDate()
Getter for the fieldincomingDate
.int
getOffsetDays()
Getter for the fieldoffsetDays
.PrevisionType
getPrevisionType()
Getter for the fieldprevisionType
.int
getPriority()
Getter for the fieldpriority
.int
getQuantity()
Getter for the fieldquantity
.int
getReservedQuantity()
Getter for the fieldreservedQuantity
.List<OrderItemSubstractedStock>
getSubstractedStocks()
Getter for the fieldsubstractedStocks
.Integer
getWarehouseGroupId()
Getter for the fieldwarehouseGroupId
.Integer
getWarehouseId()
Getter for the fieldwarehouseId
.void
setHash(String hash)
Setter for the fieldhash
.void
setId(Integer id)
Setter for the fieldid
.void
setIncomingDate(LocalDate incomingDate)
Setter for the fieldincomingDate
.void
setOffsetDays(int offsetDays)
Setter for the fieldoffsetDays
.void
setPrevisionType(PrevisionType previsionType)
Setter for the fieldprevisionType
.void
setPriority(int priority)
Setter for the fieldpriority
.void
setQuantity(int quantity)
Setter for the fieldquantity
.void
setReservedQuantity(int reservedQuantity)
Setter for the fieldreservedQuantity
.void
setSubstractedStocks(List<OrderItemSubstractedStock> substractedStocks)
Setter for the fieldsubstractedStocks
.void
setWarehouseGroupId(Integer warehouseGroupId)
Setter for the fieldwarehouseGroupId
.void
setWarehouseId(Integer warehouseId)
Setter for the fieldwarehouseId
.
-
-
-
Method Detail
-
getId
public Integer getId()
Getter for the field
id
.- Specified by:
getId
in interfaceOrderItemStock
- Returns:
- a
Integer
object
-
getWarehouseId
public Integer getWarehouseId()
Getter for the field
warehouseId
.- Specified by:
getWarehouseId
in interfaceOrderItemStock
- Returns:
- a
Integer
object
-
getWarehouseGroupId
public Integer getWarehouseGroupId()
Getter for the field
warehouseGroupId
.- Specified by:
getWarehouseGroupId
in interfaceOrderItemStock
- Returns:
- a
Integer
object
-
getQuantity
public int getQuantity()
Getter for the field
quantity
.- Specified by:
getQuantity
in interfaceOrderItemStock
- Returns:
- a int
-
getReservedQuantity
public int getReservedQuantity()
Getter for the field
reservedQuantity
.- Specified by:
getReservedQuantity
in interfaceOrderItemStock
- Returns:
- a int
-
getIncomingDate
public LocalDate getIncomingDate()
Getter for the field
incomingDate
.- Specified by:
getIncomingDate
in interfaceOrderItemStock
- Returns:
- a
LocalDate
object
-
getOffsetDays
public int getOffsetDays()
Getter for the field
offsetDays
.- Specified by:
getOffsetDays
in interfaceOrderItemStock
- Returns:
- a int
-
getPriority
public int getPriority()
Getter for the field
priority
.- Specified by:
getPriority
in interfaceOrderItemStock
- Returns:
- a int
-
getHash
public String getHash()
Getter for the field
hash
.- Specified by:
getHash
in interfaceOrderItemStock
- Returns:
- a
String
object
-
getPrevisionType
public PrevisionType getPrevisionType()
Getter for the field
previsionType
.- Specified by:
getPrevisionType
in interfaceOrderItemStock
- Returns:
- a
PrevisionType
object
-
getSubstractedStocks
public List<OrderItemSubstractedStock> getSubstractedStocks()
Getter for the field
substractedStocks
.- Specified by:
getSubstractedStocks
in interfaceOrderItemStock
- Returns:
- a
List
object
-
setWarehouseGroupId
public void setWarehouseGroupId(Integer warehouseGroupId)
Setter for the field
warehouseGroupId
.- Parameters:
warehouseGroupId
- aInteger
object
-
setWarehouseId
public void setWarehouseId(Integer warehouseId)
Setter for the field
warehouseId
.- Parameters:
warehouseId
- aInteger
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
- aLocalDate
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
- aString
object
-
setPrevisionType
public void setPrevisionType(PrevisionType previsionType)
Setter for the field
previsionType
.- Parameters:
previsionType
- aPrevisionType
object
-
setSubstractedStocks
public void setSubstractedStocks(List<OrderItemSubstractedStock> substractedStocks)
Setter for the field
substractedStocks
.- Parameters:
substractedStocks
- aList
object
-
-