public setProductId ( integer $productId ) | ||
$productId | integer | the product id |
public function setProductId($productId)
{
// never erase this value
if ($this->productId !== null) {
return;
}
$this->productId = $productId;
}