Class DefaultFindPaymentCostStrategy
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.service.AbstractService
-
- de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
-
- de.hybris.platform.order.strategies.calculation.impl.DefaultFindPaymentCostStrategy
-
- All Implemented Interfaces:
FindPaymentCostStrategy,ServiceLayerOnlyCalculationVerifier,java.io.Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class DefaultFindPaymentCostStrategy extends AbstractBusinessService implements FindPaymentCostStrategy
Default implementation ofFindPaymentCostStrategy.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
AbstractService.SerializableDTO
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
modelService, sessionService, txManager
-
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant
-
-
Constructor Summary
Constructors Constructor Description DefaultFindPaymentCostStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PriceValuegetPaymentCost(AbstractOrderModel order)Returns cost of the given order that is related with payment.-
Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManager
-
Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier
isSLOnly
-
-
-
-
Method Detail
-
getPaymentCost
public PriceValue getPaymentCost(AbstractOrderModel order)
Description copied from interface:FindPaymentCostStrategyReturns cost of the given order that is related with payment.- Specified by:
getPaymentCostin interfaceFindPaymentCostStrategy- Parameters:
order-AbstractOrderModel- Returns:
PriceValuerepresenting payment cost introduced in the order.
-
-