Skip to content

Commit

Permalink
Añadidas interfaces para las Diputaciones Forales Vascas y Gobierno V…
Browse files Browse the repository at this point in the history
…asco
  • Loading branch information
alphp committed Aug 8, 2019
1 parent 4d1284f commit 604f0dc
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fawno/facturae",
"version": "1.0.1",
"version": "1.0.2",
"description": "Clases para la gestión de facturas electrónicas",
"license": "MIT",
"authors": [
Expand Down
28 changes: 28 additions & 0 deletions src/wsdlFACeDFA.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
/*
Copyright 2018, Fawno (https://github.com/fawno)
Licensed under The MIT License
Redistributions of files must retain the above copyright notice.
@copyright Copyright 2018, Fawno (https://github.com/fawno)
@license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

namespace Fawno\Facturae;

use wsdlFACe;

class wsdlFACeDFA extends wsdlFACe {
protected $devel = 'https://www.araba.eus/FacturaeProv/FacturaeProvService?wsdl';
protected $wsdl = 'https://www.araba.eus/FacturaeProv/FacturaeProvService?wsdl';
protected $private_key = null;
protected $public_key = null;

public function __construct ($pkcs12_file = null, $pkcs12_pass = null, $options = [], $devel = false, $ssl_verifypeer = true) {
if ($devel) $this->wsdl = $this->devel;
$options['location'] = $this->wsdl;

return parent::__construct($pkcs12_file, $pkcs12_pass, $options, $devel, $ssl_verifypeer);
}
}
28 changes: 28 additions & 0 deletions src/wsdlFACeDFB.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
/*
Copyright 2018, Fawno (https://github.com/fawno)
Licensed under The MIT License
Redistributions of files must retain the above copyright notice.
@copyright Copyright 2018, Fawno (https://github.com/fawno)
@license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

namespace Fawno\Facturae;

use wsdlFACe;

class wsdlFACeDFB extends wsdlFACe {
protected $devel = 'http://80.245.0.101/CGS2/FacturaSSPPWebServiceProxyPort?WSDL';
protected $wsdl = 'http://apps.bizkaia.net/CGS2/FacturaSSPPWebServiceProxyPort?WSDL';
protected $private_key = null;
protected $public_key = null;

public function __construct ($pkcs12_file = null, $pkcs12_pass = null, $options = [], $devel = false, $ssl_verifypeer = true) {
if ($devel) $this->wsdl = $this->devel;
$options['location'] = $this->wsdl;

return parent::__construct($pkcs12_file, $pkcs12_pass, $options, $devel, $ssl_verifypeer);
}
}
28 changes: 28 additions & 0 deletions src/wsdlFACeDFG.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
/*
Copyright 2018, Fawno (https://github.com/fawno)
Licensed under The MIT License
Redistributions of files must retain the above copyright notice.
@copyright Copyright 2018, Fawno (https://github.com/fawno)
@license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

namespace Fawno\Facturae;

use wsdlFACe;

class wsdlFACeDFG extends wsdlFACe {
protected $devel = 'https://w390w.gipuzkoa.net/WAS/HACI/HFAServiciosProveedoresWEB/services/FacturaSSPPWebServiceProxyPort?wsdl';
protected $wsdl = 'https://w390w.gipuzkoa.net/WAS/HACI/HFAServiciosProveedoresWEB/services/FacturaSSPPWebServiceProxyPort?wsdl';
protected $private_key = null;
protected $public_key = null;

public function __construct ($pkcs12_file = null, $pkcs12_pass = null, $options = [], $devel = false, $ssl_verifypeer = true) {
if ($devel) $this->wsdl = $this->devel;
$options['location'] = $this->wsdl;

return parent::__construct($pkcs12_file, $pkcs12_pass, $options, $devel, $ssl_verifypeer);
}
}
28 changes: 28 additions & 0 deletions src/wsdlFACeGV.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
/*
Copyright 2018, Fawno (https://github.com/fawno)
Licensed under The MIT License
Redistributions of files must retain the above copyright notice.
@copyright Copyright 2018, Fawno (https://github.com/fawno)
@license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

namespace Fawno\Facturae;

use wsdlFACe;

class wsdlFACeGV extends wsdlFACe {
protected $devel = 'https://svc.integracion.test.euskadi.net/ctxweb/secured_ssl/w42ajEFacturaSSPP2?WSDL';
protected $wsdl = 'https://svc.integracion.euskadi.net/ctxweb/secured_ssl/w42ajEFacturaSSPP2?WSDL';
protected $private_key = null;
protected $public_key = null;

public function __construct ($pkcs12_file = null, $pkcs12_pass = null, $options = [], $devel = false, $ssl_verifypeer = true) {
if ($devel) $this->wsdl = $this->devel;
$options['location'] = $this->wsdl;

return parent::__construct($pkcs12_file, $pkcs12_pass, $options, $devel, $ssl_verifypeer);
}
}

0 comments on commit 604f0dc

Please sign in to comment.