PHP Class EasyPost\EasyPost

显示文件 Open project: easypost/easypost-php Class Usage Examples

Public Properties

Property Type Description
$apiBase string
$apiKey string
$apiVersion string

Public Methods

Method Description
getApiBase ( ) : string get the API base URL
getApiKey ( ) : string get the API key
getApiVersion ( ) : string get the API version
setApiBase ( string $apiBase ) set the API base URL
setApiKey ( string $apiKey ) set the API key
setApiVersion ( $apiVersion ) set the API version

Method Details

getApiBase() public static method

get the API base URL
public static getApiBase ( ) : string
return string

getApiKey() public static method

get the API key
public static getApiKey ( ) : string
return string

getApiVersion() public static method

get the API version
public static getApiVersion ( ) : string
return string

setApiBase() public static method

set the API base URL
public static setApiBase ( string $apiBase )
$apiBase string

setApiKey() public static method

set the API key
public static setApiKey ( string $apiKey )
$apiKey string

setApiVersion() public static method

set the API version
public static setApiVersion ( $apiVersion )
$apiVersion

Property Details

$apiBase public_oe static_oe property

public static string $apiBase
return string

$apiKey public_oe static_oe property

public static string $apiKey
return string

$apiVersion public_oe static_oe property

public static string $apiVersion
return string