phpDocumentor

OrderExportRepository

Class OrderExportRepository

Table of Contents

$orderReader  : AfterbuyOrderReader
$storage  : OrderExportStorage
__construct()  : mixed
OrderExportRepository constructor.
getInitialExportTimestamp()  : int|null
Returns the initial order export timestamp and null if the order was not send to afterbuy yet.
getLastTrackingSyncTime()  : string
Returns the time of the last Afterbuy order export tracking link synchronization.
updateLastTrackingSyncTime()  : void
Updates the afterbuy configuration 'last_tracking_sync' to now.

Properties

Methods

getInitialExportTimestamp()

Returns the initial order export timestamp and null if the order was not send to afterbuy yet.

public getInitialExportTimestamp(OrderId $orderId) : int|null
Parameters
$orderId : OrderId
Return values
int|null

getLastTrackingSyncTime()

Returns the time of the last Afterbuy order export tracking link synchronization.

public getLastTrackingSyncTime() : string

The time is returned to the format 'd.m.Y H:i:s'.

Return values
string

updateLastTrackingSyncTime()

Updates the afterbuy configuration 'last_tracking_sync' to now.

public updateLastTrackingSyncTime() : void
Return values
void

Search results