order

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOrderLogic

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

func NewCreateOrderLogic

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

Create order

func (*CreateOrderLogic) CreateOrder

func (l *CreateOrderLogic) CreateOrder(req *types.CreateOrderRequest) error

type GetOrderListLogic

type GetOrderListLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewGetOrderListLogic

func NewGetOrderListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetOrderListLogic

NewGetOrderListLogic Get order list

func (*GetOrderListLogic) GetOrderList

func (l *GetOrderListLogic) GetOrderList(req *types.GetOrderListRequest) (resp *types.GetOrderListResponse, err error)

type UpdateOrderStatusLogic

type UpdateOrderStatusLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewUpdateOrderStatusLogic

func NewUpdateOrderStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateOrderStatusLogic

Update order status

func (*UpdateOrderStatusLogic) UpdateOrderStatus

func (l *UpdateOrderStatusLogic) UpdateOrderStatus(req *types.UpdateOrderStatusRequest) error

Jump to

Keyboard shortcuts

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