|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ShippingCostCalculationMethod
A shippingCostCalculationMethod represents a method to be used for shipping cost calculation. It is a component of a shipping service level.
| Method Summary | |
|---|---|
Money |
calculateShippingCost(ShoppingCart shoppingCart)
Calculation the shipping cost for the given shoppingCart. |
java.lang.String |
getDisplayText()
Return the text representation of this method for display to the user. |
java.lang.String[] |
getParameterKeys()
Return the array of the required parameter keys for the method. |
java.util.Set |
getParameters()
Get the parameters associated with this shippingCostCalculationMethod. |
java.lang.String |
getType()
Get the type of shippingCostCalculationMethod, i.e. |
void |
setParameters(java.util.Set shippingCostCalculationParameters)
Set the parameters of this shippingCostCalculationMethod. |
void |
setType(java.lang.String type)
Set the type of shippingCostCalculationMethod. |
| 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 |
|---|
Money calculateShippingCost(ShoppingCart shoppingCart)
shoppingCart - - the shoppingCart.
java.lang.String getDisplayText()
java.lang.String[] getParameterKeys()
java.util.Set getParameters()
java.lang.String getType()
void setParameters(java.util.Set shippingCostCalculationParameters)
shippingCostCalculationParameters - a set of ShippingCostCalculationParamater objectsvoid setType(java.lang.String type)
type - the type of shippingCostCalculationMethod.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||