com.elasticpath.domain.tax
Interface TaxCategory

All Superinterfaces:
Entity, EpDomain, Persistence, java.io.Serializable
All Known Implementing Classes:
TaxCategoryImpl

public interface TaxCategory
extends Entity

A TaxCategory represents a category of tax, i.e. GST (Canada).


Field Summary
static java.lang.String LOCALIZED_PROPERTY_DISPLAY_NAME
          The name of localized property -- displayName.
 
Method Summary
 java.lang.String getDisplayName(java.util.Locale locale)
          Returns the display name of the TaxCategory with the given locale.
 LocalizedProperties getLocalizedProperties()
          Returns the LocalizedProperties, i.e.
 java.lang.String getName()
          Get the tax category name.
 void setLocalizedProperties(LocalizedProperties localizedProperties)
          Set the LocalizedProperties, i.e.
 void setName(java.lang.String name)
          Set the tax category name.
 
Methods inherited from interface com.elasticpath.domain.Entity
getGuid, setGuid
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

LOCALIZED_PROPERTY_DISPLAY_NAME

static final java.lang.String LOCALIZED_PROPERTY_DISPLAY_NAME
The name of localized property -- displayName.

See Also:
Constant Field Values
Method Detail

getDisplayName

java.lang.String getDisplayName(java.util.Locale locale)
Returns the display name of the TaxCategory with the given locale.

Parameters:
locale - the locale
Returns:
the display name of the taxCategory displayName

getLocalizedProperties

LocalizedProperties getLocalizedProperties()
Returns the LocalizedProperties, i.e. TaxCategory name.

Returns:
the LocalizedProperties

getName

java.lang.String getName()
Get the tax category name.

Returns:
the parameter name

setLocalizedProperties

void setLocalizedProperties(LocalizedProperties localizedProperties)
Set the LocalizedProperties, i.e. TaxCategory name.

Parameters:
localizedProperties - - the LocalizedProperties

setName

void setName(java.lang.String name)
Set the tax category name.

Parameters:
name - the parameter name