-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTissCancelaGuia.php
120 lines (111 loc) · 3.98 KB
/
TissCancelaGuia.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?php
if (!class_exists("TissCancelaGuia", false))
{
include_once('cancelaGuiaWS.php');
include_once('cabecalhoTransacao.php');
include_once('identificacaoTransacao.php');
include_once('origem.php');
include_once('identificacaoPrestador.php');
include_once('destino.php');
include_once('ct_prestadorIdentificacao.php');
include_once('assinaturaDigital.php');
include_once('ct_loginSenha.php');
include_once('ct_guiaCancelamento.php');
include_once('ct_contratadoDados.php');
include_once('reciboCancelaGuiaWS.php');
include_once('ct_reciboCancelaGuia.php');
include_once('ct_motivoGlosa.php');
include_once('ct_guiaCancelamentoRecibo.php');
include_once('dadosGuia.php');
include_once('SignatureType.php');
include_once('SignedInfoType.php');
include_once('CanonicalizationMethodType.php');
include_once('SignatureMethodType.php');
include_once('ReferenceType.php');
include_once('TransformType.php');
include_once('DigestMethodType.php');
include_once('SignatureValueType.php');
include_once('KeyInfoType.php');
include_once('KeyValueType.php');
include_once('DSAKeyValueType.php');
include_once('RSAKeyValueType.php');
include_once('RetrievalMethodType.php');
include_once('X509DataType.php');
include_once('X509IssuerSerialType.php');
include_once('PGPDataType.php');
include_once('SPKIDataType.php');
include_once('ObjectType.php');
/**
* <b><font size=4>WebService para consumo dos prestadores no padrão TISS</font></b>
*
*/
class TissCancelaGuia extends \SoapClient
{
/**
*
* @var array $classmap The defined classes
* @access private
*/
private static $classmap = array(
'cancelaGuiaWS' => '\\cancelaGuiaWS',
'cabecalhoTransacao' => '\\cabecalhoTransacao',
'identificacaoTransacao' => '\\identificacaoTransacao',
'origem' => '\\origem',
'identificacaoPrestador' => '\\identificacaoPrestador',
'destino' => '\\destino',
'ct_prestadorIdentificacao' => '\\ct_prestadorIdentificacao',
'assinaturaDigital' => '\\assinaturaDigital',
'ct_loginSenha' => '\\ct_loginSenha',
'ct_guiaCancelamento' => '\\ct_guiaCancelamento',
'ct_contratadoDados' => '\\ct_contratadoDados',
'reciboCancelaGuiaWS' => '\\reciboCancelaGuiaWS',
'ct_reciboCancelaGuia' => '\\ct_reciboCancelaGuia',
'ct_motivoGlosa' => '\\ct_motivoGlosa',
'ct_guiaCancelamentoRecibo' => '\\ct_guiaCancelamentoRecibo',
'dadosGuia' => '\\dadosGuia',
'SignatureType' => '\\SignatureType',
'SignedInfoType' => '\\SignedInfoType',
'CanonicalizationMethodType' => '\\CanonicalizationMethodType',
'SignatureMethodType' => '\\SignatureMethodType',
'ReferenceType' => '\\ReferenceType',
'TransformType' => '\\TransformType',
'DigestMethodType' => '\\DigestMethodType',
'SignatureValueType' => '\\SignatureValueType',
'KeyInfoType' => '\\KeyInfoType',
'KeyValueType' => '\\KeyValueType',
'DSAKeyValueType' => '\\DSAKeyValueType',
'RSAKeyValueType' => '\\RSAKeyValueType',
'RetrievalMethodType' => '\\RetrievalMethodType',
'X509DataType' => '\\X509DataType',
'X509IssuerSerialType' => '\\X509IssuerSerialType',
'PGPDataType' => '\\PGPDataType',
'SPKIDataType' => '\\SPKIDataType',
'ObjectType' => '\\ObjectType');
/**
*
* @param array $options A array of config values
* @param string $wsdl The wsdl file to use
* @access public
*/
public function __construct(array $options = array(), $wsdl = 'http://wstiss.qualysystem.com.br/V3_00_01/tissCancelaGuia.asmx?wsdl')
{
foreach (self::$classmap as $key => $value) {
if (!isset($options['classmap'][$key])) {
$options['classmap'][$key] = $value;
}
}
parent::__construct($wsdl, $options);
}
/**
* Método extraído de interface dos wsdl (implementa-se o xsd tisswebservicesv3_00_01)
*
* @param cancelaGuiaWS $cancelaGuiaWS
* @access public
* @return reciboCancelaGuiaWS
*/
public function tissCancelaGuia_Operation(cancelaGuiaWS $cancelaGuiaWS)
{
return $this->__soapCall('tissCancelaGuia_Operation', array($cancelaGuiaWS));
}
}
}