@@ -0,0 +1,125 @@
+package store;
+
+import java.util.List;
+import store.product.Product;
+import store.product.Receipt;
+import store.utils.Transformer;
+
+public class StoreOutputView {
+
+    public void welcomeConsumer(List<Product> products){
+        StoreViewMessage.WELCOME.printMessage();
+        for(Product product : products){
+            printSellingProduct(product);
+        }
+    }
+
+    public void printAccount(List<Receipt> receipts, int disCountPrice){
+        StoreViewMessage.RECEIPT_HEAD.printMessage();
+        printPurchaseProductList(receipts);
+        printPromotionReturnProductList(receipts);
+        printBill(receipts,disCountPrice);
+    }
+
+    public void printSellingProduct(Product product){
+        String promotionName = "";
+        if(product.isPromotionExist()){
+            promotionName = product.getPromotionName();
+        }
+
+        if(product.isInsufficient()){
+            StoreViewMessage.printInsufficientProduct(product.getName(),product.getPrice(),promotionName);
+            return;
+        }
+        StoreViewMessage.printProduct(product.getName(),product.getPrice(),product.getCount(),promotionName);
+    }
+
+
+    public void printPurchaseProductList(List<Receipt> receipts){
+
+        StoreViewMessage.printReceiptProductListHead();
+        for(Receipt receipt : receipts){
+            StoreViewMessage.printReceiptFormat(receipt.getProductName(), Integer.toString(receipt.getActualCount()),Integer.toString(receipt.getActualPrice()));
+        }
+
+    }
+
+    public void printPromotionReturnProductList(List<Receipt> receipts){
+        StoreViewMessage.RECEIPT_HEAD_PROMOTION.printMessage();
+        String emtpy = "";
+        List<Receipt> promotionReceipts = receipts.stream().filter((Receipt::isPromotionApplied)).toList();
+        for(Receipt receipt : promotionReceipts){
+            StoreViewMessage.printReceiptFormat(receipt.getProductName(),Integer.toString(receipt.getActualCount()),emtpy);
+        }
+    }
+
+    public void printBill(List<Receipt> receipts, int disCountPrice){
+        StoreViewMessage.RECEIPT_HEAD_ACCOUNT.printMessage();
+        List<Integer> accounts = calculateTotalReceipt(receipts);
+        int totalCountColumn = 0;
+        int promotedPriceColumn = 1;
+        int totalActualPrice = 2;
+
+        printBillMessage(accounts.get(totalCountColumn),accounts.get(promotedPriceColumn),accounts.get(totalActualPrice),disCountPrice);
+    }
+
+    public void printBillMessage(int totalCount, int promotedPrice, int totalActualPrice, int disCountPrice){
+        printBillMessageTotalActualPrice(totalCount,totalActualPrice);
+        printBillMessagePromotionDiscount(promotedPrice);
+        printBillMessageMembershipDiscount(disCountPrice);
+        printBillMessageTotalPrice(totalActualPrice - promotedPrice - disCountPrice);
+    }
+
+    public void printBillMessageTotalActualPrice(int totalCount,int totalActualPrice){
+        String empty = "";
+        String column = "총구매액";
+        StoreViewMessage.printReceiptFormat(column,Integer.toString(totalCount), Transformer.transformToThousandSeparated(totalActualPrice));
+    }
+
+    public void printBillMessagePromotionDiscount(int promotedPrice){
+        String empty = "";
+        String column = "행사할인";
+        int zero = 0;
+        String discount = "-";
+        if(promotedPrice == zero){
+            discount="";
+        }
+        discount += Transformer.transformToThousandSeparated(promotedPrice);
+
+        StoreViewMessage.printReceiptFormat(column,empty,discount);
+    }
+
+    public void printBillMessageMembershipDiscount(int disCountPrice){
+        String empty = "";
+        String column = "멤버십할인";
+        int zero = 0;
+        String discount = "-";
+        if(disCountPrice == zero){
+            discount="";
+        }
+        discount += Transformer.transformToThousandSeparated(disCountPrice);
+
+        StoreViewMessage.printReceiptFormat(column,empty,discount);
+    }
+
+    public void printBillMessageTotalPrice(int totalPrice){
+        String empty = "";
+        String column = "내실돈";
+
+        StoreViewMessage.printReceiptFormat(column,empty,Transformer.transformToThousandSeparated(totalPrice));
+    }
+
+    public List<Integer> calculateTotalReceipt(List<Receipt> receipts){
+        int totalCount = 0;
+        int promotedPrice = 0;
+        int totalActualPrice = 0;
+        for(Receipt receipt : receipts){
+            totalCount += receipt.getActualCount();
+            promotedPrice += receipt.getDisCountPrice();
+            totalActualPrice += receipt.getActualPrice();
+        }
+
+        return List.of(totalCount,promotedPrice,totalActualPrice) ;
+    }
+
+}

리뷰: 저도 dto를 선언하여 객체간의 커뮤니케이션에 사용하는 것을 선호하는데요.

시간이 부족하여 dto를 따로 선언하는 것보다, 도메인 데이터 클래스를 dto처럼 활용하는 방식을 택하였습니다.