SaleProductShipmentService
in package
Table of Contents
Properties
- $container : ContainerInterface
- $entityManager : mixed
- $logService : LogService
Methods
- __construct() : mixed
- generatePartsTicketBySaleProductShipment() : mixed
- generateTamdisExpeditionTicketsForParts() : mixed
- getChronopostColisInformationsByBarcode() : mixed
- getColisInformationsByBarcode() : mixed
- getGeodisColisInformationsByBarcode() : mixed
- getGlsColisInformationsByBarcode() : mixed
- getProductInformationsByReferenceOrById() : mixed
- getRepo() : SaleProductShipmentRepository
- getSdenColisInformationsByBarcode() : mixed
- getTamdisColisInformationsByBarcode() : mixed
- getVirColisInformationsByBarcode() : mixed
- onPreShipment() : mixed
- onTicketPrinted() : mixed
- save() : mixed
- sendSparePartsEmailToAsir() : void
- menzzoTickets() : mixed
- getChronoPdf() : false|string
- Get chronopost file
- getSdenSaleProductsByCode() : mixed
- getSdenSaleProductShipmentsByCode() : mixed
- getTicketsPaths() : array<string|int, string>
- processSdenResults() : mixed
Properties
$container
private
ContainerInterface
$container
$entityManager
private
mixed
$entityManager
$logService
private
LogService
$logService
Methods
__construct()
public
__construct(EntityManagerInterface $entityManager, ContainerInterface $container, LogService $logService) : mixed
Parameters
- $entityManager : EntityManagerInterface
- $container : ContainerInterface
- $logService : LogService
generatePartsTicketBySaleProductShipment()
public
generatePartsTicketBySaleProductShipment(SaleProductShipment $saleProductShipment) : mixed
Parameters
- $saleProductShipment : SaleProductShipment
generateTamdisExpeditionTicketsForParts()
public
generateTamdisExpeditionTicketsForParts(mixed $sale, mixed $saleProduct, mixed $listUmgs) : mixed
Parameters
- $sale : mixed
- $saleProduct : mixed
- $listUmgs : mixed
getChronopostColisInformationsByBarcode()
public
getChronopostColisInformationsByBarcode(mixed $code) : mixed
Parameters
- $code : mixed
getColisInformationsByBarcode()
public
getColisInformationsByBarcode(mixed $code) : mixed
Parameters
- $code : mixed
getGeodisColisInformationsByBarcode()
public
getGeodisColisInformationsByBarcode(mixed $code) : mixed
Parameters
- $code : mixed
getGlsColisInformationsByBarcode()
public
getGlsColisInformationsByBarcode(mixed $code) : mixed
Parameters
- $code : mixed
getProductInformationsByReferenceOrById()
public
getProductInformationsByReferenceOrById([string|null $product_reference = null ][, int|null $product_id = null ]) : mixed
Parameters
- $product_reference : string|null = null
- $product_id : int|null = null
getRepo()
public
getRepo() : SaleProductShipmentRepository
Return values
SaleProductShipmentRepositorygetSdenColisInformationsByBarcode()
public
getSdenColisInformationsByBarcode(mixed $code) : mixed
Parameters
- $code : mixed
getTamdisColisInformationsByBarcode()
public
getTamdisColisInformationsByBarcode(mixed $code) : mixed
Parameters
- $code : mixed
getVirColisInformationsByBarcode()
public
getVirColisInformationsByBarcode(mixed $code) : mixed
Parameters
- $code : mixed
onPreShipment()
public
onPreShipment(SaleProductsPreShippedEvent $event) : mixed
Parameters
- $event : SaleProductsPreShippedEvent
onTicketPrinted()
public
onTicketPrinted(SaleProductsPreShippedTicketPrintedEvent $event) : mixed
Parameters
save()
public
save(mixed $entity) : mixed
Parameters
- $entity : mixed
sendSparePartsEmailToAsir()
public
sendSparePartsEmailToAsir(SaleProductShipment $saleProductShipment) : void
Parameters
- $saleProductShipment : SaleProductShipment
menzzoTickets()
protected
menzzoTickets(SaleProductShipment $saleProductShipment, mixed $trackingIds) : mixed
Parameters
- $saleProductShipment : SaleProductShipment
- $trackingIds : mixed
getChronoPdf()
Get chronopost file
private
getChronoPdf(mixed $url) : false|string
Parameters
- $url : mixed
Return values
false|stringgetSdenSaleProductsByCode()
private
getSdenSaleProductsByCode(mixed $code) : mixed
Parameters
- $code : mixed
getSdenSaleProductShipmentsByCode()
private
getSdenSaleProductShipmentsByCode(mixed $code) : mixed
Parameters
- $code : mixed
getTicketsPaths()
private
getTicketsPaths(SaleProductShipment $saleProductShipment) : array<string|int, string>
Parameters
- $saleProductShipment : SaleProductShipment
Return values
array<string|int, string>processSdenResults()
private
processSdenResults(mixed $results, mixed $code) : mixed
Parameters
- $results : mixed
- $code : mixed