phpDocumentor

AfterbuyOrderTrackingLinkService

Interface AfterbuyOrderTrackingLinkService

Table of Contents

syncTrackingLinks()  : void
Synchronizes Afterbuy order tracking links.
syncTrackingLinksByOrderId()  : void
Synchronizes Afterbuy order tracking links for the given order.

Methods

Synchronizes Afterbuy order tracking links.

public syncTrackingLinks(string $lastTrackingSyncTime) : void

Request orders from Afterbuy and checks if they contain a tracking number and shipping method. If the shipping method matches one of the configured parcel services, a new tracking link for the order will be generated (in the orders_parcel_tracking_codes table).

Parameters
$lastTrackingSyncTime : string
Tags
throws
SyncTrackingLinksFailedException
throws
AfterbuyNotInstalledException|AfterbuyNotEnabledException
throws
AfterbuyResponseException
Return values
void

Search results