OrderTrackingService
This service class contains functionality related to order tracking.
All public functions are available in the Twig template renderer.
Namespace
IO\Services
Type | Name | Description |
---|---|---|
|
||
|
||
|
Methods
public __construct($orderRepo, $parcelServicePresetRepo)
OrderTrackingService constructor.
Type |
Name |
Description |
|
||
|
public getTrackingURL($order, $lang):string
Get the tracking URL for a specific order
Type |
Name |
Description |
|
The order to get the tracking URL for |
|
|
The desired language of the tracking URL (ISO-639-1) |
Thank you for your feedback!