Свойство | Type | Description | |
---|---|---|---|
$lastMsg | string | lastMsg | |
$soapDebug | string | soapDebug | |
$soapTimeout | integer | soapTimeout |
Свойство | Type | Description | |
---|---|---|---|
$infoCurl | array | infoCurl |
Méthode | Description | |
---|---|---|
__construct ( string $priKeyPath = '', string $pubKeyPath = '', string $certKeyPath = '', string $timeout = 10, integer $sslProtocol ) | __construct | |
getIBPTProd ( string $cnpj = '', string $tokenIBPT = '', string $ncm = '', string $siglaUF = '', string $exTarif = '0' ) : array | getIBPTProd Consulta o serviço do IBPT para obter os impostos ao consumidor conforme Lei 12.741/2012 | |
getProxy ( ) : array | getProxy Retorna os dados de configuração do Proxy em um array | |
getWsdl ( $urlservice ) : boolean | string | getWsdl Baixa o arquivo wsdl do webservice | |
send ( $urlservice, string $namespace, string $header, string $body, string $method ) : boolean | string | Envia mensagem ao webservice | |
setProxy ( string $ipNumber, string $port, string $user = '', string $pass = '' ) : boolean | setProxy Seta o uso do proxy |
Méthode | Description | |
---|---|---|
zCommCurl ( string $url, string $data = '', string $parametros = [], $port = 443 ) : string | zCommCurl Realiza da comunicação via cURL |
Méthode | Description | |
---|---|---|
zDebug ( array $info = [], string $data = '', string $resposta = '' ) | zDebug |
public __construct ( string $priKeyPath = '', string $pubKeyPath = '', string $certKeyPath = '', string $timeout = 10, integer $sslProtocol ) | ||
$priKeyPath | string | path para a chave privada |
$pubKeyPath | string | path para a chave publica |
$certKeyPath | string | path para o certificado |
$timeout | string | tempo de espera da resposta do webservice |
$sslProtocol | integer |