NotaDebitoNormalizerStrategy
extends AbstractNormalizerStrategy
in package
implements
NotaDebitoNormalizerStrategyInterface
Normalizador del documento nota de débito.
Table of Contents
Interfaces
- NotaDebitoNormalizerStrategyInterface
- Interfaz del normalizador del documento nota de débito.
Properties
- $normalizeDataPostDocumentNormalizationJob : NormalizeDataPostDocumentNormalizationJob
- $normalizeDataPreDocumentNormalizationJob : NormalizeDataPreDocumentNormalizationJob
- $normalizeNotaDebitoJob : NormalizeNotaDebitoJob
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
$normalizeNotaDebitoJob
private
NormalizeNotaDebitoJob
$normalizeNotaDebitoJob
Methods
__construct()
public
__construct(NormalizeDataPreDocumentNormalizationJob $normalizeDataPreDocumentNormalizationJob, NormalizeDataPostDocumentNormalizationJob $normalizeDataPostDocumentNormalizationJob, NormalizeNotaDebitoJob $normalizeNotaDebitoJob) : mixed
Parameters
- $normalizeDataPreDocumentNormalizationJob : NormalizeDataPreDocumentNormalizationJob
- $normalizeDataPostDocumentNormalizationJob : NormalizeDataPostDocumentNormalizationJob
- $normalizeNotaDebitoJob : NormalizeNotaDebitoJob
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