@@ -0,0 +1,80 @@
+package store.model.domain;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+import store.dto.ReceiptInformation;
+import store.dto.SalesData;
+import store.model.domain.input.CustomerRespond;
+
+public class Receipt {
+
+    private static final int ZERO = 0;
+    public static final int MAX_MEMBERSHIP_DISCOUNT = 8000;
+    public static final int MIN_MEMBERSHIP_DISCOUNT = 1000;
+
+    private final List<String> names = new ArrayList<>();
+    private final List<Integer> quantities = new ArrayList<>();
+    private final List<Integer> prices = new ArrayList<>();
+    private final List<Integer> promotionCounts = new ArrayList<>();
+
+    public void addSalesData(SalesData salesData) {
+        names.add(salesData.getName());
+        quantities.add(salesData.getQuantity());
+        prices.add(salesData.getPrice());
+        promotionCounts.add(salesData.getPromotionCount());
+    }
+
+    public ReceiptInformation getReceiptInformation(CustomerRespond membershipRespond) {
+        int totalPurchased = ZERO;
+        int promotionDiscount = ZERO;
+        int totalQuantity = ZERO;
+        List<Integer> amountInformation = generateAmountInformation(membershipRespond, totalPurchased,
+                promotionDiscount, totalQuantity);
+        Map<String, List> salesDatas = generateSalesDatas();
+        return new ReceiptInformation(salesDatas, amountInformation);
+    }
+
+    private List<Integer> generateAmountInformation(CustomerRespond membershipRespond, int totalPurchased,
+                                                    int promotionDiscount,
+                                                    int totalQuantity) {
+        for (int productKindIndex = ZERO; productKindIndex < names.size(); productKindIndex++) {
+            totalPurchased += quantities.get(productKindIndex) * prices.get(productKindIndex);
+            promotionDiscount += promotionCounts.get(productKindIndex) * prices.get(productKindIndex);
+            totalQuantity += quantities.get(productKindIndex);
+        }
+        int memberShipDiscount = getMembershipDiscount(membershipRespond, totalPurchased, promotionDiscount);
+        int pay = totalPurchased - promotionDiscount - memberShipDiscount;
+        return List.of(totalQuantity, totalPurchased, promotionDiscount, memberShipDiscount, pay);
+    }
+
+    private int getMembershipDiscount(CustomerRespond membershipRespond, int totalPurchasedAmount,
+                                      int promotionDiscountAmount) {
+        if (!membershipRespond.doesCustomerAgree()) {
+            return ZERO;
+        }
+        return calculateMembershipDiscount(totalPurchasedAmount, promotionDiscountAmount);
+    }
+
+    private static int calculateMembershipDiscount(int totalPurchasedAmount, int promotionDiscountAmount) {
+        double discount = (totalPurchasedAmount - promotionDiscountAmount) * 0.3;
+        int memberShipDiscountAmount = ((int) discount / 1000) * 1000;
+        if (memberShipDiscountAmount < MIN_MEMBERSHIP_DISCOUNT) {
+            return ZERO;
+        }
+        if (memberShipDiscountAmount > MAX_MEMBERSHIP_DISCOUNT) {
+            return MAX_MEMBERSHIP_DISCOUNT;
+        }
+        return memberShipDiscountAmount;
+    }
+
+    private Map<String, List> generateSalesDatas() {
+        return Map.of(
+                "names", Collections.unmodifiableList(names),
+                "quantities", Collections.unmodifiableList(quantities),
+                "prices", Collections.unmodifiableList(prices),
+                "promotionCounts", Collections.unmodifiableList(promotionCounts)
+        );
+    }
+}

리뷰: 우테코 피드백 사항을 생각하다 보니 기계적으로 상수화를 진행한 것 같습니다!
할 때 당시에는 큰 이유는 없었지만 그래도 0이라는 숫자보다는 ZERO라는 상수로 표현하는 것이 좀 더 직관적이지 않을까,, 생각도 드네요,,
근데 0도 충분히 직관적이라 매우 의미 있어 보이진 않는 것 같네요 😭