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

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

type AlipayServer struct {
	pb.UnimplementedAlipayServer
}

func NewAlipayServer() *AlipayServer {
	return &AlipayServer{}
}

// 支付宝wap支付
func (s *AlipayServer) WapPay(ctx context.Context, in *pb.AlipayTradeWapPayRequest) (*pb.AlipayTradeWapPayReply, error) {
	return alipay.WapPay(ctx, in)
}

// 支付宝电脑网站支付
func (s *AlipayServer) PagePay(ctx context.Context, in *pb.AlipayTradePagePayRequest) (*pb.AlipayTradePagePayReply, error) {
	return alipay.PagePay(ctx, in)
}

// 支付宝APP支付
func (s *AlipayServer) AppPay(ctx context.Context, in *pb.AlipayTradeAppPayRequest) (*pb.AlipayTradeAppPayReply, error) {
	return alipay.AppPay(ctx, in)
}

// 支付宝转账到个人支付宝账户
func (s *AlipayServer) Transfer(ctx context.Context, in *pb.AlipayUniTransferRequest) (*pb.AlipayUniTransferReply, error) {
	return alipay.Transfer(ctx, in)
}
