@@ -19,12 +19,21 @@ |
||
19 | 19 | const PRODUCCION = 'https://e-factura.sunat.gob.pe/ol-ti-itcpfegem/billService'; |
20 | 20 | const WSDL_ENDPOINT = 'https://e-beta.sunat.gob.pe/ol-ti-itcpfegem-beta/billService?wsdl'; |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $user |
|
24 | + * @param string $password |
|
25 | + */ |
|
22 | 26 | public function __construct($user, $password) |
23 | 27 | { |
24 | 28 | parent::__construct($user, $password); |
25 | 29 | $this->setUrlWsdl(FeSunat::WSDL_ENDPOINT); |
26 | 30 | } |
27 | 31 | |
32 | + /** |
|
33 | + * @param string $content |
|
34 | + * |
|
35 | + * @return string |
|
36 | + */ |
|
28 | 37 | public function send($filename, $content) |
29 | 38 | { |
30 | 39 | $client = parent::getClient(); |