Class InvoiceFacadeImpl
java.lang.Object
de.hybris.platform.sap.sapinvoicefacades.facade.impl.InvoiceFacadeImpl
- All Implemented Interfaces:
InvoiceFacade
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]generatePdf(String billDocumentNumber) Method to generate PdfvoidsetInvoiceService(InvoiceService invoiceService)
-
Constructor Details
-
InvoiceFacadeImpl
public InvoiceFacadeImpl()
-
-
Method Details
-
getInvoiceService
- Returns:
- the invoiceService
-
setInvoiceService
- Parameters:
invoiceService- the invoiceService to set
-
generatePdf
Description 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
-