From 6e0adffb465005fac41bff67b31302099a0bae21 Mon Sep 17 00:00:00 2001 From: CrazyProgg Date: Thu, 22 Aug 2019 16:49:05 +0300 Subject: [PATCH] add fns_site payload property support (#10) --- src/AtolOnlineClient/Response/Payload.php | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/AtolOnlineClient/Response/Payload.php b/src/AtolOnlineClient/Response/Payload.php index f78075c..f3a297d 100644 --- a/src/AtolOnlineClient/Response/Payload.php +++ b/src/AtolOnlineClient/Response/Payload.php @@ -89,6 +89,16 @@ class Payload */ private $fiscalDocumentAttribute; + /** + * Адрес сайта ФНС + * + * @var string + * @Serializer\Groups({"get"}) + * @Serializer\SerializedName("fns_site") + * @Serializer\Type("string") + */ + private $fnsSite; + /** * @return mixed */ @@ -248,4 +258,24 @@ class Payload return $this; } + + /** + * @return string + */ + public function getFnsSite() + { + return $this->fnsSite; + } + + /** + * @param $string $fnsSite + * + * @return $this + */ + public function setFnsSite($fnsSite) + { + $this->fnsSite = $fnsSite; + + return $this; + } }