public function sendSignatureRequest(SignatureRequest $request)
    {
        $params = $request->toParams();

        $response = $this->rest->post(
            static::SIGNATURE_REQUEST_SEND_PATH,
            $params
        );

        $this->checkResponse($response);

        return $request->fromResponse($response);
    }
public function sendSignatureRequest(SignatureRequest $request)
    {
        $params = $request->toParams();

        $response = $this->rest->post(
            static::SIGNATURE_REQUEST_SEND_PATH,
            $params
        );

        $this->checkResponse($response);

        return $request->fromResponse($response);
    }
public function sendSignatureRequest ( SignatureRequest $ request ) { $ params = $ request -> toParams ( ) ; $ response = $ this -> rest -> post ( static :: SIGNATURE_REQUEST_SEND_PATH , $ params ) ; $ this -> checkResponse ( $ response ) ; return $ request -> fromResponse ( $ response ) ; }
Send a new SignatureRequest with the submitted documents

@param  SignatureRequest $request
@return SignatureRequest
@throws BaseException
Send a new SignatureRequest with the submitted documents