/** * Get paymentCondition * * @return string */ public function getPaymentCondition() { if (!$this->paymentCondition && $this->getId()) { return $this->customer->getPaymentCondition(); } return $this->paymentCondition; }