Class InventoryTransaction
java.lang.Object
com.broadleafcommerce.inventory.domain.InventoryTransaction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
This is just an arbitrary Id assigned to 1 or more records that are part of a logical transaction.The date that the transaction was created.Date that this transaction was processed.getId()
Quantity associated with this transaction representing the delta or change.Arbitrary external reference number.This is the contextId of the associatedSkuInventory
record.Indictes the type of transaction that this represents.int
hashCode()
void
setBatchId
(String batchId) This is just an arbitrary Id assigned to 1 or more records that are part of a logical transaction.void
setDateCreated
(Instant dateCreated) The date that the transaction was created.void
setDateProcessed
(Instant dateProcessed) Date that this transaction was processed.void
void
setQuantity
(Integer quantity) Quantity associated with this transaction representing the delta or change.void
setReferenceNumber
(String referenceNumber) Arbitrary external reference number.void
setSkuInventoryId
(String skuInventoryId) This is the contextId of the associatedSkuInventory
record.void
setTransactionType
(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 associatedSkuInventory
record. -
getTransactionType
Indictes the type of transaction that this represents. -
getQuantity
Quantity associated with this transaction representing the delta or change. -
getDateProcessed
Date that this transaction was processed. For example, a Soft Reservation might be "processed" by the application of a hard reservation. This will be null if not yet processed. -
getDateCreated
The date that the transaction was created. -
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). -
getBatchId
This is just an arbitrary Id assigned to 1 or more records that are part of a logical transaction. Typically a UUID or ULID. Should be the same across records that are batched in the same logical transaction. -
setId
-
setSkuInventoryId
This is the contextId of the associatedSkuInventory
record. -
setTransactionType
Indictes the type of transaction that this represents. -
setQuantity
Quantity associated with this transaction representing the delta or change. -
setDateProcessed
Date that this transaction was processed. For example, a Soft Reservation might be "processed" by the application of a hard reservation. This will be null if not yet processed. -
setDateCreated
The date that the transaction was created. -
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). -
setBatchId
This is just an arbitrary Id assigned to 1 or more records that are part of a logical transaction. Typically a UUID or ULID. Should be the same across records that are batched in the same logical transaction. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-