Metaregistrar\EPP\ficoraEppCheckBalanceResponse::getBalanceAmount PHP Method

getBalanceAmount() public method

public getBalanceAmount ( )
    public function getBalanceAmount()
    {
        $xpath = $this->xPath();
        $result = $xpath->query('/epp:epp/epp:response/epp:resData/epp:balanceamount');
        if (is_object($result) && $result->length > 0) {
            return trim($result->item(0)->nodeValue);
        } else {
            return null;
        }
    }