PromotionDiscountType
프로모션 할인 유형 Enum. 프로모션 주체 구분.
값 목록
| 값 | 설명 |
|---|---|
CARD_PROMOTION | 카드사 프로모션 |
SELLER_PROMOTION | 판매자 프로모션 |
메서드
toDiscountType()
fun toDiscountType(): DiscountTypeDiscountType으로 변환.
| PromotionDiscountType | DiscountType |
|---|---|
| CARD_PROMOTION | CARD_PROMOTION |
| SELLER_PROMOTION | SELLER_PROMOTION |
사용처
- 프로모션 유형 구분
- 할인 계산 분기