Class DefaultPPSClient
- java.lang.Object
-
- com.sap.ppengine.core.spring.impl.PPSContextAware
-
- com.sap.ppengine.client.util.impl.PPSClientBeanAccessorImpl
-
- com.sap.retail.sapppspricing.impl.DefaultPPSClientBeanAccessor
-
- com.sap.retail.sapppspricing.impl.DefaultPPSClient
-
- All Implemented Interfaces:
com.sap.ppengine.client.util.PPSClientBeanAccessor,PPSClient
public class DefaultPPSClient extends DefaultPPSClientBeanAccessor implements PPSClient
PPS client supporting remote call via REST. For the remote call OAuth authentication is supported. via configuration (seePPSConfigService)
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringAUTHORIZATIONprotected static java.lang.StringDESTINATIONIDprotected static java.lang.StringX_REQUEST_ID
-
Constructor Summary
Constructors Constructor Description DefaultPPSClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sap.ppengine.client.dto.PriceCalculateResponsecallPPS(com.sap.ppengine.client.dto.PriceCalculate priceCalculate, SAPConfigurationModel sapConfig)Call promotion pricing servicede.hybris.platform.store.services.BaseStoreServicegetBaseStoreService()protected ConsumedDestinationModelgetConsumedDestinationModelById(java.lang.String destinationId)de.hybris.platform.servicelayer.search.FlexibleSearchServicegetFlexibleSearchService()de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactorygetIntegrationRestTemplateFactory()voidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService)voidsetFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)voidsetIntegrationRestTemplateFactory(de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory integrationRestTemplateFactory)
-
-
-
Field Detail
-
X_REQUEST_ID
protected static final java.lang.String X_REQUEST_ID
- See Also:
- Constant Field Values
-
AUTHORIZATION
protected static final java.lang.String AUTHORIZATION
- See Also:
- Constant Field Values
-
DESTINATIONID
protected static final java.lang.String DESTINATIONID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConsumedDestinationModelById
protected ConsumedDestinationModel getConsumedDestinationModelById(java.lang.String destinationId)
-
callPPS
public com.sap.ppengine.client.dto.PriceCalculateResponse callPPS(com.sap.ppengine.client.dto.PriceCalculate priceCalculate, SAPConfigurationModel sapConfig)Description copied from interface:PPSClientCall promotion pricing service
-
getBaseStoreService
public de.hybris.platform.store.services.BaseStoreService getBaseStoreService()
-
setBaseStoreService
public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService)
-
getFlexibleSearchService
public de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService()
-
setFlexibleSearchService
public void setFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-
getIntegrationRestTemplateFactory
public de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory getIntegrationRestTemplateFactory()
-
setIntegrationRestTemplateFactory
public void setIntegrationRestTemplateFactory(de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory integrationRestTemplateFactory)
-
-