PHP Class Braintree\Http

Show file Open project: braintree/braintree_php Class Usage Examples

Protected Properties

Property Type Description
$_config

Public Methods

Method Description
__construct ( $config )
_doUrlRequest ( $httpVerb, $url, $requestBody = null )
delete ( $path )
get ( $path )
post ( $path, $params = null )
put ( $path, $params = null )
useClientCredentials ( )

Private Methods

Method Description
_buildXml ( $params )
_doRequest ( $httpVerb, $path, $requestBody = null )
_getAuthorization ( )
_getHeaders ( )
getCaFile ( )

Method Details

__construct() public method

public __construct ( $config )

_doUrlRequest() public method

public _doUrlRequest ( $httpVerb, $url, $requestBody = null )

delete() public method

public delete ( $path )

get() public method

public get ( $path )

post() public method

public post ( $path, $params = null )

put() public method

public put ( $path, $params = null )

useClientCredentials() public method

Property Details

$_config protected property

protected $_config