Interface SapServiceOrderCheckoutFacade
- All Known Implementing Classes:
DefaultSapServiceOrderCheckoutFacade
public interface SapServiceOrderCheckoutFacade
Facade interface for Service order checkout
-
Method Summary
Modifier and TypeMethodDescriptionChecks for Service Products in CartRetrieves the lead days configured in SAPConfigurationReteives requested service date from the current cartReturns service lead datebooleanrescheduleServiceRequestDate(String orderCode, Date rescheduleDate) Reschdeules service ordervoidUpdate cart model with schedule service date
-
Method Details
-
getLeadDaysForService
Integer getLeadDaysForService()Retrieves the lead days configured in SAPConfiguration- Returns:
- number of lead days
-
updateCartWithServiceScheduleDate
Update cart model with schedule service date- Parameters:
date- schedule service date
-
containsServiceProductInCart
Boolean containsServiceProductInCart()Checks for Service Products in Cart- Returns:
- true if cart contains service products
-
getRequestedServiceDate
Date getRequestedServiceDate()Reteives requested service date from the current cart- Returns:
- requested service date
-
getServiceLeadDate
Date getServiceLeadDate()Returns service lead date- Returns:
- service lead date
-
rescheduleServiceRequestDate
Reschdeules service order- Parameters:
orderCode- order idrescheduleDate- rescheduleDate- Returns:
- returns true on success and false otherwise
-