public function GetCredit() { $client = new SoapClient($this->wsdl_link); $result = $client->GetRemainingCredit(array('Username' => $this->username, 'Password' => $this->password)); return $result->GetRemainingCreditResult; }