Class TenantSearchGroupEvent.TenantRef

java.lang.Object
com.broadleafcommerce.search.core.messaging.TenantSearchGroupEvent.TenantRef
All Implemented Interfaces:
Serializable
Enclosing class:
TenantSearchGroupEvent

public static class TenantSearchGroupEvent.TenantRef extends Object implements Serializable
See Also:
  • Constructor Details

    • TenantRef

      public TenantRef()
  • Method Details

    • getId

      public String getId()
    • getName

      public String getName()
      The general name for the tenant
      Returns:
      The general name for the tenant
    • getDefaultLocale

      public Locale getDefaultLocale()
      The Locale that this tenant, by default, assumes all data is within and can drive the default Locale selection as a result.
      Returns:
      The default Locale as a string.
    • getDefaultCurrency

      public Currency getDefaultCurrency()
      The Currency that this tenant, by default, assumes all data is within and can drive the default currency selection on a frontend. If not set, the system will use the default currency for defaultLocale in response to API requests.
      Returns:
      The Currency that this tenant.
    • getAttributes

      public Map<String,Object> getAttributes()
      Arbitrary attributes associated with this tenant. May include soft references to related entities, custom fields, or other data.
      Returns:
      Map of attributes for this tenant
    • setId

      public void setId(String id)
    • setName

      public void setName(String name)
      The general name for the tenant
      Parameters:
      name - The general name for the tenant
    • setDefaultLocale

      public void setDefaultLocale(Locale defaultLocale)
      The Locale that this tenant, by default, assumes all data is within and can drive the default Locale selection as a result.
      Parameters:
      defaultLocale - The default Locale as a string.
    • setDefaultCurrency

      public void setDefaultCurrency(Currency defaultCurrency)
      The Currency that this tenant, by default, assumes all data is within and can drive the default currency selection on a frontend. If not set, the system will use the default currency for defaultLocale in response to API requests.
      Parameters:
      defaultCurrency - The Currency that this tenant
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Arbitrary attributes associated with this tenant. May include soft references to related entities, custom fields, or other data.
      Parameters:
      attributes - Map of attributes for this tenant
    • 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 Object