Documentation
¶
Index ¶
- type CreatePaymentChannelRequest
- type CreatePaymentChannelResponse
- type CreatePaymentRequest
- type CreatePaymentResponse
- type CreateRefundRequest
- type CreateRefundResponse
- type GetPaymentRequest
- type GetPaymentResponse
- type GetPaymentStatusRequest
- type GetPaymentStatusResponse
- type GetRefundRequest
- type GetRefundResponse
- type ListPaymentChannelsRequest
- type ListPaymentChannelsResponse
- type Payment
- type PaymentChannel
- type PaymentNotifyRequest
- type PaymentNotifyResponse
- type PaymentOrder
- type RefundNotifyRequest
- type RefundNotifyResponse
- type RefundOrder
- type UpdatePaymentChannelRequest
- type UpdatePaymentChannelResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePaymentChannelRequest ¶
type CreatePaymentChannelRequest = payment.CreatePaymentChannelRequest
type CreatePaymentChannelResponse ¶
type CreatePaymentChannelResponse = payment.CreatePaymentChannelResponse
type CreatePaymentRequest ¶
type CreatePaymentRequest = payment.CreatePaymentRequest
type CreatePaymentResponse ¶
type CreatePaymentResponse = payment.CreatePaymentResponse
type CreateRefundRequest ¶
type CreateRefundRequest = payment.CreateRefundRequest
type CreateRefundResponse ¶
type CreateRefundResponse = payment.CreateRefundResponse
type GetPaymentRequest ¶
type GetPaymentRequest = payment.GetPaymentRequest
type GetPaymentResponse ¶
type GetPaymentResponse = payment.GetPaymentResponse
type GetPaymentStatusRequest ¶
type GetPaymentStatusRequest = payment.GetPaymentStatusRequest
type GetPaymentStatusResponse ¶
type GetPaymentStatusResponse = payment.GetPaymentStatusResponse
type GetRefundRequest ¶
type GetRefundRequest = payment.GetRefundRequest
type GetRefundResponse ¶
type GetRefundResponse = payment.GetRefundResponse
type ListPaymentChannelsRequest ¶
type ListPaymentChannelsRequest = payment.ListPaymentChannelsRequest
type ListPaymentChannelsResponse ¶
type ListPaymentChannelsResponse = payment.ListPaymentChannelsResponse
type Payment ¶
type Payment interface { // 支付相关 CreatePayment(ctx context.Context, in *CreatePaymentRequest, opts ...grpc.CallOption) (*CreatePaymentResponse, error) GetPayment(ctx context.Context, in *GetPaymentRequest, opts ...grpc.CallOption) (*GetPaymentResponse, error) PaymentNotify(ctx context.Context, in *PaymentNotifyRequest, opts ...grpc.CallOption) (*PaymentNotifyResponse, error) GetPaymentStatus(ctx context.Context, in *GetPaymentStatusRequest, opts ...grpc.CallOption) (*GetPaymentStatusResponse, error) // 退款相关 CreateRefund(ctx context.Context, in *CreateRefundRequest, opts ...grpc.CallOption) (*CreateRefundResponse, error) GetRefund(ctx context.Context, in *GetRefundRequest, opts ...grpc.CallOption) (*GetRefundResponse, error) RefundNotify(ctx context.Context, in *RefundNotifyRequest, opts ...grpc.CallOption) (*RefundNotifyResponse, error) // 支付渠道 CreatePaymentChannel(ctx context.Context, in *CreatePaymentChannelRequest, opts ...grpc.CallOption) (*CreatePaymentChannelResponse, error) UpdatePaymentChannel(ctx context.Context, in *UpdatePaymentChannelRequest, opts ...grpc.CallOption) (*UpdatePaymentChannelResponse, error) ListPaymentChannels(ctx context.Context, in *ListPaymentChannelsRequest, opts ...grpc.CallOption) (*ListPaymentChannelsResponse, error) }
func NewPayment ¶
type PaymentChannel ¶
type PaymentChannel = payment.PaymentChannel
type PaymentNotifyRequest ¶
type PaymentNotifyRequest = payment.PaymentNotifyRequest
type PaymentNotifyResponse ¶
type PaymentNotifyResponse = payment.PaymentNotifyResponse
type PaymentOrder ¶
type PaymentOrder = payment.PaymentOrder
type RefundNotifyRequest ¶
type RefundNotifyRequest = payment.RefundNotifyRequest
type RefundNotifyResponse ¶
type RefundNotifyResponse = payment.RefundNotifyResponse
type RefundOrder ¶
type RefundOrder = payment.RefundOrder
type UpdatePaymentChannelRequest ¶
type UpdatePaymentChannelRequest = payment.UpdatePaymentChannelRequest
type UpdatePaymentChannelResponse ¶
type UpdatePaymentChannelResponse = payment.UpdatePaymentChannelResponse
Click to show internal directories.
Click to hide internal directories.