Interface SapServiceOrderBillingInvoiceService
-
- All Known Implementing Classes:
DefaultSapServiceOrderBillingInvoiceService
public interface SapServiceOrderBillingInvoiceServiceService layer interface to retrieve service order billing documents and invoices
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>callS4forBillingDocuments(SAPOrderModel sapOrder, java.lang.String targetSuffixUrl)Gets Billing Documents S/4 Cloud for sap orderbyte[]getPDFData(SAPOrderModel sapOrder, java.lang.String billingDocumentId)Gets PDF Data from S/4 Cloud for sap order data
-
-
-
Method Detail
-
callS4forBillingDocuments
java.util.Map<java.lang.String,java.lang.Object> callS4forBillingDocuments(SAPOrderModel sapOrder, java.lang.String targetSuffixUrl)
Gets Billing Documents S/4 Cloud for sap order- Parameters:
sapOrder- sap ordertargetSuffixUrl- resource url- Returns:
- map of attributes
-
getPDFData
byte[] getPDFData(SAPOrderModel sapOrder, java.lang.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
-
-