Logidav Docs

SaleProductShipmentTrackingStatusHistoryService
in package

Table of Contents

Properties

$entityManager  : EntityManagerInterface

Methods

__construct()  : mixed
getRepo()  : SaleProductShipmentTrackingStatusHistoryRepository
getTrackingHistoryForSaleProduct()  : array<string|int, mixed>
🔹 Récupère l'historique des statuts d’expédition pour un SaleProduct donné
recordStatus()  : SaleProductShipmentTrackingStatusHistory
normalizeDateTime()  : DateTime|null
normalizeTrackingReference()  : string|null

Properties

Methods

getTrackingHistoryForSaleProduct()

🔹 Récupère l'historique des statuts d’expédition pour un SaleProduct donné

public getTrackingHistoryForSaleProduct(SaleProduct $saleProduct) : array<string|int, mixed>
Parameters
$saleProduct : SaleProduct
Return values
array<string|int, mixed>

recordStatus()

public recordStatus(SaleProductShipmentTracking $shipmentTracking, mixed $carrier, mixed $status[, DateTimeInterface|null $recordedAt = null ][, DateTimeInterface|null $carrierRecordedAt = null ][, string|null $trackingReference = null ][, mixed $flush = false ]) : SaleProductShipmentTrackingStatusHistory
Parameters
$shipmentTracking : SaleProductShipmentTracking
$carrier : mixed
$status : mixed
$recordedAt : DateTimeInterface|null = null
$carrierRecordedAt : DateTimeInterface|null = null
$trackingReference : string|null = null
$flush : mixed = false
Return values
SaleProductShipmentTrackingStatusHistory

        
On this page

Search results