Constructor
new Superset(dataopt)
Create an instance of a super set item.
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
object |
<optional> |
The API response data
Properties
|
- Source:
Classes
Members
color_id :number
Type:
- number
- Source:
entries :Array.<SupersetEntry>
Type:
- Array.<SupersetEntry>
- Source:
Methods
(static) get(itemType, itemNumber, options) → {BricklinkRequest}
Method to get a superset of a catalog item
Usage:
```
var req = Superset.get(ItemType.Part, '4593');
client.send(req).then(superset => console.log(superset));
```
Parameters:
Name | Type | Description |
---|---|---|
itemType |
string | Catalog item type |
itemNumber |
string | Catalog item number |
options |
object | Options that conform to SupersetOptions. |
- Source:
Returns:
A request that will return an array of Superset items.
- Type
- BricklinkRequest