public function getPaymentUrl() { if (empty($this->links->paymentUrl)) { return NULL; } return $this->links->paymentUrl; }