PHP Class EasyPost\EasypostResource

Inheritance: extends Object
Datei anzeigen Open project: easypost/easypost-php

Public Methods

Method Description
className ( string $class ) : string
classUrl ( string $class ) : string
instanceUrl ( ) : string
refresh ( )

Protected Methods

Method Description
_all ( string $class, mixed $params = null, string $apiKey = null ) : mixed
_create ( string $class, mixed $params = null, string $apiKey = null, string $urlModifier = null, $apiKeyRequired = true ) : mixed
_delete ( string $class, mixed $params = null )
_retrieve ( string $class, mixed $id, string $apiKey = null ) : mixed
_save ( string $class )

Private Methods

Method Description
_validate ( string $method, array $params = null, string $apiKey = null )

Method Details

_all() protected static method

protected static _all ( string $class, mixed $params = null, string $apiKey = null ) : mixed
$class string
$params mixed
$apiKey string
return mixed

_create() protected static method

protected static _create ( string $class, mixed $params = null, string $apiKey = null, string $urlModifier = null, $apiKeyRequired = true ) : mixed
$class string
$params mixed
$apiKey string
$urlModifier string
return mixed

_delete() protected method

protected _delete ( string $class, mixed $params = null )
$class string
$params mixed

_retrieve() protected static method

protected static _retrieve ( string $class, mixed $id, string $apiKey = null ) : mixed
$class string
$id mixed
$apiKey string
return mixed

_save() protected method

protected _save ( string $class )
$class string

className() public static method

public static className ( string $class ) : string
$class string
return string

classUrl() public static method

public static classUrl ( string $class ) : string
$class string
return string

instanceUrl() public method

public instanceUrl ( ) : string
return string

refresh() public method

public refresh ( )