com.elasticpath.domain.shipping.impl
Class AbstractShippingCostCalculationMethodImpl
java.lang.Object
com.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractEntityImpl
com.elasticpath.domain.shipping.impl.AbstractShippingCostCalculationMethodImpl
- All Implemented Interfaces:
- Entity, EpDomain, Persistence, ShippingCostCalculationMethod, java.io.Serializable
- Direct Known Subclasses:
- CostPerUnitWeightMethodImpl, FixedBaseAndCostPerUnitWeightMethodImpl, FixedBaseAndOrderTotalPercentageMethodImpl, FixedPriceMethodImpl, OrderTotalPercentageMethodImpl
public abstract class AbstractShippingCostCalculationMethodImpl
- extends AbstractEntityImpl
- implements ShippingCostCalculationMethod
A shippingCostCalculationMethod represents a method to be used for shipping cost calculation. It is a component of a shipping service level.
- See Also:
- Serialized Form
Method Summary |
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 class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- Serial version id.
- See Also:
- Constant Field Values
AbstractShippingCostCalculationMethodImpl
public AbstractShippingCostCalculationMethodImpl()
getParameters
public java.util.Set getParameters()
- Get the parameters associated with this shippingCostCalculationMethod.
- Specified by:
getParameters
in interface ShippingCostCalculationMethod
- Returns:
- the parameters
getType
public java.lang.String getType()
- Get the type of shippingCostCalculationMethod, i.e. fixBase, fixBaseAndPercentageOfOrderTotal and etc.
- Specified by:
getType
in interface ShippingCostCalculationMethod
- Returns:
- the shippingCostCalculationMethod type.
setParameters
public void setParameters(java.util.Set shippingCostCalculationParameters)
- Set the parameters of this shippingCostCalculationMethod.
- Specified by:
setParameters
in interface ShippingCostCalculationMethod
- Parameters:
shippingCostCalculationParameters
- a set of ShippingCostCalculationParamater
objects
setType
public void setType(java.lang.String type)
- Set the type of shippingCostCalculationMethod.
- Specified by:
setType
in interface ShippingCostCalculationMethod
- Parameters:
type
- the type of shippingCostCalculationMethod.