setOrderProductId(null); } else { $this->setOrderProductId($v->getId()); } $this->aOrderProduct = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildCustomer object, it will not be re-added. if (method_exists($v, 'addCreditNote') && $v !== null) { $v->addCreditNote($this); } return $this; } }