From d0ebd84cc8ed12b7da5fe6396f7c8d1a99aa6340 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Thu, 15 Jul 2021 10:35:33 +0300 Subject: [PATCH] correct DTO for settings statuses list in the delivery module configuration --- .../Entity/Integration/Delivery/Settings.php | 4 +- .../Integration/Delivery/SettingsStatus.php | 37 +++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 src/Model/Entity/Integration/Delivery/SettingsStatus.php diff --git a/src/Model/Entity/Integration/Delivery/Settings.php b/src/Model/Entity/Integration/Delivery/Settings.php index 62434d5..fc65b35 100644 --- a/src/Model/Entity/Integration/Delivery/Settings.php +++ b/src/Model/Entity/Integration/Delivery/Settings.php @@ -68,9 +68,9 @@ class Settings public $shipmentPoints; /** - * @var \RetailCrm\Api\Model\Entity\Integration\Delivery\Status[] + * @var \RetailCrm\Api\Model\Entity\Integration\Delivery\SettingsStatus[] * - * @JMS\Type("array") + * @JMS\Type("array") * @JMS\SerializedName("statuses") */ public $statuses; diff --git a/src/Model/Entity/Integration/Delivery/SettingsStatus.php b/src/Model/Entity/Integration/Delivery/SettingsStatus.php new file mode 100644 index 0000000..357e6bc --- /dev/null +++ b/src/Model/Entity/Integration/Delivery/SettingsStatus.php @@ -0,0 +1,37 @@ +