for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Lamoda\IsmpClient\V3\Dto;
use Symfony\Component\Serializer\Annotation\SerializedName;
final class FacadeDocListV2ItemResponse
{
private const DATE_FORMAT = '';
/**
* @var string
*/
private $number;
* @SerializedName("docDate")
private $docDate;
* @SerializedName("receivedAt")
private $receivedAt;
private $type;
private $status;
* @SerializedName("senderName")
private $senderName;
public function __construct(
string $number,
string $docDate,
string $receivedAt,
string $type,
string $status,
string $senderName
) {
$this->number = $number;
$this->docDate = $docDate;
$this->receivedAt = $receivedAt;
$this->type = $type;
$this->status = $status;
$this->senderName = $senderName;
}
public function getNumber(): string
return $this->number;
public function getDocDate(): string
return $this->docDate;
* @throws \Exception
public function getDocDateDateTime(): \DateTimeImmutable
return new \DateTimeImmutable($this->docDate);
public function getReceivedAt(): string
return $this->receivedAt;
public function getReceivedAtDateTime(): \DateTimeImmutable
return new \DateTimeImmutable($this->receivedAt);
public function getType(): string
return $this->type;
public function getStatus(): string
return $this->status;
public function getSenderName(): string
return $this->senderName;