Class InvoiceFacadeImpl
- java.lang.Object
-
- de.hybris.platform.sap.sapinvoicefacades.facade.impl.InvoiceFacadeImpl
-
- All Implemented Interfaces:
InvoiceFacade
public class InvoiceFacadeImpl extends java.lang.Object implements InvoiceFacade
-
-
Constructor Summary
Constructors Constructor Description InvoiceFacadeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]generatePdf(java.lang.String billDocumentNumber)Method to generate PdfInvoiceServicegetInvoiceService()voidsetInvoiceService(InvoiceService invoiceService)
-
-
-
Method Detail
-
getInvoiceService
public InvoiceService getInvoiceService()
- Returns:
- the invoiceService
-
setInvoiceService
public void setInvoiceService(InvoiceService invoiceService)
- Parameters:
invoiceService- the invoiceService to set
-
generatePdf
public byte[] generatePdf(java.lang.String billDocumentNumber) throws UnableToRetrieveInvoiceExceptionDescription copied from interface:InvoiceFacadeMethod to generate Pdf- Specified by:
generatePdfin interfaceInvoiceFacade- Parameters:
billDocumentNumber- number of bill in string format- Returns:
- byte array of PDF document
- Throws:
UnableToRetrieveInvoiceException- Exception
-
-