金额分摊
2021-06-22 21:09:48 0 举报
金额分摊UML
作者其他创作
大纲/内容
1
ActivityApportionHandler
+ doApportion(DiscountsItem) : List<ItemApportionRecord>
PackageApportionHandler
Item
+ itemId : string+ itemName : string+ quantity : int+ unitPrice : long
DiscountsItem
+ discounts : Discounts+ itemList : Item
+ parseTrade(Trade) : DiscountsItem
Trade
+ tradeId : string+ orderAmount : long+ payAmount : long
+ apportionEvent(Trade)
I DiscountsApportionHandlerAdapter
+ handlers : List<ApportionHandler>
+ trigger()+ apportion(List<DiscountsItem>) : List<ItemApportionDetail>- mergeDetail(List<ItemApportionRecord>) : List<ItemApportionDetail>
TicketApportionHandler
*
ApportionRecord
+ discountsId : string+ discountsType : DiscountsTypeEnum+ discountsAmount : long
+toString()
IntegralApportionHandler
ItemApportionDetail
+ itemId : string+ itemName : string+ apportionDetail : List<ApportionDetail>
ItemApportionRecord
+ itemId : string+ itemName : string+ apportionDetail : ApportionDetail
Discounts
+ discountsId : string+ discountsType : string+ discountsAmount : long
DiscountsTypeEnum
+ Integral+ Ticket+ Activity+ Package
+ vauleOf(string)
I ApportionHandler
0 条评论
下一页