Properties

$ebaySession

$ebaySession : 

Type

$ebayAccountId

$ebayAccountId : 

Type

$requestMethode

$requestMethode : 

Type

$Logger

$Logger : 

Type

Methods

__construct()

__construct() 

processRequest()

processRequest(  $requestMethode,   $parameter) 

Parameters

$requestMethode
$parameter

logRequest()

logRequest(  $parameter) 

Parameters

$parameter

logResult()

logResult(  $parameter,   $result) 

Parameters

$parameter
$result

parseForResponseStatus()

parseForResponseStatus(  $response) 

Parameters

$response

parseForResponseXML()

parseForResponseXML(string  $response) : string

Parses for the XML Response in the MIME multipart message.

Parameters

string $response

MIME multipart message

Returns

string —

XML Response

parseForErrorMessage()

parseForErrorMessage(  $response) : string

Parses for the Error Message in the MIME multipart message.

Parameters

$response

MIME multipart message

Returns

string —

XML Error Message Response

parseForFileBytes()

parseForFileBytes(  $uuid, string  $response) : string

Parses for the file bytes between the MIME boundaries.

Parameters

$uuid

UUID corresponding to the Content-ID of the file bytes.

string $response

MIME multipart message

Returns

string —

bytes of the file

parseForXopIncludeUUID()

parseForXopIncludeUUID(\marketplace\ebay\DomDocument  $responseDOM) : string

Parses the XML Response for the UUID to ascertain the index of the file bytes in the MIME Message.

Parameters

\marketplace\ebay\DomDocument $responseDOM

DOM of the XML Response.

Returns

string —

UUID referring to the message body

writeZipFile()

writeZipFile(string  $bytes, string  $zipFilename) 

Writes the response file's bytes to disk.

Parameters

string $bytes

bytes comprising a file

string $zipFilename

name of the zip to be created

unzip()

unzip(  $file,   $destination) 

Parameters

$file
$destination

testConnect()

testConnect() 

processResponseXml()

processResponseXml(string  $responseXml, string  $resultType = 'array') 

XML Body konvertieren

Parameters

string $responseXml

xml formed

string $resultType

[txt, xml, array(default)]

getCache()

getCache(  $paramter,   $accontId = '') 

Parameters

$paramter
$accontId

storeCache()

storeCache(  $paramter,   $msgBody,   $accontId = '') 

Parameters

$paramter
$msgBody
$accontId

getErrorItems()

getErrorItems(  $resultArray) 

Parameters

$resultArray

getLastCalledReport()

getLastCalledReport(  $type) 

Parameters

$type

setLastCalledReport()

setLastCalledReport(  $type,   $data) 

Parameters

$type
$data

setLastErrorReporting()

setLastErrorReporting(  $type) 

Parameters

$type

getUUID()

getUUID() 

generate eBay conform UUID

getJobStatus()

getJobStatus(  $jobId) 

Parameters

$jobId

logJobStart()

logJobStart(  $jobId,   $apiType,   $jobType) 

Parameters

$jobId
$apiType
$jobType

logJobComplete()

logJobComplete(  $jobId) 

Parameters

$jobId

getLastWaitingJob()

getLastWaitingJob(  $apiType,   $jobType) 

Parameters

$apiType
$jobType

getJobStatusMsg()

getJobStatusMsg(  $apiType,   $jobType,   $jobId = '__LAST__') 

Parameters

$apiType
$jobType
$jobId