vinmonopolet-ts
Version:
Extracts information on products, categories and stores from Vinmonopolet
18 lines (17 loc) • 670 B
JavaScript
import BaseStore from "./BaseStore";
class PopulatedStore extends BaseStore {
/**
* The category of the store. The category ranges from 1 to 7, where 1 is the lowest possible product selection and 7 is the best possible product selection.
*/
category;
openingHours;
constructor(storeNumber, name, streetAddress, zip, city, latitude, longitude, category, openingHours) {
super(storeNumber, name, streetAddress, zip, city, latitude, longitude);
this.category = category;
this.openingHours = openingHours;
}
populate() {
return Promise.resolve(this);
}
}
export default PopulatedStore;