BoletaAfectaNormalizerStrategy
extends AbstractNormalizerStrategy
in package
implements
BoletaAfectaNormalizerStrategyInterface
Normalizador del documento boleta afecta.
Table of Contents
Interfaces
- BoletaAfectaNormalizerStrategyInterface
- Interfaz del normalizador del documento boleta afecta.
Properties
- $normalizeDataPostDocumentNormalizationJob : NormalizeDataPostDocumentNormalizationJob
- $normalizeDataPreDocumentNormalizationJob : NormalizeDataPreDocumentNormalizationJob
- $normalizeBoletaAfectaJob : NormalizeBoletaAfectaJob
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
$normalizeBoletaAfectaJob
private
NormalizeBoletaAfectaJob
$normalizeBoletaAfectaJob
Methods
__construct()
public
__construct(NormalizeDataPreDocumentNormalizationJob $normalizeDataPreDocumentNormalizationJob, NormalizeDataPostDocumentNormalizationJob $normalizeDataPostDocumentNormalizationJob, NormalizeBoletaAfectaJob $normalizeBoletaAfectaJob) : mixed
Parameters
- $normalizeDataPreDocumentNormalizationJob : NormalizeDataPreDocumentNormalizationJob
- $normalizeDataPostDocumentNormalizationJob : NormalizeDataPostDocumentNormalizationJob
- $normalizeBoletaAfectaJob : NormalizeBoletaAfectaJob
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