Add itemDeclaredValues field to deliveryData
This commit is contained in:
parent
5e2c947f27
commit
12d8381b80
@ -671,4 +671,12 @@ class DeliveryData
|
||||
* @JMS\SerializedName("service")
|
||||
*/
|
||||
public $service;
|
||||
|
||||
/**
|
||||
* @var ItemDeclaredValue[]
|
||||
*
|
||||
* @JMS\Type("array<RetailCrm\Api\Model\Entity\Orders\Delivery\ItemDeclaredValue>")
|
||||
* @JMS\SerializedName("itemDeclaredValues")
|
||||
*/
|
||||
public $itemDeclaredValues;
|
||||
}
|
||||
|
31
src/Model/Entity/Orders/Delivery/ItemDeclaredValue.php
Normal file
31
src/Model/Entity/Orders/Delivery/ItemDeclaredValue.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.3
|
||||
*
|
||||
* @category DeliveryData
|
||||
* @package RetailCrm\Api\Model\Entity\Orders\Delivery
|
||||
*/
|
||||
|
||||
namespace RetailCrm\Api\Model\Entity\Orders\Delivery;
|
||||
|
||||
use RetailCrm\Api\Component\Serializer\Annotation as JMS;
|
||||
|
||||
class ItemDeclaredValue
|
||||
{
|
||||
/**
|
||||
* @var ItemDeclaredValueProduct
|
||||
*
|
||||
* @JMS\Type("RetailCrm\Api\Model\Entity\Orders\Delivery\ItemDeclaredValueProduct")
|
||||
* @JMS\SerializedName("orderProduct")
|
||||
*/
|
||||
public $orderProduct;
|
||||
|
||||
/**
|
||||
* @var float
|
||||
*
|
||||
* @JMS\Type("float")
|
||||
* @JMS\SerializedName("value")
|
||||
*/
|
||||
public $value;
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.3
|
||||
*
|
||||
* @category DeliveryData
|
||||
* @package RetailCrm\Api\Model\Entity\Orders\Delivery
|
||||
*/
|
||||
|
||||
namespace RetailCrm\Api\Model\Entity\Orders\Delivery;
|
||||
|
||||
use RetailCrm\Api\Component\Serializer\Annotation as JMS;
|
||||
|
||||
class ItemDeclaredValueProduct
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @JMS\Type("int")
|
||||
* @JMS\SerializedName("id")
|
||||
*/
|
||||
public $id;
|
||||
}
|
Loading…
Reference in New Issue
Block a user