Interface OrderBaseBackend

    • Method Detail

      • saveInBackend

        boolean saveInBackend​(Order ordr,
                              boolean commit)
                       throws BackendException
        Saves a basket in the back end as an order object.
        Parameters:
        ordr - Order BO to be saved
        commit - if true commit in the back end will be triggered.
        Returns:
        true if the save in the back end was successful.
        Throws:
        BackendException - in case of a back-end error
      • isCancelable

        boolean isCancelable​(Order order)
        Checks if the order is cancelable, different logic is implemented for the different back ends.
        Parameters:
        order - Order which is checked
        Returns:
        true if order is cancelable