vinmonopolet-ts
Version:
Extracts information on products, categories and stores from Vinmonopolet
14 lines (13 loc) • 379 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class RawMaterial {
constructor({ id, name, percentage }) {
this.id = id;
this.name = name;
this.percentage = percentage ? Number(percentage) : null;
}
}
RawMaterial.prototype.toString = function () {
return this.name;
};
exports.default = RawMaterial;