C# Class Chargify2.Direct

The API for Chargify Direct
Show file Open project: kfrancis/Chargify2

Public Methods

Method Description
Direct ( Client client ) : System

Constructor

ResponseParameters ( Hashtable hash ) : ResponseParameters

The response parameters

SecureParameters ( Hashtable hash ) : SecureParameters

The secure parameters

Signature ( string message, string secret ) : string

Calculate the signature given the message and the api secret

Private Methods

Method Description
ValidateClient ( ) : void

Validate the client

Method Details

Direct() public method

Constructor
public Direct ( Client client ) : System
client Client The client
return System

ResponseParameters() public method

The response parameters
public ResponseParameters ( Hashtable hash ) : ResponseParameters
hash System.Collections.Hashtable The hash of secure parameter values
return ResponseParameters

SecureParameters() public method

The secure parameters
public SecureParameters ( Hashtable hash ) : SecureParameters
hash System.Collections.Hashtable The hash of secure parameter values
return SecureParameters

Signature() public static method

Calculate the signature given the message and the api secret
public static Signature ( string message, string secret ) : string
message string The message to use when producing the signature
secret string The api secret
return string