Interface SapServiceOrderCheckoutFacade

All Known Implementing Classes:
DefaultSapServiceOrderCheckoutFacade

public interface SapServiceOrderCheckoutFacade
Facade interface for Service order checkout
  • Method Details

    • getLeadDaysForService

      Integer getLeadDaysForService()
      Retrieves the lead days configured in SAPConfiguration
      Returns:
      number of lead days
    • updateCartWithServiceScheduleDate

      void updateCartWithServiceScheduleDate(Date date)
      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

      boolean rescheduleServiceRequestDate(String orderCode, Date rescheduleDate)
      Reschdeules service order
      Parameters:
      orderCode - order id
      rescheduleDate - rescheduleDate
      Returns:
      returns true on success and false otherwise