1
0
mirror of synced 2024-11-24 22:36:06 +03:00

Аdd priceWithDiscount to billing info

This commit is contained in:
Alex Lushpai 2021-12-14 15:18:36 +03:00 committed by GitHub
commit 8b136b075b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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": "руб.",