public function __construct($itemId, $typeId, $typeName, $name, $ref, $unit, $desc, $features, $manufacturer, $rprice, $wprice, $tax, $img, $plength, $pwidth, $pheight, $pweight, $pshape) { parent::__construct($typeId, $typeName, $unit); $this->itemId = $itemId; $this->name = $name; $this->reference = $ref; $this->description = $desc; $this->retail_price = $rprice; $this->wholesale_price = $wprice; $this->taxcode = $tax; $this->image = $img; $this->manufacturer = $manufacturer; $this->setFeatures($features); $this->setImages(); $this->setShippingDetails($plength, $pwidth, $pheight, $pweight, $pshape); }