// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.8 // protoc (unknown) // source: alipay.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 AlipayTradeWapPayRequest 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 QuitUrl string `protobuf:"bytes,5,opt,name=quit_url,json=quitUrl,proto3" json:"quit_url,omitempty"` //退出支付时用户返回的URL unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AlipayTradeWapPayRequest) Reset() { *x = AlipayTradeWapPayRequest{} mi := &file_alipay_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AlipayTradeWapPayRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AlipayTradeWapPayRequest) ProtoMessage() {} func (x *AlipayTradeWapPayRequest) ProtoReflect() protoreflect.Message { mi := &file_alipay_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 AlipayTradeWapPayRequest.ProtoReflect.Descriptor instead. func (*AlipayTradeWapPayRequest) Descriptor() ([]byte, []int) { return file_alipay_proto_rawDescGZIP(), []int{0} } func (x *AlipayTradeWapPayRequest) GetUserIdentification() string { if x != nil { return x.UserIdentification } return "" } func (x *AlipayTradeWapPayRequest) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *AlipayTradeWapPayRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *AlipayTradeWapPayRequest) GetNotifyUrl() string { if x != nil { return x.NotifyUrl } return "" } func (x *AlipayTradeWapPayRequest) GetQuitUrl() string { if x != nil { return x.QuitUrl } return "" } type AlipayTradeWapPayReply struct { state protoimpl.MessageState `protogen:"open.v1"` PayUrl string `protobuf:"bytes,1,opt,name=pay_url,json=payUrl,proto3" json:"pay_url,omitempty"` //支付链接 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AlipayTradeWapPayReply) Reset() { *x = AlipayTradeWapPayReply{} mi := &file_alipay_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AlipayTradeWapPayReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*AlipayTradeWapPayReply) ProtoMessage() {} func (x *AlipayTradeWapPayReply) ProtoReflect() protoreflect.Message { mi := &file_alipay_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 AlipayTradeWapPayReply.ProtoReflect.Descriptor instead. func (*AlipayTradeWapPayReply) Descriptor() ([]byte, []int) { return file_alipay_proto_rawDescGZIP(), []int{1} } func (x *AlipayTradeWapPayReply) GetPayUrl() string { if x != nil { return x.PayUrl } return "" } type AlipayTradePagePayRequest 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 ReturnUrl string `protobuf:"bytes,5,opt,name=return_url,json=returnUrl,proto3" json:"return_url,omitempty"` //支付成功时返回的URL unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AlipayTradePagePayRequest) Reset() { *x = AlipayTradePagePayRequest{} mi := &file_alipay_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AlipayTradePagePayRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AlipayTradePagePayRequest) ProtoMessage() {} func (x *AlipayTradePagePayRequest) ProtoReflect() protoreflect.Message { mi := &file_alipay_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 AlipayTradePagePayRequest.ProtoReflect.Descriptor instead. func (*AlipayTradePagePayRequest) Descriptor() ([]byte, []int) { return file_alipay_proto_rawDescGZIP(), []int{2} } func (x *AlipayTradePagePayRequest) GetUserIdentification() string { if x != nil { return x.UserIdentification } return "" } func (x *AlipayTradePagePayRequest) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *AlipayTradePagePayRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *AlipayTradePagePayRequest) GetNotifyUrl() string { if x != nil { return x.NotifyUrl } return "" } func (x *AlipayTradePagePayRequest) GetReturnUrl() string { if x != nil { return x.ReturnUrl } return "" } type AlipayTradePagePayReply struct { state protoimpl.MessageState `protogen:"open.v1"` PayUrl string `protobuf:"bytes,1,opt,name=pay_url,json=payUrl,proto3" json:"pay_url,omitempty"` //支付链接 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AlipayTradePagePayReply) Reset() { *x = AlipayTradePagePayReply{} mi := &file_alipay_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AlipayTradePagePayReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*AlipayTradePagePayReply) ProtoMessage() {} func (x *AlipayTradePagePayReply) ProtoReflect() protoreflect.Message { mi := &file_alipay_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 AlipayTradePagePayReply.ProtoReflect.Descriptor instead. func (*AlipayTradePagePayReply) Descriptor() ([]byte, []int) { return file_alipay_proto_rawDescGZIP(), []int{3} } func (x *AlipayTradePagePayReply) GetPayUrl() string { if x != nil { return x.PayUrl } return "" } type AlipayTradeAppPayRequest 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 *AlipayTradeAppPayRequest) Reset() { *x = AlipayTradeAppPayRequest{} mi := &file_alipay_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AlipayTradeAppPayRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AlipayTradeAppPayRequest) ProtoMessage() {} func (x *AlipayTradeAppPayRequest) ProtoReflect() protoreflect.Message { mi := &file_alipay_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 AlipayTradeAppPayRequest.ProtoReflect.Descriptor instead. func (*AlipayTradeAppPayRequest) Descriptor() ([]byte, []int) { return file_alipay_proto_rawDescGZIP(), []int{4} } func (x *AlipayTradeAppPayRequest) GetUserIdentification() string { if x != nil { return x.UserIdentification } return "" } func (x *AlipayTradeAppPayRequest) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *AlipayTradeAppPayRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *AlipayTradeAppPayRequest) GetNotifyUrl() string { if x != nil { return x.NotifyUrl } return "" } type AlipayTradeAppPayReply struct { state protoimpl.MessageState `protogen:"open.v1"` PayParam string `protobuf:"bytes,1,opt,name=pay_param,json=payParam,proto3" json:"pay_param,omitempty"` //调起支付的参数 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AlipayTradeAppPayReply) Reset() { *x = AlipayTradeAppPayReply{} mi := &file_alipay_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AlipayTradeAppPayReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*AlipayTradeAppPayReply) ProtoMessage() {} func (x *AlipayTradeAppPayReply) ProtoReflect() protoreflect.Message { mi := &file_alipay_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 AlipayTradeAppPayReply.ProtoReflect.Descriptor instead. func (*AlipayTradeAppPayReply) Descriptor() ([]byte, []int) { return file_alipay_proto_rawDescGZIP(), []int{5} } func (x *AlipayTradeAppPayReply) GetPayParam() string { if x != nil { return x.PayParam } return "" } type AlipayUniTransferRequest 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"` //商品描述 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AlipayUniTransferRequest) Reset() { *x = AlipayUniTransferRequest{} mi := &file_alipay_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AlipayUniTransferRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AlipayUniTransferRequest) ProtoMessage() {} func (x *AlipayUniTransferRequest) ProtoReflect() protoreflect.Message { mi := &file_alipay_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 AlipayUniTransferRequest.ProtoReflect.Descriptor instead. func (*AlipayUniTransferRequest) Descriptor() ([]byte, []int) { return file_alipay_proto_rawDescGZIP(), []int{6} } func (x *AlipayUniTransferRequest) GetUserIdentification() string { if x != nil { return x.UserIdentification } return "" } func (x *AlipayUniTransferRequest) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *AlipayUniTransferRequest) GetFee() int64 { if x != nil { return x.Fee } return 0 } func (x *AlipayUniTransferRequest) GetDescription() string { if x != nil { return x.Description } return "" } type AlipayUniTransferReply struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AlipayUniTransferReply) Reset() { *x = AlipayUniTransferReply{} mi := &file_alipay_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AlipayUniTransferReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*AlipayUniTransferReply) ProtoMessage() {} func (x *AlipayUniTransferReply) ProtoReflect() protoreflect.Message { mi := &file_alipay_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 AlipayUniTransferReply.ProtoReflect.Descriptor instead. func (*AlipayUniTransferReply) Descriptor() ([]byte, []int) { return file_alipay_proto_rawDescGZIP(), []int{7} } var File_alipay_proto protoreflect.FileDescriptor const file_alipay_proto_rawDesc = "" + "\n" + "\falipay.proto\x12\x06wallet\"\xbf\x01\n" + "\x18AlipayTradeWapPayRequest\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\x12\x19\n" + "\bquit_url\x18\x05 \x01(\tR\aquitUrl\"1\n" + "\x16AlipayTradeWapPayReply\x12\x17\n" + "\apay_url\x18\x01 \x01(\tR\x06payUrl\"\xc4\x01\n" + "\x19AlipayTradePagePayRequest\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\x12\x1d\n" + "\n" + "return_url\x18\x05 \x01(\tR\treturnUrl\"2\n" + "\x17AlipayTradePagePayReply\x12\x17\n" + "\apay_url\x18\x01 \x01(\tR\x06payUrl\"\xa4\x01\n" + "\x18AlipayTradeAppPayRequest\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" + "\x16AlipayTradeAppPayReply\x12\x1b\n" + "\tpay_param\x18\x01 \x01(\tR\bpayParam\"\x97\x01\n" + "\x18AlipayUniTransferRequest\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\"\x18\n" + "\x16AlipayUniTransferReply2\xc5\x02\n" + "\x06Alipay\x12L\n" + "\x06WapPay\x12 .wallet.AlipayTradeWapPayRequest\x1a\x1e.wallet.AlipayTradeWapPayReply\"\x00\x12O\n" + "\aPagePay\x12!.wallet.AlipayTradePagePayRequest\x1a\x1f.wallet.AlipayTradePagePayReply\"\x00\x12L\n" + "\x06AppPay\x12 .wallet.AlipayTradeAppPayRequest\x1a\x1e.wallet.AlipayTradeAppPayReply\"\x00\x12N\n" + "\bTransfer\x12 .wallet.AlipayUniTransferRequest\x1a\x1e.wallet.AlipayUniTransferReply\"\x00B\n" + "Z\b.;walletb\x06proto3" var ( file_alipay_proto_rawDescOnce sync.Once file_alipay_proto_rawDescData []byte ) func file_alipay_proto_rawDescGZIP() []byte { file_alipay_proto_rawDescOnce.Do(func() { file_alipay_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_alipay_proto_rawDesc), len(file_alipay_proto_rawDesc))) }) return file_alipay_proto_rawDescData } var file_alipay_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_alipay_proto_goTypes = []any{ (*AlipayTradeWapPayRequest)(nil), // 0: wallet.AlipayTradeWapPayRequest (*AlipayTradeWapPayReply)(nil), // 1: wallet.AlipayTradeWapPayReply (*AlipayTradePagePayRequest)(nil), // 2: wallet.AlipayTradePagePayRequest (*AlipayTradePagePayReply)(nil), // 3: wallet.AlipayTradePagePayReply (*AlipayTradeAppPayRequest)(nil), // 4: wallet.AlipayTradeAppPayRequest (*AlipayTradeAppPayReply)(nil), // 5: wallet.AlipayTradeAppPayReply (*AlipayUniTransferRequest)(nil), // 6: wallet.AlipayUniTransferRequest (*AlipayUniTransferReply)(nil), // 7: wallet.AlipayUniTransferReply } var file_alipay_proto_depIdxs = []int32{ 0, // 0: wallet.Alipay.WapPay:input_type -> wallet.AlipayTradeWapPayRequest 2, // 1: wallet.Alipay.PagePay:input_type -> wallet.AlipayTradePagePayRequest 4, // 2: wallet.Alipay.AppPay:input_type -> wallet.AlipayTradeAppPayRequest 6, // 3: wallet.Alipay.Transfer:input_type -> wallet.AlipayUniTransferRequest 1, // 4: wallet.Alipay.WapPay:output_type -> wallet.AlipayTradeWapPayReply 3, // 5: wallet.Alipay.PagePay:output_type -> wallet.AlipayTradePagePayReply 5, // 6: wallet.Alipay.AppPay:output_type -> wallet.AlipayTradeAppPayReply 7, // 7: wallet.Alipay.Transfer:output_type -> wallet.AlipayUniTransferReply 4, // [4:8] is the sub-list for method output_type 0, // [0:4] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_alipay_proto_init() } func file_alipay_proto_init() { if File_alipay_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_alipay_proto_rawDesc), len(file_alipay_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 1, }, GoTypes: file_alipay_proto_goTypes, DependencyIndexes: file_alipay_proto_depIdxs, MessageInfos: file_alipay_proto_msgTypes, }.Build() File_alipay_proto = out.File file_alipay_proto_goTypes = nil file_alipay_proto_depIdxs = nil }