 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- Variables
- func RegisterPayServer(s grpc.ServiceRegistrar, srv PayServer)
- type BaseIDResp
- type BaseMsg
- type BaseResp
- type BaseUUIDResp
- func (*BaseUUIDResp) Descriptor() ([]byte, []int)deprecated
- func (x *BaseUUIDResp) GetId() string
- func (x *BaseUUIDResp) GetMsg() string
- func (*BaseUUIDResp) ProtoMessage()
- func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message
- func (x *BaseUUIDResp) Reset()
- func (x *BaseUUIDResp) String() string
 
- type DemoOrderInfo
- func (*DemoOrderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DemoOrderInfo) GetCreatedAt() int64
- func (x *DemoOrderInfo) GetId() uint64
- func (x *DemoOrderInfo) GetPayChannelCode() string
- func (x *DemoOrderInfo) GetPayOrderId() uint64
- func (x *DemoOrderInfo) GetPayRefundId() uint64
- func (x *DemoOrderInfo) GetPayStatus() bool
- func (x *DemoOrderInfo) GetPayTime() int64
- func (x *DemoOrderInfo) GetPrice() int32
- func (x *DemoOrderInfo) GetRefundPrice() int32
- func (x *DemoOrderInfo) GetRefundTime() int64
- func (x *DemoOrderInfo) GetSpuId() uint64
- func (x *DemoOrderInfo) GetSpuName() string
- func (x *DemoOrderInfo) GetUpdatedAt() int64
- func (x *DemoOrderInfo) GetUserId() string
- func (*DemoOrderInfo) ProtoMessage()
- func (x *DemoOrderInfo) ProtoReflect() protoreflect.Message
- func (x *DemoOrderInfo) Reset()
- func (x *DemoOrderInfo) String() string
 
- type DemoOrderListResp
- func (*DemoOrderListResp) Descriptor() ([]byte, []int)deprecated
- func (x *DemoOrderListResp) GetDemoOrderList() []*DemoOrderInfo
- func (x *DemoOrderListResp) GetTotal() uint64
- func (*DemoOrderListResp) ProtoMessage()
- func (x *DemoOrderListResp) ProtoReflect() protoreflect.Message
- func (x *DemoOrderListResp) Reset()
- func (x *DemoOrderListResp) String() string
 
- type DemoOrderPageReq
- func (*DemoOrderPageReq) Descriptor() ([]byte, []int)deprecated
- func (x *DemoOrderPageReq) GetPage() uint64
- func (x *DemoOrderPageReq) GetPageSize() uint64
- func (*DemoOrderPageReq) ProtoMessage()
- func (x *DemoOrderPageReq) ProtoReflect() protoreflect.Message
- func (x *DemoOrderPageReq) Reset()
- func (x *DemoOrderPageReq) String() string
 
- type Empty
- type IDReq
- type IDsReq
- type NoReq
- type NotifyOrderReq
- func (*NotifyOrderReq) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyOrderReq) GetCode() string
- func (x *NotifyOrderReq) GetR() []byte
- func (*NotifyOrderReq) ProtoMessage()
- func (x *NotifyOrderReq) ProtoReflect() protoreflect.Message
- func (x *NotifyOrderReq) Reset()
- func (x *NotifyOrderReq) String() string
 
- type NotifyRefundReq
- func (*NotifyRefundReq) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyRefundReq) GetChannelCode() string
- func (x *NotifyRefundReq) GetChannelErrorCode() string
- func (x *NotifyRefundReq) GetChannelErrorMsg() string
- func (x *NotifyRefundReq) GetChannelNotifyData() string
- func (x *NotifyRefundReq) GetChannelRefundNo() string
- func (x *NotifyRefundReq) GetOutRefundNo() string
- func (x *NotifyRefundReq) GetStatus() uint32
- func (x *NotifyRefundReq) GetSuccessTime() int64
- func (*NotifyRefundReq) ProtoMessage()
- func (x *NotifyRefundReq) ProtoReflect() protoreflect.Message
- func (x *NotifyRefundReq) Reset()
- func (x *NotifyRefundReq) String() string
 
- type OrderCreateExtensionReq
- func (*OrderCreateExtensionReq) Descriptor() ([]byte, []int)deprecated
- func (x *OrderCreateExtensionReq) GetChannelCode() string
- func (x *OrderCreateExtensionReq) GetChannelExtras() map[string]string
- func (x *OrderCreateExtensionReq) GetNo() string
- func (x *OrderCreateExtensionReq) GetOrderID() uint64
- func (x *OrderCreateExtensionReq) GetStatus() uint32
- func (x *OrderCreateExtensionReq) GetUserIP() string
- func (*OrderCreateExtensionReq) ProtoMessage()
- func (x *OrderCreateExtensionReq) ProtoReflect() protoreflect.Message
- func (x *OrderCreateExtensionReq) Reset()
- func (x *OrderCreateExtensionReq) String() string
 
- type OrderCreateReq
- func (*OrderCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *OrderCreateReq) GetBody() string
- func (x *OrderCreateReq) GetExpireTime() int64
- func (x *OrderCreateReq) GetMerchantOrderId() string
- func (x *OrderCreateReq) GetNotifyBusinessUrl() string
- func (x *OrderCreateReq) GetPrice() int32
- func (x *OrderCreateReq) GetSubject() string
- func (x *OrderCreateReq) GetUserIp() string
- func (*OrderCreateReq) ProtoMessage()
- func (x *OrderCreateReq) ProtoReflect() protoreflect.Message
- func (x *OrderCreateReq) Reset()
- func (x *OrderCreateReq) String() string
 
- type OrderExtensionInfo
- func (*OrderExtensionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OrderExtensionInfo) GetChannelCode() string
- func (x *OrderExtensionInfo) GetChannelErrorCode() string
- func (x *OrderExtensionInfo) GetChannelErrorMsg() string
- func (x *OrderExtensionInfo) GetChannelExtras() map[string]string
- func (x *OrderExtensionInfo) GetChannelNotifyData() string
- func (x *OrderExtensionInfo) GetCreatedAt() int64
- func (x *OrderExtensionInfo) GetId() uint64
- func (x *OrderExtensionInfo) GetNo() string
- func (x *OrderExtensionInfo) GetOrderId() uint64
- func (x *OrderExtensionInfo) GetStatus() uint32
- func (x *OrderExtensionInfo) GetUpdatedAt() int64
- func (x *OrderExtensionInfo) GetUserIp() string
- func (*OrderExtensionInfo) ProtoMessage()
- func (x *OrderExtensionInfo) ProtoReflect() protoreflect.Message
- func (x *OrderExtensionInfo) Reset()
- func (x *OrderExtensionInfo) String() string
 
- type OrderInfo
- func (*OrderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OrderInfo) GetBody() string
- func (x *OrderInfo) GetChannelCode() string
- func (x *OrderInfo) GetChannelFeePrice() int32
- func (x *OrderInfo) GetChannelFeeRate() float64
- func (x *OrderInfo) GetChannelOrderNo() string
- func (x *OrderInfo) GetChannelUserId() string
- func (x *OrderInfo) GetCreatedAt() int64
- func (x *OrderInfo) GetExpireTime() int64
- func (x *OrderInfo) GetExtensionId() uint64
- func (x *OrderInfo) GetId() uint64
- func (x *OrderInfo) GetMerchantOrderId() string
- func (x *OrderInfo) GetNo() string
- func (x *OrderInfo) GetNotifyTime() int64
- func (x *OrderInfo) GetPrice() int32
- func (x *OrderInfo) GetRefundPrice() int32
- func (x *OrderInfo) GetStatus() uint32
- func (x *OrderInfo) GetSubject() string
- func (x *OrderInfo) GetSuccessTime() int64
- func (x *OrderInfo) GetUpdatedAt() int64
- func (x *OrderInfo) GetUserIp() string
- func (*OrderInfo) ProtoMessage()
- func (x *OrderInfo) ProtoReflect() protoreflect.Message
- func (x *OrderInfo) Reset()
- func (x *OrderInfo) String() string
 
- type OrderListResp
- func (*OrderListResp) Descriptor() ([]byte, []int)deprecated
- func (x *OrderListResp) GetData() []*OrderInfo
- func (x *OrderListResp) GetTotal() uint64
- func (*OrderListResp) ProtoMessage()
- func (x *OrderListResp) ProtoReflect() protoreflect.Message
- func (x *OrderListResp) Reset()
- func (x *OrderListResp) String() string
 
- type OrderPageReq
- func (*OrderPageReq) Descriptor() ([]byte, []int)deprecated
- func (x *OrderPageReq) GetChannelCode() string
- func (x *OrderPageReq) GetChannelOrderNo() string
- func (x *OrderPageReq) GetCreateTime() []int64
- func (x *OrderPageReq) GetMerchantOrderId() string
- func (x *OrderPageReq) GetNo() string
- func (x *OrderPageReq) GetPage() uint64
- func (x *OrderPageReq) GetPageSize() uint64
- func (x *OrderPageReq) GetStatus() uint32
- func (*OrderPageReq) ProtoMessage()
- func (x *OrderPageReq) ProtoReflect() protoreflect.Message
- func (x *OrderPageReq) Reset()
- func (x *OrderPageReq) String() string
 
- type OrderSubmitReq
- func (*OrderSubmitReq) Descriptor() ([]byte, []int)deprecated
- func (x *OrderSubmitReq) GetChannelCode() string
- func (x *OrderSubmitReq) GetChannelExtras() map[string]string
- func (x *OrderSubmitReq) GetDisplayMode() string
- func (x *OrderSubmitReq) GetId() uint64
- func (x *OrderSubmitReq) GetReturnUrl() string
- func (x *OrderSubmitReq) GetUserIP() string
- func (*OrderSubmitReq) ProtoMessage()
- func (x *OrderSubmitReq) ProtoReflect() protoreflect.Message
- func (x *OrderSubmitReq) Reset()
- func (x *OrderSubmitReq) String() string
 
- type OrderSubmitResp
- func (*OrderSubmitResp) Descriptor() ([]byte, []int)deprecated
- func (x *OrderSubmitResp) GetDisplayContent() string
- func (x *OrderSubmitResp) GetDisplayMode() string
- func (x *OrderSubmitResp) GetStatus() uint32
- func (*OrderSubmitResp) ProtoMessage()
- func (x *OrderSubmitResp) ProtoReflect() protoreflect.Message
- func (x *OrderSubmitResp) Reset()
- func (x *OrderSubmitResp) String() string
 
- type PageInfoReq
- func (*PageInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfoReq) GetPage() uint64
- func (x *PageInfoReq) GetPageSize() uint64
- func (*PageInfoReq) ProtoMessage()
- func (x *PageInfoReq) ProtoReflect() protoreflect.Message
- func (x *PageInfoReq) Reset()
- func (x *PageInfoReq) String() string
 
- type PayChannel
- type PayClient
- type PayDemoOrderCreateReq
- func (*PayDemoOrderCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *PayDemoOrderCreateReq) GetSpuId() uint64
- func (x *PayDemoOrderCreateReq) GetUserId() string
- func (x *PayDemoOrderCreateReq) GetUserIp() string
- func (*PayDemoOrderCreateReq) ProtoMessage()
- func (x *PayDemoOrderCreateReq) ProtoReflect() protoreflect.Message
- func (x *PayDemoOrderCreateReq) Reset()
- func (x *PayDemoOrderCreateReq) String() string
 
- type PayServer
- type PayStatus
- type PayType
- type RefundCountResp
- type RefundCreateReq
- func (*RefundCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *RefundCreateReq) GetMerchantOrderId() string
- func (x *RefundCreateReq) GetMerchantRefundId() string
- func (x *RefundCreateReq) GetPrice() int32
- func (x *RefundCreateReq) GetReason() string
- func (x *RefundCreateReq) GetUserIp() string
- func (*RefundCreateReq) ProtoMessage()
- func (x *RefundCreateReq) ProtoReflect() protoreflect.Message
- func (x *RefundCreateReq) Reset()
- func (x *RefundCreateReq) String() string
 
- type RefundDemoOrderReq
- func (*RefundDemoOrderReq) Descriptor() ([]byte, []int)deprecated
- func (x *RefundDemoOrderReq) GetId() uint64
- func (x *RefundDemoOrderReq) GetUserIp() string
- func (*RefundDemoOrderReq) ProtoMessage()
- func (x *RefundDemoOrderReq) ProtoReflect() protoreflect.Message
- func (x *RefundDemoOrderReq) Reset()
- func (x *RefundDemoOrderReq) String() string
 
- type RefundInfo
- func (*RefundInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RefundInfo) GetChannelCode() string
- func (x *RefundInfo) GetChannelErrorCode() string
- func (x *RefundInfo) GetChannelErrorMsg() string
- func (x *RefundInfo) GetChannelNotifyData() string
- func (x *RefundInfo) GetChannelOrderNo() string
- func (x *RefundInfo) GetChannelRefundNo() string
- func (x *RefundInfo) GetCreatedAt() int64
- func (x *RefundInfo) GetId() uint64
- func (x *RefundInfo) GetMerchantOrderId() string
- func (x *RefundInfo) GetMerchantRefundId() string
- func (x *RefundInfo) GetNo() string
- func (x *RefundInfo) GetOrderId() uint64
- func (x *RefundInfo) GetOrderNo() string
- func (x *RefundInfo) GetPayPrice() int32
- func (x *RefundInfo) GetReason() string
- func (x *RefundInfo) GetRefundPrice() int32
- func (x *RefundInfo) GetStatus() uint32
- func (x *RefundInfo) GetSuccessTime() int64
- func (x *RefundInfo) GetUpdatedAt() int64
- func (x *RefundInfo) GetUserIp() string
- func (*RefundInfo) ProtoMessage()
- func (x *RefundInfo) ProtoReflect() protoreflect.Message
- func (x *RefundInfo) Reset()
- func (x *RefundInfo) String() string
 
- type RefundPageReq
- func (*RefundPageReq) Descriptor() ([]byte, []int)deprecated
- func (x *RefundPageReq) GetChannelCode() string
- func (x *RefundPageReq) GetChannelOrderNo() string
- func (x *RefundPageReq) GetChannelRefundNo() string
- func (x *RefundPageReq) GetCreateTime() []int64
- func (x *RefundPageReq) GetMerchantOrderId() string
- func (x *RefundPageReq) GetMerchantRefundId() string
- func (x *RefundPageReq) GetPage() uint64
- func (x *RefundPageReq) GetPageSize() uint64
- func (x *RefundPageReq) GetStatus() uint32
- func (*RefundPageReq) ProtoMessage()
- func (x *RefundPageReq) ProtoReflect() protoreflect.Message
- func (x *RefundPageReq) Reset()
- func (x *RefundPageReq) String() string
 
- type RefundPageResp
- func (*RefundPageResp) Descriptor() ([]byte, []int)deprecated
- func (x *RefundPageResp) GetData() []*RefundInfo
- func (x *RefundPageResp) GetTotal() uint64
- func (*RefundPageResp) ProtoMessage()
- func (x *RefundPageResp) ProtoReflect() protoreflect.Message
- func (x *RefundPageResp) Reset()
- func (x *RefundPageResp) String() string
 
- type RetCode
- type StringList
- type UUIDReq
- type UUIDsReq
- type UnimplementedPayServer
- func (UnimplementedPayServer) CreateDemoOrder(context.Context, *PayDemoOrderCreateReq) (*BaseIDResp, error)
- func (UnimplementedPayServer) CreateOrder(context.Context, *OrderCreateReq) (*BaseIDResp, error)
- func (UnimplementedPayServer) CreateOrderExtension(context.Context, *OrderCreateExtensionReq) (*BaseIDResp, error)
- func (UnimplementedPayServer) CreateRefund(context.Context, *RefundCreateReq) (*BaseIDResp, error)
- func (UnimplementedPayServer) GetDemoOrder(context.Context, *IDReq) (*DemoOrderInfo, error)
- func (UnimplementedPayServer) GetListDemoOrder(context.Context, *DemoOrderPageReq) (*DemoOrderListResp, error)
- func (UnimplementedPayServer) GetOrder(context.Context, *IDReq) (*OrderInfo, error)
- func (UnimplementedPayServer) GetOrderExtension(context.Context, *IDReq) (*OrderExtensionInfo, error)
- func (UnimplementedPayServer) GetOrderPage(context.Context, *OrderPageReq) (*OrderListResp, error)
- func (UnimplementedPayServer) GetRefundById(context.Context, *IDReq) (*RefundInfo, error)
- func (UnimplementedPayServer) GetRefundPage(context.Context, *RefundPageReq) (*RefundPageResp, error)
- func (UnimplementedPayServer) InitDatabase(context.Context, *Empty) (*BaseResp, error)
- func (UnimplementedPayServer) NotifyOrder(context.Context, *NotifyOrderReq) (*BaseResp, error)
- func (UnimplementedPayServer) NotifyRefund(context.Context, *NotifyRefundReq) (*BaseResp, error)
- func (UnimplementedPayServer) RefundDemoOrder(context.Context, *RefundDemoOrderReq) (*BaseResp, error)
- func (UnimplementedPayServer) SubmitPayOrder(context.Context, *OrderSubmitReq) (*OrderSubmitResp, error)
- func (UnimplementedPayServer) UpdateDemoOrderPaid(context.Context, *UpdateDemoOrderPaidReq) (*BaseResp, error)
- func (UnimplementedPayServer) UpdateDemoRefundPaid(context.Context, *UpdateDemoRefundPaidReq) (*BaseResp, error)
 
- type UnsafePayServer
- type UpdateDemoOrderPaidReq
- func (*UpdateDemoOrderPaidReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDemoOrderPaidReq) GetId() uint64
- func (x *UpdateDemoOrderPaidReq) GetPayOrderId() uint64
- func (*UpdateDemoOrderPaidReq) ProtoMessage()
- func (x *UpdateDemoOrderPaidReq) ProtoReflect() protoreflect.Message
- func (x *UpdateDemoOrderPaidReq) Reset()
- func (x *UpdateDemoOrderPaidReq) String() string
 
- type UpdateDemoRefundPaidReq
- func (*UpdateDemoRefundPaidReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDemoRefundPaidReq) GetId() uint64
- func (x *UpdateDemoRefundPaidReq) GetPayRefundId() uint64
- func (*UpdateDemoRefundPaidReq) ProtoMessage()
- func (x *UpdateDemoRefundPaidReq) ProtoReflect() protoreflect.Message
- func (x *UpdateDemoRefundPaidReq) Reset()
- func (x *UpdateDemoRefundPaidReq) String() string
 
Constants ¶
const ( Pay_InitDatabase_FullMethodName = "/pay.Pay/initDatabase" 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_RefundDemoOrder_FullMethodName = "/pay.Pay/refundDemoOrder" Pay_UpdateDemoRefundPaid_FullMethodName = "/pay.Pay/updateDemoRefundPaid" 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_SubmitPayOrder_FullMethodName = "/pay.Pay/submitPayOrder" Pay_CreateRefund_FullMethodName = "/pay.Pay/createRefund" Pay_GetRefundPage_FullMethodName = "/pay.Pay/getRefundPage" Pay_GetRefundById_FullMethodName = "/pay.Pay/getRefundById" Pay_NotifyRefund_FullMethodName = "/pay.Pay/notifyRefund" )
Variables ¶
var ( PayStatus_name = map[int32]string{ 0: "PAY_STATUS_UNKNOWN", 1: "PAY_WAITING", 2: "PAY_SUCCESS", 3: "PAY_REFUND", 4: "PAY_CLOSED", 5: "PAY_FAILURE", } PayStatus_value = map[string]int32{ "PAY_STATUS_UNKNOWN": 0, "PAY_WAITING": 1, "PAY_SUCCESS": 2, "PAY_REFUND": 3, "PAY_CLOSED": 4, "PAY_FAILURE": 5, } )
Enum value maps for PayStatus.
var ( PayType_name = map[int32]string{ 0: "PAY_TYPE_UNKNOWN", 1: "PAY_ORDER", 2: "PAY_RETURN", } PayType_value = map[string]int32{ "PAY_TYPE_UNKNOWN": 0, "PAY_ORDER": 1, "PAY_RETURN": 2, } )
Enum value maps for PayType.
var ( PayChannel_name = map[int32]string{ 0: "ChannelUnknown", 1: "WxPub", 2: "WxLite", 3: "WxApp", 4: "WxNative", 5: "AlipayPc", 6: "AlipayWap", 7: "AlipayQr", 8: "AlipayBar", } PayChannel_value = map[string]int32{ "ChannelUnknown": 0, "WxPub": 1, "WxLite": 2, "WxApp": 3, "WxNative": 4, "AlipayPc": 5, "AlipayWap": 6, "AlipayQr": 7, "AlipayBar": 8, } )
Enum value maps for PayChannel.
var ( RetCode_name = map[int32]string{ 0: "SUCCESS", 500: "ERROR", 7000003: "TRADE_UUID_EMPTY", } RetCode_value = map[string]int32{ "SUCCESS": 0, "ERROR": 500, "TRADE_UUID_EMPTY": 7000003, } )
Enum value maps for RetCode.
var File_pay_proto protoreflect.FileDescriptor
    var Pay_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pay.Pay", HandlerType: (*PayServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "initDatabase", Handler: _Pay_InitDatabase_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: "refundDemoOrder", Handler: _Pay_RefundDemoOrder_Handler, }, { MethodName: "updateDemoRefundPaid", Handler: _Pay_UpdateDemoRefundPaid_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: "submitPayOrder", Handler: _Pay_SubmitPayOrder_Handler, }, { MethodName: "createRefund", Handler: _Pay_CreateRefund_Handler, }, { MethodName: "getRefundPage", Handler: _Pay_GetRefundPage_Handler, }, { MethodName: "getRefundById", Handler: _Pay_GetRefundById_Handler, }, { MethodName: "notifyRefund", Handler: _Pay_NotifyRefund_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 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) ProtoMessage ¶
func (*BaseMsg) ProtoMessage()
func (*BaseMsg) ProtoReflect ¶
func (x *BaseMsg) ProtoReflect() protoreflect.Message
type BaseResp ¶
type BaseResp struct {
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*BaseResp) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*BaseResp) ProtoMessage ¶
func (*BaseResp) ProtoMessage()
func (*BaseResp) ProtoReflect ¶
func (x *BaseResp) ProtoReflect() protoreflect.Message
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 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) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*IDReq) ProtoMessage()
func (*IDReq) ProtoReflect ¶
func (x *IDReq) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*IDsReq) ProtoMessage()
func (*IDsReq) ProtoReflect ¶
func (x *IDsReq) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*NoReq) ProtoMessage()
func (*NoReq) ProtoReflect ¶
func (x *NoReq) ProtoReflect() protoreflect.Message
type NotifyOrderReq ¶
type NotifyOrderReq struct {
	R    []byte `protobuf:"bytes,1,opt,name=r,proto3" json:"r,omitempty"`
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*NotifyOrderReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*NotifyOrderReq) Descriptor() ([]byte, []int)
Deprecated: Use NotifyOrderReq.ProtoReflect.Descriptor instead.
func (*NotifyOrderReq) GetCode ¶ added in v1.1.0
func (x *NotifyOrderReq) GetCode() string
func (*NotifyOrderReq) GetR ¶ added in v1.1.0
func (x *NotifyOrderReq) GetR() []byte
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 NotifyRefundReq ¶ added in v1.1.0
type NotifyRefundReq struct {
	Status            uint32 `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
	OutRefundNo       string `protobuf:"bytes,2,opt,name=OutRefundNo,proto3" json:"OutRefundNo,omitempty"`
	ChannelRefundNo   string `protobuf:"bytes,3,opt,name=ChannelRefundNo,proto3" json:"ChannelRefundNo,omitempty"`
	SuccessTime       int64  `protobuf:"varint,4,opt,name=SuccessTime,proto3" json:"SuccessTime,omitempty"`
	ChannelNotifyData string `protobuf:"bytes,5,opt,name=ChannelNotifyData,proto3" json:"ChannelNotifyData,omitempty"`
	ChannelErrorCode  string `protobuf:"bytes,6,opt,name=ChannelErrorCode,proto3" json:"ChannelErrorCode,omitempty"`
	ChannelErrorMsg   string `protobuf:"bytes,7,opt,name=ChannelErrorMsg,proto3" json:"ChannelErrorMsg,omitempty"`
	ChannelCode       string `protobuf:"bytes,8,opt,name=channelCode,proto3" json:"channelCode,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*NotifyRefundReq) Descriptor
            deprecated
            
          
  
    
      added in
      v1.1.0
    
  
      
      func (*NotifyRefundReq) Descriptor() ([]byte, []int)
Deprecated: Use NotifyRefundReq.ProtoReflect.Descriptor instead.
func (*NotifyRefundReq) GetChannelCode ¶ added in v1.1.0
func (x *NotifyRefundReq) GetChannelCode() string
func (*NotifyRefundReq) GetChannelErrorCode ¶ added in v1.1.0
func (x *NotifyRefundReq) GetChannelErrorCode() string
func (*NotifyRefundReq) GetChannelErrorMsg ¶ added in v1.1.0
func (x *NotifyRefundReq) GetChannelErrorMsg() string
func (*NotifyRefundReq) GetChannelNotifyData ¶ added in v1.1.0
func (x *NotifyRefundReq) GetChannelNotifyData() string
func (*NotifyRefundReq) GetChannelRefundNo ¶ added in v1.1.0
func (x *NotifyRefundReq) GetChannelRefundNo() string
func (*NotifyRefundReq) GetOutRefundNo ¶ added in v1.1.0
func (x *NotifyRefundReq) GetOutRefundNo() string
func (*NotifyRefundReq) GetStatus ¶ added in v1.1.0
func (x *NotifyRefundReq) GetStatus() uint32
func (*NotifyRefundReq) GetSuccessTime ¶ added in v1.1.0
func (x *NotifyRefundReq) GetSuccessTime() int64
func (*NotifyRefundReq) ProtoMessage ¶ added in v1.1.0
func (*NotifyRefundReq) ProtoMessage()
func (*NotifyRefundReq) ProtoReflect ¶ added in v1.1.0
func (x *NotifyRefundReq) ProtoReflect() protoreflect.Message
func (*NotifyRefundReq) Reset ¶ added in v1.1.0
func (x *NotifyRefundReq) Reset()
func (*NotifyRefundReq) String ¶ added in v1.1.0
func (x *NotifyRefundReq) 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"`
	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) 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 {
	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"`
	NotifyBusinessUrl string `protobuf:"bytes,8,opt,name=notifyBusinessUrl,proto3" json:"notifyBusinessUrl,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*OrderCreateReq) Descriptor
            deprecated
            
          
  
    
  
      
      func (*OrderCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use OrderCreateReq.ProtoReflect.Descriptor instead.
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) GetNotifyBusinessUrl ¶ added in v1.1.0
func (x *OrderCreateReq) GetNotifyBusinessUrl() 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"`
	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) 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"`
	ChannelCode     *string  `protobuf:"bytes,5,opt,name=channel_code,json=channelCode,proto3,oneof" json:"channel_code,omitempty"`
	MerchantOrderId *string  `protobuf:"bytes,6,opt,name=merchant_order_id,json=merchantOrderId,proto3,oneof" json:"merchant_order_id,omitempty"`
	Subject         *string  `protobuf:"bytes,7,opt,name=subject,proto3,oneof" json:"subject,omitempty"`
	Body            *string  `protobuf:"bytes,8,opt,name=body,proto3,oneof" json:"body,omitempty"`
	Price           *int32   `protobuf:"varint,9,opt,name=price,proto3,oneof" json:"price,omitempty"`
	ChannelFeeRate  *float64 `protobuf:"fixed64,10,opt,name=channel_fee_rate,json=channelFeeRate,proto3,oneof" json:"channel_fee_rate,omitempty"`
	ChannelFeePrice *int32   `protobuf:"varint,11,opt,name=channel_fee_price,json=channelFeePrice,proto3,oneof" json:"channel_fee_price,omitempty"`
	UserIp          *string  `protobuf:"bytes,12,opt,name=user_ip,json=userIp,proto3,oneof" json:"user_ip,omitempty"`
	ExpireTime      *int64   `protobuf:"varint,13,opt,name=expire_time,json=expireTime,proto3,oneof" json:"expire_time,omitempty"`
	SuccessTime     *int64   `protobuf:"varint,14,opt,name=success_time,json=successTime,proto3,oneof" json:"success_time,omitempty"`
	NotifyTime      *int64   `protobuf:"varint,15,opt,name=notify_time,json=notifyTime,proto3,oneof" json:"notify_time,omitempty"`
	ExtensionId     *uint64  `protobuf:"varint,16,opt,name=extension_id,json=extensionId,proto3,oneof" json:"extension_id,omitempty"`
	No              *string  `protobuf:"bytes,17,opt,name=no,proto3,oneof" json:"no,omitempty"`
	RefundPrice     *int32   `protobuf:"varint,18,opt,name=refund_price,json=refundPrice,proto3,oneof" json:"refund_price,omitempty"`
	ChannelUserId   *string  `protobuf:"bytes,19,opt,name=channel_user_id,json=channelUserId,proto3,oneof" json:"channel_user_id,omitempty"`
	ChannelOrderNo  *string  `protobuf:"bytes,20,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) GetChannelCode ¶
func (*OrderInfo) GetChannelFeePrice ¶
func (*OrderInfo) GetChannelFeeRate ¶
func (*OrderInfo) GetChannelOrderNo ¶
func (*OrderInfo) GetChannelUserId ¶
func (*OrderInfo) GetCreatedAt ¶
func (*OrderInfo) GetExpireTime ¶
func (*OrderInfo) GetExtensionId ¶
func (*OrderInfo) GetMerchantOrderId ¶
func (*OrderInfo) GetNotifyTime ¶
func (*OrderInfo) GetRefundPrice ¶
func (*OrderInfo) GetSubject ¶
func (*OrderInfo) GetSuccessTime ¶
func (*OrderInfo) GetUpdatedAt ¶
func (*OrderInfo) ProtoMessage ¶
func (*OrderInfo) ProtoMessage()
func (*OrderInfo) ProtoReflect ¶
func (x *OrderInfo) ProtoReflect() protoreflect.Message
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"`
	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) 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 OrderSubmitReq ¶ added in v1.1.0
type OrderSubmitReq struct {
	Id            uint64            `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	ChannelCode   string            `protobuf:"bytes,2,opt,name=ChannelCode,proto3" json:"ChannelCode,omitempty"`
	ChannelExtras map[string]string `` /* 167-byte string literal not displayed */
	DisplayMode   string            `protobuf:"bytes,4,opt,name=DisplayMode,proto3" json:"DisplayMode,omitempty"`
	ReturnUrl     string            `protobuf:"bytes,5,opt,name=ReturnUrl,proto3" json:"ReturnUrl,omitempty"`
	UserIP        string            `protobuf:"bytes,6,opt,name=UserIP,proto3" json:"UserIP,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*OrderSubmitReq) Descriptor
            deprecated
            
          
  
    
      added in
      v1.1.0
    
  
      
      func (*OrderSubmitReq) Descriptor() ([]byte, []int)
Deprecated: Use OrderSubmitReq.ProtoReflect.Descriptor instead.
func (*OrderSubmitReq) GetChannelCode ¶ added in v1.1.0
func (x *OrderSubmitReq) GetChannelCode() string
func (*OrderSubmitReq) GetChannelExtras ¶ added in v1.1.0
func (x *OrderSubmitReq) GetChannelExtras() map[string]string
func (*OrderSubmitReq) GetDisplayMode ¶ added in v1.1.0
func (x *OrderSubmitReq) GetDisplayMode() string
func (*OrderSubmitReq) GetId ¶ added in v1.1.0
func (x *OrderSubmitReq) GetId() uint64
func (*OrderSubmitReq) GetReturnUrl ¶ added in v1.1.0
func (x *OrderSubmitReq) GetReturnUrl() string
func (*OrderSubmitReq) GetUserIP ¶ added in v1.1.0
func (x *OrderSubmitReq) GetUserIP() string
func (*OrderSubmitReq) ProtoMessage ¶ added in v1.1.0
func (*OrderSubmitReq) ProtoMessage()
func (*OrderSubmitReq) ProtoReflect ¶ added in v1.1.0
func (x *OrderSubmitReq) ProtoReflect() protoreflect.Message
func (*OrderSubmitReq) Reset ¶ added in v1.1.0
func (x *OrderSubmitReq) Reset()
func (*OrderSubmitReq) String ¶ added in v1.1.0
func (x *OrderSubmitReq) String() string
type OrderSubmitResp ¶ added in v1.1.0
type OrderSubmitResp struct {
	Status         uint32  `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
	DisplayMode    *string `protobuf:"bytes,2,opt,name=DisplayMode,proto3,oneof" json:"DisplayMode,omitempty"`
	DisplayContent *string `protobuf:"bytes,3,opt,name=DisplayContent,proto3,oneof" json:"DisplayContent,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*OrderSubmitResp) Descriptor
            deprecated
            
          
  
    
      added in
      v1.1.0
    
  
      
      func (*OrderSubmitResp) Descriptor() ([]byte, []int)
Deprecated: Use OrderSubmitResp.ProtoReflect.Descriptor instead.
func (*OrderSubmitResp) GetDisplayContent ¶ added in v1.1.0
func (x *OrderSubmitResp) GetDisplayContent() string
func (*OrderSubmitResp) GetDisplayMode ¶ added in v1.1.0
func (x *OrderSubmitResp) GetDisplayMode() string
func (*OrderSubmitResp) GetStatus ¶ added in v1.1.0
func (x *OrderSubmitResp) GetStatus() uint32
func (*OrderSubmitResp) ProtoMessage ¶ added in v1.1.0
func (*OrderSubmitResp) ProtoMessage()
func (*OrderSubmitResp) ProtoReflect ¶ added in v1.1.0
func (x *OrderSubmitResp) ProtoReflect() protoreflect.Message
func (*OrderSubmitResp) Reset ¶ added in v1.1.0
func (x *OrderSubmitResp) Reset()
func (*OrderSubmitResp) String ¶ added in v1.1.0
func (x *OrderSubmitResp) 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 PayChannel ¶ added in v1.1.0
type PayChannel int32
const ( PayChannel_ChannelUnknown PayChannel = 0 PayChannel_WxPub PayChannel = 1 PayChannel_WxLite PayChannel = 2 PayChannel_WxApp PayChannel = 3 PayChannel_WxNative PayChannel = 4 PayChannel_AlipayPc PayChannel = 5 PayChannel_AlipayWap PayChannel = 6 PayChannel_AlipayQr PayChannel = 7 PayChannel_AlipayBar PayChannel = 8 )
func (PayChannel) Descriptor ¶ added in v1.1.0
func (PayChannel) Descriptor() protoreflect.EnumDescriptor
func (PayChannel) Enum ¶ added in v1.1.0
func (x PayChannel) Enum() *PayChannel
        
          
            func (PayChannel) EnumDescriptor
            deprecated
            
          
  
    
      added in
      v1.1.0
    
  
      
      func (PayChannel) EnumDescriptor() ([]byte, []int)
Deprecated: Use PayChannel.Descriptor instead.
func (PayChannel) Number ¶ added in v1.1.0
func (x PayChannel) Number() protoreflect.EnumNumber
func (PayChannel) String ¶ added in v1.1.0
func (x PayChannel) String() string
func (PayChannel) Type ¶ added in v1.1.0
func (PayChannel) Type() protoreflect.EnumType
type PayClient ¶
type PayClient interface {
	// group: base
	InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, 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)
	// group: demo
	RefundDemoOrder(ctx context.Context, in *RefundDemoOrderReq, opts ...grpc.CallOption) (*BaseResp, error)
	// group: demo
	UpdateDemoRefundPaid(ctx context.Context, in *UpdateDemoRefundPaidReq, 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
	SubmitPayOrder(ctx context.Context, in *OrderSubmitReq, opts ...grpc.CallOption) (*OrderSubmitResp, 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)
	// group: refund
	NotifyRefund(ctx context.Context, in *NotifyRefundReq, opts ...grpc.CallOption) (*BaseResp, 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 {
	// group: base
	InitDatabase(context.Context, *Empty) (*BaseResp, 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)
	// group: demo
	RefundDemoOrder(context.Context, *RefundDemoOrderReq) (*BaseResp, error)
	// group: demo
	UpdateDemoRefundPaid(context.Context, *UpdateDemoRefundPaidReq) (*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
	SubmitPayOrder(context.Context, *OrderSubmitReq) (*OrderSubmitResp, 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)
	// group: refund
	NotifyRefund(context.Context, *NotifyRefundReq) (*BaseResp, error)
	// contains filtered or unexported methods
}
    PayServer is the server API for Pay service. All implementations must embed UnimplementedPayServer for forward compatibility
type PayStatus ¶ added in v1.1.0
type PayStatus int32
base message
func (PayStatus) Descriptor ¶ added in v1.1.0
func (PayStatus) Descriptor() protoreflect.EnumDescriptor
        
          
            func (PayStatus) EnumDescriptor
            deprecated
            
          
  
    
      added in
      v1.1.0
    
  
      
      
    func (PayStatus) Number ¶ added in v1.1.0
func (x PayStatus) Number() protoreflect.EnumNumber
func (PayStatus) Type ¶ added in v1.1.0
func (PayStatus) Type() protoreflect.EnumType
type PayType ¶ added in v1.1.0
type PayType int32
func (PayType) Descriptor ¶ added in v1.1.0
func (PayType) Descriptor() protoreflect.EnumDescriptor
        
          
            func (PayType) EnumDescriptor
            deprecated
            
          
  
    
      added in
      v1.1.0
    
  
      
      
    func (PayType) Number ¶ added in v1.1.0
func (x PayType) Number() protoreflect.EnumNumber
func (PayType) Type ¶ added in v1.1.0
func (PayType) Type() protoreflect.EnumType
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 {
	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) 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 RefundDemoOrderReq ¶ added in v1.1.0
type RefundDemoOrderReq struct {
	Id     uint64 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"`
	UserIp string `protobuf:"bytes,3,opt,name=userIp,proto3" json:"userIp,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*RefundDemoOrderReq) Descriptor
            deprecated
            
          
  
    
      added in
      v1.1.0
    
  
      
      func (*RefundDemoOrderReq) Descriptor() ([]byte, []int)
Deprecated: Use RefundDemoOrderReq.ProtoReflect.Descriptor instead.
func (*RefundDemoOrderReq) GetId ¶ added in v1.1.0
func (x *RefundDemoOrderReq) GetId() uint64
func (*RefundDemoOrderReq) GetUserIp ¶ added in v1.1.0
func (x *RefundDemoOrderReq) GetUserIp() string
func (*RefundDemoOrderReq) ProtoMessage ¶ added in v1.1.0
func (*RefundDemoOrderReq) ProtoMessage()
func (*RefundDemoOrderReq) ProtoReflect ¶ added in v1.1.0
func (x *RefundDemoOrderReq) ProtoReflect() protoreflect.Message
func (*RefundDemoOrderReq) Reset ¶ added in v1.1.0
func (x *RefundDemoOrderReq) Reset()
func (*RefundDemoOrderReq) String ¶ added in v1.1.0
func (x *RefundDemoOrderReq) 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"`
	ChannelCode       *string `protobuf:"bytes,6,opt,name=channel_code,json=channelCode,proto3,oneof" json:"channel_code,omitempty"`
	OrderId           *uint64 `protobuf:"varint,7,opt,name=order_id,json=orderId,proto3,oneof" json:"order_id,omitempty"`
	OrderNo           *string `protobuf:"bytes,8,opt,name=order_no,json=orderNo,proto3,oneof" json:"order_no,omitempty"`
	MerchantOrderId   *string `protobuf:"bytes,9,opt,name=merchant_order_id,json=merchantOrderId,proto3,oneof" json:"merchant_order_id,omitempty"`
	MerchantRefundId  *string `protobuf:"bytes,10,opt,name=merchant_refund_id,json=merchantRefundId,proto3,oneof" json:"merchant_refund_id,omitempty"`
	PayPrice          *int32  `protobuf:"varint,11,opt,name=pay_price,json=payPrice,proto3,oneof" json:"pay_price,omitempty"`
	RefundPrice       *int32  `protobuf:"varint,12,opt,name=refund_price,json=refundPrice,proto3,oneof" json:"refund_price,omitempty"`
	Reason            *string `protobuf:"bytes,13,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	UserIp            *string `protobuf:"bytes,14,opt,name=user_ip,json=userIp,proto3,oneof" json:"user_ip,omitempty"`
	ChannelOrderNo    *string `protobuf:"bytes,15,opt,name=channel_order_no,json=channelOrderNo,proto3,oneof" json:"channel_order_no,omitempty"`
	ChannelRefundNo   *string `protobuf:"bytes,16,opt,name=channel_refund_no,json=channelRefundNo,proto3,oneof" json:"channel_refund_no,omitempty"`
	SuccessTime       *int64  `protobuf:"varint,17,opt,name=success_time,json=successTime,proto3,oneof" json:"success_time,omitempty"`
	ChannelErrorCode  *string `protobuf:"bytes,18,opt,name=channel_error_code,json=channelErrorCode,proto3,oneof" json:"channel_error_code,omitempty"`
	ChannelErrorMsg   *string `protobuf:"bytes,19,opt,name=channel_error_msg,json=channelErrorMsg,proto3,oneof" json:"channel_error_msg,omitempty"`
	ChannelNotifyData *string `protobuf:"bytes,20,opt,name=channel_notify_data,json=channelNotifyData,proto3,oneof" json:"channel_notify_data,omitempty"`
	// contains filtered or unexported fields
}
    refund message
        
          
            func (*RefundInfo) Descriptor
            deprecated
            
          
  
    
  
      
      func (*RefundInfo) Descriptor() ([]byte, []int)
Deprecated: Use RefundInfo.ProtoReflect.Descriptor instead.
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) 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) 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 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"`
	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           *uint32 `protobuf:"varint,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) 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() uint32
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 RetCode ¶ added in v1.1.0
type RetCode int32
TODO 给返回消息加上状态码? 暂时没想好怎么用。
func (RetCode) Descriptor ¶ added in v1.1.0
func (RetCode) Descriptor() protoreflect.EnumDescriptor
        
          
            func (RetCode) EnumDescriptor
            deprecated
            
          
  
    
      added in
      v1.1.0
    
  
      
      
    func (RetCode) Number ¶ added in v1.1.0
func (x RetCode) Number() protoreflect.EnumNumber
func (RetCode) Type ¶ added in v1.1.0
func (RetCode) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*UUIDReq) ProtoMessage()
func (*UUIDReq) ProtoReflect ¶
func (x *UUIDReq) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*UUIDsReq) ProtoMessage()
func (*UUIDsReq) ProtoReflect ¶
func (x *UUIDsReq) ProtoReflect() protoreflect.Message
type UnimplementedPayServer ¶
type UnimplementedPayServer struct {
}
    UnimplementedPayServer must be embedded to have forward compatible implementations.
func (UnimplementedPayServer) CreateDemoOrder ¶
func (UnimplementedPayServer) CreateDemoOrder(context.Context, *PayDemoOrderCreateReq) (*BaseIDResp, error)
func (UnimplementedPayServer) CreateOrder ¶
func (UnimplementedPayServer) CreateOrder(context.Context, *OrderCreateReq) (*BaseIDResp, error)
func (UnimplementedPayServer) CreateOrderExtension ¶
func (UnimplementedPayServer) CreateOrderExtension(context.Context, *OrderCreateExtensionReq) (*BaseIDResp, error)
func (UnimplementedPayServer) CreateRefund ¶
func (UnimplementedPayServer) CreateRefund(context.Context, *RefundCreateReq) (*BaseIDResp, error)
func (UnimplementedPayServer) GetDemoOrder ¶
func (UnimplementedPayServer) GetDemoOrder(context.Context, *IDReq) (*DemoOrderInfo, error)
func (UnimplementedPayServer) GetListDemoOrder ¶
func (UnimplementedPayServer) GetListDemoOrder(context.Context, *DemoOrderPageReq) (*DemoOrderListResp, error)
func (UnimplementedPayServer) GetOrderExtension ¶
func (UnimplementedPayServer) GetOrderExtension(context.Context, *IDReq) (*OrderExtensionInfo, error)
func (UnimplementedPayServer) GetOrderPage ¶
func (UnimplementedPayServer) GetOrderPage(context.Context, *OrderPageReq) (*OrderListResp, error)
func (UnimplementedPayServer) GetRefundById ¶
func (UnimplementedPayServer) GetRefundById(context.Context, *IDReq) (*RefundInfo, error)
func (UnimplementedPayServer) GetRefundPage ¶
func (UnimplementedPayServer) GetRefundPage(context.Context, *RefundPageReq) (*RefundPageResp, error)
func (UnimplementedPayServer) InitDatabase ¶
func (UnimplementedPayServer) NotifyOrder ¶
func (UnimplementedPayServer) NotifyOrder(context.Context, *NotifyOrderReq) (*BaseResp, error)
func (UnimplementedPayServer) NotifyRefund ¶ added in v1.1.0
func (UnimplementedPayServer) NotifyRefund(context.Context, *NotifyRefundReq) (*BaseResp, error)
func (UnimplementedPayServer) RefundDemoOrder ¶ added in v1.1.0
func (UnimplementedPayServer) RefundDemoOrder(context.Context, *RefundDemoOrderReq) (*BaseResp, error)
func (UnimplementedPayServer) SubmitPayOrder ¶ added in v1.1.0
func (UnimplementedPayServer) SubmitPayOrder(context.Context, *OrderSubmitReq) (*OrderSubmitResp, error)
func (UnimplementedPayServer) UpdateDemoOrderPaid ¶
func (UnimplementedPayServer) UpdateDemoOrderPaid(context.Context, *UpdateDemoOrderPaidReq) (*BaseResp, error)
func (UnimplementedPayServer) UpdateDemoRefundPaid ¶ added in v1.1.0
func (UnimplementedPayServer) UpdateDemoRefundPaid(context.Context, *UpdateDemoRefundPaidReq) (*BaseResp, 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 UpdateDemoRefundPaidReq ¶ added in v1.1.0
type UpdateDemoRefundPaidReq struct {
	Id          uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	PayRefundId uint64 `protobuf:"varint,2,opt,name=payRefundId,proto3" json:"payRefundId,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*UpdateDemoRefundPaidReq) Descriptor
            deprecated
            
          
  
    
      added in
      v1.1.0
    
  
      
      func (*UpdateDemoRefundPaidReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDemoRefundPaidReq.ProtoReflect.Descriptor instead.
func (*UpdateDemoRefundPaidReq) GetId ¶ added in v1.1.0
func (x *UpdateDemoRefundPaidReq) GetId() uint64
func (*UpdateDemoRefundPaidReq) GetPayRefundId ¶ added in v1.1.0
func (x *UpdateDemoRefundPaidReq) GetPayRefundId() uint64
func (*UpdateDemoRefundPaidReq) ProtoMessage ¶ added in v1.1.0
func (*UpdateDemoRefundPaidReq) ProtoMessage()
func (*UpdateDemoRefundPaidReq) ProtoReflect ¶ added in v1.1.0
func (x *UpdateDemoRefundPaidReq) ProtoReflect() protoreflect.Message
func (*UpdateDemoRefundPaidReq) Reset ¶ added in v1.1.0
func (x *UpdateDemoRefundPaidReq) Reset()
func (*UpdateDemoRefundPaidReq) String ¶ added in v1.1.0
func (x *UpdateDemoRefundPaidReq) String() string