Interface SapServiceOrderBillingInvoiceService

    • 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 order
        targetSuffixUrl - 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 order
        billingDocumentId - Billing Document ID of external system
        Returns:
        PDF Byte array
        Throws:
        SapBillingInvoiceUserException - when pdf is accessed by different USER