com.elasticpath.domain.shipping.impl
Class AbstractShippingCostCalculationMethodImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractEntityImpl
              extended by 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

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
AbstractShippingCostCalculationMethodImpl()
           
 
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 com.elasticpath.domain.impl.AbstractEntityImpl
convertAttributeGroupAttributes, getGuid, setDefaultValues, setGuid
 
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
executeBeforePersistAction, getUidPk, isPersistent, setUidPk
 
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.domain.shipping.ShippingCostCalculationMethod
calculateShippingCost, getDisplayText, getParameterKeys
 
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
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

AbstractShippingCostCalculationMethodImpl

public AbstractShippingCostCalculationMethodImpl()
Method Detail

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.