|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShippingRegion
A ShippingRegion represents a region that will be associated with one or more shipping services. For now, it is composed of country and a subcountry, i.e. CA(country) and BC(subcountry).
Method Summary | |
---|---|
java.lang.String |
getName()
Get the shipping region name. |
java.util.Map |
getRegionMap()
Get the Map of regions assoicated with this shippingregion. |
boolean |
isInShippionRegion(Address shippingAddress)
Check if the given shippingAdress is in the range of this ShippingRegion . |
void |
setName(java.lang.String name)
Set the shipping region name. |
void |
setRegionMap(java.util.Map regionMap)
Set the Map of regions assoicated with this shippingregion. |
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 |
---|
java.lang.String getName()
java.util.Map getRegionMap()
Region
.
boolean isInShippionRegion(Address shippingAddress)
ShippingRegion
.
shippingAddress
- the shippingAddress to be evaluated.
ShippingRegion
.void setName(java.lang.String name)
name
- the parameter namevoid setRegionMap(java.util.Map regionMap)
regionMap
- the map of regions to be assoicated with this shippingregion.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |