Example #1
0
 public function GetCredit()
 {
     if (!$this->username && !$this->password) {
         return;
     }
     $client = new SoapClient($this->wsdl_link);
     $result = $client->Credit(array('username' => $this->username, 'password' => $this->password));
     return $result->CreditResult;
 }