Method |
Description |
|
__construct ( $attribs = [] ) |
|
|
assertGlobalHasAccessTokenOrKeys ( ) |
|
|
assertHasAccessTokenOrKeys ( ) |
|
|
assertHasClientCredentials ( ) |
|
|
assertHasClientId ( ) |
|
|
assertHasClientSecret ( ) |
|
|
authUrl ( ) |
|
|
baseUrl ( ) : string |
returns the base braintree gateway URL based on config values |
|
caFile ( $sslPath = NULL ) : string |
sets the physical path for the location of the CA certs |
|
environment ( $value = null ) |
|
|
gateway ( ) |
|
|
getAccessToken ( ) |
|
|
getClientId ( ) |
|
|
getClientSecret ( ) |
|
|
getEnvironment ( ) |
|
|
getMerchantId ( ) |
|
|
getPrivateKey ( ) |
|
|
getProxyHost ( ) |
|
|
getProxyPassword ( ) |
|
|
getProxyPort ( ) |
|
|
getProxyType ( ) |
|
|
getProxyUser ( ) |
|
|
getPublicKey ( ) |
|
|
getTimeout ( ) |
|
|
isAccessToken ( ) |
|
|
isAuthenticatedProxy ( ) : boolean |
Specified whether or not a username and password have been provided for
use with an authenticated proxy |
|
isClientCredentials ( ) |
|
|
isUsingProxy ( ) : boolean |
Specifies whether or not a proxy is properly configured |
|
logMessage ( string $message ) |
log message to default logger |
|
merchantId ( $value = null ) |
|
|
merchantPath ( ) : string |
sets the merchant path based on merchant ID |
|
portNumber ( ) : integer |
returns the port number depending on environment |
|
privateKey ( $value = null ) |
|
|
protocol ( ) : string |
returns http protocol depending on environment |
|
proxyHost ( string $value = null ) : string |
Sets or gets the proxy host to use for connecting to Braintree |
|
proxyPassword ( $value = null ) |
|
|
proxyPort ( string $value = null ) : string |
Sets or gets the port of the proxy to use for connecting to Braintree |
|
proxyType ( string $value = null ) : string |
Sets or gets the proxy type to use for connecting to Braintree. This value
can be any of the CURLOPT_PROXYTYPE options in PHP cURL. |
|
proxyUser ( $value = null ) |
|
|
publicKey ( $value = null ) |
|
|
reset ( ) |
resets configuration to default |
|
serverName ( ) : string |
returns gateway server name depending on environment |
|
setEnvironment ( $value ) |
Do not use this method directly. Pass in the environment to the constructor. |
|
setMerchantId ( $value ) |
Do not use this method directly. Pass in the merchantId to the constructor. |
|
setPrivateKey ( $value ) |
Do not use this method directly. Pass in the privateKey to the constructor. |
|
setPublicKey ( $value ) |
Do not use this method directly. Pass in the publicKey to the constructor. |
|
sslOn ( ) : boolean |
returns boolean indicating SSL is on or off for this session,
depending on environment |
|
timeout ( integer $value = null ) : integer |
Sets or gets the read timeout to use for making requests. |
|