public function withCallback($successCallback, $failedCallback = null, $callbackMode = self::CALLBACK_MODE_HTTP)
    {
        $this->callback = $successCallback;
        $this->failedCallback = $failedCallback;
        $this->callbackMode = $callbackMode;

        return $this;
    }