Ajout méthode getKbis, issue #0000379

This commit is contained in:
Michael RICOIS 2010-11-23 10:42:33 +00:00
parent a29c3e2941
commit 7f4c8d0578
3 changed files with 41 additions and 5 deletions

View File

@ -46,4 +46,7 @@ Type.44 = "DevisesReturn"
Type.45 = "Devise"
Type.46 = "DevisesCoursReturn"
Type.47 = "DevisesCours"
Type.47 = "DupliqueAnnonceReturn"
Type.48 = "DupliqueAnnonceReturn"
Type.49 = "PiecesReturn"
Type.50 = "PiecesResult"

View File

@ -730,3 +730,29 @@ class DupliqueAnnonceReturn
/** @var int */
public $result;
}
class PiecesReturn
{
/** @var ErrorType */
public $error;
/** @var PiecesResult */
public $result;
}
class PiecesResult
{
/** @var string */
public $Siren;
/** @var string */
public $Url;
/** @var string */
public $Taille;
/** @var string */
public $Cache;
/** @var array */
public $debug;
/** @var string */
public $fichier;
}

View File

@ -2630,10 +2630,17 @@ if ($infoEnq['LitigeChoix']<>'non')
return array('error'=>array('errnum'=>0, 'errmsg'=>''), 'results'=>$tabRet);
}
/** Récupération d'un kbis
** @nodoc
**/
protected function getKbis($siren, $visu=1, $courrier=0, $mail='', $ref='') {
/**
* Récupération d'un kbis
* @param string $siren
* @param int $visu
* @param int $courrier
* @param string $mail
* @param string $ref
* @return PiecesReturn
*/
public function getKbis($siren, $visu=1, $courrier=0, $mail='', $ref='')
{
return $this->getPiece($siren, 'kbis', '', $visu, $courrier, $ref);
}