Constructor
# new GetManufacturerDetails(userConfigopt)
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
userConfig |
FetchConfig |
<optional> |
User configuration options to construct the class with. |
Methods
# async GetManufacturerDetails(manufacturer) → {Promise.<GetManufacturerDetailsResponse>}
This provides the details for a specific manufacturer that is requested.
- If supplied
manufactureris a number - method will do exact match on Manufacturer's Id. - If supplied
manufactureris a string - it will look for manufacturers whose name is LIKE the provided name, (it accepts a partial manufacturer name as an input). - Multiple results are returned in case of multiple matches.
Parameters:
| Name | Type | Description |
|---|---|---|
manufacturer |
string | number | Manufacturer Name (string) or Manufacturer ID (number). |
Api Response object.
Promise.<GetManufacturerDetailsResponse>