protected function execute()
    {
        $response = $this->service->IPGApiAction($this);

        if ($response instanceof Error) {
            return $response;
        }

        if ($this->function === self::FUNCTION_INSTALL) {
            return new Sell($response);
        }

        return new ConfirmRecurring($response);
    }
protected function execute()
    {
        $response = $this->service->IPGApiAction($this);

        if ($response instanceof Error) {
            return $response;
        }

        if ($this->function === self::FUNCTION_INSTALL) {
            return new Sell($response);
        }

        return new ConfirmRecurring($response);
    }
protected function execute ( ) { $ response = $ this -> service -> IPGApiAction ( $ this ) ; if ( $ response instanceof Error ) { return $ response ; } if ( $ this -> function === self :: FUNCTION_INSTALL ) { return new Sell ( $ response ) ; } return new ConfirmRecurring ( $ response ) ; }
Execute this action

@return ConfirmRecurring|Sell|Error
Execute this action