return OrderDeletedEvent.deletionForbidden(deleteOrderEvent.getKey(), order.toOrderDetails());
}
ordersPersistenceService.deleteOrder(deleteOrderEvent);
return new OrderDeletedEvent(deleteOrderEvent.getKey(), order.toOrderDetails());
}
@Override
public OrderStatusEvent requestOrderStatus(RequestOrderStatusEvent requestOrderDetailsEvent) {
return ordersPersistenceService.requestOrderStatus(requestOrderDetailsEvent);