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

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

type BasicServer struct {
	pb.UnimplementedBasicServer
}

func NewBasicServer() *BasicServer {
	return &BasicServer{}
}

// 获取钱包信息
func (s *BasicServer) GetWallet(ctx context.Context, in *pb.GetWalletRequest) (*pb.GetWalletReply, error) {
	return basic.GetWallet(ctx, in)
}

// 设置支付密码
func (s *BasicServer) SetPayPassword(ctx context.Context, in *pb.SetPayPasswordRequest) (*pb.StatusReply, error) {
	return basic.SetPayPassword(ctx, in)
}

// 绑定微信或支付宝账户
func (s *BasicServer) BindPaymentId(ctx context.Context, in *pb.BindPaymentIDRequest) (*pb.StatusReply, error) {
	return basic.BindPaymentId(ctx, in)
}

// 查询交易记录
func (s *BasicServer) Transactions(ctx context.Context, in *pb.TransactionsRequest) (*pb.TransactionsReply, error) {
	return basic.Transactions(ctx, in)
}

// 添加银行卡
func (s *BasicServer) AddBankCard(ctx context.Context, in *pb.AddBankCardRequest) (*pb.StatusReply, error) {
	return basic.AddBankCard(ctx, in)
}

// 获取用户银行卡列表
func (s *BasicServer) GetBankCard(ctx context.Context, in *pb.FinanceEmpty) (*pb.GetBankCardReply, error) {
	return basic.GetBankCard(ctx, in)
}

// 删除银行卡
func (s *BasicServer) RmBankCard(ctx context.Context, in *pb.RmBankCardRequest) (*pb.StatusReply, error) {
	return basic.RmBankCard(ctx, in)
}

// 申请提现
func (s *BasicServer) ApplyCash(ctx context.Context, in *pb.ApplyCashRequest) (*pb.StatusReply, error) {
	return basic.ApplyCash(ctx, in)
}
