pay

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Pay_CreateApp_FullMethodName                    = "/pay.Pay/createApp"
	Pay_UpdateApp_FullMethodName                    = "/pay.Pay/updateApp"
	Pay_UpdateAppStatus_FullMethodName              = "/pay.Pay/updateAppStatus"
	Pay_DeleteApp_FullMethodName                    = "/pay.Pay/deleteApp"
	Pay_GetApp_FullMethodName                       = "/pay.Pay/getApp"
	Pay_GetAppList_FullMethodName                   = "/pay.Pay/getAppList"
	Pay_GetAppPage_FullMethodName                   = "/pay.Pay/getAppPage"
	Pay_InitDatabase_FullMethodName                 = "/pay.Pay/initDatabase"
	Pay_CreateChannel_FullMethodName                = "/pay.Pay/createChannel"
	Pay_UpdateChannel_FullMethodName                = "/pay.Pay/updateChannel"
	Pay_DeleteChannel_FullMethodName                = "/pay.Pay/deleteChannel"
	Pay_GetChannelById_FullMethodName               = "/pay.Pay/getChannelById"
	Pay_GetChannelListByAppIds_FullMethodName       = "/pay.Pay/getChannelListByAppIds"
	Pay_GetChannelListByAppIdAndCode_FullMethodName = "/pay.Pay/getChannelListByAppIdAndCode"
	Pay_GetEnableChannelList_FullMethodName         = "/pay.Pay/getEnableChannelList"
	Pay_ValidateChannelCanSubmit_FullMethodName     = "/pay.Pay/validateChannelCanSubmit"
	Pay_CreateDemoOrder_FullMethodName              = "/pay.Pay/createDemoOrder"
	Pay_GetDemoOrder_FullMethodName                 = "/pay.Pay/getDemoOrder"
	Pay_GetListDemoOrder_FullMethodName             = "/pay.Pay/getListDemoOrder"
	Pay_UpdateDemoOrderPaid_FullMethodName          = "/pay.Pay/updateDemoOrderPaid"
	Pay_CreateOrder_FullMethodName                  = "/pay.Pay/createOrder"
	Pay_GetOrder_FullMethodName                     = "/pay.Pay/getOrder"
	Pay_GetOrderPage_FullMethodName                 = "/pay.Pay/getOrderPage"
	Pay_CreateOrderExtension_FullMethodName         = "/pay.Pay/createOrderExtension"
	Pay_GetOrderExtension_FullMethodName            = "/pay.Pay/getOrderExtension"
	Pay_NotifyOrder_FullMethodName                  = "/pay.Pay/notifyOrder"
	Pay_ValidateOrderCanSubmit_FullMethodName       = "/pay.Pay/validateOrderCanSubmit"
	Pay_CreateRefund_FullMethodName                 = "/pay.Pay/createRefund"
	Pay_GetRefundPage_FullMethodName                = "/pay.Pay/getRefundPage"
	Pay_GetRefundById_FullMethodName                = "/pay.Pay/getRefundById"
)

Variables

View Source
var Pay_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pay.Pay",
	HandlerType: (*PayServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createApp",
			Handler:    _Pay_CreateApp_Handler,
		},
		{
			MethodName: "updateApp",
			Handler:    _Pay_UpdateApp_Handler,
		},
		{
			MethodName: "updateAppStatus",
			Handler:    _Pay_UpdateAppStatus_Handler,
		},
		{
			MethodName: "deleteApp",
			Handler:    _Pay_DeleteApp_Handler,
		},
		{
			MethodName: "getApp",
			Handler:    _Pay_GetApp_Handler,
		},
		{
			MethodName: "getAppList",
			Handler:    _Pay_GetAppList_Handler,
		},
		{
			MethodName: "getAppPage",
			Handler:    _Pay_GetAppPage_Handler,
		},
		{
			MethodName: "initDatabase",
			Handler:    _Pay_InitDatabase_Handler,
		},
		{
			MethodName: "createChannel",
			Handler:    _Pay_CreateChannel_Handler,
		},
		{
			MethodName: "updateChannel",
			Handler:    _Pay_UpdateChannel_Handler,
		},
		{
			MethodName: "deleteChannel",
			Handler:    _Pay_DeleteChannel_Handler,
		},
		{
			MethodName: "getChannelById",
			Handler:    _Pay_GetChannelById_Handler,
		},
		{
			MethodName: "getChannelListByAppIds",
			Handler:    _Pay_GetChannelListByAppIds_Handler,
		},
		{
			MethodName: "getChannelListByAppIdAndCode",
			Handler:    _Pay_GetChannelListByAppIdAndCode_Handler,
		},
		{
			MethodName: "getEnableChannelList",
			Handler:    _Pay_GetEnableChannelList_Handler,
		},
		{
			MethodName: "validateChannelCanSubmit",
			Handler:    _Pay_ValidateChannelCanSubmit_Handler,
		},
		{
			MethodName: "createDemoOrder",
			Handler:    _Pay_CreateDemoOrder_Handler,
		},
		{
			MethodName: "getDemoOrder",
			Handler:    _Pay_GetDemoOrder_Handler,
		},
		{
			MethodName: "getListDemoOrder",
			Handler:    _Pay_GetListDemoOrder_Handler,
		},
		{
			MethodName: "updateDemoOrderPaid",
			Handler:    _Pay_UpdateDemoOrderPaid_Handler,
		},
		{
			MethodName: "createOrder",
			Handler:    _Pay_CreateOrder_Handler,
		},
		{
			MethodName: "getOrder",
			Handler:    _Pay_GetOrder_Handler,
		},
		{
			MethodName: "getOrderPage",
			Handler:    _Pay_GetOrderPage_Handler,
		},
		{
			MethodName: "createOrderExtension",
			Handler:    _Pay_CreateOrderExtension_Handler,
		},
		{
			MethodName: "getOrderExtension",
			Handler:    _Pay_GetOrderExtension_Handler,
		},
		{
			MethodName: "notifyOrder",
			Handler:    _Pay_NotifyOrder_Handler,
		},
		{
			MethodName: "validateOrderCanSubmit",
			Handler:    _Pay_ValidateOrderCanSubmit_Handler,
		},
		{
			MethodName: "createRefund",
			Handler:    _Pay_CreateRefund_Handler,
		},
		{
			MethodName: "getRefundPage",
			Handler:    _Pay_GetRefundPage_Handler,
		},
		{
			MethodName: "getRefundById",
			Handler:    _Pay_GetRefundById_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pay.proto",
}

Pay_ServiceDesc is the grpc.ServiceDesc for Pay service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPayServer

func RegisterPayServer(s grpc.ServiceRegistrar, srv PayServer)

Types

type AppCreateReq

type AppCreateReq struct {
	Name            string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Status          uint32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Remark          *string `protobuf:"bytes,3,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
	OrderNotifyUrl  string  `protobuf:"bytes,4,opt,name=orderNotifyUrl,proto3" json:"orderNotifyUrl,omitempty"`
	RefundNotifyUrl string  `protobuf:"bytes,5,opt,name=refundNotifyUrl,proto3" json:"refundNotifyUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*AppCreateReq) Descriptor deprecated

func (*AppCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use AppCreateReq.ProtoReflect.Descriptor instead.

func (*AppCreateReq) GetName

func (x *AppCreateReq) GetName() string

func (*AppCreateReq) GetOrderNotifyUrl

func (x *AppCreateReq) GetOrderNotifyUrl() string

func (*AppCreateReq) GetRefundNotifyUrl

func (x *AppCreateReq) GetRefundNotifyUrl() string

func (*AppCreateReq) GetRemark

func (x *AppCreateReq) GetRemark() string

func (*AppCreateReq) GetStatus

func (x *AppCreateReq) GetStatus() uint32

func (*AppCreateReq) ProtoMessage

func (*AppCreateReq) ProtoMessage()

func (*AppCreateReq) ProtoReflect

func (x *AppCreateReq) ProtoReflect() protoreflect.Message

func (*AppCreateReq) Reset

func (x *AppCreateReq) Reset()

func (*AppCreateReq) String

func (x *AppCreateReq) String() string

type AppInfo

type AppInfo struct {
	Id              *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CreatedAt       *int64  `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt       *int64  `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	Status          *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Name            *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Remark          *string `protobuf:"bytes,6,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
	OrderNotifyUrl  *string `protobuf:"bytes,7,opt,name=order_notify_url,json=orderNotifyUrl,proto3,oneof" json:"order_notify_url,omitempty"`
	RefundNotifyUrl *string `protobuf:"bytes,8,opt,name=refund_notify_url,json=refundNotifyUrl,proto3,oneof" json:"refund_notify_url,omitempty"`
	// contains filtered or unexported fields
}

func (*AppInfo) Descriptor deprecated

func (*AppInfo) Descriptor() ([]byte, []int)

Deprecated: Use AppInfo.ProtoReflect.Descriptor instead.

func (*AppInfo) GetCreatedAt

func (x *AppInfo) GetCreatedAt() int64

func (*AppInfo) GetId

func (x *AppInfo) GetId() uint64

func (*AppInfo) GetName

func (x *AppInfo) GetName() string

func (*AppInfo) GetOrderNotifyUrl

func (x *AppInfo) GetOrderNotifyUrl() string

func (*AppInfo) GetRefundNotifyUrl

func (x *AppInfo) GetRefundNotifyUrl() string

func (*AppInfo) GetRemark

func (x *AppInfo) GetRemark() string

func (*AppInfo) GetStatus

func (x *AppInfo) GetStatus() uint32

func (*AppInfo) GetUpdatedAt

func (x *AppInfo) GetUpdatedAt() int64

func (*AppInfo) ProtoMessage

func (*AppInfo) ProtoMessage()

func (*AppInfo) ProtoReflect

func (x *AppInfo) ProtoReflect() protoreflect.Message

func (*AppInfo) Reset

func (x *AppInfo) Reset()

func (*AppInfo) String

func (x *AppInfo) String() string

type AppListResp

type AppListResp struct {
	Total   uint64     `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	AppList []*AppInfo `protobuf:"bytes,2,rep,name=appList,proto3" json:"appList,omitempty"`
	// contains filtered or unexported fields
}

func (*AppListResp) Descriptor deprecated

func (*AppListResp) Descriptor() ([]byte, []int)

Deprecated: Use AppListResp.ProtoReflect.Descriptor instead.

func (*AppListResp) GetAppList

func (x *AppListResp) GetAppList() []*AppInfo

func (*AppListResp) GetTotal

func (x *AppListResp) GetTotal() uint64

func (*AppListResp) ProtoMessage

func (*AppListResp) ProtoMessage()

func (*AppListResp) ProtoReflect

func (x *AppListResp) ProtoReflect() protoreflect.Message

func (*AppListResp) Reset

func (x *AppListResp) Reset()

func (*AppListResp) String

func (x *AppListResp) String() string

type AppPageReq

type AppPageReq struct {
	Page     uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*AppPageReq) Descriptor deprecated

func (*AppPageReq) Descriptor() ([]byte, []int)

Deprecated: Use AppPageReq.ProtoReflect.Descriptor instead.

func (*AppPageReq) GetPage

func (x *AppPageReq) GetPage() uint64

func (*AppPageReq) GetPageSize

func (x *AppPageReq) GetPageSize() uint64

func (*AppPageReq) ProtoMessage

func (*AppPageReq) ProtoMessage()

func (*AppPageReq) ProtoReflect

func (x *AppPageReq) ProtoReflect() protoreflect.Message

func (*AppPageReq) Reset

func (x *AppPageReq) Reset()

func (*AppPageReq) String

func (x *AppPageReq) String() string

type AppUpdateReq

type AppUpdateReq struct {
	Name            string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Status          uint32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Remark          *string `protobuf:"bytes,3,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
	OrderNotifyUrl  string  `protobuf:"bytes,4,opt,name=orderNotifyUrl,proto3" json:"orderNotifyUrl,omitempty"`
	RefundNotifyUrl string  `protobuf:"bytes,5,opt,name=refundNotifyUrl,proto3" json:"refundNotifyUrl,omitempty"`
	Id              uint64  `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*AppUpdateReq) Descriptor deprecated

func (*AppUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use AppUpdateReq.ProtoReflect.Descriptor instead.

func (*AppUpdateReq) GetId

func (x *AppUpdateReq) GetId() uint64

func (*AppUpdateReq) GetName

func (x *AppUpdateReq) GetName() string

func (*AppUpdateReq) GetOrderNotifyUrl

func (x *AppUpdateReq) GetOrderNotifyUrl() string

func (*AppUpdateReq) GetRefundNotifyUrl

func (x *AppUpdateReq) GetRefundNotifyUrl() string

func (*AppUpdateReq) GetRemark

func (x *AppUpdateReq) GetRemark() string

func (*AppUpdateReq) GetStatus

func (x *AppUpdateReq) GetStatus() uint32

func (*AppUpdateReq) ProtoMessage

func (*AppUpdateReq) ProtoMessage()

func (*AppUpdateReq) ProtoReflect

func (x *AppUpdateReq) ProtoReflect() protoreflect.Message

func (*AppUpdateReq) Reset

func (x *AppUpdateReq) Reset()

func (*AppUpdateReq) String

func (x *AppUpdateReq) String() string

type AppUpdateStatusReq

type AppUpdateStatusReq struct {
	Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Id     uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*AppUpdateStatusReq) Descriptor deprecated

func (*AppUpdateStatusReq) Descriptor() ([]byte, []int)

Deprecated: Use AppUpdateStatusReq.ProtoReflect.Descriptor instead.

func (*AppUpdateStatusReq) GetId

func (x *AppUpdateStatusReq) GetId() uint64

func (*AppUpdateStatusReq) GetStatus

func (x *AppUpdateStatusReq) GetStatus() uint32

func (*AppUpdateStatusReq) ProtoMessage

func (*AppUpdateStatusReq) ProtoMessage()

func (*AppUpdateStatusReq) ProtoReflect

func (x *AppUpdateStatusReq) ProtoReflect() protoreflect.Message

func (*AppUpdateStatusReq) Reset

func (x *AppUpdateStatusReq) Reset()

func (*AppUpdateStatusReq) String

func (x *AppUpdateStatusReq) String() string

type BaseIDResp

type BaseIDResp struct {
	Id  uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseIDResp) Descriptor deprecated

func (*BaseIDResp) Descriptor() ([]byte, []int)

Deprecated: Use BaseIDResp.ProtoReflect.Descriptor instead.

func (*BaseIDResp) GetId

func (x *BaseIDResp) GetId() uint64

func (*BaseIDResp) GetMsg

func (x *BaseIDResp) GetMsg() string

func (*BaseIDResp) ProtoMessage

func (*BaseIDResp) ProtoMessage()

func (*BaseIDResp) ProtoReflect

func (x *BaseIDResp) ProtoReflect() protoreflect.Message

func (*BaseIDResp) Reset

func (x *BaseIDResp) Reset()

func (*BaseIDResp) String

func (x *BaseIDResp) String() string

type BaseMsg

type BaseMsg struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseMsg) Descriptor deprecated

func (*BaseMsg) Descriptor() ([]byte, []int)

Deprecated: Use BaseMsg.ProtoReflect.Descriptor instead.

func (*BaseMsg) GetMsg

func (x *BaseMsg) GetMsg() string

func (*BaseMsg) ProtoMessage

func (*BaseMsg) ProtoMessage()

func (*BaseMsg) ProtoReflect

func (x *BaseMsg) ProtoReflect() protoreflect.Message

func (*BaseMsg) Reset

func (x *BaseMsg) Reset()

func (*BaseMsg) String

func (x *BaseMsg) String() string

type BaseResp

type BaseResp struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseResp) Descriptor deprecated

func (*BaseResp) Descriptor() ([]byte, []int)

Deprecated: Use BaseResp.ProtoReflect.Descriptor instead.

func (*BaseResp) GetMsg

func (x *BaseResp) GetMsg() string

func (*BaseResp) ProtoMessage

func (*BaseResp) ProtoMessage()

func (*BaseResp) ProtoReflect

func (x *BaseResp) ProtoReflect() protoreflect.Message

func (*BaseResp) Reset

func (x *BaseResp) Reset()

func (*BaseResp) String

func (x *BaseResp) String() string

type BaseUUIDResp

type BaseUUIDResp struct {
	Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseUUIDResp) Descriptor deprecated

func (*BaseUUIDResp) Descriptor() ([]byte, []int)

Deprecated: Use BaseUUIDResp.ProtoReflect.Descriptor instead.

func (*BaseUUIDResp) GetId

func (x *BaseUUIDResp) GetId() string

func (*BaseUUIDResp) GetMsg

func (x *BaseUUIDResp) GetMsg() string

func (*BaseUUIDResp) ProtoMessage

func (*BaseUUIDResp) ProtoMessage()

func (*BaseUUIDResp) ProtoReflect

func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message

func (*BaseUUIDResp) Reset

func (x *BaseUUIDResp) Reset()

func (*BaseUUIDResp) String

func (x *BaseUUIDResp) String() string

type ByAppIdAndCodeReq

type ByAppIdAndCodeReq struct {
	AppId uint64 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
	Code  string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*ByAppIdAndCodeReq) Descriptor deprecated

func (*ByAppIdAndCodeReq) Descriptor() ([]byte, []int)

Deprecated: Use ByAppIdAndCodeReq.ProtoReflect.Descriptor instead.

func (*ByAppIdAndCodeReq) GetAppId

func (x *ByAppIdAndCodeReq) GetAppId() uint64

func (*ByAppIdAndCodeReq) GetCode

func (x *ByAppIdAndCodeReq) GetCode() string

func (*ByAppIdAndCodeReq) ProtoMessage

func (*ByAppIdAndCodeReq) ProtoMessage()

func (*ByAppIdAndCodeReq) ProtoReflect

func (x *ByAppIdAndCodeReq) ProtoReflect() protoreflect.Message

func (*ByAppIdAndCodeReq) Reset

func (x *ByAppIdAndCodeReq) Reset()

func (*ByAppIdAndCodeReq) String

func (x *ByAppIdAndCodeReq) String() string

type ChannelCreateReq

type ChannelCreateReq struct {
	Code    string  `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Config  string  `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Status  uint32  `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	Remark  *string `protobuf:"bytes,4,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
	FeeRate float64 `protobuf:"fixed64,5,opt,name=feeRate,proto3" json:"feeRate,omitempty"`
	AppId   uint64  `protobuf:"varint,6,opt,name=appId,proto3" json:"appId,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelCreateReq) Descriptor deprecated

func (*ChannelCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use ChannelCreateReq.ProtoReflect.Descriptor instead.

func (*ChannelCreateReq) GetAppId

func (x *ChannelCreateReq) GetAppId() uint64

func (*ChannelCreateReq) GetCode

func (x *ChannelCreateReq) GetCode() string

func (*ChannelCreateReq) GetConfig

func (x *ChannelCreateReq) GetConfig() string

func (*ChannelCreateReq) GetFeeRate

func (x *ChannelCreateReq) GetFeeRate() float64

func (*ChannelCreateReq) GetRemark

func (x *ChannelCreateReq) GetRemark() string

func (*ChannelCreateReq) GetStatus

func (x *ChannelCreateReq) GetStatus() uint32

func (*ChannelCreateReq) ProtoMessage

func (*ChannelCreateReq) ProtoMessage()

func (*ChannelCreateReq) ProtoReflect

func (x *ChannelCreateReq) ProtoReflect() protoreflect.Message

func (*ChannelCreateReq) Reset

func (x *ChannelCreateReq) Reset()

func (*ChannelCreateReq) String

func (x *ChannelCreateReq) String() string

type ChannelInfo

type ChannelInfo struct {
	Id        *uint64  `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CreatedAt *int64   `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt *int64   `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	Status    *uint32  `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Code      *string  `protobuf:"bytes,5,opt,name=code,proto3,oneof" json:"code,omitempty"`
	Remark    *string  `protobuf:"bytes,6,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
	FeeRate   *float64 `protobuf:"fixed64,7,opt,name=fee_rate,json=feeRate,proto3,oneof" json:"fee_rate,omitempty"`
	AppId     *uint64  `protobuf:"varint,8,opt,name=app_id,json=appId,proto3,oneof" json:"app_id,omitempty"`
	Config    *string  `protobuf:"bytes,9,opt,name=config,proto3,oneof" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelInfo) Descriptor deprecated

func (*ChannelInfo) Descriptor() ([]byte, []int)

Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead.

func (*ChannelInfo) GetAppId

func (x *ChannelInfo) GetAppId() uint64

func (*ChannelInfo) GetCode

func (x *ChannelInfo) GetCode() string

func (*ChannelInfo) GetConfig

func (x *ChannelInfo) GetConfig() string

func (*ChannelInfo) GetCreatedAt

func (x *ChannelInfo) GetCreatedAt() int64

func (*ChannelInfo) GetFeeRate

func (x *ChannelInfo) GetFeeRate() float64

func (*ChannelInfo) GetId

func (x *ChannelInfo) GetId() uint64

func (*ChannelInfo) GetRemark

func (x *ChannelInfo) GetRemark() string

func (*ChannelInfo) GetStatus

func (x *ChannelInfo) GetStatus() uint32

func (*ChannelInfo) GetUpdatedAt

func (x *ChannelInfo) GetUpdatedAt() int64

func (*ChannelInfo) ProtoMessage

func (*ChannelInfo) ProtoMessage()

func (*ChannelInfo) ProtoReflect

func (x *ChannelInfo) ProtoReflect() protoreflect.Message

func (*ChannelInfo) Reset

func (x *ChannelInfo) Reset()

func (*ChannelInfo) String

func (x *ChannelInfo) String() string

type ChannelListReq

type ChannelListReq struct {
	Page     uint64  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Code     *string `protobuf:"bytes,3,opt,name=code,proto3,oneof" json:"code,omitempty"`
	Remark   *string `protobuf:"bytes,4,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
	Config   *string `protobuf:"bytes,5,opt,name=config,proto3,oneof" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelListReq) Descriptor deprecated

func (*ChannelListReq) Descriptor() ([]byte, []int)

Deprecated: Use ChannelListReq.ProtoReflect.Descriptor instead.

func (*ChannelListReq) GetCode

func (x *ChannelListReq) GetCode() string

func (*ChannelListReq) GetConfig

func (x *ChannelListReq) GetConfig() string

func (*ChannelListReq) GetPage

func (x *ChannelListReq) GetPage() uint64

func (*ChannelListReq) GetPageSize

func (x *ChannelListReq) GetPageSize() uint64

func (*ChannelListReq) GetRemark

func (x *ChannelListReq) GetRemark() string

func (*ChannelListReq) ProtoMessage

func (*ChannelListReq) ProtoMessage()

func (*ChannelListReq) ProtoReflect

func (x *ChannelListReq) ProtoReflect() protoreflect.Message

func (*ChannelListReq) Reset

func (x *ChannelListReq) Reset()

func (*ChannelListReq) String

func (x *ChannelListReq) String() string

type ChannelListResp

type ChannelListResp struct {
	Total uint64         `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*ChannelInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelListResp) Descriptor deprecated

func (*ChannelListResp) Descriptor() ([]byte, []int)

Deprecated: Use ChannelListResp.ProtoReflect.Descriptor instead.

func (*ChannelListResp) GetData

func (x *ChannelListResp) GetData() []*ChannelInfo

func (*ChannelListResp) GetTotal

func (x *ChannelListResp) GetTotal() uint64

func (*ChannelListResp) ProtoMessage

func (*ChannelListResp) ProtoMessage()

func (*ChannelListResp) ProtoReflect

func (x *ChannelListResp) ProtoReflect() protoreflect.Message

func (*ChannelListResp) Reset

func (x *ChannelListResp) Reset()

func (*ChannelListResp) String

func (x *ChannelListResp) String() string

type ChannelUpdateReq

type ChannelUpdateReq struct {
	Code    string  `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Config  string  `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Status  uint32  `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	Remark  *string `protobuf:"bytes,4,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
	FeeRate float64 `protobuf:"fixed64,5,opt,name=feeRate,proto3" json:"feeRate,omitempty"`
	AppId   uint64  `protobuf:"varint,6,opt,name=appId,proto3" json:"appId,omitempty"`
	Id      uint64  `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelUpdateReq) Descriptor deprecated

func (*ChannelUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use ChannelUpdateReq.ProtoReflect.Descriptor instead.

func (*ChannelUpdateReq) GetAppId

func (x *ChannelUpdateReq) GetAppId() uint64

func (*ChannelUpdateReq) GetCode

func (x *ChannelUpdateReq) GetCode() string

func (*ChannelUpdateReq) GetConfig

func (x *ChannelUpdateReq) GetConfig() string

func (*ChannelUpdateReq) GetFeeRate

func (x *ChannelUpdateReq) GetFeeRate() float64

func (*ChannelUpdateReq) GetId

func (x *ChannelUpdateReq) GetId() uint64

func (*ChannelUpdateReq) GetRemark

func (x *ChannelUpdateReq) GetRemark() string

func (*ChannelUpdateReq) GetStatus

func (x *ChannelUpdateReq) GetStatus() uint32

func (*ChannelUpdateReq) ProtoMessage

func (*ChannelUpdateReq) ProtoMessage()

func (*ChannelUpdateReq) ProtoReflect

func (x *ChannelUpdateReq) ProtoReflect() protoreflect.Message

func (*ChannelUpdateReq) Reset

func (x *ChannelUpdateReq) Reset()

func (*ChannelUpdateReq) String

func (x *ChannelUpdateReq) String() string

type DemoOrderInfo

type DemoOrderInfo struct {
	Id             *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CreatedAt      *int64  `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt      *int64  `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	UserId         *string `protobuf:"bytes,4,opt,name=userId,proto3,oneof" json:"userId,omitempty"`
	SpuId          *uint64 `protobuf:"varint,5,opt,name=spuId,proto3,oneof" json:"spuId,omitempty"`
	SpuName        *string `protobuf:"bytes,6,opt,name=spuName,proto3,oneof" json:"spuName,omitempty"`
	Price          *int32  `protobuf:"varint,7,opt,name=price,proto3,oneof" json:"price,omitempty"`
	PayStatus      *bool   `protobuf:"varint,8,opt,name=pay_status,json=payStatus,proto3,oneof" json:"pay_status,omitempty"`
	PayOrderId     *uint64 `protobuf:"varint,9,opt,name=pay_orderId,json=payOrderId,proto3,oneof" json:"pay_orderId,omitempty"`
	PayTime        *int64  `protobuf:"varint,10,opt,name=pay_time,json=payTime,proto3,oneof" json:"pay_time,omitempty"`
	PayChannelCode *string `protobuf:"bytes,11,opt,name=pay_channel_code,json=payChannelCode,proto3,oneof" json:"pay_channel_code,omitempty"`
	PayRefundId    *uint64 `protobuf:"varint,12,opt,name=pay_refund_id,json=payRefundId,proto3,oneof" json:"pay_refund_id,omitempty"`
	RefundPrice    *int32  `protobuf:"varint,13,opt,name=refund_price,json=refundPrice,proto3,oneof" json:"refund_price,omitempty"`
	RefundTime     *int64  `protobuf:"varint,14,opt,name=refund_time,json=refundTime,proto3,oneof" json:"refund_time,omitempty"`
	// contains filtered or unexported fields
}

func (*DemoOrderInfo) Descriptor deprecated

func (*DemoOrderInfo) Descriptor() ([]byte, []int)

Deprecated: Use DemoOrderInfo.ProtoReflect.Descriptor instead.

func (*DemoOrderInfo) GetCreatedAt

func (x *DemoOrderInfo) GetCreatedAt() int64

func (*DemoOrderInfo) GetId

func (x *DemoOrderInfo) GetId() uint64

func (*DemoOrderInfo) GetPayChannelCode

func (x *DemoOrderInfo) GetPayChannelCode() string

func (*DemoOrderInfo) GetPayOrderId

func (x *DemoOrderInfo) GetPayOrderId() uint64

func (*DemoOrderInfo) GetPayRefundId

func (x *DemoOrderInfo) GetPayRefundId() uint64

func (*DemoOrderInfo) GetPayStatus

func (x *DemoOrderInfo) GetPayStatus() bool

func (*DemoOrderInfo) GetPayTime

func (x *DemoOrderInfo) GetPayTime() int64

func (*DemoOrderInfo) GetPrice

func (x *DemoOrderInfo) GetPrice() int32

func (*DemoOrderInfo) GetRefundPrice

func (x *DemoOrderInfo) GetRefundPrice() int32

func (*DemoOrderInfo) GetRefundTime

func (x *DemoOrderInfo) GetRefundTime() int64

func (*DemoOrderInfo) GetSpuId

func (x *DemoOrderInfo) GetSpuId() uint64

func (*DemoOrderInfo) GetSpuName

func (x *DemoOrderInfo) GetSpuName() string

func (*DemoOrderInfo) GetUpdatedAt

func (x *DemoOrderInfo) GetUpdatedAt() int64

func (*DemoOrderInfo) GetUserId

func (x *DemoOrderInfo) GetUserId() string

func (*DemoOrderInfo) ProtoMessage

func (*DemoOrderInfo) ProtoMessage()

func (*DemoOrderInfo) ProtoReflect

func (x *DemoOrderInfo) ProtoReflect() protoreflect.Message

func (*DemoOrderInfo) Reset

func (x *DemoOrderInfo) Reset()

func (*DemoOrderInfo) String

func (x *DemoOrderInfo) String() string

type DemoOrderListResp

type DemoOrderListResp struct {
	Total         uint64           `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	DemoOrderList []*DemoOrderInfo `protobuf:"bytes,2,rep,name=demoOrderList,proto3" json:"demoOrderList,omitempty"`
	// contains filtered or unexported fields
}

func (*DemoOrderListResp) Descriptor deprecated

func (*DemoOrderListResp) Descriptor() ([]byte, []int)

Deprecated: Use DemoOrderListResp.ProtoReflect.Descriptor instead.

func (*DemoOrderListResp) GetDemoOrderList

func (x *DemoOrderListResp) GetDemoOrderList() []*DemoOrderInfo

func (*DemoOrderListResp) GetTotal

func (x *DemoOrderListResp) GetTotal() uint64

func (*DemoOrderListResp) ProtoMessage

func (*DemoOrderListResp) ProtoMessage()

func (*DemoOrderListResp) ProtoReflect

func (x *DemoOrderListResp) ProtoReflect() protoreflect.Message

func (*DemoOrderListResp) Reset

func (x *DemoOrderListResp) Reset()

func (*DemoOrderListResp) String

func (x *DemoOrderListResp) String() string

type DemoOrderPageReq

type DemoOrderPageReq struct {
	Page     uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*DemoOrderPageReq) Descriptor deprecated

func (*DemoOrderPageReq) Descriptor() ([]byte, []int)

Deprecated: Use DemoOrderPageReq.ProtoReflect.Descriptor instead.

func (*DemoOrderPageReq) GetPage

func (x *DemoOrderPageReq) GetPage() uint64

func (*DemoOrderPageReq) GetPageSize

func (x *DemoOrderPageReq) GetPageSize() uint64

func (*DemoOrderPageReq) ProtoMessage

func (*DemoOrderPageReq) ProtoMessage()

func (*DemoOrderPageReq) ProtoReflect

func (x *DemoOrderPageReq) ProtoReflect() protoreflect.Message

func (*DemoOrderPageReq) Reset

func (x *DemoOrderPageReq) Reset()

func (*DemoOrderPageReq) String

func (x *DemoOrderPageReq) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

base message

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type IDReq

type IDReq struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IDReq) Descriptor deprecated

func (*IDReq) Descriptor() ([]byte, []int)

Deprecated: Use IDReq.ProtoReflect.Descriptor instead.

func (*IDReq) GetId

func (x *IDReq) GetId() uint64

func (*IDReq) ProtoMessage

func (*IDReq) ProtoMessage()

func (*IDReq) ProtoReflect

func (x *IDReq) ProtoReflect() protoreflect.Message

func (*IDReq) Reset

func (x *IDReq) Reset()

func (*IDReq) String

func (x *IDReq) String() string

type IDsReq

type IDsReq struct {
	Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*IDsReq) Descriptor deprecated

func (*IDsReq) Descriptor() ([]byte, []int)

Deprecated: Use IDsReq.ProtoReflect.Descriptor instead.

func (*IDsReq) GetIds

func (x *IDsReq) GetIds() []uint64

func (*IDsReq) ProtoMessage

func (*IDsReq) ProtoMessage()

func (*IDsReq) ProtoReflect

func (x *IDsReq) ProtoReflect() protoreflect.Message

func (*IDsReq) Reset

func (x *IDsReq) Reset()

func (*IDsReq) String

func (x *IDsReq) String() string

type NoReq

type NoReq struct {
	No string `protobuf:"bytes,1,opt,name=no,proto3" json:"no,omitempty"`
	// contains filtered or unexported fields
}

func (*NoReq) Descriptor deprecated

func (*NoReq) Descriptor() ([]byte, []int)

Deprecated: Use NoReq.ProtoReflect.Descriptor instead.

func (*NoReq) GetNo

func (x *NoReq) GetNo() string

func (*NoReq) ProtoMessage

func (*NoReq) ProtoMessage()

func (*NoReq) ProtoReflect

func (x *NoReq) ProtoReflect() protoreflect.Message

func (*NoReq) Reset

func (x *NoReq) Reset()

func (*NoReq) String

func (x *NoReq) String() string

type NotifyOrderReq

type NotifyOrderReq struct {
	Status            uint32  `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
	OutTradeNo        string  `protobuf:"bytes,2,opt,name=OutTradeNo,proto3" json:"OutTradeNo,omitempty"`
	ChannelNotifyData string  `protobuf:"bytes,3,opt,name=channelNotifyData,proto3" json:"channelNotifyData,omitempty"`
	SuccessTime       int64   `protobuf:"varint,4,opt,name=successTime,proto3" json:"successTime,omitempty"`
	ChannelOrderNo    string  `protobuf:"bytes,5,opt,name=ChannelOrderNo,proto3" json:"ChannelOrderNo,omitempty"`
	ChannelUserId     *string `protobuf:"bytes,6,opt,name=ChannelUserId,proto3,oneof" json:"ChannelUserId,omitempty"`
	ChannelId         uint64  `protobuf:"varint,7,opt,name=channelId,proto3" json:"channelId,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyOrderReq) Descriptor deprecated

func (*NotifyOrderReq) Descriptor() ([]byte, []int)

Deprecated: Use NotifyOrderReq.ProtoReflect.Descriptor instead.

func (*NotifyOrderReq) GetChannelId

func (x *NotifyOrderReq) GetChannelId() uint64

func (*NotifyOrderReq) GetChannelNotifyData

func (x *NotifyOrderReq) GetChannelNotifyData() string

func (*NotifyOrderReq) GetChannelOrderNo

func (x *NotifyOrderReq) GetChannelOrderNo() string

func (*NotifyOrderReq) GetChannelUserId

func (x *NotifyOrderReq) GetChannelUserId() string

func (*NotifyOrderReq) GetOutTradeNo

func (x *NotifyOrderReq) GetOutTradeNo() string

func (*NotifyOrderReq) GetStatus

func (x *NotifyOrderReq) GetStatus() uint32

func (*NotifyOrderReq) GetSuccessTime

func (x *NotifyOrderReq) GetSuccessTime() int64

func (*NotifyOrderReq) ProtoMessage

func (*NotifyOrderReq) ProtoMessage()

func (*NotifyOrderReq) ProtoReflect

func (x *NotifyOrderReq) ProtoReflect() protoreflect.Message

func (*NotifyOrderReq) Reset

func (x *NotifyOrderReq) Reset()

func (*NotifyOrderReq) String

func (x *NotifyOrderReq) String() string

type OrderCreateExtensionReq

type OrderCreateExtensionReq struct {
	OrderID       uint64            `protobuf:"varint,1,opt,name=orderID,proto3" json:"orderID,omitempty"`
	ChannelCode   string            `protobuf:"bytes,2,opt,name=channelCode,proto3" json:"channelCode,omitempty"`
	ChannelExtras map[string]string `` /* 167-byte string literal not displayed */
	No            string            `protobuf:"bytes,4,opt,name=no,proto3" json:"no,omitempty"`
	ChannelID     uint64            `protobuf:"varint,5,opt,name=channelID,proto3" json:"channelID,omitempty"`
	Status        uint32            `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	UserIP        string            `protobuf:"bytes,7,opt,name=userIP,proto3" json:"userIP,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderCreateExtensionReq) Descriptor deprecated

func (*OrderCreateExtensionReq) Descriptor() ([]byte, []int)

Deprecated: Use OrderCreateExtensionReq.ProtoReflect.Descriptor instead.

func (*OrderCreateExtensionReq) GetChannelCode

func (x *OrderCreateExtensionReq) GetChannelCode() string

func (*OrderCreateExtensionReq) GetChannelExtras

func (x *OrderCreateExtensionReq) GetChannelExtras() map[string]string

func (*OrderCreateExtensionReq) GetChannelID

func (x *OrderCreateExtensionReq) GetChannelID() uint64

func (*OrderCreateExtensionReq) GetNo

func (x *OrderCreateExtensionReq) GetNo() string

func (*OrderCreateExtensionReq) GetOrderID

func (x *OrderCreateExtensionReq) GetOrderID() uint64

func (*OrderCreateExtensionReq) GetStatus

func (x *OrderCreateExtensionReq) GetStatus() uint32

func (*OrderCreateExtensionReq) GetUserIP

func (x *OrderCreateExtensionReq) GetUserIP() string

func (*OrderCreateExtensionReq) ProtoMessage

func (*OrderCreateExtensionReq) ProtoMessage()

func (*OrderCreateExtensionReq) ProtoReflect

func (x *OrderCreateExtensionReq) ProtoReflect() protoreflect.Message

func (*OrderCreateExtensionReq) Reset

func (x *OrderCreateExtensionReq) Reset()

func (*OrderCreateExtensionReq) String

func (x *OrderCreateExtensionReq) String() string

type OrderCreateReq

type OrderCreateReq struct {
	AppId           uint64 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
	UserIp          string `protobuf:"bytes,2,opt,name=userIp,proto3" json:"userIp,omitempty"`
	MerchantOrderId string `protobuf:"bytes,3,opt,name=merchantOrderId,proto3" json:"merchantOrderId,omitempty"`
	Subject         string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	Body            string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
	Price           int32  `protobuf:"varint,6,opt,name=price,proto3" json:"price,omitempty"`
	ExpireTime      int64  `protobuf:"varint,7,opt,name=expireTime,proto3" json:"expireTime,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderCreateReq) Descriptor deprecated

func (*OrderCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use OrderCreateReq.ProtoReflect.Descriptor instead.

func (*OrderCreateReq) GetAppId

func (x *OrderCreateReq) GetAppId() uint64

func (*OrderCreateReq) GetBody

func (x *OrderCreateReq) GetBody() string

func (*OrderCreateReq) GetExpireTime

func (x *OrderCreateReq) GetExpireTime() int64

func (*OrderCreateReq) GetMerchantOrderId

func (x *OrderCreateReq) GetMerchantOrderId() string

func (*OrderCreateReq) GetPrice

func (x *OrderCreateReq) GetPrice() int32

func (*OrderCreateReq) GetSubject

func (x *OrderCreateReq) GetSubject() string

func (*OrderCreateReq) GetUserIp

func (x *OrderCreateReq) GetUserIp() string

func (*OrderCreateReq) ProtoMessage

func (*OrderCreateReq) ProtoMessage()

func (*OrderCreateReq) ProtoReflect

func (x *OrderCreateReq) ProtoReflect() protoreflect.Message

func (*OrderCreateReq) Reset

func (x *OrderCreateReq) Reset()

func (*OrderCreateReq) String

func (x *OrderCreateReq) String() string

type OrderExtensionInfo

type OrderExtensionInfo struct {
	Id                *uint64           `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CreatedAt         *int64            `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt         *int64            `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	Status            *uint32           `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	No                *string           `protobuf:"bytes,5,opt,name=no,proto3,oneof" json:"no,omitempty"`
	OrderId           *uint64           `protobuf:"varint,6,opt,name=order_id,json=orderId,proto3,oneof" json:"order_id,omitempty"`
	ChannelId         *uint64           `protobuf:"varint,7,opt,name=channel_id,json=channelId,proto3,oneof" json:"channel_id,omitempty"`
	ChannelCode       *string           `protobuf:"bytes,8,opt,name=channel_code,json=channelCode,proto3,oneof" json:"channel_code,omitempty"`
	UserIp            *string           `protobuf:"bytes,9,opt,name=user_ip,json=userIp,proto3,oneof" json:"user_ip,omitempty"`
	ChannelExtras     map[string]string `` /* 189-byte string literal not displayed */
	ChannelErrorCode  *string           `protobuf:"bytes,11,opt,name=channel_error_code,json=channelErrorCode,proto3,oneof" json:"channel_error_code,omitempty"`
	ChannelErrorMsg   *string           `protobuf:"bytes,12,opt,name=channel_error_msg,json=channelErrorMsg,proto3,oneof" json:"channel_error_msg,omitempty"`
	ChannelNotifyData *string           `protobuf:"bytes,13,opt,name=channel_notify_data,json=channelNotifyData,proto3,oneof" json:"channel_notify_data,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderExtensionInfo) Descriptor deprecated

func (*OrderExtensionInfo) Descriptor() ([]byte, []int)

Deprecated: Use OrderExtensionInfo.ProtoReflect.Descriptor instead.

func (*OrderExtensionInfo) GetChannelCode

func (x *OrderExtensionInfo) GetChannelCode() string

func (*OrderExtensionInfo) GetChannelErrorCode

func (x *OrderExtensionInfo) GetChannelErrorCode() string

func (*OrderExtensionInfo) GetChannelErrorMsg

func (x *OrderExtensionInfo) GetChannelErrorMsg() string

func (*OrderExtensionInfo) GetChannelExtras

func (x *OrderExtensionInfo) GetChannelExtras() map[string]string

func (*OrderExtensionInfo) GetChannelId

func (x *OrderExtensionInfo) GetChannelId() uint64

func (*OrderExtensionInfo) GetChannelNotifyData

func (x *OrderExtensionInfo) GetChannelNotifyData() string

func (*OrderExtensionInfo) GetCreatedAt

func (x *OrderExtensionInfo) GetCreatedAt() int64

func (*OrderExtensionInfo) GetId

func (x *OrderExtensionInfo) GetId() uint64

func (*OrderExtensionInfo) GetNo

func (x *OrderExtensionInfo) GetNo() string

func (*OrderExtensionInfo) GetOrderId

func (x *OrderExtensionInfo) GetOrderId() uint64

func (*OrderExtensionInfo) GetStatus

func (x *OrderExtensionInfo) GetStatus() uint32

func (*OrderExtensionInfo) GetUpdatedAt

func (x *OrderExtensionInfo) GetUpdatedAt() int64

func (*OrderExtensionInfo) GetUserIp

func (x *OrderExtensionInfo) GetUserIp() string

func (*OrderExtensionInfo) ProtoMessage

func (*OrderExtensionInfo) ProtoMessage()

func (*OrderExtensionInfo) ProtoReflect

func (x *OrderExtensionInfo) ProtoReflect() protoreflect.Message

func (*OrderExtensionInfo) Reset

func (x *OrderExtensionInfo) Reset()

func (*OrderExtensionInfo) String

func (x *OrderExtensionInfo) String() string

type OrderInfo

type OrderInfo struct {
	Id              *uint64  `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CreatedAt       *int64   `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt       *int64   `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	Status          *uint32  `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	AppId           *uint64  `protobuf:"varint,5,opt,name=app_id,json=appId,proto3,oneof" json:"app_id,omitempty"`
	ChannelId       *uint64  `protobuf:"varint,6,opt,name=channel_id,json=channelId,proto3,oneof" json:"channel_id,omitempty"`
	ChannelCode     *string  `protobuf:"bytes,7,opt,name=channel_code,json=channelCode,proto3,oneof" json:"channel_code,omitempty"`
	MerchantOrderId *string  `protobuf:"bytes,8,opt,name=merchant_order_id,json=merchantOrderId,proto3,oneof" json:"merchant_order_id,omitempty"`
	Subject         *string  `protobuf:"bytes,9,opt,name=subject,proto3,oneof" json:"subject,omitempty"`
	Body            *string  `protobuf:"bytes,10,opt,name=body,proto3,oneof" json:"body,omitempty"`
	NotifyUrl       *string  `protobuf:"bytes,11,opt,name=notify_url,json=notifyUrl,proto3,oneof" json:"notify_url,omitempty"`
	Price           *int32   `protobuf:"varint,12,opt,name=price,proto3,oneof" json:"price,omitempty"`
	ChannelFeeRate  *float64 `protobuf:"fixed64,13,opt,name=channel_fee_rate,json=channelFeeRate,proto3,oneof" json:"channel_fee_rate,omitempty"`
	ChannelFeePrice *int32   `protobuf:"varint,14,opt,name=channel_fee_price,json=channelFeePrice,proto3,oneof" json:"channel_fee_price,omitempty"`
	UserIp          *string  `protobuf:"bytes,15,opt,name=user_ip,json=userIp,proto3,oneof" json:"user_ip,omitempty"`
	ExpireTime      *int64   `protobuf:"varint,16,opt,name=expire_time,json=expireTime,proto3,oneof" json:"expire_time,omitempty"`
	SuccessTime     *int64   `protobuf:"varint,17,opt,name=success_time,json=successTime,proto3,oneof" json:"success_time,omitempty"`
	NotifyTime      *int64   `protobuf:"varint,18,opt,name=notify_time,json=notifyTime,proto3,oneof" json:"notify_time,omitempty"`
	ExtensionId     *uint64  `protobuf:"varint,19,opt,name=extension_id,json=extensionId,proto3,oneof" json:"extension_id,omitempty"`
	No              *string  `protobuf:"bytes,20,opt,name=no,proto3,oneof" json:"no,omitempty"`
	RefundPrice     *int32   `protobuf:"varint,21,opt,name=refund_price,json=refundPrice,proto3,oneof" json:"refund_price,omitempty"`
	ChannelUserId   *string  `protobuf:"bytes,22,opt,name=channel_user_id,json=channelUserId,proto3,oneof" json:"channel_user_id,omitempty"`
	ChannelOrderNo  *string  `protobuf:"bytes,23,opt,name=channel_order_no,json=channelOrderNo,proto3,oneof" json:"channel_order_no,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderInfo) Descriptor deprecated

func (*OrderInfo) Descriptor() ([]byte, []int)

Deprecated: Use OrderInfo.ProtoReflect.Descriptor instead.

func (*OrderInfo) GetAppId

func (x *OrderInfo) GetAppId() uint64

func (*OrderInfo) GetBody

func (x *OrderInfo) GetBody() string

func (*OrderInfo) GetChannelCode

func (x *OrderInfo) GetChannelCode() string

func (*OrderInfo) GetChannelFeePrice

func (x *OrderInfo) GetChannelFeePrice() int32

func (*OrderInfo) GetChannelFeeRate

func (x *OrderInfo) GetChannelFeeRate() float64

func (*OrderInfo) GetChannelId

func (x *OrderInfo) GetChannelId() uint64

func (*OrderInfo) GetChannelOrderNo

func (x *OrderInfo) GetChannelOrderNo() string

func (*OrderInfo) GetChannelUserId

func (x *OrderInfo) GetChannelUserId() string

func (*OrderInfo) GetCreatedAt

func (x *OrderInfo) GetCreatedAt() int64

func (*OrderInfo) GetExpireTime

func (x *OrderInfo) GetExpireTime() int64

func (*OrderInfo) GetExtensionId

func (x *OrderInfo) GetExtensionId() uint64

func (*OrderInfo) GetId

func (x *OrderInfo) GetId() uint64

func (*OrderInfo) GetMerchantOrderId

func (x *OrderInfo) GetMerchantOrderId() string

func (*OrderInfo) GetNo

func (x *OrderInfo) GetNo() string

func (*OrderInfo) GetNotifyTime

func (x *OrderInfo) GetNotifyTime() int64

func (*OrderInfo) GetNotifyUrl

func (x *OrderInfo) GetNotifyUrl() string

func (*OrderInfo) GetPrice

func (x *OrderInfo) GetPrice() int32

func (*OrderInfo) GetRefundPrice

func (x *OrderInfo) GetRefundPrice() int32

func (*OrderInfo) GetStatus

func (x *OrderInfo) GetStatus() uint32

func (*OrderInfo) GetSubject

func (x *OrderInfo) GetSubject() string

func (*OrderInfo) GetSuccessTime

func (x *OrderInfo) GetSuccessTime() int64

func (*OrderInfo) GetUpdatedAt

func (x *OrderInfo) GetUpdatedAt() int64

func (*OrderInfo) GetUserIp

func (x *OrderInfo) GetUserIp() string

func (*OrderInfo) ProtoMessage

func (*OrderInfo) ProtoMessage()

func (*OrderInfo) ProtoReflect

func (x *OrderInfo) ProtoReflect() protoreflect.Message

func (*OrderInfo) Reset

func (x *OrderInfo) Reset()

func (*OrderInfo) String

func (x *OrderInfo) String() string

type OrderListResp

type OrderListResp struct {
	Total uint64       `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*OrderInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderListResp) Descriptor deprecated

func (*OrderListResp) Descriptor() ([]byte, []int)

Deprecated: Use OrderListResp.ProtoReflect.Descriptor instead.

func (*OrderListResp) GetData

func (x *OrderListResp) GetData() []*OrderInfo

func (*OrderListResp) GetTotal

func (x *OrderListResp) GetTotal() uint64

func (*OrderListResp) ProtoMessage

func (*OrderListResp) ProtoMessage()

func (*OrderListResp) ProtoReflect

func (x *OrderListResp) ProtoReflect() protoreflect.Message

func (*OrderListResp) Reset

func (x *OrderListResp) Reset()

func (*OrderListResp) String

func (x *OrderListResp) String() string

type OrderPageReq

type OrderPageReq struct {
	Page            uint64  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize        uint64  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	AppId           *uint64 `protobuf:"varint,3,opt,name=appId,proto3,oneof" json:"appId,omitempty"`
	ChannelCode     *string `protobuf:"bytes,4,opt,name=channelCode,proto3,oneof" json:"channelCode,omitempty"`
	MerchantOrderId *string `protobuf:"bytes,5,opt,name=merchantOrderId,proto3,oneof" json:"merchantOrderId,omitempty"`
	ChannelOrderNo  *string `protobuf:"bytes,6,opt,name=channelOrderNo,proto3,oneof" json:"channelOrderNo,omitempty"`
	No              *string `protobuf:"bytes,7,opt,name=no,proto3,oneof" json:"no,omitempty"`
	Status          *uint32 `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
	CreateTime      []int64 `protobuf:"varint,9,rep,packed,name=createTime,proto3" json:"createTime,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderPageReq) Descriptor deprecated

func (*OrderPageReq) Descriptor() ([]byte, []int)

Deprecated: Use OrderPageReq.ProtoReflect.Descriptor instead.

func (*OrderPageReq) GetAppId

func (x *OrderPageReq) GetAppId() uint64

func (*OrderPageReq) GetChannelCode

func (x *OrderPageReq) GetChannelCode() string

func (*OrderPageReq) GetChannelOrderNo

func (x *OrderPageReq) GetChannelOrderNo() string

func (*OrderPageReq) GetCreateTime

func (x *OrderPageReq) GetCreateTime() []int64

func (*OrderPageReq) GetMerchantOrderId

func (x *OrderPageReq) GetMerchantOrderId() string

func (*OrderPageReq) GetNo

func (x *OrderPageReq) GetNo() string

func (*OrderPageReq) GetPage

func (x *OrderPageReq) GetPage() uint64

func (*OrderPageReq) GetPageSize

func (x *OrderPageReq) GetPageSize() uint64

func (*OrderPageReq) GetStatus

func (x *OrderPageReq) GetStatus() uint32

func (*OrderPageReq) ProtoMessage

func (*OrderPageReq) ProtoMessage()

func (*OrderPageReq) ProtoReflect

func (x *OrderPageReq) ProtoReflect() protoreflect.Message

func (*OrderPageReq) Reset

func (x *OrderPageReq) Reset()

func (*OrderPageReq) String

func (x *OrderPageReq) String() string

type PageInfoReq

type PageInfoReq struct {
	Page     uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfoReq) Descriptor deprecated

func (*PageInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use PageInfoReq.ProtoReflect.Descriptor instead.

func (*PageInfoReq) GetPage

func (x *PageInfoReq) GetPage() uint64

func (*PageInfoReq) GetPageSize

func (x *PageInfoReq) GetPageSize() uint64

func (*PageInfoReq) ProtoMessage

func (*PageInfoReq) ProtoMessage()

func (*PageInfoReq) ProtoReflect

func (x *PageInfoReq) ProtoReflect() protoreflect.Message

func (*PageInfoReq) Reset

func (x *PageInfoReq) Reset()

func (*PageInfoReq) String

func (x *PageInfoReq) String() string

type PayClient

type PayClient interface {
	// App management
	// group: app
	CreateApp(ctx context.Context, in *AppCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
	// group: app
	UpdateApp(ctx context.Context, in *AppUpdateReq, opts ...grpc.CallOption) (*BaseResp, error)
	// group: app
	UpdateAppStatus(ctx context.Context, in *AppUpdateStatusReq, opts ...grpc.CallOption) (*BaseResp, error)
	// group: app
	DeleteApp(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	// group: app
	GetApp(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*AppInfo, error)
	// group: app
	GetAppList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*AppListResp, error)
	// group: app
	GetAppPage(ctx context.Context, in *AppPageReq, opts ...grpc.CallOption) (*AppListResp, error)
	// group: base
	InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error)
	// Channel management
	// group: channel
	CreateChannel(ctx context.Context, in *ChannelCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
	// group: channel
	UpdateChannel(ctx context.Context, in *ChannelUpdateReq, opts ...grpc.CallOption) (*BaseResp, error)
	// group: channel
	DeleteChannel(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
	// group: channel
	GetChannelById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ChannelInfo, error)
	// group: channel
	GetChannelListByAppIds(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*ChannelListResp, error)
	// group: channel
	GetChannelListByAppIdAndCode(ctx context.Context, in *ByAppIdAndCodeReq, opts ...grpc.CallOption) (*ChannelInfo, error)
	// group: channel
	GetEnableChannelList(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ChannelListResp, error)
	// group: channel
	ValidateChannelCanSubmit(ctx context.Context, in *ValidateChannelReq, opts ...grpc.CallOption) (*ChannelInfo, error)
	// Demo management
	// group: demo
	CreateDemoOrder(ctx context.Context, in *PayDemoOrderCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
	// group: demo
	GetDemoOrder(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*DemoOrderInfo, error)
	// group: demo
	GetListDemoOrder(ctx context.Context, in *DemoOrderPageReq, opts ...grpc.CallOption) (*DemoOrderListResp, error)
	// group: demo
	UpdateDemoOrderPaid(ctx context.Context, in *UpdateDemoOrderPaidReq, opts ...grpc.CallOption) (*BaseResp, error)
	// Order management
	// group: order
	CreateOrder(ctx context.Context, in *OrderCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
	// group: order
	GetOrder(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OrderInfo, error)
	// group: order
	GetOrderPage(ctx context.Context, in *OrderPageReq, opts ...grpc.CallOption) (*OrderListResp, error)
	// group: order
	CreateOrderExtension(ctx context.Context, in *OrderCreateExtensionReq, opts ...grpc.CallOption) (*BaseIDResp, error)
	// group: order
	GetOrderExtension(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OrderExtensionInfo, error)
	// group: order
	NotifyOrder(ctx context.Context, in *NotifyOrderReq, opts ...grpc.CallOption) (*BaseResp, error)
	// group: order
	ValidateOrderCanSubmit(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OrderInfo, error)
	// refund management
	// group: refund
	CreateRefund(ctx context.Context, in *RefundCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
	// group: refund
	GetRefundPage(ctx context.Context, in *RefundPageReq, opts ...grpc.CallOption) (*RefundPageResp, error)
	// group: refund
	GetRefundById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RefundInfo, error)
}

PayClient is the client API for Pay service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPayClient

func NewPayClient(cc grpc.ClientConnInterface) PayClient

type PayDemoOrderCreateReq

type PayDemoOrderCreateReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	SpuId  uint64 `protobuf:"varint,2,opt,name=spuId,proto3" json:"spuId,omitempty"`
	UserIp string `protobuf:"bytes,3,opt,name=userIp,proto3" json:"userIp,omitempty"`
	// contains filtered or unexported fields
}

func (*PayDemoOrderCreateReq) Descriptor deprecated

func (*PayDemoOrderCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use PayDemoOrderCreateReq.ProtoReflect.Descriptor instead.

func (*PayDemoOrderCreateReq) GetSpuId

func (x *PayDemoOrderCreateReq) GetSpuId() uint64

func (*PayDemoOrderCreateReq) GetUserId

func (x *PayDemoOrderCreateReq) GetUserId() string

func (*PayDemoOrderCreateReq) GetUserIp

func (x *PayDemoOrderCreateReq) GetUserIp() string

func (*PayDemoOrderCreateReq) ProtoMessage

func (*PayDemoOrderCreateReq) ProtoMessage()

func (*PayDemoOrderCreateReq) ProtoReflect

func (x *PayDemoOrderCreateReq) ProtoReflect() protoreflect.Message

func (*PayDemoOrderCreateReq) Reset

func (x *PayDemoOrderCreateReq) Reset()

func (*PayDemoOrderCreateReq) String

func (x *PayDemoOrderCreateReq) String() string

type PayServer

type PayServer interface {
	// App management
	// group: app
	CreateApp(context.Context, *AppCreateReq) (*BaseIDResp, error)
	// group: app
	UpdateApp(context.Context, *AppUpdateReq) (*BaseResp, error)
	// group: app
	UpdateAppStatus(context.Context, *AppUpdateStatusReq) (*BaseResp, error)
	// group: app
	DeleteApp(context.Context, *IDReq) (*BaseResp, error)
	// group: app
	GetApp(context.Context, *IDReq) (*AppInfo, error)
	// group: app
	GetAppList(context.Context, *Empty) (*AppListResp, error)
	// group: app
	GetAppPage(context.Context, *AppPageReq) (*AppListResp, error)
	// group: base
	InitDatabase(context.Context, *Empty) (*BaseResp, error)
	// Channel management
	// group: channel
	CreateChannel(context.Context, *ChannelCreateReq) (*BaseIDResp, error)
	// group: channel
	UpdateChannel(context.Context, *ChannelUpdateReq) (*BaseResp, error)
	// group: channel
	DeleteChannel(context.Context, *IDReq) (*BaseResp, error)
	// group: channel
	GetChannelById(context.Context, *IDReq) (*ChannelInfo, error)
	// group: channel
	GetChannelListByAppIds(context.Context, *IDsReq) (*ChannelListResp, error)
	// group: channel
	GetChannelListByAppIdAndCode(context.Context, *ByAppIdAndCodeReq) (*ChannelInfo, error)
	// group: channel
	GetEnableChannelList(context.Context, *IDReq) (*ChannelListResp, error)
	// group: channel
	ValidateChannelCanSubmit(context.Context, *ValidateChannelReq) (*ChannelInfo, error)
	// Demo management
	// group: demo
	CreateDemoOrder(context.Context, *PayDemoOrderCreateReq) (*BaseIDResp, error)
	// group: demo
	GetDemoOrder(context.Context, *IDReq) (*DemoOrderInfo, error)
	// group: demo
	GetListDemoOrder(context.Context, *DemoOrderPageReq) (*DemoOrderListResp, error)
	// group: demo
	UpdateDemoOrderPaid(context.Context, *UpdateDemoOrderPaidReq) (*BaseResp, error)
	// Order management
	// group: order
	CreateOrder(context.Context, *OrderCreateReq) (*BaseIDResp, error)
	// group: order
	GetOrder(context.Context, *IDReq) (*OrderInfo, error)
	// group: order
	GetOrderPage(context.Context, *OrderPageReq) (*OrderListResp, error)
	// group: order
	CreateOrderExtension(context.Context, *OrderCreateExtensionReq) (*BaseIDResp, error)
	// group: order
	GetOrderExtension(context.Context, *IDReq) (*OrderExtensionInfo, error)
	// group: order
	NotifyOrder(context.Context, *NotifyOrderReq) (*BaseResp, error)
	// group: order
	ValidateOrderCanSubmit(context.Context, *IDReq) (*OrderInfo, error)
	// refund management
	// group: refund
	CreateRefund(context.Context, *RefundCreateReq) (*BaseIDResp, error)
	// group: refund
	GetRefundPage(context.Context, *RefundPageReq) (*RefundPageResp, error)
	// group: refund
	GetRefundById(context.Context, *IDReq) (*RefundInfo, error)
	// contains filtered or unexported methods
}

PayServer is the server API for Pay service. All implementations must embed UnimplementedPayServer for forward compatibility

type RefundCountResp

type RefundCountResp struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*RefundCountResp) Descriptor deprecated

func (*RefundCountResp) Descriptor() ([]byte, []int)

Deprecated: Use RefundCountResp.ProtoReflect.Descriptor instead.

func (*RefundCountResp) GetCount

func (x *RefundCountResp) GetCount() uint64

func (*RefundCountResp) ProtoMessage

func (*RefundCountResp) ProtoMessage()

func (*RefundCountResp) ProtoReflect

func (x *RefundCountResp) ProtoReflect() protoreflect.Message

func (*RefundCountResp) Reset

func (x *RefundCountResp) Reset()

func (*RefundCountResp) String

func (x *RefundCountResp) String() string

type RefundCreateReq

type RefundCreateReq struct {
	AppId            uint64 `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	UserIp           string `protobuf:"bytes,2,opt,name=user_ip,json=userIp,proto3" json:"user_ip,omitempty"`
	MerchantOrderId  string `protobuf:"bytes,3,opt,name=merchant_order_id,json=merchantOrderId,proto3" json:"merchant_order_id,omitempty"`
	MerchantRefundId string `protobuf:"bytes,4,opt,name=merchant_refund_id,json=merchantRefundId,proto3" json:"merchant_refund_id,omitempty"`
	Reason           string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
	Price            int32  `protobuf:"varint,6,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*RefundCreateReq) Descriptor deprecated

func (*RefundCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use RefundCreateReq.ProtoReflect.Descriptor instead.

func (*RefundCreateReq) GetAppId

func (x *RefundCreateReq) GetAppId() uint64

func (*RefundCreateReq) GetMerchantOrderId

func (x *RefundCreateReq) GetMerchantOrderId() string

func (*RefundCreateReq) GetMerchantRefundId

func (x *RefundCreateReq) GetMerchantRefundId() string

func (*RefundCreateReq) GetPrice

func (x *RefundCreateReq) GetPrice() int32

func (*RefundCreateReq) GetReason

func (x *RefundCreateReq) GetReason() string

func (*RefundCreateReq) GetUserIp

func (x *RefundCreateReq) GetUserIp() string

func (*RefundCreateReq) ProtoMessage

func (*RefundCreateReq) ProtoMessage()

func (*RefundCreateReq) ProtoReflect

func (x *RefundCreateReq) ProtoReflect() protoreflect.Message

func (*RefundCreateReq) Reset

func (x *RefundCreateReq) Reset()

func (*RefundCreateReq) String

func (x *RefundCreateReq) String() string

type RefundInfo

type RefundInfo struct {
	Id                *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	CreatedAt         *int64  `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
	UpdatedAt         *int64  `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	Status            *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	No                *string `protobuf:"bytes,5,opt,name=no,proto3,oneof" json:"no,omitempty"`
	AppId             *uint64 `protobuf:"varint,6,opt,name=app_id,json=appId,proto3,oneof" json:"app_id,omitempty"`
	ChannelId         *uint64 `protobuf:"varint,7,opt,name=channel_id,json=channelId,proto3,oneof" json:"channel_id,omitempty"`
	ChannelCode       *string `protobuf:"bytes,8,opt,name=channel_code,json=channelCode,proto3,oneof" json:"channel_code,omitempty"`
	OrderId           *uint64 `protobuf:"varint,9,opt,name=order_id,json=orderId,proto3,oneof" json:"order_id,omitempty"`
	OrderNo           *string `protobuf:"bytes,10,opt,name=order_no,json=orderNo,proto3,oneof" json:"order_no,omitempty"`
	MerchantOrderId   *string `protobuf:"bytes,11,opt,name=merchant_order_id,json=merchantOrderId,proto3,oneof" json:"merchant_order_id,omitempty"`
	MerchantRefundId  *string `protobuf:"bytes,12,opt,name=merchant_refund_id,json=merchantRefundId,proto3,oneof" json:"merchant_refund_id,omitempty"`
	NotifyUrl         *string `protobuf:"bytes,13,opt,name=notify_url,json=notifyUrl,proto3,oneof" json:"notify_url,omitempty"`
	PayPrice          *int32  `protobuf:"varint,14,opt,name=pay_price,json=payPrice,proto3,oneof" json:"pay_price,omitempty"`
	RefundPrice       *int32  `protobuf:"varint,15,opt,name=refund_price,json=refundPrice,proto3,oneof" json:"refund_price,omitempty"`
	Reason            *string `protobuf:"bytes,16,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	UserIp            *string `protobuf:"bytes,17,opt,name=user_ip,json=userIp,proto3,oneof" json:"user_ip,omitempty"`
	ChannelOrderNo    *string `protobuf:"bytes,18,opt,name=channel_order_no,json=channelOrderNo,proto3,oneof" json:"channel_order_no,omitempty"`
	ChannelRefundNo   *string `protobuf:"bytes,19,opt,name=channel_refund_no,json=channelRefundNo,proto3,oneof" json:"channel_refund_no,omitempty"`
	SuccessTime       *int64  `protobuf:"varint,20,opt,name=success_time,json=successTime,proto3,oneof" json:"success_time,omitempty"`
	ChannelErrorCode  *string `protobuf:"bytes,21,opt,name=channel_error_code,json=channelErrorCode,proto3,oneof" json:"channel_error_code,omitempty"`
	ChannelErrorMsg   *string `protobuf:"bytes,22,opt,name=channel_error_msg,json=channelErrorMsg,proto3,oneof" json:"channel_error_msg,omitempty"`
	ChannelNotifyData *string `protobuf:"bytes,23,opt,name=channel_notify_data,json=channelNotifyData,proto3,oneof" json:"channel_notify_data,omitempty"`
	// contains filtered or unexported fields
}

func (*RefundInfo) Descriptor deprecated

func (*RefundInfo) Descriptor() ([]byte, []int)

Deprecated: Use RefundInfo.ProtoReflect.Descriptor instead.

func (*RefundInfo) GetAppId

func (x *RefundInfo) GetAppId() uint64

func (*RefundInfo) GetChannelCode

func (x *RefundInfo) GetChannelCode() string

func (*RefundInfo) GetChannelErrorCode

func (x *RefundInfo) GetChannelErrorCode() string

func (*RefundInfo) GetChannelErrorMsg

func (x *RefundInfo) GetChannelErrorMsg() string

func (*RefundInfo) GetChannelId

func (x *RefundInfo) GetChannelId() uint64

func (*RefundInfo) GetChannelNotifyData

func (x *RefundInfo) GetChannelNotifyData() string

func (*RefundInfo) GetChannelOrderNo

func (x *RefundInfo) GetChannelOrderNo() string

func (*RefundInfo) GetChannelRefundNo

func (x *RefundInfo) GetChannelRefundNo() string

func (*RefundInfo) GetCreatedAt

func (x *RefundInfo) GetCreatedAt() int64

func (*RefundInfo) GetId

func (x *RefundInfo) GetId() uint64

func (*RefundInfo) GetMerchantOrderId

func (x *RefundInfo) GetMerchantOrderId() string

func (*RefundInfo) GetMerchantRefundId

func (x *RefundInfo) GetMerchantRefundId() string

func (*RefundInfo) GetNo

func (x *RefundInfo) GetNo() string

func (*RefundInfo) GetNotifyUrl

func (x *RefundInfo) GetNotifyUrl() string

func (*RefundInfo) GetOrderId

func (x *RefundInfo) GetOrderId() uint64

func (*RefundInfo) GetOrderNo

func (x *RefundInfo) GetOrderNo() string

func (*RefundInfo) GetPayPrice

func (x *RefundInfo) GetPayPrice() int32

func (*RefundInfo) GetReason

func (x *RefundInfo) GetReason() string

func (*RefundInfo) GetRefundPrice

func (x *RefundInfo) GetRefundPrice() int32

func (*RefundInfo) GetStatus

func (x *RefundInfo) GetStatus() uint32

func (*RefundInfo) GetSuccessTime

func (x *RefundInfo) GetSuccessTime() int64

func (*RefundInfo) GetUpdatedAt

func (x *RefundInfo) GetUpdatedAt() int64

func (*RefundInfo) GetUserIp

func (x *RefundInfo) GetUserIp() string

func (*RefundInfo) ProtoMessage

func (*RefundInfo) ProtoMessage()

func (*RefundInfo) ProtoReflect

func (x *RefundInfo) ProtoReflect() protoreflect.Message

func (*RefundInfo) Reset

func (x *RefundInfo) Reset()

func (*RefundInfo) String

func (x *RefundInfo) String() string

type RefundListReq

type RefundListReq struct {
	Page        uint64  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize    uint64  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	No          *string `protobuf:"bytes,3,opt,name=no,proto3,oneof" json:"no,omitempty"`
	ChannelCode *string `protobuf:"bytes,4,opt,name=channel_code,json=channelCode,proto3,oneof" json:"channel_code,omitempty"`
	OrderNo     *string `protobuf:"bytes,5,opt,name=order_no,json=orderNo,proto3,oneof" json:"order_no,omitempty"`
	// contains filtered or unexported fields
}

func (*RefundListReq) Descriptor deprecated

func (*RefundListReq) Descriptor() ([]byte, []int)

Deprecated: Use RefundListReq.ProtoReflect.Descriptor instead.

func (*RefundListReq) GetChannelCode

func (x *RefundListReq) GetChannelCode() string

func (*RefundListReq) GetNo

func (x *RefundListReq) GetNo() string

func (*RefundListReq) GetOrderNo

func (x *RefundListReq) GetOrderNo() string

func (*RefundListReq) GetPage

func (x *RefundListReq) GetPage() uint64

func (*RefundListReq) GetPageSize

func (x *RefundListReq) GetPageSize() uint64

func (*RefundListReq) ProtoMessage

func (*RefundListReq) ProtoMessage()

func (*RefundListReq) ProtoReflect

func (x *RefundListReq) ProtoReflect() protoreflect.Message

func (*RefundListReq) Reset

func (x *RefundListReq) Reset()

func (*RefundListReq) String

func (x *RefundListReq) String() string

type RefundListResp

type RefundListResp struct {
	Total uint64        `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*RefundInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*RefundListResp) Descriptor deprecated

func (*RefundListResp) Descriptor() ([]byte, []int)

Deprecated: Use RefundListResp.ProtoReflect.Descriptor instead.

func (*RefundListResp) GetData

func (x *RefundListResp) GetData() []*RefundInfo

func (*RefundListResp) GetTotal

func (x *RefundListResp) GetTotal() uint64

func (*RefundListResp) ProtoMessage

func (*RefundListResp) ProtoMessage()

func (*RefundListResp) ProtoReflect

func (x *RefundListResp) ProtoReflect() protoreflect.Message

func (*RefundListResp) Reset

func (x *RefundListResp) Reset()

func (*RefundListResp) String

func (x *RefundListResp) String() string

type RefundPageReq

type RefundPageReq struct {
	Page             uint64  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize         uint64  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	AppId            *uint64 `protobuf:"varint,3,opt,name=appId,proto3,oneof" json:"appId,omitempty"`
	ChannelCode      *string `protobuf:"bytes,4,opt,name=channelCode,proto3,oneof" json:"channelCode,omitempty"`
	MerchantOrderId  *string `protobuf:"bytes,5,opt,name=merchantOrderId,proto3,oneof" json:"merchantOrderId,omitempty"`
	MerchantRefundId *string `protobuf:"bytes,6,opt,name=merchantRefundId,proto3,oneof" json:"merchantRefundId,omitempty"`
	ChannelOrderNo   *string `protobuf:"bytes,7,opt,name=channelOrderNo,proto3,oneof" json:"channelOrderNo,omitempty"`
	ChannelRefundNo  *string `protobuf:"bytes,8,opt,name=channelRefundNo,proto3,oneof" json:"channelRefundNo,omitempty"`
	Status           *string `protobuf:"bytes,9,opt,name=status,proto3,oneof" json:"status,omitempty"`
	CreateTime       []int64 `protobuf:"varint,10,rep,packed,name=createTime,proto3" json:"createTime,omitempty"`
	// contains filtered or unexported fields
}

func (*RefundPageReq) Descriptor deprecated

func (*RefundPageReq) Descriptor() ([]byte, []int)

Deprecated: Use RefundPageReq.ProtoReflect.Descriptor instead.

func (*RefundPageReq) GetAppId

func (x *RefundPageReq) GetAppId() uint64

func (*RefundPageReq) GetChannelCode

func (x *RefundPageReq) GetChannelCode() string

func (*RefundPageReq) GetChannelOrderNo

func (x *RefundPageReq) GetChannelOrderNo() string

func (*RefundPageReq) GetChannelRefundNo

func (x *RefundPageReq) GetChannelRefundNo() string

func (*RefundPageReq) GetCreateTime

func (x *RefundPageReq) GetCreateTime() []int64

func (*RefundPageReq) GetMerchantOrderId

func (x *RefundPageReq) GetMerchantOrderId() string

func (*RefundPageReq) GetMerchantRefundId

func (x *RefundPageReq) GetMerchantRefundId() string

func (*RefundPageReq) GetPage

func (x *RefundPageReq) GetPage() uint64

func (*RefundPageReq) GetPageSize

func (x *RefundPageReq) GetPageSize() uint64

func (*RefundPageReq) GetStatus

func (x *RefundPageReq) GetStatus() string

func (*RefundPageReq) ProtoMessage

func (*RefundPageReq) ProtoMessage()

func (*RefundPageReq) ProtoReflect

func (x *RefundPageReq) ProtoReflect() protoreflect.Message

func (*RefundPageReq) Reset

func (x *RefundPageReq) Reset()

func (*RefundPageReq) String

func (x *RefundPageReq) String() string

type RefundPageResp

type RefundPageResp struct {
	Total uint64        `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Data  []*RefundInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*RefundPageResp) Descriptor deprecated

func (*RefundPageResp) Descriptor() ([]byte, []int)

Deprecated: Use RefundPageResp.ProtoReflect.Descriptor instead.

func (*RefundPageResp) GetData

func (x *RefundPageResp) GetData() []*RefundInfo

func (*RefundPageResp) GetTotal

func (x *RefundPageResp) GetTotal() uint64

func (*RefundPageResp) ProtoMessage

func (*RefundPageResp) ProtoMessage()

func (*RefundPageResp) ProtoReflect

func (x *RefundPageResp) ProtoReflect() protoreflect.Message

func (*RefundPageResp) Reset

func (x *RefundPageResp) Reset()

func (*RefundPageResp) String

func (x *RefundPageResp) String() string

type StringList

type StringList struct {
	Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StringList) Descriptor deprecated

func (*StringList) Descriptor() ([]byte, []int)

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetItems

func (x *StringList) GetItems() []string

func (*StringList) ProtoMessage

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect

func (x *StringList) ProtoReflect() protoreflect.Message

func (*StringList) Reset

func (x *StringList) Reset()

func (*StringList) String

func (x *StringList) String() string

type UUIDReq

type UUIDReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*UUIDReq) Descriptor deprecated

func (*UUIDReq) Descriptor() ([]byte, []int)

Deprecated: Use UUIDReq.ProtoReflect.Descriptor instead.

func (*UUIDReq) GetId

func (x *UUIDReq) GetId() string

func (*UUIDReq) ProtoMessage

func (*UUIDReq) ProtoMessage()

func (*UUIDReq) ProtoReflect

func (x *UUIDReq) ProtoReflect() protoreflect.Message

func (*UUIDReq) Reset

func (x *UUIDReq) Reset()

func (*UUIDReq) String

func (x *UUIDReq) String() string

type UUIDsReq

type UUIDsReq struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*UUIDsReq) Descriptor deprecated

func (*UUIDsReq) Descriptor() ([]byte, []int)

Deprecated: Use UUIDsReq.ProtoReflect.Descriptor instead.

func (*UUIDsReq) GetIds

func (x *UUIDsReq) GetIds() []string

func (*UUIDsReq) ProtoMessage

func (*UUIDsReq) ProtoMessage()

func (*UUIDsReq) ProtoReflect

func (x *UUIDsReq) ProtoReflect() protoreflect.Message

func (*UUIDsReq) Reset

func (x *UUIDsReq) Reset()

func (*UUIDsReq) String

func (x *UUIDsReq) String() string

type UnimplementedPayServer

type UnimplementedPayServer struct {
}

UnimplementedPayServer must be embedded to have forward compatible implementations.

func (UnimplementedPayServer) CreateApp

func (UnimplementedPayServer) CreateChannel

func (UnimplementedPayServer) CreateDemoOrder

func (UnimplementedPayServer) CreateOrder

func (UnimplementedPayServer) CreateOrderExtension

func (UnimplementedPayServer) CreateRefund

func (UnimplementedPayServer) DeleteApp

func (UnimplementedPayServer) DeleteChannel

func (UnimplementedPayServer) GetApp

func (UnimplementedPayServer) GetAppList

func (UnimplementedPayServer) GetAppPage

func (UnimplementedPayServer) GetChannelById

func (UnimplementedPayServer) GetChannelListByAppIdAndCode

func (UnimplementedPayServer) GetChannelListByAppIdAndCode(context.Context, *ByAppIdAndCodeReq) (*ChannelInfo, error)

func (UnimplementedPayServer) GetChannelListByAppIds

func (UnimplementedPayServer) GetChannelListByAppIds(context.Context, *IDsReq) (*ChannelListResp, error)

func (UnimplementedPayServer) GetDemoOrder

func (UnimplementedPayServer) GetEnableChannelList

func (UnimplementedPayServer) GetEnableChannelList(context.Context, *IDReq) (*ChannelListResp, error)

func (UnimplementedPayServer) GetListDemoOrder

func (UnimplementedPayServer) GetOrder

func (UnimplementedPayServer) GetOrderExtension

func (UnimplementedPayServer) GetOrderPage

func (UnimplementedPayServer) GetRefundById

func (UnimplementedPayServer) GetRefundPage

func (UnimplementedPayServer) InitDatabase

func (UnimplementedPayServer) NotifyOrder

func (UnimplementedPayServer) UpdateApp

func (UnimplementedPayServer) UpdateAppStatus

func (UnimplementedPayServer) UpdateChannel

func (UnimplementedPayServer) UpdateDemoOrderPaid

func (UnimplementedPayServer) ValidateChannelCanSubmit

func (UnimplementedPayServer) ValidateOrderCanSubmit

func (UnimplementedPayServer) ValidateOrderCanSubmit(context.Context, *IDReq) (*OrderInfo, error)

type UnsafePayServer

type UnsafePayServer interface {
	// contains filtered or unexported methods
}

UnsafePayServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PayServer will result in compilation errors.

type UpdateDemoOrderPaidReq

type UpdateDemoOrderPaidReq struct {
	Id         uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	PayOrderId uint64 `protobuf:"varint,2,opt,name=payOrderId,proto3" json:"payOrderId,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDemoOrderPaidReq) Descriptor deprecated

func (*UpdateDemoOrderPaidReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDemoOrderPaidReq.ProtoReflect.Descriptor instead.

func (*UpdateDemoOrderPaidReq) GetId

func (x *UpdateDemoOrderPaidReq) GetId() uint64

func (*UpdateDemoOrderPaidReq) GetPayOrderId

func (x *UpdateDemoOrderPaidReq) GetPayOrderId() uint64

func (*UpdateDemoOrderPaidReq) ProtoMessage

func (*UpdateDemoOrderPaidReq) ProtoMessage()

func (*UpdateDemoOrderPaidReq) ProtoReflect

func (x *UpdateDemoOrderPaidReq) ProtoReflect() protoreflect.Message

func (*UpdateDemoOrderPaidReq) Reset

func (x *UpdateDemoOrderPaidReq) Reset()

func (*UpdateDemoOrderPaidReq) String

func (x *UpdateDemoOrderPaidReq) String() string

type ValidateChannelReq

type ValidateChannelReq struct {
	AppId uint64 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
	Code  string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateChannelReq) Descriptor deprecated

func (*ValidateChannelReq) Descriptor() ([]byte, []int)

Deprecated: Use ValidateChannelReq.ProtoReflect.Descriptor instead.

func (*ValidateChannelReq) GetAppId

func (x *ValidateChannelReq) GetAppId() uint64

func (*ValidateChannelReq) GetCode

func (x *ValidateChannelReq) GetCode() string

func (*ValidateChannelReq) ProtoMessage

func (*ValidateChannelReq) ProtoMessage()

func (*ValidateChannelReq) ProtoReflect

func (x *ValidateChannelReq) ProtoReflect() protoreflect.Message

func (*ValidateChannelReq) Reset

func (x *ValidateChannelReq) Reset()

func (*ValidateChannelReq) String

func (x *ValidateChannelReq) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL