From 2ab79985c58d3809fd0fc4ebcff5feee08d6bedf Mon Sep 17 00:00:00 2001 From: Aleksey Leonovich Date: Wed, 24 Jan 2024 17:28:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BD=D0=BE=D0=B2=D0=BE=D1=81=D1=82=D1=8C=20?= =?UTF-8?q?=D0=BE=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D0=B8?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=B4=D1=80=D0=BE=D0=B1=D0=BD=D0=BE=D0=B9=20?= =?UTF-8?q?=D0=B8=D0=BD=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=86=D0=B8=D0=B8=20?= =?UTF-8?q?=D0=BE=20=D1=81=D0=BA=D0=B8=D0=B4=D0=BA=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _posts/2024-01-20-discounts-detailed-information.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 _posts/2024-01-20-discounts-detailed-information.md diff --git a/_posts/2024-01-20-discounts-detailed-information.md b/_posts/2024-01-20-discounts-detailed-information.md new file mode 100644 index 00000000..57dcdf89 --- /dev/null +++ b/_posts/2024-01-20-discounts-detailed-information.md @@ -0,0 +1,10 @@ +--- +title: Получение подробной информации о скидках +layout: default +--- + +В API V9Preview1 у скидки появился признак, определяющий что скидка является лояльностью (скидкой по iikoCard или подобной) +[`IDiscountType.IsCardLoyalty`](https://iiko.github.io/front.api.sdk/v9/html/T_Resto_Front_Api_Data_Orders_IDiscountType.htm). +Также теперь можно получить подробную информацию по скидкам лояльности через [`IOperationService.GetCardLoyaltyDiscounts`](https://iiko.github.io/front.api.sdk/v9/html/T_Resto_Front_Api_IOperationService.htm). + +Кроме того метод [`IEditSession.AddIikoCardDiscounts`](https://iiko.github.io/front.api.sdk/v8/html/M_Resto_Front_Api_Editors_IEditSession_AddIikoCardDiscounts.htm) был переименован в [`IEditSession.AddCardLoyaltyDiscounts`](https://iiko.github.io/front.api.sdk/v9/html/M_Resto_Front_Api_Editors_IEditSession_AddIikoCardDiscounts.htm). \ No newline at end of file