// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.8 // protoc (unknown) // source: wallet.proto package wallet import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type GetWalletRequest struct { state protoimpl.MessageState `protogen:"open.v1"` IsTotalTodayIn bool `protobuf:"varint,1,opt,name=is_total_today_in,json=isTotalTodayIn,proto3" json:"is_total_today_in,omitempty"` // 是否统计今日收入 IsTotalTodayOut bool `protobuf:"varint,2,opt,name=is_total_today_out,json=isTotalTodayOut,proto3" json:"is_total_today_out,omitempty"` // 是否统计今日支出 IsTotalMonthIn bool `protobuf:"varint,3,opt,name=is_total_month_in,json=isTotalMonthIn,proto3" json:"is_total_month_in,omitempty"` // 是否统计本月收入 IsTotalMonthOut bool `protobuf:"varint,4,opt,name=is_total_month_out,json=isTotalMonthOut,proto3" json:"is_total_month_out,omitempty"` // 是否统计本月支出 IsTotalAllIn bool `protobuf:"varint,5,opt,name=is_total_all_in,json=isTotalAllIn,proto3" json:"is_total_all_in,omitempty"` // 是否统计全部收入 IsTotalAllOut bool `protobuf:"varint,6,opt,name=is_total_all_out,json=isTotalAllOut,proto3" json:"is_total_all_out,omitempty"` // 是否统计全部支出 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetWalletRequest) Reset() { *x = GetWalletRequest{} mi := &file_wallet_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetWalletRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetWalletRequest) ProtoMessage() {} func (x *GetWalletRequest) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetWalletRequest.ProtoReflect.Descriptor instead. func (*GetWalletRequest) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{0} } func (x *GetWalletRequest) GetIsTotalTodayIn() bool { if x != nil { return x.IsTotalTodayIn } return false } func (x *GetWalletRequest) GetIsTotalTodayOut() bool { if x != nil { return x.IsTotalTodayOut } return false } func (x *GetWalletRequest) GetIsTotalMonthIn() bool { if x != nil { return x.IsTotalMonthIn } return false } func (x *GetWalletRequest) GetIsTotalMonthOut() bool { if x != nil { return x.IsTotalMonthOut } return false } func (x *GetWalletRequest) GetIsTotalAllIn() bool { if x != nil { return x.IsTotalAllIn } return false } func (x *GetWalletRequest) GetIsTotalAllOut() bool { if x != nil { return x.IsTotalAllOut } return false } type GetWalletReply struct { state protoimpl.MessageState `protogen:"open.v1"` PassportIdentity string `protobuf:"bytes,1,opt,name=passport_identity,json=passportIdentity,proto3" json:"passport_identity,omitempty"` //用户唯一标识 WalletIdentity string `protobuf:"bytes,2,opt,name=wallet_identity,json=walletIdentity,proto3" json:"wallet_identity,omitempty"` //钱包唯一标识 Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` //余额 WithdrawalBalance int64 `protobuf:"varint,4,opt,name=withdrawal_balance,json=withdrawalBalance,proto3" json:"withdrawal_balance,omitempty"` //可提现余额 Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` //状态 -1禁用,1:正常 AlipayId string `protobuf:"bytes,6,opt,name=alipay_id,json=alipayId,proto3" json:"alipay_id,omitempty"` //支付宝ID AlipayName string `protobuf:"bytes,7,opt,name=alipay_name,json=alipayName,proto3" json:"alipay_name,omitempty"` //支付宝账户名 WxpayId string `protobuf:"bytes,8,opt,name=wxpay_id,json=wxpayId,proto3" json:"wxpay_id,omitempty"` //微信ID WxpayName string `protobuf:"bytes,9,opt,name=wxpay_name,json=wxpayName,proto3" json:"wxpay_name,omitempty"` //微信支付账户名 Total map[string]int64 `protobuf:"bytes,10,rep,name=total,proto3" json:"total,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` //统计数据输出 Created string `protobuf:"bytes,11,opt,name=created,proto3" json:"created,omitempty"` //创建时间 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetWalletReply) Reset() { *x = GetWalletReply{} mi := &file_wallet_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetWalletReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetWalletReply) ProtoMessage() {} func (x *GetWalletReply) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetWalletReply.ProtoReflect.Descriptor instead. func (*GetWalletReply) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{1} } func (x *GetWalletReply) GetPassportIdentity() string { if x != nil { return x.PassportIdentity } return "" } func (x *GetWalletReply) GetWalletIdentity() string { if x != nil { return x.WalletIdentity } return "" } func (x *GetWalletReply) GetBalance() int64 { if x != nil { return x.Balance } return 0 } func (x *GetWalletReply) GetWithdrawalBalance() int64 { if x != nil { return x.WithdrawalBalance } return 0 } func (x *GetWalletReply) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *GetWalletReply) GetAlipayId() string { if x != nil { return x.AlipayId } return "" } func (x *GetWalletReply) GetAlipayName() string { if x != nil { return x.AlipayName } return "" } func (x *GetWalletReply) GetWxpayId() string { if x != nil { return x.WxpayId } return "" } func (x *GetWalletReply) GetWxpayName() string { if x != nil { return x.WxpayName } return "" } func (x *GetWalletReply) GetTotal() map[string]int64 { if x != nil { return x.Total } return nil } func (x *GetWalletReply) GetCreated() string { if x != nil { return x.Created } return "" } type TransactionsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` TransType int64 `protobuf:"varint,1,opt,name=trans_type,json=transType,proto3" json:"trans_type,omitempty"` //收支类型:-1支出,1:收入 TradeType int64 `protobuf:"varint,2,opt,name=trade_type,json=tradeType,proto3" json:"trade_type,omitempty"` //交易类型:1:充值,2:提现,3:消费,4:退款,5:收益 Start string `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"` //账单起始日期 End string `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` //账单截止日期 Page int64 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"` //分页 PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` //单页容量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TransactionsRequest) Reset() { *x = TransactionsRequest{} mi := &file_wallet_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TransactionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*TransactionsRequest) ProtoMessage() {} func (x *TransactionsRequest) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TransactionsRequest.ProtoReflect.Descriptor instead. func (*TransactionsRequest) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{2} } func (x *TransactionsRequest) GetTransType() int64 { if x != nil { return x.TransType } return 0 } func (x *TransactionsRequest) GetTradeType() int64 { if x != nil { return x.TradeType } return 0 } func (x *TransactionsRequest) GetStart() string { if x != nil { return x.Start } return "" } func (x *TransactionsRequest) GetEnd() string { if x != nil { return x.End } return "" } func (x *TransactionsRequest) GetPage() int64 { if x != nil { return x.Page } return 0 } func (x *TransactionsRequest) GetPageSize() int64 { if x != nil { return x.PageSize } return 0 } type TransactionsReply struct { state protoimpl.MessageState `protogen:"open.v1"` Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` //总记录数 Records []*Transaction `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` //数据 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TransactionsReply) Reset() { *x = TransactionsReply{} mi := &file_wallet_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TransactionsReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*TransactionsReply) ProtoMessage() {} func (x *TransactionsReply) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TransactionsReply.ProtoReflect.Descriptor instead. func (*TransactionsReply) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{3} } func (x *TransactionsReply) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *TransactionsReply) GetRecords() []*Transaction { if x != nil { return x.Records } return nil } type Transaction struct { state protoimpl.MessageState `protogen:"open.v1"` TransType int32 `protobuf:"varint,1,opt,name=trans_type,json=transType,proto3" json:"trans_type,omitempty"` //收支类型:-1支出,1:收入 TradeType int32 `protobuf:"varint,2,opt,name=trade_type,json=tradeType,proto3" json:"trade_type,omitempty"` //交易类型:1:充值,2:提现,3:消费,4:退款,5:收益 InTradeNo string `protobuf:"bytes,3,opt,name=in_trade_no,json=inTradeNo,proto3" json:"in_trade_no,omitempty"` //内部流水号 OutTradeNo string `protobuf:"bytes,4,opt,name=out_trade_no,json=outTradeNo,proto3" json:"out_trade_no,omitempty"` //外部流水号,eg:微信、支付宝、银行等 Money int64 `protobuf:"varint,5,opt,name=money,proto3" json:"money,omitempty"` //交易金额,单位:分 Fee int64 `protobuf:"varint,6,opt,name=fee,proto3" json:"fee,omitempty"` //手续费,单位:分 PayChannel int32 `protobuf:"varint,7,opt,name=pay_channel,json=payChannel,proto3" json:"pay_channel,omitempty"` //支付模型:WECHAT,ALIPAY,BALANCE PayType string `protobuf:"bytes,8,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"` //支付类型 JSAPI:微信浏览器内支付 APP:app支付 MINI:小程序 NATIVE:Native支付,pc端生成二维码供用户扫码支付,QUICK_MSECURITY_PAY:app支付 QUICK_WAP_WAY:手机网站支付 FAST_INSTANT_TRADE_PAY:pc网站支付 Created string `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"` //创建时间 Remark string `protobuf:"bytes,10,opt,name=remark,proto3" json:"remark,omitempty"` //备注信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Transaction) Reset() { *x = Transaction{} mi := &file_wallet_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Transaction) String() string { return protoimpl.X.MessageStringOf(x) } func (*Transaction) ProtoMessage() {} func (x *Transaction) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Transaction.ProtoReflect.Descriptor instead. func (*Transaction) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{4} } func (x *Transaction) GetTransType() int32 { if x != nil { return x.TransType } return 0 } func (x *Transaction) GetTradeType() int32 { if x != nil { return x.TradeType } return 0 } func (x *Transaction) GetInTradeNo() string { if x != nil { return x.InTradeNo } return "" } func (x *Transaction) GetOutTradeNo() string { if x != nil { return x.OutTradeNo } return "" } func (x *Transaction) GetMoney() int64 { if x != nil { return x.Money } return 0 } func (x *Transaction) GetFee() int64 { if x != nil { return x.Fee } return 0 } func (x *Transaction) GetPayChannel() int32 { if x != nil { return x.PayChannel } return 0 } func (x *Transaction) GetPayType() string { if x != nil { return x.PayType } return "" } func (x *Transaction) GetCreated() string { if x != nil { return x.Created } return "" } func (x *Transaction) GetRemark() string { if x != nil { return x.Remark } return "" } type SetPayPasswordRequest struct { state protoimpl.MessageState `protogen:"open.v1"` PassportIdentity string `protobuf:"bytes,1,opt,name=passport_identity,json=passportIdentity,proto3" json:"passport_identity,omitempty"` //用户唯一标识 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` //支付密码 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetPayPasswordRequest) Reset() { *x = SetPayPasswordRequest{} mi := &file_wallet_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetPayPasswordRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetPayPasswordRequest) ProtoMessage() {} func (x *SetPayPasswordRequest) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetPayPasswordRequest.ProtoReflect.Descriptor instead. func (*SetPayPasswordRequest) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{5} } func (x *SetPayPasswordRequest) GetPassportIdentity() string { if x != nil { return x.PassportIdentity } return "" } func (x *SetPayPasswordRequest) GetPassword() string { if x != nil { return x.Password } return "" } type BindPaymentIDRequest struct { state protoimpl.MessageState `protogen:"open.v1"` PayType int32 `protobuf:"varint,1,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"` //支付类型:1:微信支付,2:支付宝 AuthCode string `protobuf:"bytes,2,opt,name=auth_code,json=authCode,proto3" json:"auth_code,omitempty"` //微信授权码 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BindPaymentIDRequest) Reset() { *x = BindPaymentIDRequest{} mi := &file_wallet_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BindPaymentIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*BindPaymentIDRequest) ProtoMessage() {} func (x *BindPaymentIDRequest) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BindPaymentIDRequest.ProtoReflect.Descriptor instead. func (*BindPaymentIDRequest) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{6} } func (x *BindPaymentIDRequest) GetPayType() int32 { if x != nil { return x.PayType } return 0 } func (x *BindPaymentIDRequest) GetAuthCode() string { if x != nil { return x.AuthCode } return "" } type RefundRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserIdentification string `protobuf:"bytes,1,opt,name=user_identification,json=userIdentification,proto3" json:"user_identification,omitempty"` //用户唯一标识 Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` //退款金额,单位:分 Fee int64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` //手续费, 单位:分 Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"` //交易备注 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RefundRequest) Reset() { *x = RefundRequest{} mi := &file_wallet_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RefundRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RefundRequest) ProtoMessage() {} func (x *RefundRequest) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RefundRequest.ProtoReflect.Descriptor instead. func (*RefundRequest) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{7} } func (x *RefundRequest) GetUserIdentification() string { if x != nil { return x.UserIdentification } return "" } func (x *RefundRequest) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *RefundRequest) GetFee() int64 { if x != nil { return x.Fee } return 0 } func (x *RefundRequest) GetRemark() string { if x != nil { return x.Remark } return "" } type RefundReply struct { state protoimpl.MessageState `protogen:"open.v1"` Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` //钱包剩余余额,单位:分 Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` //交易记录 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RefundReply) Reset() { *x = RefundReply{} mi := &file_wallet_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RefundReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*RefundReply) ProtoMessage() {} func (x *RefundReply) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RefundReply.ProtoReflect.Descriptor instead. func (*RefundReply) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{8} } func (x *RefundReply) GetBalance() int64 { if x != nil { return x.Balance } return 0 } func (x *RefundReply) GetTransaction() *Transaction { if x != nil { return x.Transaction } return nil } type AddBankCardRequest struct { state protoimpl.MessageState `protogen:"open.v1"` WalletIdentity string `protobuf:"bytes,1,opt,name=wallet_identity,json=walletIdentity,proto3" json:"wallet_identity,omitempty"` //钱包唯一标识 CardNo string `protobuf:"bytes,2,opt,name=card_no,json=cardNo,proto3" json:"card_no,omitempty"` //银行卡号 CardOwner string `protobuf:"bytes,3,opt,name=card_owner,json=cardOwner,proto3" json:"card_owner,omitempty"` //持卡人姓名 IdCard string `protobuf:"bytes,4,opt,name=id_card,json=idCard,proto3" json:"id_card,omitempty"` //持卡人身份证 Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` //银行预留的手机号 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddBankCardRequest) Reset() { *x = AddBankCardRequest{} mi := &file_wallet_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddBankCardRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddBankCardRequest) ProtoMessage() {} func (x *AddBankCardRequest) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AddBankCardRequest.ProtoReflect.Descriptor instead. func (*AddBankCardRequest) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{9} } func (x *AddBankCardRequest) GetWalletIdentity() string { if x != nil { return x.WalletIdentity } return "" } func (x *AddBankCardRequest) GetCardNo() string { if x != nil { return x.CardNo } return "" } func (x *AddBankCardRequest) GetCardOwner() string { if x != nil { return x.CardOwner } return "" } func (x *AddBankCardRequest) GetIdCard() string { if x != nil { return x.IdCard } return "" } func (x *AddBankCardRequest) GetPhone() string { if x != nil { return x.Phone } return "" } type FinanceEmpty struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FinanceEmpty) Reset() { *x = FinanceEmpty{} mi := &file_wallet_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FinanceEmpty) String() string { return protoimpl.X.MessageStringOf(x) } func (*FinanceEmpty) ProtoMessage() {} func (x *FinanceEmpty) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FinanceEmpty.ProtoReflect.Descriptor instead. func (*FinanceEmpty) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{10} } type RmBankCardRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` //银行卡Identity unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RmBankCardRequest) Reset() { *x = RmBankCardRequest{} mi := &file_wallet_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RmBankCardRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RmBankCardRequest) ProtoMessage() {} func (x *RmBankCardRequest) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RmBankCardRequest.ProtoReflect.Descriptor instead. func (*RmBankCardRequest) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{11} } func (x *RmBankCardRequest) GetIdentity() string { if x != nil { return x.Identity } return "" } type GetBankCardReply struct { state protoimpl.MessageState `protogen:"open.v1"` Data []*BankCardInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetBankCardReply) Reset() { *x = GetBankCardReply{} mi := &file_wallet_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetBankCardReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetBankCardReply) ProtoMessage() {} func (x *GetBankCardReply) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetBankCardReply.ProtoReflect.Descriptor instead. func (*GetBankCardReply) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{12} } func (x *GetBankCardReply) GetData() []*BankCardInfo { if x != nil { return x.Data } return nil } type BankCardInfo struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` BankNumber string `protobuf:"bytes,2,opt,name=bank_number,json=bankNumber,proto3" json:"bank_number,omitempty"` //银行卡号 BankName string `protobuf:"bytes,3,opt,name=bank_name,json=bankName,proto3" json:"bank_name,omitempty"` //银行名 CardOwner string `protobuf:"bytes,4,opt,name=card_owner,json=cardOwner,proto3" json:"card_owner,omitempty"` //持卡人姓名 IdCard string `protobuf:"bytes,5,opt,name=id_card,json=idCard,proto3" json:"id_card,omitempty"` //持卡人身份证号 Phone string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"` //银行预留的手机号 BindId string `protobuf:"bytes,7,opt,name=bind_id,json=bindId,proto3" json:"bind_id,omitempty"` //绑定银行卡返回的绑定id BankType string `protobuf:"bytes,8,opt,name=bank_type,json=bankType,proto3" json:"bank_type,omitempty"` //银行卡类型 DC为储蓄卡,CC为信用卡 Bank string `protobuf:"bytes,9,opt,name=bank,proto3" json:"bank,omitempty"` //银行卡所属行 Created string `protobuf:"bytes,10,opt,name=created,proto3" json:"created,omitempty"` //添加日期 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BankCardInfo) Reset() { *x = BankCardInfo{} mi := &file_wallet_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BankCardInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*BankCardInfo) ProtoMessage() {} func (x *BankCardInfo) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BankCardInfo.ProtoReflect.Descriptor instead. func (*BankCardInfo) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{13} } func (x *BankCardInfo) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *BankCardInfo) GetBankNumber() string { if x != nil { return x.BankNumber } return "" } func (x *BankCardInfo) GetBankName() string { if x != nil { return x.BankName } return "" } func (x *BankCardInfo) GetCardOwner() string { if x != nil { return x.CardOwner } return "" } func (x *BankCardInfo) GetIdCard() string { if x != nil { return x.IdCard } return "" } func (x *BankCardInfo) GetPhone() string { if x != nil { return x.Phone } return "" } func (x *BankCardInfo) GetBindId() string { if x != nil { return x.BindId } return "" } func (x *BankCardInfo) GetBankType() string { if x != nil { return x.BankType } return "" } func (x *BankCardInfo) GetBank() string { if x != nil { return x.Bank } return "" } func (x *BankCardInfo) GetCreated() string { if x != nil { return x.Created } return "" } type ApplyCashRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Channel int32 `protobuf:"varint,1,opt,name=channel,proto3" json:"channel,omitempty"` //提现的平台 1、微信 2、支付宝 3、银行卡 Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` //提现金额 单位为分 Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` //备注 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ApplyCashRequest) Reset() { *x = ApplyCashRequest{} mi := &file_wallet_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ApplyCashRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ApplyCashRequest) ProtoMessage() {} func (x *ApplyCashRequest) ProtoReflect() protoreflect.Message { mi := &file_wallet_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ApplyCashRequest.ProtoReflect.Descriptor instead. func (*ApplyCashRequest) Descriptor() ([]byte, []int) { return file_wallet_proto_rawDescGZIP(), []int{14} } func (x *ApplyCashRequest) GetChannel() int32 { if x != nil { return x.Channel } return 0 } func (x *ApplyCashRequest) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *ApplyCashRequest) GetRemark() string { if x != nil { return x.Remark } return "" } var File_wallet_proto protoreflect.FileDescriptor const file_wallet_proto_rawDesc = "" + "\n" + "\fwallet.proto\x12\x06wallet\x1a\fblocks.proto\"\x92\x02\n" + "\x10GetWalletRequest\x12)\n" + "\x11is_total_today_in\x18\x01 \x01(\bR\x0eisTotalTodayIn\x12+\n" + "\x12is_total_today_out\x18\x02 \x01(\bR\x0fisTotalTodayOut\x12)\n" + "\x11is_total_month_in\x18\x03 \x01(\bR\x0eisTotalMonthIn\x12+\n" + "\x12is_total_month_out\x18\x04 \x01(\bR\x0fisTotalMonthOut\x12%\n" + "\x0fis_total_all_in\x18\x05 \x01(\bR\fisTotalAllIn\x12'\n" + "\x10is_total_all_out\x18\x06 \x01(\bR\risTotalAllOut\"\xcc\x03\n" + "\x0eGetWalletReply\x12+\n" + "\x11passport_identity\x18\x01 \x01(\tR\x10passportIdentity\x12'\n" + "\x0fwallet_identity\x18\x02 \x01(\tR\x0ewalletIdentity\x12\x18\n" + "\abalance\x18\x03 \x01(\x03R\abalance\x12-\n" + "\x12withdrawal_balance\x18\x04 \x01(\x03R\x11withdrawalBalance\x12\x16\n" + "\x06status\x18\x05 \x01(\x05R\x06status\x12\x1b\n" + "\talipay_id\x18\x06 \x01(\tR\balipayId\x12\x1f\n" + "\valipay_name\x18\a \x01(\tR\n" + "alipayName\x12\x19\n" + "\bwxpay_id\x18\b \x01(\tR\awxpayId\x12\x1d\n" + "\n" + "wxpay_name\x18\t \x01(\tR\twxpayName\x127\n" + "\x05total\x18\n" + " \x03(\v2!.wallet.GetWalletReply.TotalEntryR\x05total\x12\x18\n" + "\acreated\x18\v \x01(\tR\acreated\x1a8\n" + "\n" + "TotalEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\xac\x01\n" + "\x13TransactionsRequest\x12\x1d\n" + "\n" + "trans_type\x18\x01 \x01(\x03R\ttransType\x12\x1d\n" + "\n" + "trade_type\x18\x02 \x01(\x03R\ttradeType\x12\x14\n" + "\x05start\x18\x03 \x01(\tR\x05start\x12\x10\n" + "\x03end\x18\x04 \x01(\tR\x03end\x12\x12\n" + "\x04page\x18\x05 \x01(\x03R\x04page\x12\x1b\n" + "\tpage_size\x18\x06 \x01(\x03R\bpageSize\"X\n" + "\x11TransactionsReply\x12\x14\n" + "\x05total\x18\x01 \x01(\x03R\x05total\x12-\n" + "\arecords\x18\x02 \x03(\v2\x13.wallet.TransactionR\arecords\"\xa3\x02\n" + "\vTransaction\x12\x1d\n" + "\n" + "trans_type\x18\x01 \x01(\x05R\ttransType\x12\x1d\n" + "\n" + "trade_type\x18\x02 \x01(\x05R\ttradeType\x12\x1e\n" + "\vin_trade_no\x18\x03 \x01(\tR\tinTradeNo\x12 \n" + "\fout_trade_no\x18\x04 \x01(\tR\n" + "outTradeNo\x12\x14\n" + "\x05money\x18\x05 \x01(\x03R\x05money\x12\x10\n" + "\x03fee\x18\x06 \x01(\x03R\x03fee\x12\x1f\n" + "\vpay_channel\x18\a \x01(\x05R\n" + "payChannel\x12\x19\n" + "\bpay_type\x18\b \x01(\tR\apayType\x12\x18\n" + "\acreated\x18\t \x01(\tR\acreated\x12\x16\n" + "\x06remark\x18\n" + " \x01(\tR\x06remark\"`\n" + "\x15SetPayPasswordRequest\x12+\n" + "\x11passport_identity\x18\x01 \x01(\tR\x10passportIdentity\x12\x1a\n" + "\bpassword\x18\x02 \x01(\tR\bpassword\"N\n" + "\x14BindPaymentIDRequest\x12\x19\n" + "\bpay_type\x18\x01 \x01(\x05R\apayType\x12\x1b\n" + "\tauth_code\x18\x02 \x01(\tR\bauthCode\"\x82\x01\n" + "\rRefundRequest\x12/\n" + "\x13user_identification\x18\x01 \x01(\tR\x12userIdentification\x12\x16\n" + "\x06amount\x18\x02 \x01(\x03R\x06amount\x12\x10\n" + "\x03fee\x18\x03 \x01(\x03R\x03fee\x12\x16\n" + "\x06remark\x18\x04 \x01(\tR\x06remark\"^\n" + "\vRefundReply\x12\x18\n" + "\abalance\x18\x01 \x01(\x03R\abalance\x125\n" + "\vtransaction\x18\x02 \x01(\v2\x13.wallet.TransactionR\vtransaction\"\xa4\x01\n" + "\x12AddBankCardRequest\x12'\n" + "\x0fwallet_identity\x18\x01 \x01(\tR\x0ewalletIdentity\x12\x17\n" + "\acard_no\x18\x02 \x01(\tR\x06cardNo\x12\x1d\n" + "\n" + "card_owner\x18\x03 \x01(\tR\tcardOwner\x12\x17\n" + "\aid_card\x18\x04 \x01(\tR\x06idCard\x12\x14\n" + "\x05phone\x18\x05 \x01(\tR\x05phone\"\x0e\n" + "\fFinanceEmpty\"/\n" + "\x11RmBankCardRequest\x12\x1a\n" + "\bidentity\x18\x02 \x01(\tR\bidentity\"<\n" + "\x10GetBankCardReply\x12(\n" + "\x04data\x18\x01 \x03(\v2\x14.wallet.BankCardInfoR\x04data\"\x8e\x02\n" + "\fBankCardInfo\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1f\n" + "\vbank_number\x18\x02 \x01(\tR\n" + "bankNumber\x12\x1b\n" + "\tbank_name\x18\x03 \x01(\tR\bbankName\x12\x1d\n" + "\n" + "card_owner\x18\x04 \x01(\tR\tcardOwner\x12\x17\n" + "\aid_card\x18\x05 \x01(\tR\x06idCard\x12\x14\n" + "\x05phone\x18\x06 \x01(\tR\x05phone\x12\x17\n" + "\abind_id\x18\a \x01(\tR\x06bindId\x12\x1b\n" + "\tbank_type\x18\b \x01(\tR\bbankType\x12\x12\n" + "\x04bank\x18\t \x01(\tR\x04bank\x12\x18\n" + "\acreated\x18\n" + " \x01(\tR\acreated\"\\\n" + "\x10ApplyCashRequest\x12\x18\n" + "\achannel\x18\x01 \x01(\x05R\achannel\x12\x16\n" + "\x06amount\x18\x02 \x01(\x03R\x06amount\x12\x16\n" + "\x06remark\x18\x03 \x01(\tR\x06remark2\xa1\x04\n" + "\x05Basic\x12?\n" + "\tGetWallet\x12\x18.wallet.GetWalletRequest\x1a\x16.wallet.GetWalletReply\"\x00\x12F\n" + "\x0eSetPayPassword\x12\x1d.wallet.SetPayPasswordRequest\x1a\x13.wallet.StatusReply\"\x00\x12D\n" + "\rBindPaymentId\x12\x1c.wallet.BindPaymentIDRequest\x1a\x13.wallet.StatusReply\"\x00\x12H\n" + "\fTransactions\x12\x1b.wallet.TransactionsRequest\x1a\x19.wallet.TransactionsReply\"\x00\x12@\n" + "\vAddBankCard\x12\x1a.wallet.AddBankCardRequest\x1a\x13.wallet.StatusReply\"\x00\x12?\n" + "\vGetBankCard\x12\x14.wallet.FinanceEmpty\x1a\x18.wallet.GetBankCardReply\"\x00\x12>\n" + "\n" + "RmBankCard\x12\x19.wallet.RmBankCardRequest\x1a\x13.wallet.StatusReply\"\x00\x12<\n" + "\tApplyCash\x12\x18.wallet.ApplyCashRequest\x1a\x13.wallet.StatusReply\"\x00B\n" + "Z\b.;walletb\x06proto3" var ( file_wallet_proto_rawDescOnce sync.Once file_wallet_proto_rawDescData []byte ) func file_wallet_proto_rawDescGZIP() []byte { file_wallet_proto_rawDescOnce.Do(func() { file_wallet_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wallet_proto_rawDesc), len(file_wallet_proto_rawDesc))) }) return file_wallet_proto_rawDescData } var file_wallet_proto_msgTypes = make([]protoimpl.MessageInfo, 16) var file_wallet_proto_goTypes = []any{ (*GetWalletRequest)(nil), // 0: wallet.GetWalletRequest (*GetWalletReply)(nil), // 1: wallet.GetWalletReply (*TransactionsRequest)(nil), // 2: wallet.TransactionsRequest (*TransactionsReply)(nil), // 3: wallet.TransactionsReply (*Transaction)(nil), // 4: wallet.Transaction (*SetPayPasswordRequest)(nil), // 5: wallet.SetPayPasswordRequest (*BindPaymentIDRequest)(nil), // 6: wallet.BindPaymentIDRequest (*RefundRequest)(nil), // 7: wallet.RefundRequest (*RefundReply)(nil), // 8: wallet.RefundReply (*AddBankCardRequest)(nil), // 9: wallet.AddBankCardRequest (*FinanceEmpty)(nil), // 10: wallet.FinanceEmpty (*RmBankCardRequest)(nil), // 11: wallet.RmBankCardRequest (*GetBankCardReply)(nil), // 12: wallet.GetBankCardReply (*BankCardInfo)(nil), // 13: wallet.BankCardInfo (*ApplyCashRequest)(nil), // 14: wallet.ApplyCashRequest nil, // 15: wallet.GetWalletReply.TotalEntry (*StatusReply)(nil), // 16: wallet.StatusReply } var file_wallet_proto_depIdxs = []int32{ 15, // 0: wallet.GetWalletReply.total:type_name -> wallet.GetWalletReply.TotalEntry 4, // 1: wallet.TransactionsReply.records:type_name -> wallet.Transaction 4, // 2: wallet.RefundReply.transaction:type_name -> wallet.Transaction 13, // 3: wallet.GetBankCardReply.data:type_name -> wallet.BankCardInfo 0, // 4: wallet.Basic.GetWallet:input_type -> wallet.GetWalletRequest 5, // 5: wallet.Basic.SetPayPassword:input_type -> wallet.SetPayPasswordRequest 6, // 6: wallet.Basic.BindPaymentId:input_type -> wallet.BindPaymentIDRequest 2, // 7: wallet.Basic.Transactions:input_type -> wallet.TransactionsRequest 9, // 8: wallet.Basic.AddBankCard:input_type -> wallet.AddBankCardRequest 10, // 9: wallet.Basic.GetBankCard:input_type -> wallet.FinanceEmpty 11, // 10: wallet.Basic.RmBankCard:input_type -> wallet.RmBankCardRequest 14, // 11: wallet.Basic.ApplyCash:input_type -> wallet.ApplyCashRequest 1, // 12: wallet.Basic.GetWallet:output_type -> wallet.GetWalletReply 16, // 13: wallet.Basic.SetPayPassword:output_type -> wallet.StatusReply 16, // 14: wallet.Basic.BindPaymentId:output_type -> wallet.StatusReply 3, // 15: wallet.Basic.Transactions:output_type -> wallet.TransactionsReply 16, // 16: wallet.Basic.AddBankCard:output_type -> wallet.StatusReply 12, // 17: wallet.Basic.GetBankCard:output_type -> wallet.GetBankCardReply 16, // 18: wallet.Basic.RmBankCard:output_type -> wallet.StatusReply 16, // 19: wallet.Basic.ApplyCash:output_type -> wallet.StatusReply 12, // [12:20] is the sub-list for method output_type 4, // [4:12] is the sub-list for method input_type 4, // [4:4] is the sub-list for extension type_name 4, // [4:4] is the sub-list for extension extendee 0, // [0:4] is the sub-list for field type_name } func init() { file_wallet_proto_init() } func file_wallet_proto_init() { if File_wallet_proto != nil { return } file_blocks_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_wallet_proto_rawDesc), len(file_wallet_proto_rawDesc)), NumEnums: 0, NumMessages: 16, NumExtensions: 0, NumServices: 1, }, GoTypes: file_wallet_proto_goTypes, DependencyIndexes: file_wallet_proto_depIdxs, MessageInfos: file_wallet_proto_msgTypes, }.Build() File_wallet_proto = out.File file_wallet_proto_goTypes = nil file_wallet_proto_depIdxs = nil }