From 6a8f9ec58999cefac7403bbb36458893db63b646 Mon Sep 17 00:00:00 2001 From: RenCurs <34103666+RenCurs@users.noreply.github.com> Date: Tue, 14 Dec 2021 15:18:01 +0300 Subject: [PATCH] Fix data of store in "RequestSave" (#132) --- .../Entity/Delivery/RequestProperty/RequestSave.php | 8 -------- src/Model/Callback/Entity/Delivery/Store.php | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Model/Callback/Entity/Delivery/RequestProperty/RequestSave.php b/src/Model/Callback/Entity/Delivery/RequestProperty/RequestSave.php index 3411cb9..52a46e5 100644 --- a/src/Model/Callback/Entity/Delivery/RequestProperty/RequestSave.php +++ b/src/Model/Callback/Entity/Delivery/RequestProperty/RequestSave.php @@ -67,14 +67,6 @@ class RequestSave */ public $store; - /** - * @var \RetailCrm\Api\Model\Callback\Entity\Delivery\SerializedStoreWeekOpeningHours - * - * @JMS\Type("RetailCrm\Api\Model\Callback\Entity\Delivery\SerializedStoreWeekOpeningHours") - * @JMS\SerializedName("storeworkTime") - */ - public $storeworkTime; - /** * @var string * diff --git a/src/Model/Callback/Entity/Delivery/Store.php b/src/Model/Callback/Entity/Delivery/Store.php index ad0765e..1b85ece 100644 --- a/src/Model/Callback/Entity/Delivery/Store.php +++ b/src/Model/Callback/Entity/Delivery/Store.php @@ -34,4 +34,12 @@ class Store * @JMS\SerializedName("name") */ public $name; + + /** + * @var \RetailCrm\Api\Model\Callback\Entity\Delivery\SerializedStoreWeekOpeningHours + * + * @JMS\Type("RetailCrm\Api\Model\Callback\Entity\Delivery\SerializedStoreWeekOpeningHours") + * @JMS\SerializedName("workTime") + */ + public $workTime; }