Skip to content

Conversation

@johngrib
Copy link
Owner

@johngrib johngrib commented Mar 12, 2020

image

image

johngrib added 21 commits March 8, 2020 22:06
* 할인 조건은 할인 조건의 타입을 갖는다.
* 기존의 설계와 동일한 부분은 세 가지 뿐이다.
    * title 을 인스턴스 변수로 포함한다.
    * runningTime 을 인스턴스 변수로 포함한다.
    * fee 를 인스턴스 변수로 포함한다.
* 가장 큰 차이점은 할인 조건 목록(discountConditions)이 포함되어 있다는 것.
* DiscountCondition 생성자를 추가했습니다.
* DiscountConditionType.PERIOD 일 경우의 isDiscountable 테스트 코드를 작성했습니다.
테스트를 위해 Getter를 추가했습니다.
@johngrib johngrib merged commit c05c319 into master Mar 12, 2020
@johngrib johngrib deleted the chapter-04 branch March 12, 2020 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants