src/Octopush/Api.php
public function getCredit()
    {
        $this->client->request('credit');
        $response = $this->getResponse();

        if ($response['error_code'] !== '000') {
            return 0.00;
        }

        return (float) $response['credit'];
    }
public function getCredit()
    {
        $this->client->request('credit');
        $response = $this->getResponse();

        if ($response['error_code'] !== '000') {
            return 0.00;
        }

        return (float) $response['credit'];
    }
public function getCredit ( ) { $ this -> client -> request ( 'credit' ) ; $ response = $ this -> getResponse ( ) ; if ( $ response [ 'error_code' ] !== '000' ) { return 0.00 ; } return ( float ) $ response [ 'credit' ] ; }
Retourne le solde sms en Euros.

@return float
Retourne le solde sms en Euros .