package io.github.zutherb.appstash.shop.service.checkout.api;

import io.github.zutherb.appstash.shop.service.order.model.OrderItemInfo;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author zutherb
 */
public interface Checkout {
    List<OrderItemInfo> getOrderItemInfos();
    BigDecimal getTotalSum();
}

@@ -314,10 +314,43 @@
 lSum();%0A
+    BigDecimal getDiscountSum();%0A
 %7D%0A

Update Checkout.java