correct DTO for settings statuses list in the delivery module configuration
This commit is contained in:
commit
1bdf8be34c
@ -68,9 +68,9 @@ class Settings
|
|||||||
public $shipmentPoints;
|
public $shipmentPoints;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \RetailCrm\Api\Model\Entity\Integration\Delivery\Status[]
|
* @var \RetailCrm\Api\Model\Entity\Integration\Delivery\SettingsStatus[]
|
||||||
*
|
*
|
||||||
* @JMS\Type("array<RetailCrm\Api\Model\Entity\Integration\Delivery\Status>")
|
* @JMS\Type("array<RetailCrm\Api\Model\Entity\Integration\Delivery\SettingsStatus>")
|
||||||
* @JMS\SerializedName("statuses")
|
* @JMS\SerializedName("statuses")
|
||||||
*/
|
*/
|
||||||
public $statuses;
|
public $statuses;
|
||||||
|
37
src/Model/Entity/Integration/Delivery/SettingsStatus.php
Normal file
37
src/Model/Entity/Integration/Delivery/SettingsStatus.php
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP 7.3
|
||||||
|
*
|
||||||
|
* @category SettingsStatus
|
||||||
|
* @package RetailCrm\Api\Model\Entity\Integration\Delivery
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace RetailCrm\Api\Model\Entity\Integration\Delivery;
|
||||||
|
|
||||||
|
use RetailCrm\Api\Component\Serializer\Annotation as JMS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class SettingsStatus
|
||||||
|
*
|
||||||
|
* @category SettingsStatus
|
||||||
|
* @package RetailCrm\Api\Model\Entity\Integration\Delivery
|
||||||
|
*/
|
||||||
|
class SettingsStatus
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*
|
||||||
|
* @JMS\Type("string")
|
||||||
|
* @JMS\SerializedName("code")
|
||||||
|
*/
|
||||||
|
public $code;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*
|
||||||
|
* @JMS\Type("string")
|
||||||
|
* @JMS\SerializedName("trackingStatusCode")
|
||||||
|
*/
|
||||||
|
public $trackingStatusCode;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user