1
0
mirror of synced 2024-11-28 08:16:06 +03:00

add priceWithDiscount to billing info

This commit is contained in:
Pavel 2021-12-14 15:10:41 +03:00
parent e76bb59970
commit 795ae316ff
2 changed files with 10 additions and 1 deletions

View File

@ -27,6 +27,14 @@ class BillingInfo
*/ */
public $price; public $price;
/**
* @var float
*
* @JMS\Type("float")
* @JMS\SerializedName("priceWithDiscount")
*/
public $priceWithDiscount;
/** /**
* @var \RetailCrm\Api\Model\Entity\Integration\Currency * @var \RetailCrm\Api\Model\Entity\Integration\Currency
* *

View File

@ -164,7 +164,8 @@ EOF;
"success": true, "success": true,
"info": { "info": {
"billingInfo": { "billingInfo": {
"price": 0, "price": 2,
"priceWithDiscount": 1,
"currency": { "currency": {
"name": "Рубль", "name": "Рубль",
"shortName": "руб.", "shortName": "руб.",