1
0
mirror of synced 2024-11-30 01:06:06 +03:00
bitrix-module/intaro.retailcrm/lib/model/api/response/loyalty/loyaltycalculateresponse.php

64 lines
1.5 KiB
PHP
Raw Normal View History

<?php
/**
* PHP version 7.1
*
* @category Integration
* @package Intaro\RetailCrm\Model\Api\Response\Loyalty
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
namespace Intaro\RetailCrm\Model\Api\Response\Loyalty;
use Intaro\RetailCrm\Model\Api\Response\AbstractApiResponseModel;
use Intaro\RetailCrm\Component\Json\Mapping;
/**
* Class LoyaltyCalculateResponse
*
* @package Intaro\RetailCrm\Model\Api\Response\Loyalty
*/
class LoyaltyCalculateResponse extends AbstractApiResponseModel
{
/**
* Результат запроса (успешный/неуспешный)
*
* @var boolean $success
*
* @Mapping\Type("boolean")
* @Mapping\SerializedName("success")
*/
public $success;
/**
* @var \Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder
*
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder")
* @Mapping\SerializedName("order")
*/
public $order;
/**
* Позиция в заказе
*
* @var array $calculations
*
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\LoyaltyCalculation>")
* @Mapping\SerializedName("calculations")
*/
public $calculations;
/**
* Программа лояльности
*
* @var \Intaro\RetailCrm\Model\Api\SerializedLoyalty
*
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedLoyalty")
* @Mapping\SerializedName("loyalty")
*/
public $loyalty;
}