Class SapBillingInvoiceFacadeImpl
java.lang.Object
com.sap.hybris.sapbillinginvoicefacades.facade.impl.SapBillingInvoiceFacadeImpl
- All Implemented Interfaces:
SapBillingInvoiceFacade
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.store.services.BaseStoreServicegetBillingDocumentsForOrder(String orderCode) Gets Billing Documents Data for a orderprotected voidgetBillingDocumentsForSAPOrder(List<ExternalSystemBillingDocumentData> billingItems, SAPOrderModel sapOrder, String orderType) getBusinessDocumentFromS4ServiceOrderCode(SAPOrderModel serviceOrderData) Deprecated, for removal: This API element is subject to removal in a future version.since 2108, Unused methodde.hybris.platform.commerceservices.customer.CustomerAccountServicebyte[]getPDFData(String sapOrderCode, String billingDocId) Gets PDF 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.voidregisterHandler(String stringValue, SapBillingInvoiceStrategy handler) voidremoveHandler(String stringValue) voidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) voidsetCustomerAccountService(de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService) voidsetHandlers(Map<String, SapBillingInvoiceStrategy> handlers) voidsetSapBillingInvoiceService(SapBillingInvoiceService sapBillingInvoiceService) voidsetSapBillingInvoiceUtils(SapBillingInvoiceUtils sapBillingInvoiceUtils)
-
Constructor Details
-
SapBillingInvoiceFacadeImpl
public SapBillingInvoiceFacadeImpl()
-
-
Method Details
-
getCustomerAccountService
public de.hybris.platform.commerceservices.customer.CustomerAccountService getCustomerAccountService() -
setCustomerAccountService
public void setCustomerAccountService(de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService) -
getBaseStoreService
public de.hybris.platform.store.services.BaseStoreService getBaseStoreService() -
setBaseStoreService
public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) -
setHandlers
-
registerHandler
-
removeHandler
-
getSapBillingInvoiceUtils
-
setSapBillingInvoiceUtils
-
getSapBillingInvoiceService
-
setSapBillingInvoiceService
-
getServiceOrderBySapOrderCode
@Deprecated(since="2108", forRemoval=true) public 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 functionalityDescription copied from interface:SapBillingInvoiceFacadeGets Service Order from SAP Order Code- Specified by:
getServiceOrderBySapOrderCodein interfaceSapBillingInvoiceFacade- Parameters:
sapOrderCode- Sap Order code from SAP Order Data- Returns:
- SAPOrderModel SAP Order model
-
getBusinessDocumentFromS4ServiceOrderCode
@Deprecated(since="2108", forRemoval=true) public Map<String,Object> getBusinessDocumentFromS4ServiceOrderCode(SAPOrderModel serviceOrderData) Deprecated, for removal: This API element is subject to removal in a future version.since 2108, Unused methodDescription copied from interface:SapBillingInvoiceFacadeGets Business Document from S/4 Cloud for service order code- Specified by:
getBusinessDocumentFromS4ServiceOrderCodein interfaceSapBillingInvoiceFacade- Parameters:
serviceOrderData- SAPOrder for commerce order- Returns:
- Map object of all the business document from s4
-
getSapOrderBySapOrderCode
Description copied from interface:SapBillingInvoiceFacadeGets SAP Order from SAP Order Code- Specified by:
getSapOrderBySapOrderCodein interfaceSapBillingInvoiceFacade- Parameters:
sapOrderCode- Sap Order code for SAP Order- Returns:
- SAPOrderModel SAP Order model
-
getPDFData
public byte[] getPDFData(String sapOrderCode, String billingDocId) throws SapBillingInvoiceUserException Description copied from interface:SapBillingInvoiceFacadeGets PDF Data- Specified by:
getPDFDatain interfaceSapBillingInvoiceFacade- Parameters:
sapOrderCode- Sap Order code of SAPOrderbillingDocId- Billing Document ID of target System- Returns:
- PDF Byte array
- Throws:
SapBillingInvoiceUserException- when pdf is accessed by different USER
-
getBillingDocumentsForOrder
Description copied from interface:SapBillingInvoiceFacadeGets Billing Documents Data for a order- Specified by:
getBillingDocumentsForOrderin interfaceSapBillingInvoiceFacade- Parameters:
orderCode- order code- Returns:
- ExternalSystemBillingDocumentData
-
getBillingDocumentsForSAPOrder
protected void getBillingDocumentsForSAPOrder(List<ExternalSystemBillingDocumentData> billingItems, SAPOrderModel sapOrder, String orderType)
-