FixSaleTrackingIdCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
Class FixSaleTrackingIdCommand
Table of Contents
Properties
- $carriersLinks : array<string|int, string>
Methods
- checkSden() : mixed
- configure() : mixed
- execute() : int|null
- getSaleLogs() : mixed
- Get Sale Logs
Properties
$carriersLinks
protected
array<string|int, string>
$carriersLinks
= ['CHRONOPOST' => 'https://www.chronopost.fr/tracking-no-cms/suivi-page?listeNumerosLT={NUMBER}&langue=fr', 'SDEN' => 'http://sden.teliway.com/suivicolis-0-MENZZO&sRefExpediteur={NUMBER}', 'DUCROS' => 'tracking-menzzo', 'IDF' => 'tracking-menzzo', 'GEODIS' => 'GEODIS', 'CALBERSON' => 'GEODIS', 'RETRAIT' => 'tracking-menzzo', 'TDL' => 'http://www.tdl.fr/ws/EtatExpedition.php?NumRecord={NUMBER}', 'CALBERSONITALY' => 'GEODIS', 'CALBERSONMONOCOLIS' => 'GEODIS', 'GLS' => 'GLS', 'TRUSK' => 'tracking-menzzo']
Methods
checkSden()
public
checkSden(mixed $trackingNumber) : mixed
Parameters
- $trackingNumber : mixed
configure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
int|nullgetSaleLogs()
Get Sale Logs
private
getSaleLogs(mixed $saleId[, mixed $orderBy = 'ASC' ]) : mixed
Parameters
- $saleId : mixed
- $orderBy : mixed = 'ASC'