PHP Class Pop\Shipping\Adapter\AbstractAdapter

Author: Nick Sagona, III ([email protected])
Inheritance: implements Pop\Shipping\Adapter\AdapterInterface
Afficher le fichier Open project: nicksagona/PopPHP

Protected Properties

Свойство Type Description
$rates string Service rates
$response object Response object
$responseCode integer Response code
$responseMessage string Response message

Méthodes publiques

Méthode Description
getRates ( ) : array Get service rates
getResponse ( ) : object Get response
getResponseCode ( ) : integer Get response code
getResponseMessage ( ) : string Get response message
isError ( ) : boolean Return whether the transaction is an error
isSuccess ( ) : boolean Return whether the transaction is a success
send ( ) : void Send transaction

Method Details

getRates() public méthode

Get service rates
public getRates ( ) : array
Résultat array

getResponse() public méthode

Get response
public getResponse ( ) : object
Résultat object

getResponseCode() public méthode

Get response code
public getResponseCode ( ) : integer
Résultat integer

getResponseMessage() public méthode

Get response message
public getResponseMessage ( ) : string
Résultat string

isError() abstract public méthode

Return whether the transaction is an error
abstract public isError ( ) : boolean
Résultat boolean

isSuccess() abstract public méthode

Return whether the transaction is a success
abstract public isSuccess ( ) : boolean
Résultat boolean

send() abstract public méthode

Send transaction
abstract public send ( ) : void
Résultat void

Property Details

$rates protected_oe property

Service rates
protected string $rates
Résultat string

$response protected_oe property

Response object
protected object $response
Résultat object

$responseCode protected_oe property

Response code
protected int $responseCode
Résultat integer

$responseMessage protected_oe property

Response message
protected string $responseMessage
Résultat string