AfterbuyOrderTrackingLinkService
in
Interface AfterbuyOrderTrackingLinkService
Table of Contents
- syncTrackingLinks() : void
- Synchronizes Afterbuy order tracking links.
- syncTrackingLinksByOrderId() : void
- Synchronizes Afterbuy order tracking links for the given order.
Methods
syncTrackingLinks()
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
Return values
void —syncTrackingLinksByOrderId()
Synchronizes Afterbuy order tracking links for the given order.
public
syncTrackingLinksByOrderId(OrderId $orderId) : void
Parameters
- $orderId : OrderId