2022-03-02 15:40:53 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* PHP version 7.1
|
|
|
|
*
|
|
|
|
* @category Integration
|
|
|
|
* @package Intaro\RetailCrm\Model\Api\Response\Loyalty\Account
|
|
|
|
* @author RetailCRM <integration@retailcrm.ru>
|
|
|
|
* @license MIT
|
|
|
|
* @link http://retailcrm.ru
|
|
|
|
* @see http://retailcrm.ru/docs
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Intaro\RetailCrm\Model\Api\Response\Loyalty\Account;
|
|
|
|
|
|
|
|
use Intaro\RetailCrm\Component\Json\Mapping;
|
2023-09-01 10:10:38 +03:00
|
|
|
use Intaro\RetailCrm\Model\Api\PaginationResponse;
|
2022-03-02 15:40:53 +03:00
|
|
|
use Intaro\RetailCrm\Model\Api\Response\AbstractApiResponseModel;
|
|
|
|
|
|
|
|
/**
|
2023-09-01 10:10:38 +03:00
|
|
|
* Class LoyaltyAccountsResponse
|
2022-03-02 15:40:53 +03:00
|
|
|
*
|
|
|
|
* @package Intaro\RetailCrm\Model\Api\Request\Loyalty\Account
|
|
|
|
*/
|
2023-09-01 10:10:38 +03:00
|
|
|
class LoyaltyAccountsResponse extends AbstractApiResponseModel
|
2022-03-02 15:40:53 +03:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Результат запроса (успешный/неуспешный)
|
|
|
|
*
|
|
|
|
* @var bool $success
|
|
|
|
*
|
|
|
|
* @Mapping\Type("boolean")
|
|
|
|
* @Mapping\SerializedName("success")
|
|
|
|
*/
|
|
|
|
public $success;
|
|
|
|
|
|
|
|
/**
|
2023-09-01 10:10:38 +03:00
|
|
|
* @var PaginationResponse
|
2022-03-02 15:40:53 +03:00
|
|
|
*
|
|
|
|
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\PaginationResponse")
|
|
|
|
* @Mapping\SerializedName("pagination")
|
|
|
|
*/
|
|
|
|
public $pagination;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var array $loyaltyAccounts
|
|
|
|
*
|
|
|
|
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\LoyaltyAccount>")
|
|
|
|
* @Mapping\SerializedName("loyaltyAccounts")
|
|
|
|
*/
|
|
|
|
public $loyaltyAccounts;
|
|
|
|
}
|