public function getPrepayId() { if ($this->isSuccessful()) { return $this->getData()['prepay_id']; } else { return null; } }