40 lines
913 B
PHP
40 lines
913 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* PHP version 8.0
|
||
|
*
|
||
|
* @category Integration
|
||
|
* @package Intaro\RetailCrm\Model\Api\Response
|
||
|
* @author RetailCRM <integration@retailcrm.ru>
|
||
|
* @license MIT
|
||
|
* @link http://retailcrm.ru
|
||
|
* @see http://retailcrm.ru/docs
|
||
|
*/
|
||
|
|
||
|
namespace Intaro\RetailCrm\Model\Api\Response\Cart;
|
||
|
|
||
|
use Intaro\RetailCrm\Model\Api\Cart\Cart;
|
||
|
use Intaro\RetailCrm\Model\Api\Response\AbstractApiResponseModel;
|
||
|
use Intaro\RetailCrm\Component\Json\Mapping;
|
||
|
|
||
|
class CartGetResponse extends AbstractApiResponseModel
|
||
|
{
|
||
|
/**
|
||
|
* Результат запроса (успешный/неуспешный)
|
||
|
*
|
||
|
* @var bool $success
|
||
|
*
|
||
|
* @Mapping\Type("boolean")
|
||
|
* @Mapping\SerializedName("success")
|
||
|
*/
|
||
|
public $success;
|
||
|
|
||
|
/**
|
||
|
* @var Cart $cart
|
||
|
*
|
||
|
* @Mapping\Type("Intaro\RetailCrm\Model\Api\Cart\Cart")
|
||
|
* @Mapping\SerializedName("cart")
|
||
|
*/
|
||
|
public $cart;
|
||
|
}
|