tagcard() public method

tagcard Grupo de Cartões YA04 pai YA01 tag NFe/infNFe/pag/card
public tagcard ( string $cnpj = '', string $tBand = '', string $cAut = '', $tpIntegra = '' ) : DOMElement
$cnpj string
$tBand string
$cAut string
return DOMElement
Beispiel #1
0
 /**
  * yaEntity
  * Cria as tags pag e card
  *
  * @param array $aCampos
  */
 protected function yaEntity($aCampos)
 {
     //YA|tPag|vPag|CNPJ|tBand|cAut|tpIntegra|
     $this->make->tagpag($aCampos[1], $aCampos[2]);
     if ($aCampos[4] != '') {
         $this->make->tagcard($aCampos[3], $aCampos[4], $aCampos[5], $aCampos[6]);
     }
 }