diff --git a/src/Model/Entity/Integration/BillingInfo.php b/src/Model/Entity/Integration/BillingInfo.php index 7d1810e..30c516d 100644 --- a/src/Model/Entity/Integration/BillingInfo.php +++ b/src/Model/Entity/Integration/BillingInfo.php @@ -27,6 +27,14 @@ class BillingInfo */ public $price; + /** + * @var float + * + * @JMS\Type("float") + * @JMS\SerializedName("priceWithDiscount") + */ + public $priceWithDiscount; + /** * @var \RetailCrm\Api\Model\Entity\Integration\Currency * diff --git a/tests/src/ResourceGroup/IntegrationTests.php b/tests/src/ResourceGroup/IntegrationTests.php index 58d0afe..bbec7bc 100644 --- a/tests/src/ResourceGroup/IntegrationTests.php +++ b/tests/src/ResourceGroup/IntegrationTests.php @@ -164,7 +164,8 @@ EOF; "success": true, "info": { "billingInfo": { - "price": 0, + "price": 2, + "priceWithDiscount": 1, "currency": { "name": "Рубль", "shortName": "руб.",