Interface ReservationStrategy
- All Known Implementing Classes:
DefaultReservationStrategy
public interface ReservationStrategy
Strategy for Omni Channel Availability Reservations
-
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteReservation(AbstractOrderModel abstractOrderModel) Deletes the temporary reservation in the SAP Customer Activity Repository system, based on the given Order.booleandeleteReservationItem(AbstractOrderModel abstractOrderModel, AbstractOrderEntryModel abstractOrderEntryModel) Deletes the temporary reservation item in the SAP Customer Activity Repository system, based on the given order and order item.updateReservation(AbstractOrderModel abstractOrderModel, String reservationStatus) Updates the temporary reservation in the SAP Customer Activity Repository
-
Method Details
-
updateReservation
ReservationResponse updateReservation(AbstractOrderModel abstractOrderModel, String reservationStatus) Updates the temporary reservation in the SAP Customer Activity Repository- Parameters:
abstractOrderModel-- Returns:
- ReservationResponse: PoJo with the Response of the temporary reservation REST service
-
deleteReservation
Deletes the temporary reservation in the SAP Customer Activity Repository system, based on the given Order.- Parameters:
abstractOrderModel-- Returns:
- boolean
-
deleteReservationItem
boolean deleteReservationItem(AbstractOrderModel abstractOrderModel, AbstractOrderEntryModel abstractOrderEntryModel) Deletes the temporary reservation item in the SAP Customer Activity Repository system, based on the given order and order item.- Parameters:
abstractOrderModel-abstractOrderEntryModel-- Returns:
- boolean
-