GetDocumentSiiReceptionDateResponse
in package
implements
JsonSerializable
Respuesta del SII con la fecha de recepción de un DTE en el SII.
El SII retorna la fecha en formato DD-MM-YYYY HH:MM:SS dentro del XML de
respuesta. Esta clase la normaliza a YYYY-MM-DD HH:MM:SS.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $receptionDate : string
- Fecha de recepción en formato `YYYY-MM-DD HH:MM:SS`.
Methods
- __construct() : mixed
- getReceptionDate() : string
- Entrega la fecha de recepción en formato `YYYY-MM-DD HH:MM:SS`.
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$receptionDate
Fecha de recepción en formato `YYYY-MM-DD HH:MM:SS`.
private
string
$receptionDate
Methods
__construct()
public
__construct(array<string|int, mixed> $response) : mixed
Parameters
- $response : array<string|int, mixed>
getReceptionDate()
Entrega la fecha de recepción en formato `YYYY-MM-DD HH:MM:SS`.
public
getReceptionDate() : string
Return values
stringjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>