AlertController
extends Controller
in package
Idf controller.
Tags
Table of Contents
Methods
- amineAction() : mixed
- amine
- getChronoPdf() : mixed
- indexAction() : Response
- list all alerts
- paginateAlertsAction() : JsonResponse
- Paginating alerts
- sendNotificationAction() : Response
- Send notifications
- validateAlertsAction() : JsonResponse
- Validate alerts
- generateSdenTicket() : mixed
- getRandomString() : string
Methods
amineAction()
amine
public
amineAction(Request $request, OrderService $orderService, EventDispatcherInterface $eventDispatcher, PalimiService $palimiService, OrderService $vidaxOrder, AlmaApi $almaApi, AvailabilityLogServiceInterface $availabilityLogService, RabbitMqService $rabbitMqService, ShippingRateService $shippingRateService, MeduseService $meduseService, SdenService $sdenService, NewProductService $newProductService, SaleProductShipmentService $saleProductShipmentService) : mixed
Parameters
- $request : Request
- $orderService : OrderService
- $eventDispatcher : EventDispatcherInterface
- $palimiService : PalimiService
- $vidaxOrder : OrderService
- $almaApi : AlmaApi
- $availabilityLogService : AvailabilityLogServiceInterface
- $rabbitMqService : RabbitMqService
- $shippingRateService : ShippingRateService
- $meduseService : MeduseService
- $sdenService : SdenService
- $newProductService : NewProductService
- $saleProductShipmentService : SaleProductShipmentService
Tags
getChronoPdf()
public
getChronoPdf(mixed $url) : mixed
Parameters
- $url : mixed
indexAction()
list all alerts
public
indexAction(AvailabilityLogServiceInterface $availabilityLogService) : Response
Parameters
- $availabilityLogService : AvailabilityLogServiceInterface
Tags
Return values
ResponsepaginateAlertsAction()
Paginating alerts
public
paginateAlertsAction(Request $request) : JsonResponse
Parameters
- $request : Request
Tags
Return values
JsonResponsesendNotificationAction()
Send notifications
public
sendNotificationAction(NotificationService $notificationService) : Response
Parameters
- $notificationService : NotificationService
Tags
Return values
ResponsevalidateAlertsAction()
Validate alerts
public
validateAlertsAction(Request $request) : JsonResponse
Parameters
- $request : Request
Tags
Return values
JsonResponsegenerateSdenTicket()
private
generateSdenTicket(mixed $sdenService) : mixed
Parameters
- $sdenService : mixed
getRandomString()
private
getRandomString(mixed $n) : string
Parameters
- $n : mixed