Files
full/module/finance/wallet/pb/wechat.pb.go

1009 lines
34 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.1
// source: module/finance/wallet/proto/wechat.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 WxpayJSAPIPreOrderRequest 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"` //充值金额,单位:分
AuthCode string `protobuf:"bytes,3,opt,name=auth_code,json=authCode,proto3" json:"auth_code,omitempty"` //微信授权码
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` //商品描述
NotifyUrl string `protobuf:"bytes,5,opt,name=notify_url,json=notifyUrl,proto3" json:"notify_url,omitempty"` //支付回调URL公网域名须为HTTPS
OrderNo string `protobuf:"bytes,6,opt,name=orderNo,proto3" json:"orderNo,omitempty"` // 订单唯一码
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxpayJSAPIPreOrderRequest) Reset() {
*x = WxpayJSAPIPreOrderRequest{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxpayJSAPIPreOrderRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxpayJSAPIPreOrderRequest) ProtoMessage() {}
func (x *WxpayJSAPIPreOrderRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxpayJSAPIPreOrderRequest.ProtoReflect.Descriptor instead.
func (*WxpayJSAPIPreOrderRequest) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{0}
}
func (x *WxpayJSAPIPreOrderRequest) GetUserIdentification() string {
if x != nil {
return x.UserIdentification
}
return ""
}
func (x *WxpayJSAPIPreOrderRequest) GetAmount() int64 {
if x != nil {
return x.Amount
}
return 0
}
func (x *WxpayJSAPIPreOrderRequest) GetAuthCode() string {
if x != nil {
return x.AuthCode
}
return ""
}
func (x *WxpayJSAPIPreOrderRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *WxpayJSAPIPreOrderRequest) GetNotifyUrl() string {
if x != nil {
return x.NotifyUrl
}
return ""
}
func (x *WxpayJSAPIPreOrderRequest) GetOrderNo() string {
if x != nil {
return x.OrderNo
}
return ""
}
type WxpayJSAPIPreOrderReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
PrepayId string `protobuf:"bytes,1,opt,name=prepay_id,json=prepayId,proto3" json:"prepay_id,omitempty"` //预支付ID两小时有效
AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` //微信app_id
Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` //时间戳
NonceStr string `protobuf:"bytes,4,opt,name=nonce_str,json=nonceStr,proto3" json:"nonce_str,omitempty"` //随机字符串
SignType string `protobuf:"bytes,5,opt,name=sign_type,json=signType,proto3" json:"sign_type,omitempty"` //签名方式
Sign string `protobuf:"bytes,6,opt,name=sign,proto3" json:"sign,omitempty"` //签名串
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxpayJSAPIPreOrderReply) Reset() {
*x = WxpayJSAPIPreOrderReply{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxpayJSAPIPreOrderReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxpayJSAPIPreOrderReply) ProtoMessage() {}
func (x *WxpayJSAPIPreOrderReply) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxpayJSAPIPreOrderReply.ProtoReflect.Descriptor instead.
func (*WxpayJSAPIPreOrderReply) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{1}
}
func (x *WxpayJSAPIPreOrderReply) GetPrepayId() string {
if x != nil {
return x.PrepayId
}
return ""
}
func (x *WxpayJSAPIPreOrderReply) GetAppId() string {
if x != nil {
return x.AppId
}
return ""
}
func (x *WxpayJSAPIPreOrderReply) GetTimestamp() string {
if x != nil {
return x.Timestamp
}
return ""
}
func (x *WxpayJSAPIPreOrderReply) GetNonceStr() string {
if x != nil {
return x.NonceStr
}
return ""
}
func (x *WxpayJSAPIPreOrderReply) GetSignType() string {
if x != nil {
return x.SignType
}
return ""
}
func (x *WxpayJSAPIPreOrderReply) GetSign() string {
if x != nil {
return x.Sign
}
return ""
}
type WxpayAppPreOrderRequest 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"` //充值金额,单位:分
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` //商品描述
NotifyUrl string `protobuf:"bytes,4,opt,name=notify_url,json=notifyUrl,proto3" json:"notify_url,omitempty"` //支付回调URL公网域名须为HTTPS
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxpayAppPreOrderRequest) Reset() {
*x = WxpayAppPreOrderRequest{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxpayAppPreOrderRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxpayAppPreOrderRequest) ProtoMessage() {}
func (x *WxpayAppPreOrderRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxpayAppPreOrderRequest.ProtoReflect.Descriptor instead.
func (*WxpayAppPreOrderRequest) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{2}
}
func (x *WxpayAppPreOrderRequest) GetUserIdentification() string {
if x != nil {
return x.UserIdentification
}
return ""
}
func (x *WxpayAppPreOrderRequest) GetAmount() int64 {
if x != nil {
return x.Amount
}
return 0
}
func (x *WxpayAppPreOrderRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *WxpayAppPreOrderRequest) GetNotifyUrl() string {
if x != nil {
return x.NotifyUrl
}
return ""
}
type WxpayAppPreOrderReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
PrepayId string `protobuf:"bytes,1,opt,name=prepay_id,json=prepayId,proto3" json:"prepay_id,omitempty"` //预支付ID两小时有效
AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` //微信app_id
MchId string `protobuf:"bytes,3,opt,name=mch_id,json=mchId,proto3" json:"mch_id,omitempty"` //商户号,用以调起支付
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxpayAppPreOrderReply) Reset() {
*x = WxpayAppPreOrderReply{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxpayAppPreOrderReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxpayAppPreOrderReply) ProtoMessage() {}
func (x *WxpayAppPreOrderReply) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxpayAppPreOrderReply.ProtoReflect.Descriptor instead.
func (*WxpayAppPreOrderReply) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{3}
}
func (x *WxpayAppPreOrderReply) GetPrepayId() string {
if x != nil {
return x.PrepayId
}
return ""
}
func (x *WxpayAppPreOrderReply) GetAppId() string {
if x != nil {
return x.AppId
}
return ""
}
func (x *WxpayAppPreOrderReply) GetMchId() string {
if x != nil {
return x.MchId
}
return ""
}
type WxpayNativePreOrderRequest 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"` //充值金额,单位:分
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` //商品描述
NotifyUrl string `protobuf:"bytes,4,opt,name=notify_url,json=notifyUrl,proto3" json:"notify_url,omitempty"` //支付回调URL公网域名须为HTTPS
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxpayNativePreOrderRequest) Reset() {
*x = WxpayNativePreOrderRequest{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxpayNativePreOrderRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxpayNativePreOrderRequest) ProtoMessage() {}
func (x *WxpayNativePreOrderRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxpayNativePreOrderRequest.ProtoReflect.Descriptor instead.
func (*WxpayNativePreOrderRequest) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{4}
}
func (x *WxpayNativePreOrderRequest) GetUserIdentification() string {
if x != nil {
return x.UserIdentification
}
return ""
}
func (x *WxpayNativePreOrderRequest) GetAmount() int64 {
if x != nil {
return x.Amount
}
return 0
}
func (x *WxpayNativePreOrderRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *WxpayNativePreOrderRequest) GetNotifyUrl() string {
if x != nil {
return x.NotifyUrl
}
return ""
}
type WxpayNativePreOrderReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
CodeUrl string `protobuf:"bytes,1,opt,name=code_url,json=codeUrl,proto3" json:"code_url,omitempty"` //二维码URL
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxpayNativePreOrderReply) Reset() {
*x = WxpayNativePreOrderReply{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxpayNativePreOrderReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxpayNativePreOrderReply) ProtoMessage() {}
func (x *WxpayNativePreOrderReply) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxpayNativePreOrderReply.ProtoReflect.Descriptor instead.
func (*WxpayNativePreOrderReply) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{5}
}
func (x *WxpayNativePreOrderReply) GetCodeUrl() string {
if x != nil {
return x.CodeUrl
}
return ""
}
type WxpayTransferRequest 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"` //提现手续费,单位:分
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` //商品描述
TransferName string `protobuf:"bytes,5,opt,name=transfer_name,json=transferName,proto3" json:"transfer_name,omitempty"` //提现人真实姓名
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxpayTransferRequest) Reset() {
*x = WxpayTransferRequest{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxpayTransferRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxpayTransferRequest) ProtoMessage() {}
func (x *WxpayTransferRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxpayTransferRequest.ProtoReflect.Descriptor instead.
func (*WxpayTransferRequest) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{6}
}
func (x *WxpayTransferRequest) GetUserIdentification() string {
if x != nil {
return x.UserIdentification
}
return ""
}
func (x *WxpayTransferRequest) GetAmount() int64 {
if x != nil {
return x.Amount
}
return 0
}
func (x *WxpayTransferRequest) GetFee() int64 {
if x != nil {
return x.Fee
}
return 0
}
func (x *WxpayTransferRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *WxpayTransferRequest) GetTransferName() string {
if x != nil {
return x.TransferName
}
return ""
}
type WxpayTransferReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxpayTransferReply) Reset() {
*x = WxpayTransferReply{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxpayTransferReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxpayTransferReply) ProtoMessage() {}
func (x *WxpayTransferReply) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxpayTransferReply.ProtoReflect.Descriptor instead.
func (*WxpayTransferReply) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{7}
}
type WxCallBackResource struct {
state protoimpl.MessageState `protogen:"open.v1"`
OriginalType string `protobuf:"bytes,1,opt,name=original_type,json=originalType,proto3" json:"original_type,omitempty"`
Algorithm string `protobuf:"bytes,2,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
Ciphertext string `protobuf:"bytes,3,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
AssociatedData string `protobuf:"bytes,4,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"`
Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxCallBackResource) Reset() {
*x = WxCallBackResource{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxCallBackResource) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxCallBackResource) ProtoMessage() {}
func (x *WxCallBackResource) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxCallBackResource.ProtoReflect.Descriptor instead.
func (*WxCallBackResource) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{8}
}
func (x *WxCallBackResource) GetOriginalType() string {
if x != nil {
return x.OriginalType
}
return ""
}
func (x *WxCallBackResource) GetAlgorithm() string {
if x != nil {
return x.Algorithm
}
return ""
}
func (x *WxCallBackResource) GetCiphertext() string {
if x != nil {
return x.Ciphertext
}
return ""
}
func (x *WxCallBackResource) GetAssociatedData() string {
if x != nil {
return x.AssociatedData
}
return ""
}
func (x *WxCallBackResource) GetNonce() string {
if x != nil {
return x.Nonce
}
return ""
}
type WxCallBackSignInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
ActCode string `protobuf:"bytes,2,opt,name=act_code,json=actCode,proto3" json:"act_code,omitempty"`
HallCode string `protobuf:"bytes,3,opt,name=hall_code,json=hallCode,proto3" json:"hall_code,omitempty"`
HallBelongMchId int64 `protobuf:"varint,4,opt,name=hall_belong_mch_id,json=hallBelongMchId,proto3" json:"hall_belong_mch_id,omitempty"`
CardId string `protobuf:"bytes,5,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"`
ActivityId string `protobuf:"bytes,7,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxCallBackSignInfo) Reset() {
*x = WxCallBackSignInfo{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxCallBackSignInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxCallBackSignInfo) ProtoMessage() {}
func (x *WxCallBackSignInfo) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxCallBackSignInfo.ProtoReflect.Descriptor instead.
func (*WxCallBackSignInfo) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{9}
}
func (x *WxCallBackSignInfo) GetTransactionId() string {
if x != nil {
return x.TransactionId
}
return ""
}
func (x *WxCallBackSignInfo) GetActCode() string {
if x != nil {
return x.ActCode
}
return ""
}
func (x *WxCallBackSignInfo) GetHallCode() string {
if x != nil {
return x.HallCode
}
return ""
}
func (x *WxCallBackSignInfo) GetHallBelongMchId() int64 {
if x != nil {
return x.HallBelongMchId
}
return 0
}
func (x *WxCallBackSignInfo) GetCardId() string {
if x != nil {
return x.CardId
}
return ""
}
func (x *WxCallBackSignInfo) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
func (x *WxCallBackSignInfo) GetActivityId() string {
if x != nil {
return x.ActivityId
}
return ""
}
type WxCallBackRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
CreateTime string `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
ResourceType string `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
Summary string `protobuf:"bytes,5,opt,name=summary,proto3" json:"summary,omitempty"`
Resource *WxCallBackResource `protobuf:"bytes,6,opt,name=resource,proto3" json:"resource,omitempty"`
SignInfo *WxCallBackSignInfo `protobuf:"bytes,7,opt,name=SignInfo,proto3" json:"SignInfo,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WxCallBackRequest) Reset() {
*x = WxCallBackRequest{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WxCallBackRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WxCallBackRequest) ProtoMessage() {}
func (x *WxCallBackRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 WxCallBackRequest.ProtoReflect.Descriptor instead.
func (*WxCallBackRequest) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{10}
}
func (x *WxCallBackRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *WxCallBackRequest) GetCreateTime() string {
if x != nil {
return x.CreateTime
}
return ""
}
func (x *WxCallBackRequest) GetResourceType() string {
if x != nil {
return x.ResourceType
}
return ""
}
func (x *WxCallBackRequest) GetEventType() string {
if x != nil {
return x.EventType
}
return ""
}
func (x *WxCallBackRequest) GetSummary() string {
if x != nil {
return x.Summary
}
return ""
}
func (x *WxCallBackRequest) GetResource() *WxCallBackResource {
if x != nil {
return x.Resource
}
return nil
}
func (x *WxCallBackRequest) GetSignInfo() *WxCallBackSignInfo {
if x != nil {
return x.SignInfo
}
return nil
}
type CallBackReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // 错误码SUCCESS为清算机构接收成功FAIL错误码为失败。
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 返回信息
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallBackReply) Reset() {
*x = CallBackReply{}
mi := &file_module_finance_wallet_proto_wechat_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallBackReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallBackReply) ProtoMessage() {}
func (x *CallBackReply) ProtoReflect() protoreflect.Message {
mi := &file_module_finance_wallet_proto_wechat_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 CallBackReply.ProtoReflect.Descriptor instead.
func (*CallBackReply) Descriptor() ([]byte, []int) {
return file_module_finance_wallet_proto_wechat_proto_rawDescGZIP(), []int{11}
}
func (x *CallBackReply) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
func (x *CallBackReply) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
var File_module_finance_wallet_proto_wechat_proto protoreflect.FileDescriptor
const file_module_finance_wallet_proto_wechat_proto_rawDesc = "" +
"\n" +
"(module/finance/wallet/proto/wechat.proto\x12\x06wallet\"\xdc\x01\n" +
"\x19WxpayJSAPIPreOrderRequest\x12/\n" +
"\x13user_identification\x18\x01 \x01(\tR\x12userIdentification\x12\x16\n" +
"\x06amount\x18\x02 \x01(\x03R\x06amount\x12\x1b\n" +
"\tauth_code\x18\x03 \x01(\tR\bauthCode\x12 \n" +
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1d\n" +
"\n" +
"notify_url\x18\x05 \x01(\tR\tnotifyUrl\x12\x18\n" +
"\aorderNo\x18\x06 \x01(\tR\aorderNo\"\xb9\x01\n" +
"\x17WxpayJSAPIPreOrderReply\x12\x1b\n" +
"\tprepay_id\x18\x01 \x01(\tR\bprepayId\x12\x15\n" +
"\x06app_id\x18\x02 \x01(\tR\x05appId\x12\x1c\n" +
"\ttimestamp\x18\x03 \x01(\tR\ttimestamp\x12\x1b\n" +
"\tnonce_str\x18\x04 \x01(\tR\bnonceStr\x12\x1b\n" +
"\tsign_type\x18\x05 \x01(\tR\bsignType\x12\x12\n" +
"\x04sign\x18\x06 \x01(\tR\x04sign\"\xa3\x01\n" +
"\x17WxpayAppPreOrderRequest\x12/\n" +
"\x13user_identification\x18\x01 \x01(\tR\x12userIdentification\x12\x16\n" +
"\x06amount\x18\x02 \x01(\x03R\x06amount\x12 \n" +
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1d\n" +
"\n" +
"notify_url\x18\x04 \x01(\tR\tnotifyUrl\"b\n" +
"\x15WxpayAppPreOrderReply\x12\x1b\n" +
"\tprepay_id\x18\x01 \x01(\tR\bprepayId\x12\x15\n" +
"\x06app_id\x18\x02 \x01(\tR\x05appId\x12\x15\n" +
"\x06mch_id\x18\x03 \x01(\tR\x05mchId\"\xa6\x01\n" +
"\x1aWxpayNativePreOrderRequest\x12/\n" +
"\x13user_identification\x18\x01 \x01(\tR\x12userIdentification\x12\x16\n" +
"\x06amount\x18\x02 \x01(\x03R\x06amount\x12 \n" +
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1d\n" +
"\n" +
"notify_url\x18\x04 \x01(\tR\tnotifyUrl\"5\n" +
"\x18WxpayNativePreOrderReply\x12\x19\n" +
"\bcode_url\x18\x01 \x01(\tR\acodeUrl\"\xb8\x01\n" +
"\x14WxpayTransferRequest\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 \n" +
"\vdescription\x18\x04 \x01(\tR\vdescription\x12#\n" +
"\rtransfer_name\x18\x05 \x01(\tR\ftransferName\"\x14\n" +
"\x12WxpayTransferReply\"\xb6\x01\n" +
"\x12WxCallBackResource\x12#\n" +
"\roriginal_type\x18\x01 \x01(\tR\foriginalType\x12\x1c\n" +
"\talgorithm\x18\x02 \x01(\tR\talgorithm\x12\x1e\n" +
"\n" +
"ciphertext\x18\x03 \x01(\tR\n" +
"ciphertext\x12'\n" +
"\x0fassociated_data\x18\x04 \x01(\tR\x0eassociatedData\x12\x14\n" +
"\x05nonce\x18\x05 \x01(\tR\x05nonce\"\xee\x01\n" +
"\x12WxCallBackSignInfo\x12%\n" +
"\x0etransaction_id\x18\x01 \x01(\tR\rtransactionId\x12\x19\n" +
"\bact_code\x18\x02 \x01(\tR\aactCode\x12\x1b\n" +
"\thall_code\x18\x03 \x01(\tR\bhallCode\x12+\n" +
"\x12hall_belong_mch_id\x18\x04 \x01(\x03R\x0fhallBelongMchId\x12\x17\n" +
"\acard_id\x18\x05 \x01(\tR\x06cardId\x12\x12\n" +
"\x04code\x18\x06 \x01(\tR\x04code\x12\x1f\n" +
"\vactivity_id\x18\a \x01(\tR\n" +
"activityId\"\x92\x02\n" +
"\x11WxCallBackRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n" +
"\vcreate_time\x18\x02 \x01(\tR\n" +
"createTime\x12#\n" +
"\rresource_type\x18\x03 \x01(\tR\fresourceType\x12\x1d\n" +
"\n" +
"event_type\x18\x04 \x01(\tR\teventType\x12\x18\n" +
"\asummary\x18\x05 \x01(\tR\asummary\x126\n" +
"\bresource\x18\x06 \x01(\v2\x1a.wallet.WxCallBackResourceR\bresource\x126\n" +
"\bSignInfo\x18\a \x01(\v2\x1a.wallet.WxCallBackSignInfoR\bSignInfo\"=\n" +
"\rCallBackReply\x12\x12\n" +
"\x04code\x18\x01 \x01(\tR\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage2\x94\x03\n" +
"\x06Wechat\x12U\n" +
"\rJsapiPreOrder\x12!.wallet.WxpayJSAPIPreOrderRequest\x1a\x1f.wallet.WxpayJSAPIPreOrderReply\"\x00\x12O\n" +
"\vAppPreOrder\x12\x1f.wallet.WxpayAppPreOrderRequest\x1a\x1d.wallet.WxpayAppPreOrderReply\"\x00\x12X\n" +
"\x0eNativePreOrder\x12\".wallet.WxpayNativePreOrderRequest\x1a .wallet.WxpayNativePreOrderReply\"\x00\x12F\n" +
"\bTransfer\x12\x1c.wallet.WxpayTransferRequest\x1a\x1a.wallet.WxpayTransferReply\"\x00\x12@\n" +
"\n" +
"WxCallback\x12\x19.wallet.WxCallBackRequest\x1a\x15.wallet.CallBackReply\"\x00B*Z(bsm/full/module/finance/wallet/pb;walletb\x06proto3"
var (
file_module_finance_wallet_proto_wechat_proto_rawDescOnce sync.Once
file_module_finance_wallet_proto_wechat_proto_rawDescData []byte
)
func file_module_finance_wallet_proto_wechat_proto_rawDescGZIP() []byte {
file_module_finance_wallet_proto_wechat_proto_rawDescOnce.Do(func() {
file_module_finance_wallet_proto_wechat_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_finance_wallet_proto_wechat_proto_rawDesc), len(file_module_finance_wallet_proto_wechat_proto_rawDesc)))
})
return file_module_finance_wallet_proto_wechat_proto_rawDescData
}
var file_module_finance_wallet_proto_wechat_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_module_finance_wallet_proto_wechat_proto_goTypes = []any{
(*WxpayJSAPIPreOrderRequest)(nil), // 0: wallet.WxpayJSAPIPreOrderRequest
(*WxpayJSAPIPreOrderReply)(nil), // 1: wallet.WxpayJSAPIPreOrderReply
(*WxpayAppPreOrderRequest)(nil), // 2: wallet.WxpayAppPreOrderRequest
(*WxpayAppPreOrderReply)(nil), // 3: wallet.WxpayAppPreOrderReply
(*WxpayNativePreOrderRequest)(nil), // 4: wallet.WxpayNativePreOrderRequest
(*WxpayNativePreOrderReply)(nil), // 5: wallet.WxpayNativePreOrderReply
(*WxpayTransferRequest)(nil), // 6: wallet.WxpayTransferRequest
(*WxpayTransferReply)(nil), // 7: wallet.WxpayTransferReply
(*WxCallBackResource)(nil), // 8: wallet.WxCallBackResource
(*WxCallBackSignInfo)(nil), // 9: wallet.WxCallBackSignInfo
(*WxCallBackRequest)(nil), // 10: wallet.WxCallBackRequest
(*CallBackReply)(nil), // 11: wallet.CallBackReply
}
var file_module_finance_wallet_proto_wechat_proto_depIdxs = []int32{
8, // 0: wallet.WxCallBackRequest.resource:type_name -> wallet.WxCallBackResource
9, // 1: wallet.WxCallBackRequest.SignInfo:type_name -> wallet.WxCallBackSignInfo
0, // 2: wallet.Wechat.JsapiPreOrder:input_type -> wallet.WxpayJSAPIPreOrderRequest
2, // 3: wallet.Wechat.AppPreOrder:input_type -> wallet.WxpayAppPreOrderRequest
4, // 4: wallet.Wechat.NativePreOrder:input_type -> wallet.WxpayNativePreOrderRequest
6, // 5: wallet.Wechat.Transfer:input_type -> wallet.WxpayTransferRequest
10, // 6: wallet.Wechat.WxCallback:input_type -> wallet.WxCallBackRequest
1, // 7: wallet.Wechat.JsapiPreOrder:output_type -> wallet.WxpayJSAPIPreOrderReply
3, // 8: wallet.Wechat.AppPreOrder:output_type -> wallet.WxpayAppPreOrderReply
5, // 9: wallet.Wechat.NativePreOrder:output_type -> wallet.WxpayNativePreOrderReply
7, // 10: wallet.Wechat.Transfer:output_type -> wallet.WxpayTransferReply
11, // 11: wallet.Wechat.WxCallback:output_type -> wallet.CallBackReply
7, // [7:12] is the sub-list for method output_type
2, // [2:7] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_module_finance_wallet_proto_wechat_proto_init() }
func file_module_finance_wallet_proto_wechat_proto_init() {
if File_module_finance_wallet_proto_wechat_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_finance_wallet_proto_wechat_proto_rawDesc), len(file_module_finance_wallet_proto_wechat_proto_rawDesc)),
NumEnums: 0,
NumMessages: 12,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_module_finance_wallet_proto_wechat_proto_goTypes,
DependencyIndexes: file_module_finance_wallet_proto_wechat_proto_depIdxs,
MessageInfos: file_module_finance_wallet_proto_wechat_proto_msgTypes,
}.Build()
File_module_finance_wallet_proto_wechat_proto = out.File
file_module_finance_wallet_proto_wechat_proto_goTypes = nil
file_module_finance_wallet_proto_wechat_proto_depIdxs = nil
}