phpDocumentor

AfterbuyOrderReader

Class AfterbuyOrderReader

Table of Contents

$connection  : Connection
$dataCache  : array<string|int, mixed>
$logger  : AfterbuyLogger
__construct()  : mixed
AfterbuyOrderReader constructor.
getInitialExportDatetime()  : string|null
Returns the initial order export datetime string or null if the order was not send to afterbuy yet.
getOrdersData()  : array<string|int, mixed>
Returns a list of order data for the given order ids.
getSelectFields()  : array<string|int, mixed>

Properties

Methods

getInitialExportDatetime()

Returns the initial order export datetime string or null if the order was not send to afterbuy yet.

public getInitialExportDatetime(OrderId $orderId) : string|null
Parameters
$orderId : OrderId
Return values
string|null

getOrdersData()

Returns a list of order data for the given order ids.

public getOrdersData(OrderIds $orderIds) : array<string|int, mixed>

Internally caches the result for the given order ids in memory, so subsequent calls with the same order ids return the cached value.

Parameters
$orderIds : OrderIds
Return values
array<string|int, mixed>

getSelectFields()

private getSelectFields() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results