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