Class SapBillingInvoiceServiceStrategyImpl
java.lang.Object
de.hybris.platform.sap.sapserviceorderfacades.billinginvoice.strategy.impl.SapBillingInvoiceServiceStrategyImpl
- All Implemented Interfaces:
SapBillingInvoiceStrategy
public class SapBillingInvoiceServiceStrategyImpl
extends Object
implements SapBillingInvoiceStrategy
Strategy implementation for retrieving service order billing documents and invoices pdf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBillingDocuments(SAPOrderModel sapOrder) Gets Billing Documents permissiongetBusinessDocumentFromS4(SAPOrderModel sapOrder) de.hybris.platform.servicelayer.config.ConfigurationServicede.hybris.platform.servicelayer.dto.converter.Converter<com.google.gson.JsonObject,ExternalSystemBillingDocumentData> byte[]getPDFData(SAPOrderModel sapOrder, String billingDocId) Gets PDF Datade.hybris.platform.commercefacades.product.PriceDataFactoryvoidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) voidsetExternalSystemBillingDocumentConverter(de.hybris.platform.servicelayer.dto.converter.Converter<com.google.gson.JsonObject, ExternalSystemBillingDocumentData> externalSystemBillingDocumentConverter) voidsetPriceFactory(de.hybris.platform.commercefacades.product.PriceDataFactory priceFactory) voidsetSapBillingInvoiceUtils(SapBillingInvoiceUtils sapBillingInvoiceUtils) voidsetSapPlantLogSysOrgService(SapPlantLogSysOrgService sapPlantLogSysOrgService) voidsetSapServiceOrderBillingInvoiceService(SapServiceOrderBillingInvoiceService sapServiceOrderBillingInvoiceService)
-
Constructor Details
-
SapBillingInvoiceServiceStrategyImpl
public SapBillingInvoiceServiceStrategyImpl()
-
-
Method Details
-
getBillingDocuments
Description copied from interface:SapBillingInvoiceStrategyGets Billing Documents permission- Specified by:
getBillingDocumentsin interfaceSapBillingInvoiceStrategy- Parameters:
sapOrder- SAPOrder created from commerce order
-
getBusinessDocumentFromS4
-
getPDFData
public byte[] getPDFData(SAPOrderModel sapOrder, String billingDocId) throws SapBillingInvoiceUserException Description copied from interface:SapBillingInvoiceStrategyGets PDF Data- Specified by:
getPDFDatain interfaceSapBillingInvoiceStrategy- Parameters:
sapOrder- SAPOrder created from commerce orderbillingDocId- Billing Document ID of target System- Throws:
SapBillingInvoiceUserException
-
getSapServiceOrderBillingInvoiceService
-
setSapServiceOrderBillingInvoiceService
public void setSapServiceOrderBillingInvoiceService(SapServiceOrderBillingInvoiceService sapServiceOrderBillingInvoiceService) -
getPriceFactory
public de.hybris.platform.commercefacades.product.PriceDataFactory getPriceFactory() -
setPriceFactory
public void setPriceFactory(de.hybris.platform.commercefacades.product.PriceDataFactory priceFactory) -
getSapBillingInvoiceUtils
-
setSapBillingInvoiceUtils
-
getExternalSystemBillingDocumentConverter
public de.hybris.platform.servicelayer.dto.converter.Converter<com.google.gson.JsonObject,ExternalSystemBillingDocumentData> getExternalSystemBillingDocumentConverter() -
setExternalSystemBillingDocumentConverter
public void setExternalSystemBillingDocumentConverter(de.hybris.platform.servicelayer.dto.converter.Converter<com.google.gson.JsonObject, ExternalSystemBillingDocumentData> externalSystemBillingDocumentConverter) -
getSapPlantLogSysOrgService
-
setSapPlantLogSysOrgService
-
getConfigurationService
public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService() -
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
-