Interface SapBillingInvoiceService

All Known Implementing Classes:
DefaultSapS4omBillingInvoiceServiceImpl, SapBillingInvoiceServiceImpl

public interface SapBillingInvoiceService
Service for interacting with DAO and Client.
  • 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 functionality
      Gets Service Order By SAP Order Code
      Parameters:
      sapOrderCode - Service Order Code of SAPOrder
      Returns:
      SAPOrderModel SAP Order model
    • getSapOrderBySapOrderCode

      SAPOrderModel getSapOrderBySapOrderCode(String sapOrderCode)
      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 unused
      Gets 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 unused
      Gets 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 order
      billingDocumentId - Billing Document ID of external system
      Returns:
      PDF Byte array
      Throws:
      SapBillingInvoiceUserException - when pdf is accessed by different USER
    • callS4forBillingDocuments

      Map<String,Object> callS4forBillingDocuments(SAPOrderModel sapOrder, String targetSuffixUrl)
      Gets Billing Documents S/4 Cloud for sap order
      Parameters:
      sapOrder - sap order
      targetSuffixUrl - resource url
      Returns:
      map of attributes