PHP Class Pop\Shipping\Adapter\AbstractAdapter

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

Protected Properties

Property Type Description
$rates string Service rates
$response object Response object
$responseCode integer Response code
$responseMessage string Response message

Public Methods

Method 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 method

Get service rates
public getRates ( ) : array
return array

getResponse() public method

Get response
public getResponse ( ) : object
return object

getResponseCode() public method

Get response code
public getResponseCode ( ) : integer
return integer

getResponseMessage() public method

Get response message
public getResponseMessage ( ) : string
return string

isError() abstract public method

Return whether the transaction is an error
abstract public isError ( ) : boolean
return boolean

isSuccess() abstract public method

Return whether the transaction is a success
abstract public isSuccess ( ) : boolean
return boolean

send() abstract public method

Send transaction
abstract public send ( ) : void
return void

Property Details

$rates protected_oe property

Service rates
protected string $rates
return string

$response protected_oe property

Response object
protected object $response
return object

$responseCode protected_oe property

Response code
protected int $responseCode
return integer

$responseMessage protected_oe property

Response message
protected string $responseMessage
return string