Download lucas-simoes / php-nfse / PedidoCancelaNFSe.php - Solve class 'PedidoCancelaNFSe' not found
This file is part of the package lucas-simoes/php-nfse.
Please go to our download page to download this composer package and to solve the problem class 'PedidoCancelaNFSe' not found.
Download lucas-simoes/php-nfse
Class is not correct?
Search class PedidoCancelaNFSe
<?php
namespace NFePHP\NFSe\Models\Infisc\Factories;
use NFePHP\NFSe\Models\Infisc\Factories\Factory;
class PedidoCancelaNFSe extends Factory
{
public function render(
$versao,
$CNPJ,
$chave,
$motivo
) {
$xsd = 'SchemaCaxias-NFSe';
$method = "pedCancelaNFSe";
$content = "<$method versao=\"1.0\">";
$content .= "<CNPJ>$CNPJ</CNPJ>";
$content .= "<chvAcessoNFS-e>$chave</chvAcessoNFS-e>";
$content .= "<motivo>$motivo</motivo>";
$content .= "</$method>";
$body = \NFePHP\Common\Signer::sign(
$this->certificate,
$content,
$method,
'',
$this->algorithm,
[false,false,null,null]
);
$this->validar($versao, $body, 'Infisc', $xsd, '');
return $body;
}
}