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,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 of
FindPaymentCostStrategy.- See Also:
-
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, txManagerFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPaymentCost(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, setTxManagerMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier
isSLOnly
-
Constructor Details
-
DefaultFindPaymentCostStrategy
public DefaultFindPaymentCostStrategy()
-
-
Method Details
-
getPaymentCost
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.
-