LiquidacionFacturaNormalizerStrategy
extends AbstractNormalizerStrategy
in package
implements
LiquidacionFacturaNormalizerStrategyInterface
Normalizador del documento liquidación de factura.
Table of Contents
Interfaces
- LiquidacionFacturaNormalizerStrategyInterface
- Interfaz del normalizador del documento liquidación de factura.
Properties
- $normalizeDataPostDocumentNormalizationJob : NormalizeDataPostDocumentNormalizationJob
- $normalizeDataPreDocumentNormalizationJob : NormalizeDataPreDocumentNormalizationJob
- $normalizeLiquidacionFacturaJob : NormalizeLiquidacionFacturaJob
Methods
- __construct() : mixed
- normalize() : array<string|int, mixed>
- Normaliza los datos de un documento tributario electrónico.
- normalizeDocument() : void
- Normalización personalizada de cada estrategia.
Properties
$normalizeDataPostDocumentNormalizationJob
protected
NormalizeDataPostDocumentNormalizationJob
$normalizeDataPostDocumentNormalizationJob
$normalizeDataPreDocumentNormalizationJob
protected
NormalizeDataPreDocumentNormalizationJob
$normalizeDataPreDocumentNormalizationJob
$normalizeLiquidacionFacturaJob
private
NormalizeLiquidacionFacturaJob
$normalizeLiquidacionFacturaJob
Methods
__construct()
public
__construct(NormalizeDataPreDocumentNormalizationJob $normalizeDataPreDocumentNormalizationJob, NormalizeDataPostDocumentNormalizationJob $normalizeDataPostDocumentNormalizationJob, NormalizeLiquidacionFacturaJob $normalizeLiquidacionFacturaJob) : mixed
Parameters
- $normalizeDataPreDocumentNormalizationJob : NormalizeDataPreDocumentNormalizationJob
- $normalizeDataPostDocumentNormalizationJob : NormalizeDataPostDocumentNormalizationJob
- $normalizeLiquidacionFacturaJob : NormalizeLiquidacionFacturaJob
normalize()
Normaliza los datos de un documento tributario electrónico.
public
normalize(DocumentBagInterface $bag) : array<string|int, mixed>
Parameters
- $bag : DocumentBagInterface
-
Contenedor con los datos del documento a normalizar.
Return values
array<string|int, mixed>normalizeDocument()
Normalización personalizada de cada estrategia.
protected
normalizeDocument(DocumentBagInterface $bag) : void
Parameters
- $bag : DocumentBagInterface