OrderExportService
in package
implements
AfterbuyOrderExportService
Class OrderExportService
Interfaces, Classes and Traits
- AfterbuyOrderExportService
- Interface AfterbuyOrderExportService
Table of Contents
- $repository : OrderExportRepository
- __construct() : mixed
- OrderExportService 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 last afterbuy tracking link synchronization time in format 'd.m.Y H:i:s'.
- updateLastTrackingSyncTime() : void
- Updates the Afterbuy configuration last tracking sync (last_tracking_sync) to now.
Properties
$repository
private
OrderExportRepository
$repository
Methods
__construct()
OrderExportService constructor.
public
__construct(OrderExportRepository $repository) : mixed
Parameters
- $repository : OrderExportRepository
Return values
mixed —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
Tags
Return values
int|null —getLastTrackingSyncTime()
Returns the last afterbuy tracking link synchronization time in format 'd.m.Y H:i:s'.
public
getLastTrackingSyncTime() : string
Tags
Return values
string —updateLastTrackingSyncTime()
Updates the Afterbuy configuration last tracking sync (last_tracking_sync) to now.
public
updateLastTrackingSyncTime() : void