public function fetchInbound($inboundId)
    {
        $eiid = rawurlencode($inboundId);

        if (empty($eiid)) {
            throw new \InvalidArgumentException("Empty inbound ID given");
        }

        $result = $this->_get($this->_url("/inbounds/$eiid"));
        return Deserialize::moSms($result);
    }
public function fetchInbound($inboundId)
    {
        $eiid = rawurlencode($inboundId);

        if (empty($eiid)) {
            throw new \InvalidArgumentException("Empty inbound ID given");
        }

        $result = $this->_get($this->_url("/inbounds/$eiid"));
        return Deserialize::moSms($result);
    }
public function fetchInbound ( $ inboundId ) { $ eiid = rawurlencode ( $ inboundId ) ; if ( empty ( $ eiid ) ) { throw new \ InvalidArgumentException ( "Empty inbound ID given" ) ; } $ result = $ this -> _get ( $ this -> _url ( "/inbounds/$eiid" ) ) ; return Deserialize :: moSms ( $ result ) ; }
Fetches the inbound message with the given identifier.

The returned message is either
{@link Clx\Xms\Api\MoTextSms textual} or
{@link Clx\Xms\Api\MoBinarySms binary}.

@param string $inboundId message identifier

@return Api\MoSms the fetched message
Fetches the inbound message with the given identifier .