// Code generated by protoc-gen-slc. DO NOT EDIT.
package server

import (
	"bsm/full/module/finance/wallet/internal/logic/wechat"
	pb "bsm/full/module/finance/wallet/pb"
	"context"
)

type WechatServer struct {
	pb.UnimplementedWechatServer
}

func NewWechatServer() *WechatServer {
	return &WechatServer{}
}

// 微信JSAPI下单
func (s *WechatServer) JsapiPreOrder(ctx context.Context, in *pb.WxpayJSAPIPreOrderRequest) (*pb.WxpayJSAPIPreOrderReply, error) {
	return wechat.JsapiPreOrder(ctx, in)
}

// 微信APP支付下单
func (s *WechatServer) AppPreOrder(ctx context.Context, in *pb.WxpayAppPreOrderRequest) (*pb.WxpayAppPreOrderReply, error) {
	return wechat.AppPreOrder(ctx, in)
}

// 微信native二维码支付下单
func (s *WechatServer) NativePreOrder(ctx context.Context, in *pb.WxpayNativePreOrderRequest) (*pb.WxpayNativePreOrderReply, error) {
	return wechat.NativePreOrder(ctx, in)
}

// 微信转账到零钱
func (s *WechatServer) Transfer(ctx context.Context, in *pb.WxpayTransferRequest) (*pb.WxpayTransferReply, error) {
	return wechat.Transfer(ctx, in)
}

// 微信支付回调
func (s *WechatServer) WxCallback(ctx context.Context, in *pb.WxCallBackRequest) (*pb.CallBackReply, error) {
	return wechat.WxCallback(ctx, in)
}
