Interface SapServiceOrderBillingInvoiceService
- All Known Implementing Classes:
DefaultSapServiceOrderBillingInvoiceService
public interface SapServiceOrderBillingInvoiceService
Service layer interface to retrieve service order billing documents and invoices
-
Method Summary
Modifier and TypeMethodDescriptioncallS4forBillingDocuments(SAPOrderModel sapOrder, String targetSuffixUrl) Gets Billing Documents S/4 Cloud for sap orderbyte[]getPDFData(SAPOrderModel sapOrder, String billingDocumentId) Gets PDF Data from S/4 Cloud for sap order data
-
Method Details
-
callS4forBillingDocuments
Gets Billing Documents S/4 Cloud for sap order- Parameters:
sapOrder- sap ordertargetSuffixUrl- resource url- Returns:
- map of attributes
-
getPDFData
byte[] getPDFData(SAPOrderModel sapOrder, String billingDocumentId) throws SapBillingInvoiceUserException Gets PDF Data from S/4 Cloud for sap order data- Parameters:
sapOrder- SAPOrder created from commerce orderbillingDocumentId- Billing Document ID of external system- Returns:
- PDF Byte array
- Throws:
SapBillingInvoiceUserException- when pdf is accessed by different USER
-