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:
  • Constructor Details

    • InventoryAvailabilityEvent

      public InventoryAvailabilityEvent(Object source, @Nullable String tenantId, @Nullable String applicationId, @NonNull String skuCode, boolean isAvailable)
  • Method Details

    • getTenantId

      public String getTenantId()
    • getApplicationId

      public String getApplicationId()
    • getSkuCode

      public String getSkuCode()
    • isAvailable

      public boolean isAvailable()
    • setTenantId

      public void setTenantId(String tenantId)
    • setApplicationId

      public void setApplicationId(String applicationId)
    • setSkuCode

      public void setSkuCode(String skuCode)
    • setAvailable

      public void setAvailable(boolean isAvailable)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class EventObject