AvailabilityService
This service class contains various methods for getting item availabilities.
All public functions are available in the Twig template renderer.
Namespace
IO\Services
Type | Name | Description |
---|---|---|
|
This repository is used for fetching and updating availabilities. |
Methods
public __construct($availabilityRepository)
AvailabilityService constructor.
Type |
Name |
Description |
|
This repository is used for fetching and updating availabilities. |
public getAvailabilityById($availabilityId):Availability
Get the item availability by id
Type |
Name |
Description |
|
The id of the availability, between 1 and 10 |
public getAvailabilities():array
Get all item availabilities
Thank you for your feedback!