diff --git a/src/Model/Entity/Orders/Order.php b/src/Model/Entity/Orders/Order.php index fa3fdc13..23dd613b 100644 --- a/src/Model/Entity/Orders/Order.php +++ b/src/Model/Entity/Orders/Order.php @@ -321,19 +321,19 @@ class Order public $customer; /** - * @var \RetailCrm\Api\Model\Entity\Customers\Customer + * @var \RetailCrm\Api\Model\Entity\CustomersCorporate\SerializedRelationAbstractCustomer * - * @JMS\Type("RetailCrm\Api\Model\Entity\Customers\Customer") + * @JMS\Type("RetailCrm\Api\Model\Entity\CustomersCorporate\SerializedRelationAbstractCustomer") * @JMS\SerializedName("contact") */ public $contact; /** - * @var \RetailCrm\Api\Model\Entity\CustomersCorporate\Company - * - * @JMS\Type("RetailCrm\Api\Model\Entity\CustomersCorporate\Company") - * @JMS\SerializedName("company") - */ + * @var \RetailCrm\Api\Model\Entity\CustomersCorporate\EntityWithExternalIdInput + * + * @jms\Type("RetailCrm\Api\Model\Entity\CustomersCorporate\EntityWithExternalIdInput") + * @jms\SerializedName("company") + */ public $company; /** diff --git a/src/Model/Response/ErrorResponse.php b/src/Model/Response/ErrorResponse.php index 9bfd9c2a..3665ea06 100644 --- a/src/Model/Response/ErrorResponse.php +++ b/src/Model/Response/ErrorResponse.php @@ -50,4 +50,12 @@ public function __construct() * @JMS\SerializedName("combinedTo") */ public $combinedTo; + + /** + * @var string[] + * + * @JMS\Type("array") + * @JMS\SerializedName("failedCustomers") + */ + public $failedCustomers; }