|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShippingServiceLevelService
Provide ShippingServiceLevel-related business service.
Method Summary | |
---|---|
ShippingServiceLevel |
add(ShippingServiceLevel shippingServiceLevel)
Adds the given shippingServiceLevel. |
ShippingServiceLevel |
get(long shippingServiceLevelUid)
Get the shippingServiceLevel with the given UID. |
java.util.List |
getAllShippingCostCalculationMethods()
Get all the available shipping cost calculation methods configured in the system. |
java.util.Map |
getCountrySubCountryMapWithShippingService()
Get the alphabetically sorted Map of countryCode -> subCountryCode list for all the countries/subcountries have ShippingServiceLevel configure at country level or subCountry level. |
java.util.List |
getShippingRegionInUseUidList()
Get the list of uids of ShippingRegion used by existing ShippingServiceLevel s. |
java.util.List |
getShippingServiceLevelInUseUidList()
Get the list of uids of ShippingServiceLevel used by existing shipping related promotion rules. |
java.util.List |
list()
List all shippingServiceLevels stored in the database. |
ShippingServiceLevel |
load(long shippingServiceLevelUid)
Load the shippingServiceLevel with the given UID. |
void |
remove(ShippingServiceLevel shippingServiceLevel)
Delete the shippingServiceLevel. |
java.util.List |
retrieveShippingServiceLevel(ShoppingCart shoppingCart)
Retrieve the list of valid ShippingServiceLevel based on the region info inside the given ShoppingCart . |
void |
setAllShippingCostCalculationMethods(java.util.List allShippingCostCalculationMethods)
Set all the available shipping cost calculation methods configured in the system. |
void |
update(ShippingServiceLevel shippingServiceLevel)
Updates the given shippingServiceLevel. |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getObject, getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
ShippingServiceLevel add(ShippingServiceLevel shippingServiceLevel) throws EpServiceException
shippingServiceLevel
- the shippingServiceLevel to add
EpServiceException
- - in case of any errorsShippingServiceLevel get(long shippingServiceLevelUid) throws EpServiceException
shippingServiceLevelUid
- the shippingServiceLevel UID
EpServiceException
- - in case of any errorsjava.util.List getAllShippingCostCalculationMethods()
java.util.Map getCountrySubCountryMapWithShippingService()
ShippingServiceLevel
configure at country level or subCountry level.
java.util.List getShippingRegionInUseUidList()
ShippingRegion
used by existing ShippingServiceLevel
s.
ShippingRegion
s in use.java.util.List getShippingServiceLevelInUseUidList()
ShippingServiceLevel
used by existing shipping related promotion rules.
ShippingServiceLevel
s in use.java.util.List list() throws EpServiceException
EpServiceException
- - in case of any errorsShippingServiceLevel load(long shippingServiceLevelUid) throws EpServiceException
shippingServiceLevelUid
- the shippingServiceLevel UID
EpServiceException
- - in case of any errorsvoid remove(ShippingServiceLevel shippingServiceLevel) throws EpServiceException
shippingServiceLevel
- the shippingServiceLevel to remove
EpServiceException
- - in case of any errorsjava.util.List retrieveShippingServiceLevel(ShoppingCart shoppingCart)
ShippingServiceLevel
based on the region info inside the given ShoppingCart
.
shoppingCart
- -- the shoppingCart to be used to retrieve shippingServiceLevel info.
ShippingServiceLevel
for the given shoppingCart.void setAllShippingCostCalculationMethods(java.util.List allShippingCostCalculationMethods)
allShippingCostCalculationMethods
- - the available shipping cost calculation methods.void update(ShippingServiceLevel shippingServiceLevel) throws EpServiceException
shippingServiceLevel
- the shippingServiceLevel to update
EpServiceException
- - in case of any errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |