StockAlertsTrait
This is the user stock alerts trait.
The methods that manage stock alerts requests to the API will be located here.
Tags
Table of Contents
addGetStockAlerts() | Add the request to get the areas filtered with the given parameters | : void |
---|---|---|
deleteStockAlerts() | Delete the user address identified by the given id | : Status|null |
getStockAlerts() | Returns the areas filtered with the given parameters | : ElementCollection|null |
Methods
addGetStockAlerts()
Add the request to get the areas filtered with the given parameters
public
addGetStockAlerts(BatchRequests $batchRequests, string $batchName) : void
Parameters
- $batchRequests : BatchRequests
- $batchName : string
-
the name that will identify the request on the batch return.
Return values
void —deleteStockAlerts()
Delete the user address identified by the given id
public
deleteStockAlerts(int $id) : Status|null
Parameters
- $id : int
Return values
Status|null —getStockAlerts()
Returns the areas filtered with the given parameters
public
getStockAlerts() : ElementCollection|null