Documentation ¶
Index ¶
- type CreateOrderExtensionLogic
- type CreateOrderLogic
- type GetOrderExtensionLogic
- type GetOrderLogic
- type GetOrderPageLogic
- type NotifyOrderLogic
- func (l *NotifyOrderLogic) NotifyOrder(in *pay.NotifyOrderReq) (*pay.BaseResp, error)
- func (l *NotifyOrderLogic) NotifyOrder0(channelCode string, resp *model.OrderResp) error
- func (l *NotifyOrderLogic) UpdateOrderExtensionSuccess(notifyResp *model.OrderResp, tx *ent.Tx) (*ent.OrderExtension, error)
- func (l *NotifyOrderLogic) UpdateOrderSuccess(tx *ent.Tx, channelCode string, orderExtension *ent.OrderExtension, ...) error
- type SubmitPayOrderLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrderExtensionLogic ¶
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 ¶
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 ¶
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 ¶
func NewGetOrderLogic ¶
func NewGetOrderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetOrderLogic
type GetOrderPageLogic ¶
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 ¶
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
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)
Click to show internal directories.
Click to hide internal directories.