Constructor
new Company(id, companySection)
Initializes this object.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
id |
string
|
The id of the review. |
companySection |
exports.CompanySection
|
The parent CompanySection. |
Methods
(async) getAlternativeNamesAsync() → {Promise.<*>}
Gets the alternative names of this company
- Source:
Returns:
- Type:
-
Promise.<*>
A Promise of alternative names.
(async) getDetailsAsync() → {Promise.<*>}
Gets the company details based on the passed id.
- Source:
Returns:
- Type:
-
Promise.<*>
A Promise of company details.
(async) getImagesAsync() → {Promise.<*>}
Gets images of this company.
- Source:
Returns:
- Type:
-
Promise.<*>
A Promise of company images.