Class InventoryTransaction
java.lang.Object
com.broadleafcommerce.orderoperation.domain.inventory.InventoryTransaction
- Since:
- Order Operation Service 2.1.0, Release Train 2.2.0
-
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 associated SkuInventory record.Indicates 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 associated SkuInventory record.voidsetTransactionType(String transactionType) Indicates the type of transaction that this represents.toString()
-
Constructor Details
-
InventoryTransaction
public InventoryTransaction()
-
-
Method Details
-
getId
-
getSkuInventoryId
This is the contextId of the associated SkuInventory record. -
getTransactionType
Indicates 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 associated SkuInventory record. -
setTransactionType
Indicates 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()
-