order

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOrderExtensionLogic

type CreateOrderExtensionLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateOrderExtensionLogic

func NewCreateOrderExtensionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrderExtensionLogic

func (*CreateOrderExtensionLogic) CreateOrderExtension

func (l *CreateOrderExtensionLogic) CreateOrderExtension(in *pay.OrderCreateExtensionReq) (*pay.BaseIDResp, error)

type CreateOrderLogic

type CreateOrderLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateOrderLogic

func NewCreateOrderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrderLogic

func (*CreateOrderLogic) CreateOrder

func (l *CreateOrderLogic) CreateOrder(in *pay.OrderCreateReq) (*pay.BaseIDResp, error)

CreateOrder Order management

type GetOrderExtensionLogic

type GetOrderExtensionLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetOrderExtensionLogic

func NewGetOrderExtensionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetOrderExtensionLogic

func (*GetOrderExtensionLogic) GetOrderExtension

func (l *GetOrderExtensionLogic) GetOrderExtension(in *pay.IDReq) (*pay.OrderExtensionInfo, error)

type GetOrderLogic

type GetOrderLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetOrderLogic

func NewGetOrderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetOrderLogic

func (*GetOrderLogic) GetOrder

func (l *GetOrderLogic) GetOrder(in *pay.IDReq) (*pay.OrderInfo, error)

type GetOrderPageLogic

type GetOrderPageLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetOrderPageLogic

func NewGetOrderPageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetOrderPageLogic

func (*GetOrderPageLogic) GetOrderPage

func (l *GetOrderPageLogic) GetOrderPage(in *pay.OrderPageReq) (*pay.OrderListResp, error)

func (*GetOrderPageLogic) QueryPage added in v1.1.1

func (l *GetOrderPageLogic) QueryPage(in *pay.OrderPageReq) (*ent.OrderPageList, error)

type NotifyOrderLogic

type NotifyOrderLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewNotifyOrderLogic

func NewNotifyOrderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyOrderLogic

func (*NotifyOrderLogic) NotifyOrder

func (l *NotifyOrderLogic) NotifyOrder(in *pay.NotifyOrderReq) (*pay.BaseResp, error)

func (*NotifyOrderLogic) NotifyOrder0 added in v1.1.0

func (l *NotifyOrderLogic) NotifyOrder0(channelCode string, resp *model.OrderResp) error

func (*NotifyOrderLogic) UpdateOrderExtensionSuccess added in v1.1.1

func (l *NotifyOrderLogic) UpdateOrderExtensionSuccess(notifyResp *model.OrderResp, tx *ent.Tx) (*ent.OrderExtension, error)

func (*NotifyOrderLogic) UpdateOrderSuccess added in v1.1.1

func (l *NotifyOrderLogic) UpdateOrderSuccess(tx *ent.Tx, channelCode string, orderExtension *ent.OrderExtension, notifyResp *model.OrderResp) error

type SubmitPayOrderLogic added in v1.1.0

type SubmitPayOrderLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSubmitPayOrderLogic added in v1.1.0

func NewSubmitPayOrderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SubmitPayOrderLogic

func (*SubmitPayOrderLogic) SubmitPayOrder added in v1.1.0

func (l *SubmitPayOrderLogic) SubmitPayOrder(in *pay.OrderSubmitReq) (*pay.OrderSubmitResp, error)

func (*SubmitPayOrderLogic) ValidateOrderCanSubmit added in v1.1.1

func (l *SubmitPayOrderLogic) ValidateOrderCanSubmit(id uint64) (*ent.Order, error)

Jump to

Keyboard shortcuts

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