Documentation

ApiComponent extends Injectable
in package

Table of Contents

Properties

$apiKey  : mixed
$nameConverter  : ManualOrderUploadHeaderPropertyNameConverter
$user  : mixed

Methods

__construct()  : mixed
authorizeByKey()  : mixed
checkDifferenceToHeaderByRows()  : mixed
getApiKey()  : mixed
getBatch()  : mixed
getReferer()  : mixed
handleDeleteBatch()  : mixed
handleDeleteInvoice()  : mixed
handleGetBatch()  : mixed
handleUpload()  : mixed
translateHeader()  : mixed
validateRequest()  : array<string|int, mixed>
addRecordToRequest()  : mixed
authorize()  : bool
checkLimits()  : bool

Properties

Methods

authorizeByKey()

public authorizeByKey(mixed $apiKeyFromUser) : mixed
Parameters
$apiKeyFromUser : mixed

checkDifferenceToHeaderByRows()

public checkDifferenceToHeaderByRows(mixed $content, mixed $toCheck) : mixed
Parameters
$content : mixed
$toCheck : mixed

getBatch()

public getBatch(mixed $batchId) : mixed
Parameters
$batchId : mixed

handleDeleteBatch()

public handleDeleteBatch(mixed $batchId) : mixed
Parameters
$batchId : mixed

handleDeleteInvoice()

public handleDeleteInvoice(mixed $invoiceNum) : mixed
Parameters
$invoiceNum : mixed

handleGetBatch()

public handleGetBatch(mixed $batchId) : mixed
Parameters
$batchId : mixed

handleUpload()

public handleUpload(mixed $postData) : mixed
Parameters
$postData : mixed

translateHeader()

public translateHeader(mixed $content) : mixed
Parameters
$content : mixed

validateRequest()

public validateRequest(mixed $content) : array<string|int, mixed>
Parameters
$content : mixed
Return values
array<string|int, mixed>

addRecordToRequest()

protected addRecordToRequest([string $method = 'POST' ][, mixed $invoiceNum = null ]) : mixed
Parameters
$method : string = 'POST'
$invoiceNum : mixed = null

        
On this page

Search results