Package com.skava.inventory.model.dto
Class TransactionDTO
java.lang.Object
com.skava.inventory.model.dto.TransactionDTO
- All Implemented Interfaces:
Serializable
This class implements the TransactionDTO model to define the request and response Transaction object.
- Author:
- Infosys Equinox
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionDTO
(Transaction transaction) This method returns the TransactionDTO object which clones the transaction parameter. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the transaction entity from the transactionDTO object.Available quantity of the transaction is made, for make inventory.setAtpQty
(int atpQty) setAtpQtyFractional
(Number atpQty) setBackOrderedQty
(int backOrderedQty) setBackOrderedQty
(Number backOrderedQty) setBackOrderedQtyFractional
(Number backOrderedQty) setPreOrderedQty
(int preOrderedQty) setPreOrderedQty
(Number preOrderedQty) setPreOrderedQtyFractional
(Number preOrderedQty)
-
Constructor Details
-
TransactionDTO
This method returns the TransactionDTO object which clones the transaction parameter.- Parameters:
transaction
- Transaction object containing the transaction details.
-
-
Method Details
-
setAtpQty
-
setAtpQtyFractional
-
getAtpQty
Available quantity of the transaction is made, for make inventory. The method is implemented such as it should accept both Intger and Double values. -
getAtpQtyFractional
-
setAtpQty
- Parameters:
atpQty
-- Returns:
-
setPreOrderedQty
- Parameters:
preOrderedQty
-- Returns:
-
setPreOrderedQtyFractional
- Parameters:
preOrderedQty
-- Returns:
-
getPreOrderedQty
-
getPreOrderedQtyFractional
-
setPreOrderedQty
- Parameters:
preOrderedQty
-- Returns:
-
setBackOrderedQty
- Parameters:
backOrderedQty
-- Returns:
-
setBackOrderedQtyFractional
- Parameters:
backOrderedQty
-- Returns:
-
getBackOrderedQty
-
getBackOrderedQtyFractional
-
setBackOrderedQty
- Parameters:
backOrderedQty
-- Returns:
-
getAsEntity
This method returns the transaction entity from the transactionDTO object.- Returns:
- Transaction entity
-