Class InventoryTransaction
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.InventoryTransaction
-
public class InventoryTransaction extends Object
-
-
Constructor Summary
Constructors Constructor Description InventoryTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetId()IntegergetQuantity()Quantity associated with this transaction representing the delta or change.StringgetReferenceNumber()Arbitrary external reference number.StringgetSkuInventoryId()This is the contextId of the associatedSkuInventoryrecord.StringgetTransactionType()Indictes the type of transaction that this represents.inthashCode()voidsetId(String id)voidsetQuantity(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.StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
-
getSkuInventoryId
public String getSkuInventoryId()
This is the contextId of the associatedSkuInventoryrecord.
-
getTransactionType
public String getTransactionType()
Indictes the type of transaction that this represents.
-
getQuantity
public Integer getQuantity()
Quantity associated with this transaction representing the delta or change.
-
getReferenceNumber
public String 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
public void setId(String id)
-
setSkuInventoryId
public void setSkuInventoryId(String skuInventoryId)
This is the contextId of the associatedSkuInventoryrecord.
-
setTransactionType
public void setTransactionType(String transactionType)
Indictes the type of transaction that this represents.
-
setQuantity
public void setQuantity(Integer quantity)
Quantity associated with this transaction representing the delta or change.
-
setReferenceNumber
public void setReferenceNumber(String referenceNumber)
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).
-
canEqual
protected boolean canEqual(Object other)
-
-