src/SignatureRequest.php
public static function inboxDownload($provider, $params = [])
    {
        if (isset($params['status']) && $params['status'] instanceof SignatureRequestStatus) {
            $params['status'] = mb_strtolower($params['status']->getValue());
        }

        return self::query($provider, [self::INBOX, self::DOWNLOAD], $params);
    }
public static function inboxDownload($provider, $params = [])
    {
        if (isset($params['status']) && $params['status'] instanceof SignatureRequestStatus) {
            $params['status'] = mb_strtolower($params['status']->getValue());
        }

        return self::query($provider, [self::INBOX, self::DOWNLOAD], $params);
    }
public static function inboxDownload ( $ provider , $ params = [ ] ) { if ( isset ( $ params [ 'status' ] ) && $ params [ 'status' ] instanceof SignatureRequestStatus ) { $ params [ 'status' ] = mb_strtolower ( $ params [ 'status' ] -> getValue ( ) ) ; } return self :: query ( $ provider , [ self :: INBOX , self :: DOWNLOAD ] , $ params ) ; }
Returns zip-archive of SendToSign inbox documents.
Supports a filter parameters such as 'status', 'perpage', 'datefrom',
'dateto', 'order', 'orderby'. Status can be only 'signed', 'in_progress' and 'sent'

@param $provider
@param array $params
@return string
Returns zip - archive of SendToSign inbox documents . Supports a filter parameters such as status perpage datefrom dateto order orderby . Status can be only signed in_progress and sent