@@ -0,0 +1,88 @@
+package christmas.controller;
+
+import christmas.domain.Badge;
+import christmas.domain.day.Day;
+import christmas.domain.order.OrderSheet;
+import christmas.domain.Price;
+import christmas.domain.event.TotalEventResult;
+import christmas.domain.event.discount.DiscountEventManager;
+import christmas.domain.event.discount.DiscountResult;
+import christmas.domain.event.present.PresentEventManager;
+import christmas.domain.event.present.PresentResult;
+import christmas.dto.BadgeDTO;
+import christmas.dto.PriceDTO;
+import christmas.view.InputView;
+import christmas.view.OutputView;
+
+import java.util.Map;
+
+public class PromotionController {
+    private final InputView inputView;
+    private final OutputView outputView;
+
+    public PromotionController(InputView inputView, OutputView outputView) {
+        this.inputView = inputView;
+        this.outputView = outputView;
+    }
+
+    public void run() {
+        outputView.printStart();
+        Day orderDay = getOrderDay();
+        OrderSheet orderSheet = getOrderSheet();
+        printPreview(orderDay, orderSheet);
+    }
+
+    private Day getOrderDay() {
+        boolean isInValidInput = true;
+        Day orderDay = null;
+        while (isInValidInput) {
+            try {
+                int dayNumber = inputView.readDate();
+                orderDay = new Day(dayNumber);
+                isInValidInput = false;
+            } catch (IllegalArgumentException e) {
+                outputView.printErrorMessage(e.getMessage());
+            }
+        }
+        return orderDay;
+    }
+
+    private OrderSheet getOrderSheet() {
+        boolean isInValidInput = true;
+        OrderSheet orderSheet = null;
+        while (isInValidInput) {
+            try {
+                Map<String, Integer> orderMenus = inputView.readMenu();
+                orderSheet = new OrderSheet(orderMenus);
+                isInValidInput = false;
+            } catch (IllegalArgumentException e) {
+                outputView.printErrorMessage(e.getMessage());
+            }
+        }
+        return orderSheet;
+    }
+
+    private void printPreview(Day orderDay, OrderSheet orderSheet) {
+        printBeforeEvent(orderSheet);
+        printAfterEvent(orderDay, orderSheet);
+    }
+
+    private void printBeforeEvent(OrderSheet orderSheet) {
+        outputView.printPreviewStart();
+        outputView.printOrderSheet(orderSheet.getOrderSheet());
+        outputView.printTotalPriceBeforeDiscount(PriceDTO.from(orderSheet.getTotalPrice()));
+    }
+
+    private void printAfterEvent(Day orderDay, OrderSheet orderSheet) {
+        DiscountResult discountResult = DiscountEventManager.getDiscountResult(orderDay, orderSheet);
+        PresentResult presentResult = PresentEventManager.getPresentResult(orderSheet);
+        outputView.printPresents(presentResult.getPresents());
+        outputView.printEvents(discountResult.getDiscountResults(), PriceDTO.from(presentResult.getTotalPresentPrice()));
+
+        TotalEventResult totalEventResult = new TotalEventResult(discountResult, presentResult);
+        outputView.printTotalDiscountPrice(totalEventResult.getDiscountPrice());
+        outputView.printTotalDiscountedPrice(totalEventResult.getDiscountedPrice(orderSheet.getTotalPrice()));
+        BadgeDTO badge = totalEventResult.getBadge();
+        outputView.printBadge(badge);
+    }
+}

리뷰: 인텔리제이에서 보니 사용하지 않는 import가 있어요.

Intellij를 사용 중이시라면 커밋시 Optimize imports 해주는 기능을 사용하는 걸 추천드립니다!

https://engineerinsight.tistory.com/96

(저도 신경쓰지 못해서 import 정리가 안되어 있을 거 같아요.. 😂)