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 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.IItemRepo, productRepo product.IProductRepo, promRepo promotion.IPromotionRepo, memberRepo member.IMemberRepo, expressRepo express.IExpressRepo, shipRepo shipment.IShipmentRepo, payRepo payment.IPaymentRepo, cartRepo cart.ICartRepo, shopRepo shop.IShopRepo, valRepo valueobject.IValueRepo, registryRepo registry.IRegistryRepo) order.IOrder
FactoryOrder 工厂方法生成订单
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.IItemRepo, promRepo promotion.IPromotionRepo, memberRepo member.IMemberRepo, deliveryRepo delivery.IDeliveryRepo, expressRepo express.IExpressRepo, shipRepo shipment.IShipmentRepo, valRepo valueobject.IValueRepo) order.IOrderManager
func NewSubNormalOrder ¶
func NewSubNormalOrder(v *order.NormalSubOrder, manager order.IOrderManager, rep order.IOrderRepo, mmRepo member.IMemberRepo, goodsRepo item.IItemRepo, 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.