lib/Services/MandatePdfsService.php
public function create($params = array())
    {
        $path = "/mandate_pdfs";
        if(isset($params['params'])) { 
            $params['body'] = json_encode(array($this->envelope_key => (object)$params['params']));
        
            unset($params['params']);
        }

        
        $response = $this->api_client->post($path, $params);
        

        return $this->getResourceForResponse($response);
    }
public function create($params = array())
    {
        $path = "/mandate_pdfs";
        if(isset($params['params'])) { 
            $params['body'] = json_encode(array($this->envelope_key => (object)$params['params']));
        
            unset($params['params']);
        }

        
        $response = $this->api_client->post($path, $params);
        

        return $this->getResourceForResponse($response);
    }
public function create ( $ params = array ( ) ) { $ path = "/mandate_pdfs" ; if ( isset ( $ params [ 'params' ] ) ) { $ params [ 'body' ] = json_encode ( array ( $ this -> envelope_key => ( object ) $ params [ 'params' ] ) ) ; unset ( $ params [ 'params' ] ) ; } $ response = $ this -> api_client -> post ( $ path , $ params ) ; return $ this -> getResourceForResponse ( $ response ) ; }
Create a mandate PDF

Example URL: /mandate_pdfs

@param  string[mixed] $params An associative array for any params
@return MandatePdf
Create a mandate PDF