Interface SapMyAccountFacade
- All Known Implementing Classes:
SapMyAccountFacadeImpl
public interface SapMyAccountFacade
This Interface @SapMyAccountFacade needs to be implemented for Invoice related feature in My Account - CDP
integration.
-
Method Summary
Modifier and TypeMethodDescriptiongetInvoices(OrderModel order) Fetch Invoices related to a particular order based on the customerbyte[]getPDFData(OrderModel orderModel, String invoiceId) Download invoice pdf from external system
-
Method Details
-
getInvoices
Fetch Invoices related to a particular order based on the customer- Parameters:
order- order for which invoices are needed- Returns:
- List
containing all the invoice related data.
-
getPDFData
Download invoice pdf from external system- Parameters:
orderModel- order for which invoice pdf is neededinvoiceId- id of the invoice in the external system- Returns:
- byte[] Invoice data in bytes.
-