Class SkuInventory
java.lang.Object
com.broadleafcommerce.dataexchange.domain.catalog.product.AbstractPassthroughProperties
com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
com.broadleafcommerce.dataexchange.domain.EntityExchangeObject
com.broadleafcommerce.dataexchange.domain.catalog.product.SkuInventory
- All Implemented Interfaces:
PassthroughProperties,ExchangeObject,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanReturn true if the inventory location id and skuRef are the same.voidsetInventoryLocationContextId(String inventoryLocationContextId) voidtoString()Methods inherited from class com.broadleafcommerce.dataexchange.domain.EntityExchangeObject
containsCustomProperty, getCustomProperties, getCustomProperty, getId, setCustomProperties, setCustomProperty, setIdMethods inherited from class com.broadleafcommerce.dataexchange.domain.AbstractExchangeObject
getCorrelationId, getJsonPath, getParentCorrelationId, isNewlyCreated, setCorrelationId, setJsonPath, setNewlyCreated, setParentCorrelationIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.dataexchange.domain.ExchangeObject
getContextState, setContextState
-
Constructor Details
-
SkuInventory
public SkuInventory()
-
-
Method Details
-
isSameInventoryCriteria
Return true if the inventory location id and skuRef are the same.- Parameters:
other- the other SkuInventory to compare- Returns:
- true if the inventory location and skuRef are the same. Quantities are not considered.
-
getInventoryLocationContextId
-
getSkuRef
-
setInventoryLocationContextId
-
setSkuRef
-
equals
- Overrides:
equalsin classEntityExchangeObject
-
canEqual
- Overrides:
canEqualin classEntityExchangeObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classEntityExchangeObject
-
toString
- Overrides:
toStringin classEntityExchangeObject
-