public function setEndPoint($endPoint)
    {
        if (strlen($this->getEndPointGroup()) > 0)
        {
            throw new RuntimeException(
                "End point group has been already set. You can set either end point or end point group."
            );
        }

        $this->endPoint = (int) $endPoint;

        return $this;
    }
public function setEndPoint($endPoint)
    {
        if (strlen($this->getEndPointGroup()) > 0)
        {
            throw new RuntimeException(
                "End point group has been already set. You can set either end point or end point group."
            );
        }

        $this->endPoint = (int) $endPoint;

        return $this;
    }
public function setEndPoint ( $ endPoint ) { if ( strlen ( $ this -> getEndPointGroup ( ) ) > 0 ) { throw new RuntimeException ( "End point group has been already set. You can set either end point or end point group." ) ; } $ this -> endPoint = ( int ) $ endPoint ; return $ this ; }
Set merchant end point

@param       integer     $endPoint       Merchant end point

@return      self
Set merchant end point