Class InventoryTransaction
java.lang.Object
com.broadleafcommerce.cartoperation.domain.InventoryTransaction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()Quantity associated with this transaction representing the delta or change.Arbitrary external reference number.This is the contextId of the associatedSkuInventoryrecord.Indictes the type of transaction that this represents.inthashCode()voidvoidsetQuantity(Integer quantity) Quantity associated with this transaction representing the delta or change.voidsetReferenceNumber(String referenceNumber) Arbitrary external reference number.voidsetSkuInventoryId(String skuInventoryId) This is the contextId of the associatedSkuInventoryrecord.voidsetTransactionType(String transactionType) Indictes the type of transaction that this represents.toString()
-
Constructor Details
-
InventoryTransaction
public InventoryTransaction()
-
-
Method Details
-
getId
-
getSkuInventoryId
This is the contextId of the associatedSkuInventoryrecord. -
getTransactionType
Indictes the type of transaction that this represents. -
getQuantity
Quantity associated with this transaction representing the delta or change. -
getReferenceNumber
Arbitrary external reference number. Typically this will be a PO number or a sales order number, but could also be another 1st or 3rd party system's reference number (e.g. a reference number for a write-off). -
setId
-
setSkuInventoryId
This is the contextId of the associatedSkuInventoryrecord. -
setTransactionType
Indictes the type of transaction that this represents. -
setQuantity
Quantity associated with this transaction representing the delta or change. -
setReferenceNumber
Arbitrary external reference number. Typically this will be a PO number or a sales order number, but could also be another 1st or 3rd party system's reference number (e.g. a reference number for a write-off). -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-