常用的價格術語
Pricing Model Definition Language(PMDL):
主要用於描述promotion,涉及到什麼時候應該使用什麼樣的折扣,以及怎樣使用折扣。
PriceInfo:
Order的price,這裏主要有四種類型的PriceInfo對象:
1 OrderPriceInfo
2 ItemPriceInfo
3 ShippingPriceInfo
4 TaxPriceInfo
PricingAdjustment:
描述一個價格爲什麼改變以及是怎樣改變的,既包括金額的改變也包括promotion的改變
PricingContext:
提供一個正在倍計算價格的item,比如order,site,promotion,locale,profile .etc.
PricingModel:
描述折扣信息的repository item,包括PMDL 規則,折扣類型和金額。
Promotion:
允許你對某一個或某一組產品提供一個折扣
Qualifier:
一個攔截PMDL規則的決定什麼會,打折的服務
Condition:
決定什麼時候應該接受一個折扣
Offer: 決定order那一部分接受一個折扣