DocumentComponentInterface
extends
ComponentInterface
in
Interfaz para `DocumentComponent`.
Table of Contents
Methods
- bill() : DocumentBagInterface
- Ejecuta el proceso de facturación sobre los datos.
- getBatchProcessorWorker() : BatchProcessorWorkerInterface
- Entrega el worker "billing.document.batch_processor".
- getBuilderWorker() : BuilderWorkerInterface
- Entrega el worker "billing.document.builder".
- getDispatcherWorker() : DispatcherWorkerInterface
- Entrega el worker "billing.document.dispatcher".
- getDocumentBagManagerWorker() : DocumentBagManagerWorkerInterface
- Entrega el worker "billing.document.document_bag_manager".
- getLoaderWorker() : LoaderWorkerInterface
- Entrega el worker "billing.document.loader".
- getNormalizerWorker() : NormalizerWorkerInterface
- Entrega el worker "billing.document.normalizer".
- getParserWorker() : ParserWorkerInterface
- Entrega el worker "billing.document.parser".
- getRendererWorker() : RendererWorkerInterface
- Entrega el worker "billing.document.renderer".
- getSanitizerWorker() : SanitizerWorkerInterface
- Entrega el worker "billing.document.sanitizer".
- getValidatorWorker() : ValidatorWorkerInterface
- Entrega el worker "billing.document.validator".
Methods
bill()
Ejecuta el proceso de facturación sobre los datos.
public
bill(string|array<string|int, mixed>|stdClass $data[, string|CafInterface|null $caf = null ][, string|array<string|int, mixed>|CertificateInterface|null $certificate = null ][, array<string|int, mixed>|DataContainerInterface|null $options = null ]) : DocumentBagInterface
Si se pasa un CAF el documento será timbrado.
Si se pasa un CAF el documento será firmado.
Parameters
- $data : string|array<string|int, mixed>|stdClass
- $caf : string|CafInterface|null = null
- $certificate : string|array<string|int, mixed>|CertificateInterface|null = null
- $options : array<string|int, mixed>|DataContainerInterface|null = null
Return values
DocumentBagInterfacegetBatchProcessorWorker()
Entrega el worker "billing.document.batch_processor".
public
getBatchProcessorWorker() : BatchProcessorWorkerInterface
Return values
BatchProcessorWorkerInterfacegetBuilderWorker()
Entrega el worker "billing.document.builder".
public
getBuilderWorker() : BuilderWorkerInterface
Return values
BuilderWorkerInterfacegetDispatcherWorker()
Entrega el worker "billing.document.dispatcher".
public
getDispatcherWorker() : DispatcherWorkerInterface
Return values
DispatcherWorkerInterfacegetDocumentBagManagerWorker()
Entrega el worker "billing.document.document_bag_manager".
public
getDocumentBagManagerWorker() : DocumentBagManagerWorkerInterface
Return values
DocumentBagManagerWorkerInterfacegetLoaderWorker()
Entrega el worker "billing.document.loader".
public
getLoaderWorker() : LoaderWorkerInterface
Return values
LoaderWorkerInterfacegetNormalizerWorker()
Entrega el worker "billing.document.normalizer".
public
getNormalizerWorker() : NormalizerWorkerInterface
Return values
NormalizerWorkerInterfacegetParserWorker()
Entrega el worker "billing.document.parser".
public
getParserWorker() : ParserWorkerInterface
Return values
ParserWorkerInterfacegetRendererWorker()
Entrega el worker "billing.document.renderer".
public
getRendererWorker() : RendererWorkerInterface
Return values
RendererWorkerInterfacegetSanitizerWorker()
Entrega el worker "billing.document.sanitizer".
public
getSanitizerWorker() : SanitizerWorkerInterface
Return values
SanitizerWorkerInterfacegetValidatorWorker()
Entrega el worker "billing.document.validator".
public
getValidatorWorker() : ValidatorWorkerInterface