4
0
protobuf/org.pb.go
2025-04-30 19:16:03 +08:00

1234 lines
51 KiB
Go
Raw 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.35.1
// protoc v3.19.4
// source: org.proto
package protobuf
import (
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
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 State int32
const (
State_Pending State = 0 //处理中
State_Failure State = -1 //失败
State_Success State = 1 //成功
)
// Enum value maps for State.
var (
State_name = map[int32]string{
0: "Pending",
-1: "Failure",
1: "Success",
}
State_value = map[string]int32{
"Pending": 0,
"Failure": -1,
"Success": 1,
}
)
func (x State) Enum() *State {
p := new(State)
*p = x
return p
}
func (x State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (State) Descriptor() protoreflect.EnumDescriptor {
return file_org_proto_enumTypes[0].Descriptor()
}
func (State) Type() protoreflect.EnumType {
return &file_org_proto_enumTypes[0]
}
func (x State) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use State.Descriptor instead.
func (State) EnumDescriptor() ([]byte, []int) {
return file_org_proto_rawDescGZIP(), []int{0}
}
type Empty struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Empty) Reset() {
*x = Empty{}
mi := &file_org_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Empty) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Empty) ProtoMessage() {}
func (x *Empty) ProtoReflect() protoreflect.Message {
mi := &file_org_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 Empty.ProtoReflect.Descriptor instead.
func (*Empty) Descriptor() ([]byte, []int) {
return file_org_proto_rawDescGZIP(), []int{0}
}
type PingReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ping string `protobuf:"bytes,1,opt,name=ping,proto3" json:"ping,omitempty"`
}
func (x *PingReq) Reset() {
*x = PingReq{}
mi := &file_org_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PingReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PingReq) ProtoMessage() {}
func (x *PingReq) ProtoReflect() protoreflect.Message {
mi := &file_org_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 PingReq.ProtoReflect.Descriptor instead.
func (*PingReq) Descriptor() ([]byte, []int) {
return file_org_proto_rawDescGZIP(), []int{1}
}
func (x *PingReq) GetPing() string {
if x != nil {
return x.Ping
}
return ""
}
type PongRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Pong string `protobuf:"bytes,1,opt,name=pong,proto3" json:"pong,omitempty"`
}
func (x *PongRes) Reset() {
*x = PongRes{}
mi := &file_org_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PongRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PongRes) ProtoMessage() {}
func (x *PongRes) ProtoReflect() protoreflect.Message {
mi := &file_org_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 PongRes.ProtoReflect.Descriptor instead.
func (*PongRes) Descriptor() ([]byte, []int) {
return file_org_proto_rawDescGZIP(), []int{2}
}
func (x *PongRes) GetPong() string {
if x != nil {
return x.Pong
}
return ""
}
type PayReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` //
Kid uint64 `protobuf:"varint,2,opt,name=Kid,proto3" json:"Kid,omitempty" dc:"主体ID v:required"` // 主体ID v:required
Uid string `protobuf:"bytes,3,opt,name=Uid,proto3" json:"Uid,omitempty" dc:"用户ID"` // 用户ID
Org string `protobuf:"bytes,4,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识 v:required"` // 渠道标识 v:required
OrgNo string `protobuf:"bytes,5,opt,name=OrgNo,proto3" json:"OrgNo,omitempty" dc:"渠道订单号"` // 渠道订单号
OrderNo string `protobuf:"bytes,6,opt,name=OrderNo,proto3" json:"OrderNo,omitempty" dc:"商户订单号 v:required"` // 商户订单号 v:required
StoreNo string `protobuf:"bytes,7,opt,name=StoreNo,proto3" json:"StoreNo,omitempty" dc:"门店编号"` // 门店编号
TokenNo string `protobuf:"bytes,8,opt,name=TokenNo,proto3" json:"TokenNo,omitempty" dc:"TokenId"` // TokenId
DeviceNo string `protobuf:"bytes,9,opt,name=DeviceNo,proto3" json:"DeviceNo,omitempty" dc:"设备编号"` // 设备编号
Type string `protobuf:"bytes,10,opt,name=Type,proto3" json:"Type,omitempty" dc:"支付类型bank/qrcode/barcode/online/web/h5... v:required"` // 支付类型bank/qrcode/barcode/online/web/h5... v:required
Via string `protobuf:"bytes,11,opt,name=Via,proto3" json:"Via,omitempty" dc:"渠道方支付方式 (Alipay/Wechat/Unionpay/Payme/Applepay/Googlepay...) v:required"` // 渠道方支付方式 (Alipay/Wechat/Unionpay/Payme/Applepay/Googlepay...) v:required
Ccy string `protobuf:"bytes,12,opt,name=Ccy,proto3" json:"Ccy,omitempty" dc:"币种"` // 币种
Amount string `protobuf:"bytes,13,opt,name=Amount,proto3" json:"Amount,omitempty" dc:"金额 v:required"` // 金额 v:required
Goods []*Goods `protobuf:"bytes,14,rep,name=Goods,proto3" json:"Goods,omitempty" dc:"商品列表"` // 商品列表
Metadata map[string]string `protobuf:"bytes,18,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"Meta数据"` // Meta数据
Description string `protobuf:"bytes,19,opt,name=Description,proto3" json:"Description,omitempty" dc:"订单备注/摘要"` // 订单备注/摘要
Callback string `protobuf:"bytes,28,opt,name=Callback,proto3" json:"Callback,omitempty" dc:"通知回调地址"` // 通知回调地址
SuccessUrl string `protobuf:"bytes,29,opt,name=SuccessUrl,proto3" json:"SuccessUrl,omitempty" dc:"成功跳转地址"` //成功跳转地址
FailureUrl string `protobuf:"bytes,30,opt,name=FailureUrl,proto3" json:"FailureUrl,omitempty" dc:"失败跳转地址"` //失败跳转地址
}
func (x *PayReq) Reset() {
*x = PayReq{}
mi := &file_org_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PayReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PayReq) ProtoMessage() {}
func (x *PayReq) ProtoReflect() protoreflect.Message {
mi := &file_org_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 PayReq.ProtoReflect.Descriptor instead.
func (*PayReq) Descriptor() ([]byte, []int) {
return file_org_proto_rawDescGZIP(), []int{3}
}
func (x *PayReq) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *PayReq) GetKid() uint64 {
if x != nil {
return x.Kid
}
return 0
}
func (x *PayReq) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *PayReq) GetOrg() string {
if x != nil {
return x.Org
}
return ""
}
func (x *PayReq) GetOrgNo() string {
if x != nil {
return x.OrgNo
}
return ""
}
func (x *PayReq) GetOrderNo() string {
if x != nil {
return x.OrderNo
}
return ""
}
func (x *PayReq) GetStoreNo() string {
if x != nil {
return x.StoreNo
}
return ""
}
func (x *PayReq) GetTokenNo() string {
if x != nil {
return x.TokenNo
}
return ""
}
func (x *PayReq) GetDeviceNo() string {
if x != nil {
return x.DeviceNo
}
return ""
}
func (x *PayReq) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *PayReq) GetVia() string {
if x != nil {
return x.Via
}
return ""
}
func (x *PayReq) GetCcy() string {
if x != nil {
return x.Ccy
}
return ""
}
func (x *PayReq) GetAmount() string {
if x != nil {
return x.Amount
}
return ""
}
func (x *PayReq) GetGoods() []*Goods {
if x != nil {
return x.Goods
}
return nil
}
func (x *PayReq) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
func (x *PayReq) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *PayReq) GetCallback() string {
if x != nil {
return x.Callback
}
return ""
}
func (x *PayReq) GetSuccessUrl() string {
if x != nil {
return x.SuccessUrl
}
return ""
}
func (x *PayReq) GetFailureUrl() string {
if x != nil {
return x.FailureUrl
}
return ""
}
type RefundReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty" dc:"ID v:required"` // ID v:required
Kid uint64 `protobuf:"varint,2,opt,name=Kid,proto3" json:"Kid,omitempty" dc:"主体ID v:required"` // 主体ID v:required
Uid string `protobuf:"bytes,3,opt,name=Uid,proto3" json:"Uid,omitempty" dc:"用户ID"` // 用户ID
Org string `protobuf:"bytes,4,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识 v:required"` //渠道标识 v:required
OrgNo string `protobuf:"bytes,5,opt,name=OrgNo,proto3" json:"OrgNo,omitempty" dc:"渠道订单号"` //渠道订单号
OrderNo string `protobuf:"bytes,6,opt,name=OrderNo,proto3" json:"OrderNo,omitempty" dc:"商户订单号"` //商户订单号
TokenNo string `protobuf:"bytes,7,opt,name=TokenNo,proto3" json:"TokenNo,omitempty" dc:"TokenId"` // TokenId
RefundNo string `protobuf:"bytes,8,opt,name=RefundNo,proto3" json:"RefundNo,omitempty" dc:"渠道方退单号"` //渠道方退单号
Type string `protobuf:"bytes,9,opt,name=Type,proto3" json:"Type,omitempty" dc:"类型bank/qrcode/barcode/online/web/h5... v:required"` // 类型bank/qrcode/barcode/online/web/h5... v:required
Via string `protobuf:"bytes,10,opt,name=Via,proto3" json:"Via,omitempty" dc:"渠道方支付方式 (Alipay/Wechat/Unionpay/Payme/Applepay/Googlepay...) v:required"` // 渠道方支付方式 (Alipay/Wechat/Unionpay/Payme/Applepay/Googlepay...) v:required
Ccy string `protobuf:"bytes,11,opt,name=Ccy,proto3" json:"Ccy,omitempty" dc:"币种"` // 币种
Amount string `protobuf:"bytes,12,opt,name=Amount,proto3" json:"Amount,omitempty" dc:"退款金额"` //退款金额
Deduct string `protobuf:"bytes,13,opt,name=Deduct,proto3" json:"Deduct,omitempty" dc:"费用/扣款/手续费"` // 费用/扣款/手续费
Amounted string `protobuf:"bytes,14,opt,name=Amounted,proto3" json:"Amounted,omitempty" dc:"实退金额"` // 实退金额
Metadata map[string]string `protobuf:"bytes,17,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"Meta数据"` // Meta数据
Description string `protobuf:"bytes,18,opt,name=Description,proto3" json:"Description,omitempty" dc:"退款备注/摘要"` //退款备注/摘要
Callback string `protobuf:"bytes,28,opt,name=Callback,proto3" json:"Callback,omitempty" dc:"通知回调地址"` //通知回调地址
SuccessUrl string `protobuf:"bytes,29,opt,name=SuccessUrl,proto3" json:"SuccessUrl,omitempty" dc:"成功跳转地址"` //成功跳转地址
FailureUrl string `protobuf:"bytes,30,opt,name=FailureUrl,proto3" json:"FailureUrl,omitempty" dc:"失败跳转地址"` //失败跳转地址
}
func (x *RefundReq) Reset() {
*x = RefundReq{}
mi := &file_org_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RefundReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RefundReq) ProtoMessage() {}
func (x *RefundReq) ProtoReflect() protoreflect.Message {
mi := &file_org_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 RefundReq.ProtoReflect.Descriptor instead.
func (*RefundReq) Descriptor() ([]byte, []int) {
return file_org_proto_rawDescGZIP(), []int{4}
}
func (x *RefundReq) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *RefundReq) GetKid() uint64 {
if x != nil {
return x.Kid
}
return 0
}
func (x *RefundReq) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *RefundReq) GetOrg() string {
if x != nil {
return x.Org
}
return ""
}
func (x *RefundReq) GetOrgNo() string {
if x != nil {
return x.OrgNo
}
return ""
}
func (x *RefundReq) GetOrderNo() string {
if x != nil {
return x.OrderNo
}
return ""
}
func (x *RefundReq) GetTokenNo() string {
if x != nil {
return x.TokenNo
}
return ""
}
func (x *RefundReq) GetRefundNo() string {
if x != nil {
return x.RefundNo
}
return ""
}
func (x *RefundReq) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *RefundReq) GetVia() string {
if x != nil {
return x.Via
}
return ""
}
func (x *RefundReq) GetCcy() string {
if x != nil {
return x.Ccy
}
return ""
}
func (x *RefundReq) GetAmount() string {
if x != nil {
return x.Amount
}
return ""
}
func (x *RefundReq) GetDeduct() string {
if x != nil {
return x.Deduct
}
return ""
}
func (x *RefundReq) GetAmounted() string {
if x != nil {
return x.Amounted
}
return ""
}
func (x *RefundReq) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
func (x *RefundReq) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *RefundReq) GetCallback() string {
if x != nil {
return x.Callback
}
return ""
}
func (x *RefundReq) GetSuccessUrl() string {
if x != nil {
return x.SuccessUrl
}
return ""
}
func (x *RefundReq) GetFailureUrl() string {
if x != nil {
return x.FailureUrl
}
return ""
}
type QueryReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty" dc:"ID"` // ID
Kid uint64 `protobuf:"varint,2,opt,name=Kid,proto3" json:"Kid,omitempty" dc:"主体ID"` // 主体ID
Uid string `protobuf:"bytes,3,opt,name=Uid,proto3" json:"Uid,omitempty" dc:"用户ID"` // 用户ID
Org string `protobuf:"bytes,4,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识"` //渠道标识
Via string `protobuf:"bytes,5,opt,name=Via,proto3" json:"Via,omitempty" dc:"渠道方支付方式 (Alipay/Wechat/Unionpay/Payme/Applepay/Googlepay...) v:required"` //渠道方支付方式 (Alipay/Wechat/Unionpay/Payme/Applepay/Googlepay...) v:required
Type string `protobuf:"bytes,6,opt,name=Type,proto3" json:"Type,omitempty" dc:"支付类型bank/qrcode/barcode/online/web/h5... v:required"` //支付类型bank/qrcode/barcode/online/web/h5... v:required
OrgNo string `protobuf:"bytes,7,opt,name=OrgNo,proto3" json:"OrgNo,omitempty" dc:"渠道订单号"` //渠道订单号
OrderNo string `protobuf:"bytes,8,opt,name=OrderNo,proto3" json:"OrderNo,omitempty" dc:"商户订单号"` //商户订单号
TokenNo string `protobuf:"bytes,9,opt,name=TokenNo,proto3" json:"TokenNo,omitempty" dc:"TokenId"` // TokenId
StoreNo string `protobuf:"bytes,10,opt,name=StoreNo,proto3" json:"StoreNo,omitempty" dc:"门店编号"` // 门店编号
DeviceNo string `protobuf:"bytes,11,opt,name=DeviceNo,proto3" json:"DeviceNo,omitempty" dc:"设备编号"` // 设备编号
RefundNo string `protobuf:"bytes,12,opt,name=RefundNo,proto3" json:"RefundNo,omitempty" dc:"退款单号"` //退款单号
Metadata map[string]string `protobuf:"bytes,13,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"附加参数"` //附加参数
}
func (x *QueryReq) Reset() {
*x = QueryReq{}
mi := &file_org_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *QueryReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryReq) ProtoMessage() {}
func (x *QueryReq) ProtoReflect() protoreflect.Message {
mi := &file_org_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 QueryReq.ProtoReflect.Descriptor instead.
func (*QueryReq) Descriptor() ([]byte, []int) {
return file_org_proto_rawDescGZIP(), []int{5}
}
func (x *QueryReq) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *QueryReq) GetKid() uint64 {
if x != nil {
return x.Kid
}
return 0
}
func (x *QueryReq) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *QueryReq) GetOrg() string {
if x != nil {
return x.Org
}
return ""
}
func (x *QueryReq) GetVia() string {
if x != nil {
return x.Via
}
return ""
}
func (x *QueryReq) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *QueryReq) GetOrgNo() string {
if x != nil {
return x.OrgNo
}
return ""
}
func (x *QueryReq) GetOrderNo() string {
if x != nil {
return x.OrderNo
}
return ""
}
func (x *QueryReq) GetTokenNo() string {
if x != nil {
return x.TokenNo
}
return ""
}
func (x *QueryReq) GetStoreNo() string {
if x != nil {
return x.StoreNo
}
return ""
}
func (x *QueryReq) GetDeviceNo() string {
if x != nil {
return x.DeviceNo
}
return ""
}
func (x *QueryReq) GetRefundNo() string {
if x != nil {
return x.RefundNo
}
return ""
}
func (x *QueryReq) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
type EventReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Kid uint64 `protobuf:"varint,1,opt,name=Kid,proto3" json:"Kid,omitempty" dc:"主体ID"` //主体ID
Uid string `protobuf:"bytes,2,opt,name=Uid,proto3" json:"Uid,omitempty" dc:"用户ID"` //用户ID
Org string `protobuf:"bytes,3,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识"` //渠道标识
Via string `protobuf:"bytes,4,opt,name=Via,proto3" json:"Via,omitempty" dc:"支付方式"` //支付方式
Url string `protobuf:"bytes,5,opt,name=Url,proto3" json:"Url,omitempty" dc:"URL"` //URL
Action string `protobuf:"bytes,6,opt,name=Action,proto3" json:"Action,omitempty" dc:"Action(渠道方子业务)"` //Action(渠道方子业务)
Metadata map[string]string `protobuf:"bytes,7,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"附加参数"` //附加参数
Query map[string]string `protobuf:"bytes,8,rep,name=Query,proto3" json:"Query,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"URL参数"` //URL参数
Header map[string]string `protobuf:"bytes,9,rep,name=Header,proto3" json:"Header,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"Header信息"` //Header信息
Body []byte `protobuf:"bytes,10,opt,name=Body,proto3" json:"Body,omitempty" dc:"Body数据"` //Body数据
}
func (x *EventReq) Reset() {
*x = EventReq{}
mi := &file_org_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EventReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EventReq) ProtoMessage() {}
func (x *EventReq) ProtoReflect() protoreflect.Message {
mi := &file_org_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 EventReq.ProtoReflect.Descriptor instead.
func (*EventReq) Descriptor() ([]byte, []int) {
return file_org_proto_rawDescGZIP(), []int{6}
}
func (x *EventReq) GetKid() uint64 {
if x != nil {
return x.Kid
}
return 0
}
func (x *EventReq) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *EventReq) GetOrg() string {
if x != nil {
return x.Org
}
return ""
}
func (x *EventReq) GetVia() string {
if x != nil {
return x.Via
}
return ""
}
func (x *EventReq) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *EventReq) GetAction() string {
if x != nil {
return x.Action
}
return ""
}
func (x *EventReq) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
func (x *EventReq) GetQuery() map[string]string {
if x != nil {
return x.Query
}
return nil
}
func (x *EventReq) GetHeader() map[string]string {
if x != nil {
return x.Header
}
return nil
}
func (x *EventReq) GetBody() []byte {
if x != nil {
return x.Body
}
return nil
}
type EventRes struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty" dc:"事件类型 order/refund/revoke v:required"` //事件类型 order/refund/revoke v:required
// Types that are assignable to Data:
//
// *EventRes_Order
// *EventRes_Refund
Data isEventRes_Data `protobuf_oneof:"Data" dc:"*EventRes_Order*EventRes_Refund"`
Status int32 `protobuf:"varint,2,opt,name=Status,proto3" json:"Status,omitempty" dc:"返回渠道方状态HTTP状态码"` //返回渠道方状态HTTP状态码
Header map[string]string `protobuf:"bytes,3,rep,name=Header,proto3" json:"Header,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"返回渠道方Header"` //返回渠道方Header
Body string `protobuf:"bytes,4,opt,name=Body,proto3" json:"Body,omitempty" dc:"返回渠道方Body"` //返回渠道方Body
}
func (x *EventRes) Reset() {
*x = EventRes{}
mi := &file_org_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EventRes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EventRes) ProtoMessage() {}
func (x *EventRes) ProtoReflect() protoreflect.Message {
mi := &file_org_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 EventRes.ProtoReflect.Descriptor instead.
func (*EventRes) Descriptor() ([]byte, []int) {
return file_org_proto_rawDescGZIP(), []int{7}
}
func (x *EventRes) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (m *EventRes) GetData() isEventRes_Data {
if m != nil {
return m.Data
}
return nil
}
func (x *EventRes) GetOrder() *Orders {
if x, ok := x.GetData().(*EventRes_Order); ok {
return x.Order
}
return nil
}
func (x *EventRes) GetRefund() *Refunds {
if x, ok := x.GetData().(*EventRes_Refund); ok {
return x.Refund
}
return nil
}
func (x *EventRes) GetStatus() int32 {
if x != nil {
return x.Status
}
return 0
}
func (x *EventRes) GetHeader() map[string]string {
if x != nil {
return x.Header
}
return nil
}
func (x *EventRes) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
type isEventRes_Data interface {
isEventRes_Data()
}
type EventRes_Order struct {
Order *Orders `protobuf:"bytes,11,opt,name=Order,proto3,oneof" dc:"订单信息"` //订单信息
}
type EventRes_Refund struct {
Refund *Refunds `protobuf:"bytes,12,opt,name=Refund,proto3,oneof" dc:"退单信息"` //退单信息
}
func (*EventRes_Order) isEventRes_Data() {}
func (*EventRes_Refund) isEventRes_Data() {}
var File_org_proto protoreflect.FileDescriptor
var file_org_proto_rawDesc = []byte{
0x0a, 0x09, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x67, 0x6f, 0x6f,
0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x1d,
0x0a, 0x07, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x69, 0x6e,
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x69, 0x6e, 0x67, 0x22, 0x1d, 0x0a,
0x07, 0x50, 0x6f, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x6e, 0x67,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x6e, 0x67, 0x22, 0xb3, 0x04, 0x0a,
0x06, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x69, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x4b, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x69, 0x64,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4f,
0x72, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4f, 0x72, 0x67, 0x12, 0x14, 0x0a,
0x05, 0x4f, 0x72, 0x67, 0x4e, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x72,
0x67, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x18, 0x06,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x12, 0x18, 0x0a,
0x07, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x53, 0x74, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
0x4e, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4e,
0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x18, 0x09, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x12, 0x12, 0x0a,
0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70,
0x65, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x69, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x56, 0x69, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x43, 0x63, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x43, 0x63, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a,
0x05, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x05, 0x47,
0x6f, 0x6f, 0x64, 0x73, 0x12, 0x31, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x2e,
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x4d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72,
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65,
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x6c,
0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x43, 0x61, 0x6c,
0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
0x55, 0x72, 0x6c, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x55, 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65,
0x55, 0x72, 0x6c, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46, 0x61, 0x69, 0x6c, 0x75,
0x72, 0x65, 0x55, 0x72, 0x6c, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
0x38, 0x01, 0x22, 0xac, 0x04, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x71,
0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64,
0x12, 0x10, 0x0a, 0x03, 0x4b, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x4b,
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x55, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4f, 0x72, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x4f, 0x72, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x4f, 0x72, 0x67, 0x4e, 0x6f, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x72, 0x67, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07,
0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4f,
0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4e,
0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4e, 0x6f,
0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x18, 0x08, 0x20, 0x01,
0x28, 0x09, 0x52, 0x08, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x12, 0x12, 0x0a, 0x04,
0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65,
0x12, 0x10, 0x0a, 0x03, 0x56, 0x69, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x56,
0x69, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x43, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x43, 0x63, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06,
0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x44, 0x65,
0x64, 0x75, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64,
0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64,
0x12, 0x34, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x11, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x18, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x4d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x4d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x6c, 0x6c,
0x62, 0x61, 0x63, 0x6b, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x43, 0x61, 0x6c, 0x6c,
0x62, 0x61, 0x63, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x55,
0x72, 0x6c, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
0x73, 0x55, 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x55,
0x72, 0x6c, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72,
0x65, 0x55, 0x72, 0x6c, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
0x01, 0x22, 0x84, 0x03, 0x0a, 0x08, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x12, 0x0e,
0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x12, 0x10,
0x0a, 0x03, 0x4b, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x4b, 0x69, 0x64,
0x12, 0x10, 0x0a, 0x03, 0x55, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55,
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4f, 0x72, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x4f, 0x72, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x69, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x56, 0x69, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4f, 0x72,
0x67, 0x4e, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x72, 0x67, 0x4e, 0x6f,
0x12, 0x18, 0x0a, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x6f,
0x6b, 0x65, 0x6e, 0x4e, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x54, 0x6f, 0x6b,
0x65, 0x6e, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x18,
0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x12, 0x1a,
0x0a, 0x08, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65,
0x66, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x52, 0x65,
0x66, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x12, 0x33, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
0x52, 0x65, 0x71, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x52, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd2, 0x03, 0x0a, 0x08, 0x45, 0x76, 0x65,
0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x04, 0x52, 0x03, 0x4b, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x69, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4f, 0x72, 0x67,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4f, 0x72, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x56,
0x69, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x56, 0x69, 0x61, 0x12, 0x10, 0x0a,
0x03, 0x55, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x72, 0x6c, 0x12,
0x16, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x45, 0x76, 0x65, 0x6e,
0x74, 0x52, 0x65, 0x71, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x52, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x05,
0x51, 0x75, 0x65, 0x72, 0x79, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x45, 0x76,
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x52, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2d, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64,
0x65, 0x72, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74,
0x52, 0x65, 0x71, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x18,
0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72,
0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x93, 0x02,
0x0a, 0x08, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79,
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28,
0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48,
0x00, 0x52, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x06, 0x52, 0x65, 0x66, 0x75,
0x6e, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x48, 0x00, 0x52, 0x06, 0x52,
0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x0a,
0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e,
0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04,
0x42, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x42, 0x6f, 0x64, 0x79,
0x1a, 0x39, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x0a, 0x04, 0x44,
0x61, 0x74, 0x61, 0x2a, 0x37, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07,
0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x07, 0x46, 0x61, 0x69,
0x6c, 0x75, 0x72, 0x65, 0x10, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12,
0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x32, 0x8c, 0x02, 0x0a,
0x03, 0x4f, 0x72, 0x67, 0x12, 0x1d, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x09, 0x2e,
0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x08, 0x2e, 0x50, 0x69,
0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x08, 0x2e, 0x50, 0x6f, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x12,
0x20, 0x0a, 0x03, 0x50, 0x61, 0x79, 0x12, 0x07, 0x2e, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x1a,
0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72,
0x73, 0x12, 0x27, 0x0a, 0x06, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x0a, 0x2e, 0x52, 0x65,
0x66, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x06, 0x52, 0x65,
0x76, 0x6f, 0x6b, 0x65, 0x12, 0x0a, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x71,
0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75,
0x6e, 0x64, 0x73, 0x12, 0x29, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x64, 0x65,
0x72, 0x12, 0x09, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x2b,
0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x09, 0x2e,
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x32, 0x6a, 0x0a, 0x03, 0x42,
0x73, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x10, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x28,
0x01, 0x30, 0x01, 0x12, 0x32, 0x0a, 0x06, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x11, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73,
0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75,
0x6e, 0x64, 0x73, 0x28, 0x01, 0x30, 0x01, 0x42, 0x25, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x2e, 0x6c,
0x69, 0x6e, 0x6b, 0x69, 0x69, 0x6f, 0x2e, 0x63, 0x6e, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x70, 0x61,
0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_org_proto_rawDescOnce sync.Once
file_org_proto_rawDescData = file_org_proto_rawDesc
)
func file_org_proto_rawDescGZIP() []byte {
file_org_proto_rawDescOnce.Do(func() {
file_org_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_proto_rawDescData)
})
return file_org_proto_rawDescData
}
var file_org_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_org_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
var file_org_proto_goTypes = []any{
(State)(0), // 0: State
(*Empty)(nil), // 1: Empty
(*PingReq)(nil), // 2: PingReq
(*PongRes)(nil), // 3: PongRes
(*PayReq)(nil), // 4: PayReq
(*RefundReq)(nil), // 5: RefundReq
(*QueryReq)(nil), // 6: QueryReq
(*EventReq)(nil), // 7: EventReq
(*EventRes)(nil), // 8: EventRes
nil, // 9: PayReq.MetadataEntry
nil, // 10: RefundReq.MetadataEntry
nil, // 11: QueryReq.MetadataEntry
nil, // 12: EventReq.MetadataEntry
nil, // 13: EventReq.QueryEntry
nil, // 14: EventReq.HeaderEntry
nil, // 15: EventRes.HeaderEntry
(*Goods)(nil), // 16: protobuf.Goods
(*Orders)(nil), // 17: protobuf.Orders
(*Refunds)(nil), // 18: protobuf.Refunds
}
var file_org_proto_depIdxs = []int32{
16, // 0: PayReq.Goods:type_name -> protobuf.Goods
9, // 1: PayReq.Metadata:type_name -> PayReq.MetadataEntry
10, // 2: RefundReq.Metadata:type_name -> RefundReq.MetadataEntry
11, // 3: QueryReq.Metadata:type_name -> QueryReq.MetadataEntry
12, // 4: EventReq.Metadata:type_name -> EventReq.MetadataEntry
13, // 5: EventReq.Query:type_name -> EventReq.QueryEntry
14, // 6: EventReq.Header:type_name -> EventReq.HeaderEntry
17, // 7: EventRes.Order:type_name -> protobuf.Orders
18, // 8: EventRes.Refund:type_name -> protobuf.Refunds
15, // 9: EventRes.Header:type_name -> EventRes.HeaderEntry
7, // 10: Org.Event:input_type -> EventReq
2, // 11: Org.Ping:input_type -> PingReq
4, // 12: Org.Pay:input_type -> PayReq
5, // 13: Org.Refund:input_type -> RefundReq
5, // 14: Org.Revoke:input_type -> RefundReq
6, // 15: Org.QueryOrder:input_type -> QueryReq
6, // 16: Org.QueryRefund:input_type -> QueryReq
17, // 17: Bss.Order:input_type -> protobuf.Orders
18, // 18: Bss.Refund:input_type -> protobuf.Refunds
8, // 19: Org.Event:output_type -> EventRes
3, // 20: Org.Ping:output_type -> PongRes
17, // 21: Org.Pay:output_type -> protobuf.Orders
18, // 22: Org.Refund:output_type -> protobuf.Refunds
18, // 23: Org.Revoke:output_type -> protobuf.Refunds
17, // 24: Org.QueryOrder:output_type -> protobuf.Orders
18, // 25: Org.QueryRefund:output_type -> protobuf.Refunds
17, // 26: Bss.Order:output_type -> protobuf.Orders
18, // 27: Bss.Refund:output_type -> protobuf.Refunds
19, // [19:28] is the sub-list for method output_type
10, // [10:19] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension type_name
10, // [10:10] is the sub-list for extension extendee
0, // [0:10] is the sub-list for field type_name
}
func init() { file_org_proto_init() }
func file_org_proto_init() {
if File_org_proto != nil {
return
}
file_goods_proto_init()
file_orders_proto_init()
file_refunds_proto_init()
file_org_proto_msgTypes[7].OneofWrappers = []any{
(*EventRes_Order)(nil),
(*EventRes_Refund)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_org_proto_rawDesc,
NumEnums: 1,
NumMessages: 15,
NumExtensions: 0,
NumServices: 2,
},
GoTypes: file_org_proto_goTypes,
DependencyIndexes: file_org_proto_depIdxs,
EnumInfos: file_org_proto_enumTypes,
MessageInfos: file_org_proto_msgTypes,
}.Build()
File_org_proto = out.File
file_org_proto_rawDesc = nil
file_org_proto_goTypes = nil
file_org_proto_depIdxs = nil
}