C# Class Senparc.Weixin.Work.TenPayLib.ResponseHandler

Show file Open project: JeffreySu/WeiXinMPSDK

Protected Properties

Property Type Description
Content string
HttpContext System.Web.HttpContext
Parameters System.Collections.Hashtable

Public Methods

Method Description
GetDebugInfo ( ) : string

获取debug信息

GetKey ( ) : string

获取密钥

GetParameter ( string parameter ) : string

获取参数值

Init ( ) : void

初始化函数

IsTenpaySign ( ) : System.Boolean

是否财付通签名,规则是:按参数名称a-z排序,遇到空值的参数不参加签名。return boolean

ParseXML ( ) : string

输出XML

ResponseHandler ( HttpContext httpContext ) : System

获取页面提交的get和post参数

SetKey ( string key ) : void

设置密钥

SetParameter ( string parameter, string parameterValue ) : void

设置参数值

Protected Methods

Method Description
GetCharset ( ) : string
SetDebugInfo ( String debugInfo ) : void

设置debug信息

Method Details

GetCharset() protected method

protected GetCharset ( ) : string
return string

GetDebugInfo() public method

获取debug信息
public GetDebugInfo ( ) : string
return string

GetKey() public method

获取密钥
public GetKey ( ) : string
return string

GetParameter() public method

获取参数值
public GetParameter ( string parameter ) : string
parameter string
return string

Init() public method

初始化函数
public Init ( ) : void
return void

IsTenpaySign() public method

是否财付通签名,规则是:按参数名称a-z排序,遇到空值的参数不参加签名。return boolean
public IsTenpaySign ( ) : System.Boolean
return System.Boolean

ParseXML() public method

输出XML
public ParseXML ( ) : string
return string

ResponseHandler() public method

获取页面提交的get和post参数
public ResponseHandler ( HttpContext httpContext ) : System
httpContext System.Web.HttpContext
return System

SetDebugInfo() protected method

设置debug信息
protected SetDebugInfo ( String debugInfo ) : void
debugInfo String
return void

SetKey() public method

设置密钥
public SetKey ( string key ) : void
key string
return void

SetParameter() public method

设置参数值
public SetParameter ( string parameter, string parameterValue ) : void
parameter string
parameterValue string
return void

Property Details

Content protected property

原始内容
protected string Content
return string

HttpContext protected property

protected HttpContext,System.Web HttpContext
return System.Web.HttpContext

Parameters protected property

应答的参数
protected Hashtable,System.Collections Parameters
return System.Collections.Hashtable