LibreDTE

BuildDteCedidoJob extends AbstractJob
in package
implements JobInterface

Construye el XML `DTECedido` firmado.

Embebe el XML del DocumentInterface dentro de la estructura DocumentoDTECedido usando un placeholder para el nodo <DTE> y luego reemplaza con str_replace. Firma el DocumentoDTECedido con ID LibreDTE_DTECedido.

Attributes
#[Job]
$name: 'build_dte_cedido'
$worker: 'aec'
$component: 'ownership_transfer'
$package: 'billing'

Table of Contents

Interfaces

JobInterface

Properties

$signatureService  : SignatureServiceInterface
$xmlEncoder  : XmlEncoderInterface

Methods

__construct()  : mixed
build()  : DteCedido
Construye y firma el XML `DTECedido`.

Properties

Methods

__construct()

public __construct(XmlEncoderInterface $xmlEncoder, SignatureServiceInterface $signatureService) : mixed
Parameters
$xmlEncoder : XmlEncoderInterface
$signatureService : SignatureServiceInterface

        
On this page

Search results