order

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2021 License: GPL-2.0 Imports: 26 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ 56x.net.
  • name : cash_back
  • author : jarryliu
  • date : -- :
  • description :
  • history :

Index

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL