Interface SapBillingInvoiceService
- All Known Implementing Classes:
DefaultSapS4omBillingInvoiceServiceImpl,SapBillingInvoiceServiceImpl
public interface SapBillingInvoiceService
Service for interacting with DAO and Client.
-
Method Summary
Modifier and TypeMethodDescriptioncallS4forBillingDocuments(SAPOrderModel sapOrder, String targetSuffixUrl) Gets Billing Documents S/4 Cloud for sap orderDeprecated, for removal: This API element is subject to removal in a future version.since 2108, this method will be removed as this method will become unusedDeprecated, for removal: This API element is subject to removal in a future version.since 2108, this method will be removed as this method will become unusedbyte[]getPDFData(SAPOrderModel sapOrder, String billingDocumentId) Gets PDF Data from S/4 Cloud for sap order datagetSapOrderBySapOrderCode(String sapOrderCode) Gets SAP Order from SAP Order CodegetServiceOrderBySapOrderCode(String sapOrderCode) Deprecated, for removal: This API element is subject to removal in a future version.since 2108, method name is misleading as this method is just retrieving SAP Order by SAP order code.
-
Method Details
-
getServiceOrderBySapOrderCode
@Deprecated(since="2108", forRemoval=true) SAPOrderModel getServiceOrderBySapOrderCode(String sapOrderCode) Deprecated, for removal: This API element is subject to removal in a future version.since 2108, method name is misleading as this method is just retrieving SAP Order by SAP order code. Please use method getSapOrderBySapOrderCode() for same functionalityGets Service Order By SAP Order Code- Parameters:
sapOrderCode- Service Order Code of SAPOrder- Returns:
- SAPOrderModel SAP Order model
-
getSapOrderBySapOrderCode
Gets SAP Order from SAP Order Code- Parameters:
sapOrderCode- Sap Order code for SAP Order- Returns:
- SAPOrderModel SAP Order model
-
getBusinessDocumentFromS4ServiceOrderCode
@Deprecated(since="2108", forRemoval=true) Map<String,Object> getBusinessDocumentFromS4ServiceOrderCode(SAPOrderModel sapOrder) Deprecated, for removal: This API element is subject to removal in a future version.since 2108, this method will be removed as this method will become unusedGets All the business Document from S/4 Cloud for service order data- Parameters:
sapOrder- SAPOrder (Service Order) created from commerce order- Returns:
- Map object of all the business document from s4
-
getBusinessDocumentFromS4SSapOrderCode
@Deprecated(since="2108", forRemoval=true) Map<String,Object> getBusinessDocumentFromS4SSapOrderCode(SAPOrderModel sapOrder) Deprecated, for removal: This API element is subject to removal in a future version.since 2108, this method will be removed as this method will become unusedGets All the business Document from S/4 Cloud for sap order data- Parameters:
sapOrder- SAPOrder (Sales Order) created from commerce order- Returns:
- Map object of all the business document from s4
-
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
-
callS4forBillingDocuments
Gets Billing Documents S/4 Cloud for sap order- Parameters:
sapOrder- sap ordertargetSuffixUrl- resource url- Returns:
- map of attributes
-