Serialized Form
- 
Package com.broadleafcommerce.inventory.domain- 
Class com.broadleafcommerce.inventory.domain.Addressclass Address extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
addressLine1String addressLine1 Address 1
- 
addressLine2String addressLine2 Address 2
- 
addressLine3String addressLine3 Address 3
- 
cityString city City
- 
countryString country Typically 2 or 3 character country code (e.g. US, CA, GB; or USA, CAN, GBR)
- 
latitudeDouble latitude Latitude portion of GPS coordinates.
- 
longitudeDouble longitude Longitude portion of GPS coordinates.
- 
postalCodeString postalCode Postal code (or Zip code in the US, usually excluding a 4 digit Zip code extension).
- 
stateProvinceRegionString stateProvinceRegion State / Province / Region (e.g. in the US: TX, CA, NY; in Canada: AB, BC, ON)
 
- 
 
- 
Class com.broadleafcommerce.inventory.domain.ConsolidatedInventoryAvailabilityclass ConsolidatedInventoryAvailability extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
applicationIdString applicationId The application ID to which this inventory availability belongs. This may be null if the inventory belongs to the tenant, and not an application.
- 
availableboolean available Indicates if this inventory is available or not. Availability will be based on what is requested (e.g. for shipment, for pickup, in store, or a combination of 2 or more).
- 
skuCodeString skuCode The SKU code.
- 
tenantIdString tenantId The tenant ID to which this inventory availability belongs.
 
- 
 
- 
Class com.broadleafcommerce.inventory.domain.InventoryLocationclass InventoryLocation extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
addressAddress address Physical address of this location.
- 
contextStatecom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState 
- 
idString id TheInventoryLocationcontextId.
- 
locationNumberString locationNumber Arbitrary location number, which could be an external ID, store number, etc.
- 
nameString name Arbitrary name of the location.
- 
pickupLocationboolean pickupLocation Indicates if this location is available for pickup. Default is false.
- 
shippingLocationboolean shippingLocation Indicates if this location is available for shipping. Default is true.
- 
storeLocationboolean storeLocation Indicates if this inventory location is also a store, meaning that it is a location that customers can come to shop. Default is false.
- 
vendorRefString vendorRef Soft reference to the vendor associated with this inventory location. This value can be null, in which case, no vendor is associated.
 
- 
 
- 
Class com.broadleafcommerce.inventory.domain.ReleaseSkuInventoryReservationRequestclass ReleaseSkuInventoryReservationRequest extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
additionalAttributesMap<String, Object> additionalAttributes Additional attributes that can be declared for this request.
- 
reservationReferenceNumbersSet<String> reservationReferenceNumbers The reservation numbers to identify the reservations by.This should be the same value as SkuInventoryAdjustmentRequestItem.getReferenceNumber()from the original requests to create the reservations.
 
- 
 
- 
Class com.broadleafcommerce.inventory.domain.ReleaseSkuInventoryReservationResponseclass ReleaseSkuInventoryReservationResponse extends Object implements Serializable- serialVersionUID:
- 1L
 
- 
Class com.broadleafcommerce.inventory.domain.SkuInventoryclass SkuInventory extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
archivalReasonString archivalReason Stores the reason why a particular sku_inventory was deleted/archived. Used to identify the records that have been deleted/archived as a result of their inventory_location being archived. For such records, the archivalReason would beDefaultSkuInventoryArchivalReasons.LOCATION_ARCHIVED. In other cases, it would be null by default.
- 
contextStatecom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState 
- 
hasChildrenboolean hasChildren Informs the system that this sku inventory is a parent.Consider stadium suites at a football game, there may be 10 gold suites, represented with SKU FOOTBALL-GM1-GOLD-SUITE. A parent sku inventory is used to represent the inventory for all the gold suites, without specifying any suite number. This is useful when selling suites without assigning a specific suite number to a given order, defers the suite assignment till closer to the event date.
- 
idString id This is the contextId of the Sku Inventory record.
- 
inventoryLocationContextIdString inventoryLocationContextId The ID of theInventoryLocationassociated with thisSkuInventoryrecord.
- 
parentSkuInventoryIdString parentSkuInventoryId The parent sku inventory id.Serialized records must have a parent representing a non-serialized SkuInventory.- See Also:
- 
- SkuInventory.serialized
 
 
- 
quantityAvailableInteger quantityAvailable Summary field to indicate how many are available at this location. This is a calculated field (quantityOnHand - quantityReserved - safetyStock) set upon creation and update, this should not be manually set.- See Also:
 
- 
quantityOnHandInteger quantityOnHand Number of physical items that are expected to be available if an inventory count was done.- See Also:
 
- 
quantityOnOrderInteger quantityOnOrder Number of items that have been ordered and are expected to arrive in the warehouse.
- 
quantityReservedInteger quantityReserved Number of items that have been reserved but that have not been fulfilled.- See Also:
 
- 
safetyStockInteger safetyStock A value that indicates a desired amount of the item that is not for sale.- See Also:
 
- 
serializationValueString serializationValue The value of the serialized sku inventory.For example, this can be "100" when representing inventory for suite 100 in a stadium. This value is required for records where SkuInventory.isSerialized()is true.- See Also:
- 
- SkuInventory.serialized
 
 
- 
serializedboolean serialized Informs the system that this is a serialized (aka detail) record.Consider stadium suites at a football game, there may be 10 gold suites, represented with SKU FOOTBALL-GM1-GOLD-SUITE. Serialized sku inventories are used to represent each individual suite (suite 1-10), in which case theSkuInventory.getSerializationValue()would be1,2, and so on.
- 
skuRefSkuRef skuRef A soft reference to the SKU for which this inventory is managed.
- 
vendorRefString vendorRef Soft reference to the vendor associated with this sku inventory. This value can be null, in which case, no vendor is associated.
 
- 
 
- 
Class com.broadleafcommerce.inventory.domain.SkuInventoryAdjustmentRequestclass SkuInventoryAdjustmentRequest extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
groupsList<SkuInventoryAdjustmentRequestGroup> groups Requests to adjustSkuInventoryfor specific items grouped byInventoryLocation.
- 
skuReferenceFieldTypeString skuReferenceFieldType Indicates by which field onSkuRefwe should be looking upSkuInventory, with respect toSkuInventoryAdjustmentRequestItem.getSkuReferenceValue().- See Also:
 
 
- 
 
- 
Class com.broadleafcommerce.inventory.domain.SkuInventoryAvailabilityRequestclass SkuInventoryAvailabilityRequest extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
additionalAttributesMap<String, Object> additionalAttributes Map holding any additional attributes passed in the request not matching any defined properties.
- 
quantityRequestedInteger quantityRequested Quantity that is being requested (i.e. the number to check). These must always be positive numbers.
- 
referenceNumberString referenceNumber The reference number used to identify any existing soft inventory reservations.Existing soft reservations are excluded if this field is passed in. For example, if a SKU has total of 2 available and 1 is reserved for userA, and userA checks inventory availability for a quantity of 2 for the same SKU. The existing soft reservation is excluded from the check in this case, effectively making this request to check for an additional quantity of 1 to be available. However, if userB sends the same request to check availability for a quantity of 2 for the same SKU, it would return unavailable since only 1 is available as the other one is reserved for userA. 
- 
skuCodeString skuCode The value of the SKU reference. This will be one of SKU contextId, SKU external ID, arbitrary SKU code, UPC, EAN, or GTIN.
 
- 
 
- 
Class com.broadleafcommerce.inventory.domain.SkuInventoryAvailabilitySummaryclass SkuInventoryAvailabilitySummary extends Object implements Serializable- serialVersionUID:
- 1L
 
- 
Class com.broadleafcommerce.inventory.domain.SkuInventoryReservationRequestclass SkuInventoryReservationRequest extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
reservationRequestGroupsList<SkuInventoryReservationRequestGroup> reservationRequestGroups Logically separate groups into pickup or ship groups, along with items to be adjusted. EachSkuInventoryReservationRequestGroupis loosely correlated with a Fulfillment Group in the Cart domain.
- 
reservationRequestTypeString reservationRequestType Indicates if the Inventory Reservation Request is a HARD or SOFT request. Soft requests are temporary and may be reversed if a HARD reservation is not eventually created. SOFT requests typically happen prior to payment or finalizing checkout. HARD requests are typically done after payment or finalizing checkout.
- 
skuReferenceFieldTypeString skuReferenceFieldType Indicates how we should be looking upSkuInventory(by which field) with respect toskuReferenceValue. Default allowed values are:SKU_CODE(default)SKU_EXTERNAL_IDUPCEANGTIN
 
- 
 
- 
Class com.broadleafcommerce.inventory.domain.SkuRefclass SkuRef extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
eanString ean Meant to hold EAN, or European Article Number (a.k.a. International Article Number). EAN is a subset of GTIN-8 and GTIN-13. EAN-13 is essentially the same as UPC-A, except that it contains an additional digit representing the country code.
- 
externalIdString externalId External (1st or 3rd party) system reference to a unique SKU. For example, ERP or 3rd party inventory system primary key for a SKU reference.
- 
gtinString gtin GTIN (Global Trade Item Number) This holds all GTIN formats. GTIN-14 is 14 digits. This is a superset that generally includes: GTIN-12 (UPC-A) GTIN-8 (EAN/UCC-8) GTIN-13 (EAN/UCC-13) GTIN-14 (EAN/UCC-14 or ITF-14)
- 
skuCodeString skuCode This is the default way that Broadleaf uses for accessingSkuInventory, especially when doing inventory reservations (soft and hard). In most cases, this field should, at least, be populated.
- 
skuNameString skuName Optional field to store a human readable name for the SKU. Especially useful when administering inventory via the Broadleaf Admin, or when looking at inventory data in the database.
- 
upcString upc Meant to hold UPC, or Universal Product Code. UPC is a subset of GTIN-12, GTIN-13, and GTIN-14. UPC-A is most common and contains 12 digits. UPC-A and EAN-13 are essentially the same, except for a country code. Less common UPC formats include UPC-B, UPC-C, UPC-D, UPC-E, UPC-2, and UPC-5. We hold it here to allow us to store a particular UPC in addition to a different EAN and a GTIN-14, for example, assuming that a single SKU can have multiple such references.
 
- 
 
 
- 
- 
Package com.broadleafcommerce.inventory.exception- 
Exception com.broadleafcommerce.inventory.exception.InventoryNotReservedExceptionclass InventoryNotReservedException extends Exception implements Serializable- serialVersionUID:
- 1L
 
- 
Exception com.broadleafcommerce.inventory.exception.InventoryTransactionMissingExceptionclass InventoryTransactionMissingException extends RuntimeException implements Serializable
 
- 
- 
Package com.broadleafcommerce.inventory.provider.jpa.domain- 
Class com.broadleafcommerce.inventory.provider.jpa.domain.JpaInventoryLocationclass JpaInventoryLocation extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
addressLine1String addressLine1 Address 1
- 
addressLine2String addressLine2 Address 2
- 
addressLine3String addressLine3 Address 3
- 
cityString city City
- 
contextIdString contextId The jpa primary key.
- 
countryString country Country code
- 
latitudeDouble latitude Latitude, in terms of Earth's coordinates.
- 
locationNumberString locationNumber Arbitrary inventory location number. Could be store number, warehouse number, or some soft foreign key reference to another system.
- 
longitudeDouble longitude Longitude, in terms of Earth's coordinates.
- 
nameString name Arbitrary name of the location. Could be a store name, or warehouse name, or other name.
- 
pickupLocationboolean pickupLocation Indicates if this location is a pickup location. Typically (but not always), warehouses are not pickup locations. Rather, typically, warehouses are shipping locations and stores are pickup locations. Some locations are both (i.e. warehouses can allow customer pickup and stores can allow shipping).
- 
postalCodeString postalCode The postal code, or Zip code (US). These are not necessarily unique from country to country, so care should be taken to include country when querying for postal code.
- 
shippingLocationboolean shippingLocation Indicates if this location is a shipping location. Typically (but not always), retail stores are not shipping locations. Rather, typically, warehouses are shipping locations. Some locations are both (i.e. warehouses can allow customer pickup and stores can allow shipping).
- 
stateProvinceRegionString stateProvinceRegion Typically two or three character State, Province, or Region code (e.g. TX, NY, CA in the US; AB, ON, BC in CA)
- 
storeLocationboolean storeLocation Indicates if this location is a "Store" location, or a place where customers can go to shop. Store locations areInventoryLocations since they likely contain inventory. They may or may not also be shipping locations and/or pickup locations.
- 
timestampInstant timestamp Temporal state describing the time at which this item was last updated. Relates to theTemporalinterface and is primarily used during consumption of messages regarding changes in state to this domain. For example, a service consuming a change notification for this domain can compare the current persisted timestamp to this timestamp to determine if it already has a newer version, in which case, it can ignore. This is primarily a measure to ensure that ordering is not required for messages related to state change.
- 
trackingcom.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking - See Also:
- 
- ApplicationJpaTracking
 
 
- 
vendorRefString vendorRef - See Also:
 
 
- 
 
- 
Class com.broadleafcommerce.inventory.provider.jpa.domain.JpaInventoryTransactionclass JpaInventoryTransaction extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
batchIdString batchId When creating multiple of these records, it's sometimes necessary to do this outside of transactional boundaries. This property is a property that should be the same for all records being created as part of the same logical transaction.
- 
contextIdString contextId The JPA primary key.
- 
dateCreatedInstant dateCreated The date that the transaction was created.
- 
dateProcessedInstant dateProcessed Optional timestamp to indicate when this transaction was processed, or when
- 
quantityInteger quantity The quanity associated with this transaction.
- 
referenceNumberString referenceNumber Typically a sales order number or a PO number, depending on the transaction type. Reference number can be anything, but should be consistent (e.g. {orderNumber}-{lineItemNumber}, {orderId}, etc.).
- 
skuInventoryIdString skuInventoryId Soft foreign key reference to theJpaSkuInventory.getContextId().
- 
trackingcom.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking - See Also:
- 
- ApplicationJpaTracking
 
 
- 
transactionTypeString transactionType This indicates what type of transaction this is. Depending on the type of transaction, fields like quantity, expectedDateProcessed, dateProcessed, referenceNumber, and completed will have slightly different meanings. For example, for a type likeDefaultInventoryTransactionType.SOFT_RESERVED, the referenceNumber will be a sales order ID or number. However, for aDefaultInventoryTransactionType.ORDERED, the referenceNumber will likely be a purchase order number or ID. ForDefaultInventoryTransactionType.SHRINKAGE, the referenceNumber could be null or could reference a different number or system. AllDefaultInventoryTransactionTypevalues are associated with anAccountingTransactionType, which is either a DEBIT or a CREDIT. Various transactions can be looked at in sequence of the dateCreated or
 
- 
 
- 
Class com.broadleafcommerce.inventory.provider.jpa.domain.JpaSkuInventoryclass JpaSkuInventory extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields- 
archivalReasonString archivalReason - See Also:
 
- 
contextIdString contextId The jpa primary key.
- 
eanString ean Meant to hold EAN, or European Article Number (a.k.a. International Article Number). EAN is a subset of GTIN-8 and GTIN-13. EAN-13 is essentially the same as UPC-A, except that it contains an additional digit representing the country code.
- 
externalIdString externalId External (1st or 3rd party) system reference to a unique SKU. For example, ERP or 3rd party inventory system primary key for a SKU reference. This is essentially a soft foreign key to a non-Broadleaf system..
- 
gtinString gtin GTIN (Global Trade Item Number) This holds all GTIN formats. GTIN-14 is 14 digits. This is a GS1 superset that generally includes: GTIN-12 (UPC-A) GTIN-8 (EAN/UCC-8) GTIN-13 (EAN/UCC-13) GTIN-14 (EAN/UCC-14 or ITF-14)
- 
hasChildrenboolean hasChildren 
- 
inventoryLocationContextIdString inventoryLocationContextId This is a soft foreign key reference toJpaInventoryLocation.
- 
parentSkuInventoryIdString parentSkuInventoryId 
- 
quantityAvailableInteger quantityAvailable This is really a calculated field. It should be (quantityOnHand - quantityReserved - safetyStock). We store it to conveniently query for available items.
- 
quantityOnHandInteger quantityOnHand Physical count of items available.
- 
quantityOnOrderInteger quantityOnOrder Optional number of items that are expected to arrive in the warehouse in the near term. This does not affect availability, but allows for backorder capabilities.
- 
quantityReservedInteger quantityReserved Quantity of items that are reserved (i.e. been sold but not fulfilled).
- 
safetyStockInteger safetyStock An optional field that indicates how many should be reserved in the count or calculation of availability.
- 
serializationValueString serializationValue 
- 
serializedboolean serialized 
- 
skuCodeString skuCode Arbitrary code or identifier for a unique SKU. This is mot necessarily a primary key nor a reference to an external system's primary key. Rather, this is an arbitrary SKU code, or additional reference. For example this could be a customer-facing SKU reference code.
- 
skuNameString skuName Optional convenience field to store a human readable name for the SKU. Especially useful when administering inventory via the Broadleaf Admin, or when looking at inventory data in the database.
- 
trackingcom.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking - See Also:
- 
- ApplicationJpaTracking
 
 
- 
upcString upc Meant to hold UPC, or Universal Product Code. UPC is a subset of GTIN-12, GTIN-13, and GTIN-14. UPC-A is most common and contains 12 digits. UPC-A and EAN-13 are essentially the same, except for a country code. Less common UPC formats include UPC-B, UPC-C, UPC-D, UPC-E, UPC-2, and UPC-5. We hold it here to allow us to store a particular UPC in addition to a different EAN and a GTIN-14, for example.
- 
vendorRefString vendorRef - See Also:
 
 
- 
 
 
- 
- 
Package com.broadleafcommerce.inventory.service- 
Class com.broadleafcommerce.inventory.service.InventoryAvailabilityEventclass InventoryAvailabilityEvent extends org.springframework.context.ApplicationEvent implements Serializable
 
- 
- 
Package com.broadleafcommerce.inventory.service.datafeed- 
Class com.broadleafcommerce.inventory.service.datafeed.IncrementalDataFeedEntityUpdateEventclass IncrementalDataFeedEntityUpdateEvent extends Object implements Serializable- serialVersionUID:
- 1L
 - 
Serialized Fields
 
 
- 
- 
Package com.broadleafcommerce.inventory.web.endpoint- 
Class com.broadleafcommerce.inventory.web.endpoint.SkuInventoryEndpoint.SkuCodesRequestBodyclass SkuCodesRequestBody extends Object implements Serializable- serialVersionUID:
- 1L
 
 
-