order

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: GPL-2.0 Imports: 27 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.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.

Jump to

Keyboard shortcuts

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