Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePaymentChannelLogic ¶
func NewCreatePaymentChannelLogic ¶
func NewCreatePaymentChannelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreatePaymentChannelLogic
func (*CreatePaymentChannelLogic) CreatePaymentChannel ¶
func (l *CreatePaymentChannelLogic) CreatePaymentChannel(req *payment.CreatePaymentChannelRequest) (*payment.CreatePaymentChannelResponse, error)
type CreatePaymentLogic ¶
func NewCreatePaymentLogic ¶
func NewCreatePaymentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreatePaymentLogic
func (*CreatePaymentLogic) CreatePayment ¶
func (l *CreatePaymentLogic) CreatePayment(in *payment.CreatePaymentRequest) (*payment.CreatePaymentResponse, error)
type CreateRefundLogic ¶
func NewCreateRefundLogic ¶
func NewCreateRefundLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateRefundLogic
func (*CreateRefundLogic) CreateRefund ¶
func (l *CreateRefundLogic) CreateRefund(in *payment.CreateRefundRequest) (*payment.CreateRefundResponse, error)
退款相关
type GetPaymentLogic ¶
func NewGetPaymentLogic ¶
func NewGetPaymentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPaymentLogic
func (*GetPaymentLogic) GetPayment ¶
func (l *GetPaymentLogic) GetPayment(in *payment.GetPaymentRequest) (*payment.GetPaymentResponse, error)
type GetPaymentStatusLogic ¶
func NewGetPaymentStatusLogic ¶
func NewGetPaymentStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPaymentStatusLogic
func (*GetPaymentStatusLogic) GetPaymentStatus ¶
func (l *GetPaymentStatusLogic) GetPaymentStatus(in *payment.GetPaymentStatusRequest) (*payment.GetPaymentStatusResponse, error)
type GetRefundLogic ¶
func NewGetRefundLogic ¶
func NewGetRefundLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRefundLogic
func (*GetRefundLogic) GetRefund ¶
func (l *GetRefundLogic) GetRefund(in *payment.GetRefundRequest) (*payment.GetRefundResponse, error)
type ListPaymentChannelsLogic ¶
func NewListPaymentChannelsLogic ¶
func NewListPaymentChannelsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListPaymentChannelsLogic
func (*ListPaymentChannelsLogic) ListPaymentChannels ¶
func (l *ListPaymentChannelsLogic) ListPaymentChannels(in *payment.ListPaymentChannelsRequest) (*payment.ListPaymentChannelsResponse, error)
type PaymentNotifyLogic ¶
func NewPaymentNotifyLogic ¶
func NewPaymentNotifyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PaymentNotifyLogic
func (*PaymentNotifyLogic) PaymentNotify ¶
func (l *PaymentNotifyLogic) PaymentNotify(in *payment.PaymentNotifyRequest) (*payment.PaymentNotifyResponse, error)
type RefundNotifyLogic ¶
func NewRefundNotifyLogic ¶
func NewRefundNotifyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RefundNotifyLogic
func (*RefundNotifyLogic) RefundNotify ¶
func (l *RefundNotifyLogic) RefundNotify(in *payment.RefundNotifyRequest) (*payment.RefundNotifyResponse, error)
type UpdatePaymentChannelLogic ¶
func NewUpdatePaymentChannelLogic ¶
func NewUpdatePaymentChannelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePaymentChannelLogic
func (*UpdatePaymentChannelLogic) UpdatePaymentChannel ¶
func (l *UpdatePaymentChannelLogic) UpdatePaymentChannel(in *payment.UpdatePaymentChannelRequest) (*payment.UpdatePaymentChannelResponse, error)
Click to show internal directories.
Click to hide internal directories.