Documentation ¶
Index ¶
- func RegisterWechatPaymentCallbackServiceServer(s *grpc.Server, srv WechatPaymentCallbackServiceServer)
- type CloseWxPrepayOrderRequest
- func (*CloseWxPrepayOrderRequest) Descriptor() ([]byte, []int)
- func (m *CloseWxPrepayOrderRequest) GetTradeId() string
- func (*CloseWxPrepayOrderRequest) ProtoMessage()
- func (m *CloseWxPrepayOrderRequest) Reset()
- func (m *CloseWxPrepayOrderRequest) String() string
- func (m *CloseWxPrepayOrderRequest) XXX_DiscardUnknown()
- func (m *CloseWxPrepayOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CloseWxPrepayOrderRequest) XXX_Merge(src proto.Message)
- func (m *CloseWxPrepayOrderRequest) XXX_Size() int
- func (m *CloseWxPrepayOrderRequest) XXX_Unmarshal(b []byte) error
- type CloseWxPrepayOrderResponse
- func (*CloseWxPrepayOrderResponse) Descriptor() ([]byte, []int)
- func (*CloseWxPrepayOrderResponse) ProtoMessage()
- func (m *CloseWxPrepayOrderResponse) Reset()
- func (m *CloseWxPrepayOrderResponse) String() string
- func (m *CloseWxPrepayOrderResponse) XXX_DiscardUnknown()
- func (m *CloseWxPrepayOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CloseWxPrepayOrderResponse) XXX_Merge(src proto.Message)
- func (m *CloseWxPrepayOrderResponse) XXX_Size() int
- func (m *CloseWxPrepayOrderResponse) XXX_Unmarshal(b []byte) error
- type MakeNewPlatformTradeIdRequest
- func (*MakeNewPlatformTradeIdRequest) Descriptor() ([]byte, []int)
- func (m *MakeNewPlatformTradeIdRequest) GetAppId() string
- func (m *MakeNewPlatformTradeIdRequest) GetPayerUid() string
- func (*MakeNewPlatformTradeIdRequest) ProtoMessage()
- func (m *MakeNewPlatformTradeIdRequest) Reset()
- func (m *MakeNewPlatformTradeIdRequest) String() string
- func (m *MakeNewPlatformTradeIdRequest) XXX_DiscardUnknown()
- func (m *MakeNewPlatformTradeIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MakeNewPlatformTradeIdRequest) XXX_Merge(src proto.Message)
- func (m *MakeNewPlatformTradeIdRequest) XXX_Size() int
- func (m *MakeNewPlatformTradeIdRequest) XXX_Unmarshal(b []byte) error
- type MakeNewPlatformTradeIdResponse
- func (*MakeNewPlatformTradeIdResponse) Descriptor() ([]byte, []int)
- func (m *MakeNewPlatformTradeIdResponse) GetTradeId() string
- func (*MakeNewPlatformTradeIdResponse) ProtoMessage()
- func (m *MakeNewPlatformTradeIdResponse) Reset()
- func (m *MakeNewPlatformTradeIdResponse) String() string
- func (m *MakeNewPlatformTradeIdResponse) XXX_DiscardUnknown()
- func (m *MakeNewPlatformTradeIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MakeNewPlatformTradeIdResponse) XXX_Merge(src proto.Message)
- func (m *MakeNewPlatformTradeIdResponse) XXX_Size() int
- func (m *MakeNewPlatformTradeIdResponse) XXX_Unmarshal(b []byte) error
- type MakeNewWxPrepayOrderRequest
- func (*MakeNewWxPrepayOrderRequest) Descriptor() ([]byte, []int)
- func (m *MakeNewWxPrepayOrderRequest) GetAppId() string
- func (m *MakeNewWxPrepayOrderRequest) GetItemAmountTotal() int64
- func (m *MakeNewWxPrepayOrderRequest) GetItemDescription() string
- func (m *MakeNewWxPrepayOrderRequest) GetPayerUid() string
- func (m *MakeNewWxPrepayOrderRequest) GetTradeId() string
- func (*MakeNewWxPrepayOrderRequest) ProtoMessage()
- func (m *MakeNewWxPrepayOrderRequest) Reset()
- func (m *MakeNewWxPrepayOrderRequest) String() string
- func (m *MakeNewWxPrepayOrderRequest) XXX_DiscardUnknown()
- func (m *MakeNewWxPrepayOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MakeNewWxPrepayOrderRequest) XXX_Merge(src proto.Message)
- func (m *MakeNewWxPrepayOrderRequest) XXX_Size() int
- func (m *MakeNewWxPrepayOrderRequest) XXX_Unmarshal(b []byte) error
- type MakeNewWxPrepayOrderResponse
- func (*MakeNewWxPrepayOrderResponse) Descriptor() ([]byte, []int)
- func (m *MakeNewWxPrepayOrderResponse) GetParams() *WxRequestPaymentParams
- func (*MakeNewWxPrepayOrderResponse) ProtoMessage()
- func (m *MakeNewWxPrepayOrderResponse) Reset()
- func (m *MakeNewWxPrepayOrderResponse) String() string
- func (m *MakeNewWxPrepayOrderResponse) XXX_DiscardUnknown()
- func (m *MakeNewWxPrepayOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MakeNewWxPrepayOrderResponse) XXX_Merge(src proto.Message)
- func (m *MakeNewWxPrepayOrderResponse) XXX_Size() int
- func (m *MakeNewWxPrepayOrderResponse) XXX_Unmarshal(b []byte) error
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)
- func (*PingRequest) ProtoMessage()
- func (m *PingRequest) Reset()
- func (m *PingRequest) String() string
- func (m *PingRequest) XXX_DiscardUnknown()
- func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PingRequest) XXX_Merge(src proto.Message)
- func (m *PingRequest) XXX_Size() int
- func (m *PingRequest) XXX_Unmarshal(b []byte) error
- type PongResponse
- func (*PongResponse) Descriptor() ([]byte, []int)
- func (*PongResponse) ProtoMessage()
- func (m *PongResponse) Reset()
- func (m *PongResponse) String() string
- func (m *PongResponse) XXX_DiscardUnknown()
- func (m *PongResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PongResponse) XXX_Merge(src proto.Message)
- func (m *PongResponse) XXX_Size() int
- func (m *PongResponse) XXX_Unmarshal(b []byte) error
- type QueryWxPaymentStatusRequest
- func (*QueryWxPaymentStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryWxPaymentStatusRequest) GetTradeId() string
- func (*QueryWxPaymentStatusRequest) ProtoMessage()
- func (m *QueryWxPaymentStatusRequest) Reset()
- func (m *QueryWxPaymentStatusRequest) String() string
- func (m *QueryWxPaymentStatusRequest) XXX_DiscardUnknown()
- func (m *QueryWxPaymentStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *QueryWxPaymentStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryWxPaymentStatusRequest) XXX_Size() int
- func (m *QueryWxPaymentStatusRequest) XXX_Unmarshal(b []byte) error
- type QueryWxPaymentStatusResponse
- func (*QueryWxPaymentStatusResponse) Descriptor() ([]byte, []int)
- func (m *QueryWxPaymentStatusResponse) GetAppId() string
- func (m *QueryWxPaymentStatusResponse) GetSuccessTime() string
- func (m *QueryWxPaymentStatusResponse) GetTradeId() string
- func (m *QueryWxPaymentStatusResponse) GetTradeState() string
- func (m *QueryWxPaymentStatusResponse) GetTradeType() string
- func (m *QueryWxPaymentStatusResponse) GetTrxId() string
- func (*QueryWxPaymentStatusResponse) ProtoMessage()
- func (m *QueryWxPaymentStatusResponse) Reset()
- func (m *QueryWxPaymentStatusResponse) String() string
- func (m *QueryWxPaymentStatusResponse) XXX_DiscardUnknown()
- func (m *QueryWxPaymentStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *QueryWxPaymentStatusResponse) XXX_Merge(src proto.Message)
- func (m *QueryWxPaymentStatusResponse) XXX_Size() int
- func (m *QueryWxPaymentStatusResponse) XXX_Unmarshal(b []byte) error
- type WechatPaymentCallbackServiceClient
- type WechatPaymentCallbackServiceServer
- type WxRequestPaymentParams
- func (*WxRequestPaymentParams) Descriptor() ([]byte, []int)
- func (m *WxRequestPaymentParams) GetNonce() string
- func (m *WxRequestPaymentParams) GetPackage() string
- func (m *WxRequestPaymentParams) GetPaySign() string
- func (m *WxRequestPaymentParams) GetSignType() string
- func (m *WxRequestPaymentParams) GetTimestamp() int64
- func (*WxRequestPaymentParams) ProtoMessage()
- func (m *WxRequestPaymentParams) Reset()
- func (m *WxRequestPaymentParams) String() string
- func (m *WxRequestPaymentParams) XXX_DiscardUnknown()
- func (m *WxRequestPaymentParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WxRequestPaymentParams) XXX_Merge(src proto.Message)
- func (m *WxRequestPaymentParams) XXX_Size() int
- func (m *WxRequestPaymentParams) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWechatPaymentCallbackServiceServer ¶
func RegisterWechatPaymentCallbackServiceServer(s *grpc.Server, srv WechatPaymentCallbackServiceServer)
Types ¶
type CloseWxPrepayOrderRequest ¶
type CloseWxPrepayOrderRequest struct { // 由系统生成的平台订单交易ID TradeId string `protobuf:"bytes,1,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloseWxPrepayOrderRequest) Descriptor ¶
func (*CloseWxPrepayOrderRequest) Descriptor() ([]byte, []int)
func (*CloseWxPrepayOrderRequest) GetTradeId ¶
func (m *CloseWxPrepayOrderRequest) GetTradeId() string
func (*CloseWxPrepayOrderRequest) ProtoMessage ¶
func (*CloseWxPrepayOrderRequest) ProtoMessage()
func (*CloseWxPrepayOrderRequest) Reset ¶
func (m *CloseWxPrepayOrderRequest) Reset()
func (*CloseWxPrepayOrderRequest) String ¶
func (m *CloseWxPrepayOrderRequest) String() string
func (*CloseWxPrepayOrderRequest) XXX_DiscardUnknown ¶
func (m *CloseWxPrepayOrderRequest) XXX_DiscardUnknown()
func (*CloseWxPrepayOrderRequest) XXX_Marshal ¶
func (m *CloseWxPrepayOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseWxPrepayOrderRequest) XXX_Merge ¶
func (dst *CloseWxPrepayOrderRequest) XXX_Merge(src proto.Message)
func (*CloseWxPrepayOrderRequest) XXX_Size ¶
func (m *CloseWxPrepayOrderRequest) XXX_Size() int
func (*CloseWxPrepayOrderRequest) XXX_Unmarshal ¶
func (m *CloseWxPrepayOrderRequest) XXX_Unmarshal(b []byte) error
type CloseWxPrepayOrderResponse ¶
type CloseWxPrepayOrderResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloseWxPrepayOrderResponse) Descriptor ¶
func (*CloseWxPrepayOrderResponse) Descriptor() ([]byte, []int)
func (*CloseWxPrepayOrderResponse) ProtoMessage ¶
func (*CloseWxPrepayOrderResponse) ProtoMessage()
func (*CloseWxPrepayOrderResponse) Reset ¶
func (m *CloseWxPrepayOrderResponse) Reset()
func (*CloseWxPrepayOrderResponse) String ¶
func (m *CloseWxPrepayOrderResponse) String() string
func (*CloseWxPrepayOrderResponse) XXX_DiscardUnknown ¶
func (m *CloseWxPrepayOrderResponse) XXX_DiscardUnknown()
func (*CloseWxPrepayOrderResponse) XXX_Marshal ¶
func (m *CloseWxPrepayOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseWxPrepayOrderResponse) XXX_Merge ¶
func (dst *CloseWxPrepayOrderResponse) XXX_Merge(src proto.Message)
func (*CloseWxPrepayOrderResponse) XXX_Size ¶
func (m *CloseWxPrepayOrderResponse) XXX_Size() int
func (*CloseWxPrepayOrderResponse) XXX_Unmarshal ¶
func (m *CloseWxPrepayOrderResponse) XXX_Unmarshal(b []byte) error
type MakeNewPlatformTradeIdRequest ¶
type MakeNewPlatformTradeIdRequest struct { // 由微信官方给定的应用ID AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 由微信官方给定的用户唯一标识 PayerUid string `protobuf:"bytes,2,opt,name=payer_uid,json=payerUid,proto3" json:"payer_uid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MakeNewPlatformTradeIdRequest) Descriptor ¶
func (*MakeNewPlatformTradeIdRequest) Descriptor() ([]byte, []int)
func (*MakeNewPlatformTradeIdRequest) GetAppId ¶
func (m *MakeNewPlatformTradeIdRequest) GetAppId() string
func (*MakeNewPlatformTradeIdRequest) GetPayerUid ¶
func (m *MakeNewPlatformTradeIdRequest) GetPayerUid() string
func (*MakeNewPlatformTradeIdRequest) ProtoMessage ¶
func (*MakeNewPlatformTradeIdRequest) ProtoMessage()
func (*MakeNewPlatformTradeIdRequest) Reset ¶
func (m *MakeNewPlatformTradeIdRequest) Reset()
func (*MakeNewPlatformTradeIdRequest) String ¶
func (m *MakeNewPlatformTradeIdRequest) String() string
func (*MakeNewPlatformTradeIdRequest) XXX_DiscardUnknown ¶
func (m *MakeNewPlatformTradeIdRequest) XXX_DiscardUnknown()
func (*MakeNewPlatformTradeIdRequest) XXX_Marshal ¶
func (m *MakeNewPlatformTradeIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeNewPlatformTradeIdRequest) XXX_Merge ¶
func (dst *MakeNewPlatformTradeIdRequest) XXX_Merge(src proto.Message)
func (*MakeNewPlatformTradeIdRequest) XXX_Size ¶
func (m *MakeNewPlatformTradeIdRequest) XXX_Size() int
func (*MakeNewPlatformTradeIdRequest) XXX_Unmarshal ¶
func (m *MakeNewPlatformTradeIdRequest) XXX_Unmarshal(b []byte) error
type MakeNewPlatformTradeIdResponse ¶
type MakeNewPlatformTradeIdResponse struct { // 由系统生成的平台订单交易ID TradeId string `protobuf:"bytes,1,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MakeNewPlatformTradeIdResponse) Descriptor ¶
func (*MakeNewPlatformTradeIdResponse) Descriptor() ([]byte, []int)
func (*MakeNewPlatformTradeIdResponse) GetTradeId ¶
func (m *MakeNewPlatformTradeIdResponse) GetTradeId() string
func (*MakeNewPlatformTradeIdResponse) ProtoMessage ¶
func (*MakeNewPlatformTradeIdResponse) ProtoMessage()
func (*MakeNewPlatformTradeIdResponse) Reset ¶
func (m *MakeNewPlatformTradeIdResponse) Reset()
func (*MakeNewPlatformTradeIdResponse) String ¶
func (m *MakeNewPlatformTradeIdResponse) String() string
func (*MakeNewPlatformTradeIdResponse) XXX_DiscardUnknown ¶
func (m *MakeNewPlatformTradeIdResponse) XXX_DiscardUnknown()
func (*MakeNewPlatformTradeIdResponse) XXX_Marshal ¶
func (m *MakeNewPlatformTradeIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeNewPlatformTradeIdResponse) XXX_Merge ¶
func (dst *MakeNewPlatformTradeIdResponse) XXX_Merge(src proto.Message)
func (*MakeNewPlatformTradeIdResponse) XXX_Size ¶
func (m *MakeNewPlatformTradeIdResponse) XXX_Size() int
func (*MakeNewPlatformTradeIdResponse) XXX_Unmarshal ¶
func (m *MakeNewPlatformTradeIdResponse) XXX_Unmarshal(b []byte) error
type MakeNewWxPrepayOrderRequest ¶
type MakeNewWxPrepayOrderRequest struct { // 由微信官方给定的应用ID AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 由微信官方给定的用户唯一标识 PayerUid string `protobuf:"bytes,2,opt,name=payer_uid,json=payerUid,proto3" json:"payer_uid,omitempty"` // 由系统生成的平台订单交易ID TradeId string `protobuf:"bytes,3,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // 商品描述 ItemDescription string `protobuf:"bytes,4,opt,name=item_description,json=itemDescription,proto3" json:"item_description,omitempty"` // 订单总额, 单位(分) ItemAmountTotal int64 `protobuf:"varint,5,opt,name=item_amount_total,json=itemAmountTotal,proto3" json:"item_amount_total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MakeNewWxPrepayOrderRequest) Descriptor ¶
func (*MakeNewWxPrepayOrderRequest) Descriptor() ([]byte, []int)
func (*MakeNewWxPrepayOrderRequest) GetAppId ¶
func (m *MakeNewWxPrepayOrderRequest) GetAppId() string
func (*MakeNewWxPrepayOrderRequest) GetItemAmountTotal ¶
func (m *MakeNewWxPrepayOrderRequest) GetItemAmountTotal() int64
func (*MakeNewWxPrepayOrderRequest) GetItemDescription ¶
func (m *MakeNewWxPrepayOrderRequest) GetItemDescription() string
func (*MakeNewWxPrepayOrderRequest) GetPayerUid ¶
func (m *MakeNewWxPrepayOrderRequest) GetPayerUid() string
func (*MakeNewWxPrepayOrderRequest) GetTradeId ¶
func (m *MakeNewWxPrepayOrderRequest) GetTradeId() string
func (*MakeNewWxPrepayOrderRequest) ProtoMessage ¶
func (*MakeNewWxPrepayOrderRequest) ProtoMessage()
func (*MakeNewWxPrepayOrderRequest) Reset ¶
func (m *MakeNewWxPrepayOrderRequest) Reset()
func (*MakeNewWxPrepayOrderRequest) String ¶
func (m *MakeNewWxPrepayOrderRequest) String() string
func (*MakeNewWxPrepayOrderRequest) XXX_DiscardUnknown ¶
func (m *MakeNewWxPrepayOrderRequest) XXX_DiscardUnknown()
func (*MakeNewWxPrepayOrderRequest) XXX_Marshal ¶
func (m *MakeNewWxPrepayOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeNewWxPrepayOrderRequest) XXX_Merge ¶
func (dst *MakeNewWxPrepayOrderRequest) XXX_Merge(src proto.Message)
func (*MakeNewWxPrepayOrderRequest) XXX_Size ¶
func (m *MakeNewWxPrepayOrderRequest) XXX_Size() int
func (*MakeNewWxPrepayOrderRequest) XXX_Unmarshal ¶
func (m *MakeNewWxPrepayOrderRequest) XXX_Unmarshal(b []byte) error
type MakeNewWxPrepayOrderResponse ¶
type MakeNewWxPrepayOrderResponse struct { Params *WxRequestPaymentParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MakeNewWxPrepayOrderResponse) Descriptor ¶
func (*MakeNewWxPrepayOrderResponse) Descriptor() ([]byte, []int)
func (*MakeNewWxPrepayOrderResponse) GetParams ¶
func (m *MakeNewWxPrepayOrderResponse) GetParams() *WxRequestPaymentParams
func (*MakeNewWxPrepayOrderResponse) ProtoMessage ¶
func (*MakeNewWxPrepayOrderResponse) ProtoMessage()
func (*MakeNewWxPrepayOrderResponse) Reset ¶
func (m *MakeNewWxPrepayOrderResponse) Reset()
func (*MakeNewWxPrepayOrderResponse) String ¶
func (m *MakeNewWxPrepayOrderResponse) String() string
func (*MakeNewWxPrepayOrderResponse) XXX_DiscardUnknown ¶
func (m *MakeNewWxPrepayOrderResponse) XXX_DiscardUnknown()
func (*MakeNewWxPrepayOrderResponse) XXX_Marshal ¶
func (m *MakeNewWxPrepayOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeNewWxPrepayOrderResponse) XXX_Merge ¶
func (dst *MakeNewWxPrepayOrderResponse) XXX_Merge(src proto.Message)
func (*MakeNewWxPrepayOrderResponse) XXX_Size ¶
func (m *MakeNewWxPrepayOrderResponse) XXX_Size() int
func (*MakeNewWxPrepayOrderResponse) XXX_Unmarshal ¶
func (m *MakeNewWxPrepayOrderResponse) XXX_Unmarshal(b []byte) error
type PingRequest ¶
type PingRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
func (*PingRequest) XXX_DiscardUnknown ¶
func (m *PingRequest) XXX_DiscardUnknown()
func (*PingRequest) XXX_Marshal ¶
func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingRequest) XXX_Merge ¶
func (dst *PingRequest) XXX_Merge(src proto.Message)
func (*PingRequest) XXX_Size ¶
func (m *PingRequest) XXX_Size() int
func (*PingRequest) XXX_Unmarshal ¶
func (m *PingRequest) XXX_Unmarshal(b []byte) error
type PongResponse ¶
type PongResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PongResponse) Descriptor ¶
func (*PongResponse) Descriptor() ([]byte, []int)
func (*PongResponse) ProtoMessage ¶
func (*PongResponse) ProtoMessage()
func (*PongResponse) Reset ¶
func (m *PongResponse) Reset()
func (*PongResponse) String ¶
func (m *PongResponse) String() string
func (*PongResponse) XXX_DiscardUnknown ¶
func (m *PongResponse) XXX_DiscardUnknown()
func (*PongResponse) XXX_Marshal ¶
func (m *PongResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PongResponse) XXX_Merge ¶
func (dst *PongResponse) XXX_Merge(src proto.Message)
func (*PongResponse) XXX_Size ¶
func (m *PongResponse) XXX_Size() int
func (*PongResponse) XXX_Unmarshal ¶
func (m *PongResponse) XXX_Unmarshal(b []byte) error
type QueryWxPaymentStatusRequest ¶
type QueryWxPaymentStatusRequest struct { // 由系统生成的平台订单交易ID TradeId string `protobuf:"bytes,1,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*QueryWxPaymentStatusRequest) Descriptor ¶
func (*QueryWxPaymentStatusRequest) Descriptor() ([]byte, []int)
func (*QueryWxPaymentStatusRequest) GetTradeId ¶
func (m *QueryWxPaymentStatusRequest) GetTradeId() string
func (*QueryWxPaymentStatusRequest) ProtoMessage ¶
func (*QueryWxPaymentStatusRequest) ProtoMessage()
func (*QueryWxPaymentStatusRequest) Reset ¶
func (m *QueryWxPaymentStatusRequest) Reset()
func (*QueryWxPaymentStatusRequest) String ¶
func (m *QueryWxPaymentStatusRequest) String() string
func (*QueryWxPaymentStatusRequest) XXX_DiscardUnknown ¶
func (m *QueryWxPaymentStatusRequest) XXX_DiscardUnknown()
func (*QueryWxPaymentStatusRequest) XXX_Marshal ¶
func (m *QueryWxPaymentStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWxPaymentStatusRequest) XXX_Merge ¶
func (dst *QueryWxPaymentStatusRequest) XXX_Merge(src proto.Message)
func (*QueryWxPaymentStatusRequest) XXX_Size ¶
func (m *QueryWxPaymentStatusRequest) XXX_Size() int
func (*QueryWxPaymentStatusRequest) XXX_Unmarshal ¶
func (m *QueryWxPaymentStatusRequest) XXX_Unmarshal(b []byte) error
type QueryWxPaymentStatusResponse ¶
type QueryWxPaymentStatusResponse struct { // 由微信官方给定的应用ID AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 由系统生成的平台订单交易ID TradeId string `protobuf:"bytes,2,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` // 由微信官方给定的支付订单号 TrxId string `protobuf:"bytes,3,opt,name=trx_id,json=trxId,proto3" json:"trx_id,omitempty"` // 交易类型 TradeType string `protobuf:"bytes,4,opt,name=trade_type,json=tradeType,proto3" json:"trade_type,omitempty"` // 交易状态 TradeState string `protobuf:"bytes,5,opt,name=trade_state,json=tradeState,proto3" json:"trade_state,omitempty"` // 支付完成时间 SuccessTime string `protobuf:"bytes,6,opt,name=success_time,json=successTime,proto3" json:"success_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*QueryWxPaymentStatusResponse) Descriptor ¶
func (*QueryWxPaymentStatusResponse) Descriptor() ([]byte, []int)
func (*QueryWxPaymentStatusResponse) GetAppId ¶
func (m *QueryWxPaymentStatusResponse) GetAppId() string
func (*QueryWxPaymentStatusResponse) GetSuccessTime ¶
func (m *QueryWxPaymentStatusResponse) GetSuccessTime() string
func (*QueryWxPaymentStatusResponse) GetTradeId ¶
func (m *QueryWxPaymentStatusResponse) GetTradeId() string
func (*QueryWxPaymentStatusResponse) GetTradeState ¶
func (m *QueryWxPaymentStatusResponse) GetTradeState() string
func (*QueryWxPaymentStatusResponse) GetTradeType ¶
func (m *QueryWxPaymentStatusResponse) GetTradeType() string
func (*QueryWxPaymentStatusResponse) GetTrxId ¶
func (m *QueryWxPaymentStatusResponse) GetTrxId() string
func (*QueryWxPaymentStatusResponse) ProtoMessage ¶
func (*QueryWxPaymentStatusResponse) ProtoMessage()
func (*QueryWxPaymentStatusResponse) Reset ¶
func (m *QueryWxPaymentStatusResponse) Reset()
func (*QueryWxPaymentStatusResponse) String ¶
func (m *QueryWxPaymentStatusResponse) String() string
func (*QueryWxPaymentStatusResponse) XXX_DiscardUnknown ¶
func (m *QueryWxPaymentStatusResponse) XXX_DiscardUnknown()
func (*QueryWxPaymentStatusResponse) XXX_Marshal ¶
func (m *QueryWxPaymentStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWxPaymentStatusResponse) XXX_Merge ¶
func (dst *QueryWxPaymentStatusResponse) XXX_Merge(src proto.Message)
func (*QueryWxPaymentStatusResponse) XXX_Size ¶
func (m *QueryWxPaymentStatusResponse) XXX_Size() int
func (*QueryWxPaymentStatusResponse) XXX_Unmarshal ¶
func (m *QueryWxPaymentStatusResponse) XXX_Unmarshal(b []byte) error
type WechatPaymentCallbackServiceClient ¶
type WechatPaymentCallbackServiceClient interface { Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PongResponse, error) // 生成平台订单交易ID MakeNewPlatformTradeId(ctx context.Context, in *MakeNewPlatformTradeIdRequest, opts ...grpc.CallOption) (*MakeNewPlatformTradeIdResponse, error) // 创建平台订单和微信预支付订单 MakeNewWxPrepayOrder(ctx context.Context, in *MakeNewWxPrepayOrderRequest, opts ...grpc.CallOption) (*MakeNewWxPrepayOrderResponse, error) // 查询微信支付状态 QueryWxPaymentStatus(ctx context.Context, in *QueryWxPaymentStatusRequest, opts ...grpc.CallOption) (*QueryWxPaymentStatusResponse, error) // 关闭微信预支付订单 CloseWxPrepayOrder(ctx context.Context, in *CloseWxPrepayOrderRequest, opts ...grpc.CallOption) (*CloseWxPrepayOrderResponse, error) }
WechatPaymentCallbackServiceClient is the client API for WechatPaymentCallbackService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWechatPaymentCallbackServiceClient ¶
func NewWechatPaymentCallbackServiceClient(cc *grpc.ClientConn) WechatPaymentCallbackServiceClient
type WechatPaymentCallbackServiceServer ¶
type WechatPaymentCallbackServiceServer interface { Ping(context.Context, *PingRequest) (*PongResponse, error) // 生成平台订单交易ID MakeNewPlatformTradeId(context.Context, *MakeNewPlatformTradeIdRequest) (*MakeNewPlatformTradeIdResponse, error) // 创建平台订单和微信预支付订单 MakeNewWxPrepayOrder(context.Context, *MakeNewWxPrepayOrderRequest) (*MakeNewWxPrepayOrderResponse, error) // 查询微信支付状态 QueryWxPaymentStatus(context.Context, *QueryWxPaymentStatusRequest) (*QueryWxPaymentStatusResponse, error) // 关闭微信预支付订单 CloseWxPrepayOrder(context.Context, *CloseWxPrepayOrderRequest) (*CloseWxPrepayOrderResponse, error) }
WechatPaymentCallbackServiceServer is the server API for WechatPaymentCallbackService service.
type WxRequestPaymentParams ¶
type WxRequestPaymentParams struct { // 当前的时间, 示例值: 1414561699 Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // 随机字符串, 不长于32位, 示例值: 5K8264ILTKCH16CQ2502SI8ZNMTM67VS Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // 小程序下单接口返回的prepay_id参数值 Package string `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"` // 签名类型, 默认为RSA, 仅支持RSA SignType string `protobuf:"bytes,4,opt,name=sign_type,json=signType,proto3" json:"sign_type,omitempty"` // 签名, 使用字段appId、timeStamp、nonceStr、package计算得出的签名值 PaySign string `protobuf:"bytes,5,opt,name=pay_sign,json=paySign,proto3" json:"pay_sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WxRequestPaymentParams) Descriptor ¶
func (*WxRequestPaymentParams) Descriptor() ([]byte, []int)
func (*WxRequestPaymentParams) GetNonce ¶
func (m *WxRequestPaymentParams) GetNonce() string
func (*WxRequestPaymentParams) GetPackage ¶
func (m *WxRequestPaymentParams) GetPackage() string
func (*WxRequestPaymentParams) GetPaySign ¶
func (m *WxRequestPaymentParams) GetPaySign() string
func (*WxRequestPaymentParams) GetSignType ¶
func (m *WxRequestPaymentParams) GetSignType() string
func (*WxRequestPaymentParams) GetTimestamp ¶
func (m *WxRequestPaymentParams) GetTimestamp() int64
func (*WxRequestPaymentParams) ProtoMessage ¶
func (*WxRequestPaymentParams) ProtoMessage()
func (*WxRequestPaymentParams) Reset ¶
func (m *WxRequestPaymentParams) Reset()
func (*WxRequestPaymentParams) String ¶
func (m *WxRequestPaymentParams) String() string
func (*WxRequestPaymentParams) XXX_DiscardUnknown ¶
func (m *WxRequestPaymentParams) XXX_DiscardUnknown()
func (*WxRequestPaymentParams) XXX_Marshal ¶
func (m *WxRequestPaymentParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WxRequestPaymentParams) XXX_Merge ¶
func (dst *WxRequestPaymentParams) XXX_Merge(src proto.Message)
func (*WxRequestPaymentParams) XXX_Size ¶
func (m *WxRequestPaymentParams) XXX_Size() int
func (*WxRequestPaymentParams) XXX_Unmarshal ¶
func (m *WxRequestPaymentParams) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.