com.elasticpath.sfweb.ajax.bean
Interface ShippingServiceLevelBean

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

public interface ShippingServiceLevelBean
extends ShippingServiceLevel

This bean is used for wrapping ShippingServiceLevel objects into localized versions for dwr.


Field Summary
 
Fields inherited from interface com.elasticpath.domain.shipping.ShippingServiceLevel
LOCALIZED_PROPERTY_NAME
 
Method Summary
 java.lang.String getDisplayName()
          Convenience method for getting the shipping service level's localized display name.
 java.util.Locale getLocale()
           
 void setLocale(java.util.Locale locale)
           
 
Methods inherited from interface com.elasticpath.domain.shipping.ShippingServiceLevel
calculateRegularPriceShippingCost, calculateShippingCost, clearPromotions, getCarrier, getLocalizedProperties, getName, getRegularPriceShippingCost, getShippingCost, getShippingCostCalculationMethod, getShippingRegion, setCarrier, setShippingCostCalculationMethod, setShippingDiscount, setShippingRegion
 
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
 

Method Detail

getDisplayName

java.lang.String getDisplayName()
Convenience method for getting the shipping service level's localized display name.

Returns:
the localized shipping service level name

getLocale

java.util.Locale getLocale()
Returns:
the locale

setLocale

void setLocale(java.util.Locale locale)
Parameters:
locale - the locale to set