Class InventoryAvailabilityEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.broadleafcommerce.inventory.service.InventoryAvailabilityEvent
- All Implemented Interfaces:
Serializable
public class InventoryAvailabilityEvent
extends org.springframework.context.ApplicationEvent
Internal JVM event analogous to
ConsolidatedInventoryAvailability
Spring Cloud Stream
message.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionInventoryAvailabilityEvent
(Object source, String tenantId, String applicationId, String skuCode, boolean isAvailable) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
boolean
void
setApplicationId
(String applicationId) void
setAvailable
(boolean isAvailable) void
setSkuCode
(String skuCode) void
setTenantId
(String tenantId) toString()
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
InventoryAvailabilityEvent
-
-
Method Details
-
getTenantId
-
getApplicationId
-
getSkuCode
-
isAvailable
public boolean isAvailable() -
setTenantId
-
setApplicationId
-
setSkuCode
-
setAvailable
public void setAvailable(boolean isAvailable) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classEventObject
-