Documentation ¶
Overview ¶
*
- Copyright 2015 @ 56x.net.
- name : cash_back
- author : jarryliu
- date : -- :
- description :
- history :
Index ¶
- func FactoryOrder(v *order.Order, manager order.IOrderManager, repo order.IOrderRepo, ...) order.IOrder
- func HandleCashBackDataTag(m member.IMember, o order.IOrder, c promotion.ICashBackPromotion, ...)
- func NewOrderManager(cartRepo cart.ICartRepo, mchRepo merchant.IMerchantRepo, repo order.IOrderRepo, ...) order.IOrderManager
- func NewPostedData(data map[string]string) order.IPostedData
- func NewSubNormalOrder(v *order.NormalSubOrder, manager order.IOrderManager, rep order.IOrderRepo, ...) order.ISubOrder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FactoryOrder ¶
func FactoryOrder(v *order.Order, manager order.IOrderManager, repo order.IOrderRepo, mchRepo merchant.IMerchantRepo, itemRepo item.IGoodsItemRepo, productRepo product.IProductRepo, promRepo promotion.IPromotionRepo, memberRepo member.IMemberRepo, expressRepo express.IExpressRepo, shipRepo shipment.IShipmentRepo, payRepo payment.IPaymentRepo, cartRepo cart.ICartRepo, valRepo valueobject.IValueRepo, registryRepo registry.IRegistryRepo) order.IOrder
工厂方法生成订单
func HandleCashBackDataTag ¶
func HandleCashBackDataTag(m member.IMember, o order.IOrder, c promotion.ICashBackPromotion, memberRepo member.IMemberRepo)
func NewOrderManager ¶
func NewOrderManager(cartRepo cart.ICartRepo, mchRepo merchant.IMerchantRepo, repo order.IOrderRepo, payRepo payment.IPaymentRepo, productRepo product.IProductRepo, goodsRepo item.IGoodsItemRepo, promRepo promotion.IPromotionRepo, memberRepo member.IMemberRepo, deliveryRepo delivery.IDeliveryRepo, expressRepo express.IExpressRepo, shipRepo shipment.IShipmentRepo, valRepo valueobject.IValueRepo) order.IOrderManager
func NewPostedData ¶
func NewPostedData(data map[string]string) order.IPostedData
func NewSubNormalOrder ¶
func NewSubNormalOrder(v *order.NormalSubOrder, manager order.IOrderManager, rep order.IOrderRepo, mmRepo member.IMemberRepo, goodsRepo item.IGoodsItemRepo, shipRepo shipment.IShipmentRepo, productRepo product.IProductRepo, paymentRepo payment.IPaymentRepo, valRepo valueobject.IValueRepo, mchRepo merchant.IMerchantRepo, registryRepo registry.IRegistryRepo) order.ISubOrder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.