C# Class PayPal.IPNMessage

Mostrar archivo Open project: paypal/sdk-core-dotnet Class Usage Examples

Public Methods

Method Description
IPNMessage ( string>.Dictionary config, byte parameters ) : System.Collections.Generic

Construct a new IPNMessage object using dynamic SDK configuration

IPNMessage ( NameValueCollection nvc ) : System.Collections.Generic

IPNMessage constructor

IPNMessage ( byte parameters ) : System.Collections.Generic

Construct a new IPNMessage object using .Config file based configuration

IpnValue ( string ipnName ) : string

Gets the IPN request parameter value for the given name

Validate ( ) : bool

Returns the IPN request validation

Private Methods

Method Description
GetIPNEndpoint ( ) : string
Initialize ( NameValueCollection nvc ) : void

Initializing nvcMap and constructing query string

Method Details

IPNMessage() public method

Construct a new IPNMessage object using dynamic SDK configuration
public IPNMessage ( string>.Dictionary config, byte parameters ) : System.Collections.Generic
config string>.Dictionary Dynamic SDK configuration parameters
parameters byte byte array read from request
return System.Collections.Generic

IPNMessage() public method

IPNMessage constructor
public IPNMessage ( NameValueCollection nvc ) : System.Collections.Generic
nvc System.Collections.Specialized.NameValueCollection
return System.Collections.Generic

IPNMessage() public method

Construct a new IPNMessage object using .Config file based configuration
public IPNMessage ( byte parameters ) : System.Collections.Generic
parameters byte byte array read from request
return System.Collections.Generic

IpnValue() public method

Gets the IPN request parameter value for the given name
public IpnValue ( string ipnName ) : string
ipnName string
return string

Validate() public method

Returns the IPN request validation
public Validate ( ) : bool
return bool