Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

결제정보 관련 #25

Open
jjeda opened this issue Sep 29, 2019 · 0 comments
Open

결제정보 관련 #25

jjeda opened this issue Sep 29, 2019 · 0 comments
Assignees
Labels
study study this issue TODO TODO Later

Comments

@jjeda
Copy link
Collaborator

jjeda commented Sep 29, 2019

  • 단순히 결제 상태( 결제 전, 결제 완료, 환불 처리 등)를 가지고 있을 것인지
  • 결제 종류 (모바일, 계좌이체, 카드 등)
  • 결제 종류에 따른 정보들 처리 (모바일이면 휴대폰 번호, 계좌이체면 계좌 정보 등)

결제시스템에 대해 공부..

@jjeda jjeda added TODO TODO Later study study this issue labels Sep 29, 2019
@jjeda jjeda self-assigned this Sep 29, 2019
jjeda added a commit that referenced this issue Dec 11, 2019
- 조인 전략으로 상속구조 매핑
- Payment 관련 Entity, Repository 생성:
jjeda added a commit that referenced this issue Dec 13, 2019
- Payment 관련 Entity 생성
- Payment 관련 Dto, Cotroller, Service, Repository 생성
- Service 레이어 추상화
- TODO : 전략패턴 적용
jjeda added a commit that referenced this issue Dec 19, 2019
- Order <-> Payment 일대일 매핑
- PaymentService factory 생성
- PaymentService 공통 로직 추가
jjeda added a commit that referenced this issue Dec 20, 2019
- 각 결제수단 DTO 들이 PaymentDto 를 상속받게 변경
- CashPaymentService 결제 메서드 수정
- TODO : 공통 부분 추출
jjeda added a commit that referenced this issue Dec 24, 2019
- 결제완료 메서드 -> OrderService 로 이동
- 각 결제별 핵심로직은 PaymentService 로 추상화
- Factory 로직을 분기 -> Map 으로 변경
- DTO 와 Adapter 로 책임 분리
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
study study this issue TODO TODO Later
Projects
None yet
Development

No branches or pull requests

1 participant