\Pop\Shipping\AdapterAbstractAdapter

Shipping adapter abstract class

Summary

Methods
Properties
Constants
send()
isSuccess()
isError()
getResponse()
getResponseCode()
getResponseMessage()
getRates()
No public properties found
No constants found
parseResponse()
$response
$responseCode
$responseMessage
$rates
N/A
No private methods found
No private properties found
N/A

Properties

$response

$response : object

Response object

Type

object

$responseCode

$responseCode : integer

Response code

Type

integer

$responseMessage

$responseMessage : string

Response message

Type

string

$rates

$rates : array

Service rates

Type

array

Methods

send()

send(boolean  $verifyPeer = true) : void

Send transaction

Parameters

boolean $verifyPeer

isSuccess()

isSuccess() : boolean

Return whether the transaction is a success

Returns

boolean

isError()

isError() : boolean

Return whether the transaction is an error

Returns

boolean

getResponse()

getResponse() : object

Get response

Returns

object

getResponseCode()

getResponseCode() : integer

Get response code

Returns

integer

getResponseMessage()

getResponseMessage() : string

Get response message

Returns

string

getRates()

getRates() : array

Get service rates

Returns

array

parseResponse()

parseResponse(resource  $curl) : string

Parse the curl response

Parameters

resource $curl

Returns

string