client/golang/wallet/payment.pb.go

711 lines
22 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.8
// protoc (unknown)
// source: payment.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 WayRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` //平台
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WayRequest) Reset() {
*x = WayRequest{}
mi := &file_payment_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WayRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WayRequest) ProtoMessage() {}
func (x *WayRequest) ProtoReflect() protoreflect.Message {
mi := &file_payment_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 WayRequest.ProtoReflect.Descriptor instead.
func (*WayRequest) Descriptor() ([]byte, []int) {
return file_payment_proto_rawDescGZIP(), []int{0}
}
func (x *WayRequest) GetPlatform() string {
if x != nil {
return x.Platform
}
return ""
}
type WayReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Way []*WayItem `protobuf:"bytes,1,rep,name=way,proto3" json:"way,omitempty"` //支付通道列表
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WayReply) Reset() {
*x = WayReply{}
mi := &file_payment_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WayReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WayReply) ProtoMessage() {}
func (x *WayReply) ProtoReflect() protoreflect.Message {
mi := &file_payment_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 WayReply.ProtoReflect.Descriptor instead.
func (*WayReply) Descriptor() ([]byte, []int) {
return file_payment_proto_rawDescGZIP(), []int{1}
}
func (x *WayReply) GetWay() []*WayItem {
if x != nil {
return x.Way
}
return nil
}
type WayItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
Ident string `protobuf:"bytes,1,opt,name=ident,proto3" json:"ident,omitempty"` //支付通道标识
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` //支付通道标题
Intro string `protobuf:"bytes,3,opt,name=intro,proto3" json:"intro,omitempty"` //支付通道说明
Args string `protobuf:"bytes,4,opt,name=args,proto3" json:"args,omitempty"` //支付通道相关参数
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WayItem) Reset() {
*x = WayItem{}
mi := &file_payment_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WayItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WayItem) ProtoMessage() {}
func (x *WayItem) ProtoReflect() protoreflect.Message {
mi := &file_payment_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 WayItem.ProtoReflect.Descriptor instead.
func (*WayItem) Descriptor() ([]byte, []int) {
return file_payment_proto_rawDescGZIP(), []int{2}
}
func (x *WayItem) GetIdent() string {
if x != nil {
return x.Ident
}
return ""
}
func (x *WayItem) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *WayItem) GetIntro() string {
if x != nil {
return x.Intro
}
return ""
}
func (x *WayItem) GetArgs() string {
if x != nil {
return x.Args
}
return ""
}
type PaymentItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"` // 订单号
TradeNo string `protobuf:"bytes,2,opt,name=trade_no,json=tradeNo,proto3" json:"trade_no,omitempty"` // 第三方交易流水号
Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // 类型:1充值;2支付电商订单
PayChannel int32 `protobuf:"varint,4,opt,name=pay_channel,json=payChannel,proto3" json:"pay_channel,omitempty"` // 支付模型WECHATALIPAY,BALANCE
PayType string `protobuf:"bytes,5,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网站支付
Amount int64 `protobuf:"varint,6,opt,name=amount,proto3" json:"amount,omitempty"` //充值金额 单位为分
Args string `protobuf:"bytes,7,opt,name=args,proto3" json:"args,omitempty"` // 相关参数
Status int32 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` // 支付状态
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PaymentItem) Reset() {
*x = PaymentItem{}
mi := &file_payment_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PaymentItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PaymentItem) ProtoMessage() {}
func (x *PaymentItem) ProtoReflect() protoreflect.Message {
mi := &file_payment_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 PaymentItem.ProtoReflect.Descriptor instead.
func (*PaymentItem) Descriptor() ([]byte, []int) {
return file_payment_proto_rawDescGZIP(), []int{3}
}
func (x *PaymentItem) GetOrderNo() string {
if x != nil {
return x.OrderNo
}
return ""
}
func (x *PaymentItem) GetTradeNo() string {
if x != nil {
return x.TradeNo
}
return ""
}
func (x *PaymentItem) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
func (x *PaymentItem) GetPayChannel() int32 {
if x != nil {
return x.PayChannel
}
return 0
}
func (x *PaymentItem) GetPayType() string {
if x != nil {
return x.PayType
}
return ""
}
func (x *PaymentItem) GetAmount() int64 {
if x != nil {
return x.Amount
}
return 0
}
func (x *PaymentItem) GetArgs() string {
if x != nil {
return x.Args
}
return ""
}
func (x *PaymentItem) GetStatus() int32 {
if x != nil {
return x.Status
}
return 0
}
type ChargeRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` //充值金额 单位为分
Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"` //备注
PayChannel int32 `protobuf:"varint,3,opt,name=pay_channel,json=payChannel,proto3" json:"pay_channel,omitempty"` //支付模型WECHATALIPAY
PayType string `protobuf:"bytes,4,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"` //支付类型 JSAPI:微信浏览器内支付 APP:app支付 MWEB:H5支付 NATIVE:Native支付,pc端生成二维码供用户扫码支付,QUICK_MSECURITY_PAY:app支付 QUICK_WAP_WAY:手机网站支付 FAST_INSTANT_TRADE_PAY:pc网站支付
Desc string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty"` //支付描述
OpenId string `protobuf:"bytes,6,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"` //微信用户的OpenID
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ChargeRequest) Reset() {
*x = ChargeRequest{}
mi := &file_payment_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ChargeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChargeRequest) ProtoMessage() {}
func (x *ChargeRequest) ProtoReflect() protoreflect.Message {
mi := &file_payment_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 ChargeRequest.ProtoReflect.Descriptor instead.
func (*ChargeRequest) Descriptor() ([]byte, []int) {
return file_payment_proto_rawDescGZIP(), []int{4}
}
func (x *ChargeRequest) GetAmount() int64 {
if x != nil {
return x.Amount
}
return 0
}
func (x *ChargeRequest) GetRemark() string {
if x != nil {
return x.Remark
}
return ""
}
func (x *ChargeRequest) GetPayChannel() int32 {
if x != nil {
return x.PayChannel
}
return 0
}
func (x *ChargeRequest) GetPayType() string {
if x != nil {
return x.PayType
}
return ""
}
func (x *ChargeRequest) GetDesc() string {
if x != nil {
return x.Desc
}
return ""
}
func (x *ChargeRequest) GetOpenId() string {
if x != nil {
return x.OpenId
}
return ""
}
type OrderRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"` //订单号
PayChannel int32 `protobuf:"varint,2,opt,name=pay_channel,json=payChannel,proto3" json:"pay_channel,omitempty"` //支付模型WECHATALIPAY,BALANCE
PayType string `protobuf:"bytes,3,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网站支付
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` //支付密码
Args string `protobuf:"bytes,5,opt,name=args,proto3" json:"args,omitempty"` //相关参数
Desc string `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"` //支付描述
OpenId string `protobuf:"bytes,7,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"` //微信用户的OpenID
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OrderRequest) Reset() {
*x = OrderRequest{}
mi := &file_payment_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OrderRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OrderRequest) ProtoMessage() {}
func (x *OrderRequest) ProtoReflect() protoreflect.Message {
mi := &file_payment_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 OrderRequest.ProtoReflect.Descriptor instead.
func (*OrderRequest) Descriptor() ([]byte, []int) {
return file_payment_proto_rawDescGZIP(), []int{5}
}
func (x *OrderRequest) GetOrderNo() string {
if x != nil {
return x.OrderNo
}
return ""
}
func (x *OrderRequest) GetPayChannel() int32 {
if x != nil {
return x.PayChannel
}
return 0
}
func (x *OrderRequest) GetPayType() string {
if x != nil {
return x.PayType
}
return ""
}
func (x *OrderRequest) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
func (x *OrderRequest) GetArgs() string {
if x != nil {
return x.Args
}
return ""
}
func (x *OrderRequest) GetDesc() string {
if x != nil {
return x.Desc
}
return ""
}
func (x *OrderRequest) GetOpenId() string {
if x != nil {
return x.OpenId
}
return ""
}
type CallbackRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 唯一ID
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一码
CallbackStatus bool `protobuf:"varint,3,opt,name=callback_status,json=callbackStatus,proto3" json:"callback_status,omitempty"` // 支付回调状态
CallbackMsg string `protobuf:"bytes,4,opt,name=callback_msg,json=callbackMsg,proto3" json:"callback_msg,omitempty"` // 支付回调结果
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CallbackRequest) Reset() {
*x = CallbackRequest{}
mi := &file_payment_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CallbackRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CallbackRequest) ProtoMessage() {}
func (x *CallbackRequest) ProtoReflect() protoreflect.Message {
mi := &file_payment_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 CallbackRequest.ProtoReflect.Descriptor instead.
func (*CallbackRequest) Descriptor() ([]byte, []int) {
return file_payment_proto_rawDescGZIP(), []int{6}
}
func (x *CallbackRequest) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *CallbackRequest) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *CallbackRequest) GetCallbackStatus() bool {
if x != nil {
return x.CallbackStatus
}
return false
}
func (x *CallbackRequest) GetCallbackMsg() string {
if x != nil {
return x.CallbackMsg
}
return ""
}
type PaymentReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Result map[string]string `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` //预支付返回
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PaymentReply) Reset() {
*x = PaymentReply{}
mi := &file_payment_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PaymentReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PaymentReply) ProtoMessage() {}
func (x *PaymentReply) ProtoReflect() protoreflect.Message {
mi := &file_payment_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 PaymentReply.ProtoReflect.Descriptor instead.
func (*PaymentReply) Descriptor() ([]byte, []int) {
return file_payment_proto_rawDescGZIP(), []int{7}
}
func (x *PaymentReply) GetCode() int64 {
if x != nil {
return x.Code
}
return 0
}
func (x *PaymentReply) GetResult() map[string]string {
if x != nil {
return x.Result
}
return nil
}
var File_payment_proto protoreflect.FileDescriptor
const file_payment_proto_rawDesc = "" +
"\n" +
"\rpayment.proto\x12\x06wallet\x1a\fblocks.proto\"(\n" +
"\n" +
"WayRequest\x12\x1a\n" +
"\bplatform\x18\x01 \x01(\tR\bplatform\"-\n" +
"\bWayReply\x12!\n" +
"\x03way\x18\x01 \x03(\v2\x0f.wallet.WayItemR\x03way\"_\n" +
"\aWayItem\x12\x14\n" +
"\x05ident\x18\x01 \x01(\tR\x05ident\x12\x14\n" +
"\x05title\x18\x02 \x01(\tR\x05title\x12\x14\n" +
"\x05intro\x18\x03 \x01(\tR\x05intro\x12\x12\n" +
"\x04args\x18\x04 \x01(\tR\x04args\"\xd7\x01\n" +
"\vPaymentItem\x12\x19\n" +
"\border_no\x18\x01 \x01(\tR\aorderNo\x12\x19\n" +
"\btrade_no\x18\x02 \x01(\tR\atradeNo\x12\x12\n" +
"\x04type\x18\x03 \x01(\x05R\x04type\x12\x1f\n" +
"\vpay_channel\x18\x04 \x01(\x05R\n" +
"payChannel\x12\x19\n" +
"\bpay_type\x18\x05 \x01(\tR\apayType\x12\x16\n" +
"\x06amount\x18\x06 \x01(\x03R\x06amount\x12\x12\n" +
"\x04args\x18\a \x01(\tR\x04args\x12\x16\n" +
"\x06status\x18\b \x01(\x05R\x06status\"\xa8\x01\n" +
"\rChargeRequest\x12\x16\n" +
"\x06amount\x18\x01 \x01(\x03R\x06amount\x12\x16\n" +
"\x06remark\x18\x02 \x01(\tR\x06remark\x12\x1f\n" +
"\vpay_channel\x18\x03 \x01(\x05R\n" +
"payChannel\x12\x19\n" +
"\bpay_type\x18\x04 \x01(\tR\apayType\x12\x12\n" +
"\x04desc\x18\x05 \x01(\tR\x04desc\x12\x17\n" +
"\aopen_id\x18\x06 \x01(\tR\x06openId\"\xc2\x01\n" +
"\fOrderRequest\x12\x19\n" +
"\border_no\x18\x01 \x01(\tR\aorderNo\x12\x1f\n" +
"\vpay_channel\x18\x02 \x01(\x05R\n" +
"payChannel\x12\x19\n" +
"\bpay_type\x18\x03 \x01(\tR\apayType\x12\x1a\n" +
"\bpassword\x18\x04 \x01(\tR\bpassword\x12\x12\n" +
"\x04args\x18\x05 \x01(\tR\x04args\x12\x12\n" +
"\x04desc\x18\x06 \x01(\tR\x04desc\x12\x17\n" +
"\aopen_id\x18\a \x01(\tR\x06openId\"\x89\x01\n" +
"\x0fCallbackRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\x12'\n" +
"\x0fcallback_status\x18\x03 \x01(\bR\x0ecallbackStatus\x12!\n" +
"\fcallback_msg\x18\x04 \x01(\tR\vcallbackMsg\"\x97\x01\n" +
"\fPaymentReply\x12\x12\n" +
"\x04code\x18\x01 \x01(\x03R\x04code\x128\n" +
"\x06result\x18\x02 \x03(\v2 .wallet.PaymentReply.ResultEntryR\x06result\x1a9\n" +
"\vResultEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x012\xcc\x02\n" +
"\aPayment\x12.\n" +
"\x05Hello\x12\r.wallet.Empty\x1a\x14.wallet.PaymentReply\"\x00\x12-\n" +
"\x03Way\x12\x12.wallet.WayRequest\x1a\x10.wallet.WayReply\"\x00\x122\n" +
"\x03Get\x12\x14.wallet.IdentRequest\x1a\x13.wallet.PaymentItem\"\x00\x127\n" +
"\aByOrder\x12\x14.wallet.OrderRequest\x1a\x14.wallet.PaymentReply\"\x00\x129\n" +
"\bByCharge\x12\x15.wallet.ChargeRequest\x1a\x14.wallet.PaymentReply\"\x00\x12:\n" +
"\bCallback\x12\x17.wallet.CallbackRequest\x1a\x13.wallet.StatusReply\"\x00B\n" +
"Z\b.;walletb\x06proto3"
var (
file_payment_proto_rawDescOnce sync.Once
file_payment_proto_rawDescData []byte
)
func file_payment_proto_rawDescGZIP() []byte {
file_payment_proto_rawDescOnce.Do(func() {
file_payment_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_payment_proto_rawDesc), len(file_payment_proto_rawDesc)))
})
return file_payment_proto_rawDescData
}
var file_payment_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_payment_proto_goTypes = []any{
(*WayRequest)(nil), // 0: wallet.WayRequest
(*WayReply)(nil), // 1: wallet.WayReply
(*WayItem)(nil), // 2: wallet.WayItem
(*PaymentItem)(nil), // 3: wallet.PaymentItem
(*ChargeRequest)(nil), // 4: wallet.ChargeRequest
(*OrderRequest)(nil), // 5: wallet.OrderRequest
(*CallbackRequest)(nil), // 6: wallet.CallbackRequest
(*PaymentReply)(nil), // 7: wallet.PaymentReply
nil, // 8: wallet.PaymentReply.ResultEntry
(*Empty)(nil), // 9: wallet.Empty
(*IdentRequest)(nil), // 10: wallet.IdentRequest
(*StatusReply)(nil), // 11: wallet.StatusReply
}
var file_payment_proto_depIdxs = []int32{
2, // 0: wallet.WayReply.way:type_name -> wallet.WayItem
8, // 1: wallet.PaymentReply.result:type_name -> wallet.PaymentReply.ResultEntry
9, // 2: wallet.Payment.Hello:input_type -> wallet.Empty
0, // 3: wallet.Payment.Way:input_type -> wallet.WayRequest
10, // 4: wallet.Payment.Get:input_type -> wallet.IdentRequest
5, // 5: wallet.Payment.ByOrder:input_type -> wallet.OrderRequest
4, // 6: wallet.Payment.ByCharge:input_type -> wallet.ChargeRequest
6, // 7: wallet.Payment.Callback:input_type -> wallet.CallbackRequest
7, // 8: wallet.Payment.Hello:output_type -> wallet.PaymentReply
1, // 9: wallet.Payment.Way:output_type -> wallet.WayReply
3, // 10: wallet.Payment.Get:output_type -> wallet.PaymentItem
7, // 11: wallet.Payment.ByOrder:output_type -> wallet.PaymentReply
7, // 12: wallet.Payment.ByCharge:output_type -> wallet.PaymentReply
11, // 13: wallet.Payment.Callback:output_type -> wallet.StatusReply
8, // [8:14] is the sub-list for method output_type
2, // [2:8] 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_payment_proto_init() }
func file_payment_proto_init() {
if File_payment_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_payment_proto_rawDesc), len(file_payment_proto_rawDesc)),
NumEnums: 0,
NumMessages: 9,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_payment_proto_goTypes,
DependencyIndexes: file_payment_proto_depIdxs,
MessageInfos: file_payment_proto_msgTypes,
}.Build()
File_payment_proto = out.File
file_payment_proto_goTypes = nil
file_payment_proto_depIdxs = nil
}