1
0
mirror of synced 2024-11-23 22:06:11 +03:00
bitrix-module/intaro.retailcrm/lib/model/api/order/order.php
Сергей Чазов 34e8105583
Loyalty (#241)
* Loyalty program
* fix dot bug for shops-exoprt option
* delete credantials request from services
* add CurlException for credentials catch
* add catching CurlException
* edit error msgs
* add supportind double bonuses
* add any step for bonus-input field in sale.order.ajax template
* recalculate bonuses
* fix bonus rounded
* strtoupper for params in icml
* change delivery service code
2022-03-02 15:40:53 +03:00

171 lines
3.6 KiB
PHP

<?php
namespace Intaro\RetailCrm\Model\Api\Order;
use Intaro\RetailCrm\Model\Api\AbstractApiModel;
use Intaro\RetailCrm\Component\Json\Mapping;
class Order extends AbstractApiModel
{
/**
* ID заказа
*
* @var integer $id
*
* @Mapping\Type("integer")
* @Mapping\SerializedName("id")
*/
public $id;
/**
* Номер заказа
*
* @var string
*
* @Mapping\Type("string")
* @Mapping\SerializedName("number")
*/
public $number;
/**
* Внешний ID корпоративного клиента
*
* @var string $externalId
*
* @Mapping\Type("string")
* @Mapping\SerializedName("externalId")
*/
public $externalId;
/**
* Менеджер, прикрепленный к заказу
*
* @var string $managerId
*
* @Mapping\Type("string")
* @Mapping\SerializedName("managerId")
*/
public $managerId;
/**
* Количество начисленных бонусов
*
* @var double $bonusesCreditTotal
*
* @Mapping\Type("double")
* @Mapping\SerializedName("bonusesCreditTotal")
*/
public $bonusesCreditTotal;
/**
* Количество списанных бонусов
*
* @var double $bonusesChargeTotal
*
* @Mapping\Type("double")
* @Mapping\SerializedName("bonusesChargeTotal")
*/
public $bonusesChargeTotal;
/**
* Денежная скидка на весь заказ
*
* @var double $discountManualAmount
*
* @Mapping\Type("double")
* @Mapping\SerializedName("discountManualAmount")
*/
public $discountManualAmount;
/**
* Процентная скидка на весь заказ
*
* @var double $discountManualPercent
*
* @Mapping\Type("double")
* @Mapping\SerializedName("discountManualPercent")
*/
public $discountManualPercent;
/**
* Персональная скидка на заказ
*
* @var double $personalDiscountPercent
*
* @Mapping\Type("double")
* @Mapping\SerializedName("personalDiscountPercent")
*/
public $personalDiscountPercent;
/**
* Магазин
*
* @var string $site
*
* @Mapping\Type("string")
* @Mapping\SerializedName("site")
*/
public $site;
/**
* Статус заказа
*
* @var string $status
*
* @Mapping\Type("string")
* @Mapping\SerializedName("status")
*/
public $status;
/**
* @var \Intaro\RetailCrm\Model\Api\Order\SerializedOrderDelivery
*
*
* @Mapping\Type("Intaro\RetailCrm\Model\Api\Order\SerializedOrderDelivery")
* @Mapping\SerializedName("delivery")
*/
public $delivery;
/**
* Позиции в заказе
*
* @var array $items
*
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\Order\OrderProduct>")
* @Mapping\SerializedName("items")
*/
public $items;
/**
* @var double
*
* @Mapping\Type("double")
* @Mapping\SerializedName("weight")
*/
public $weight;
/**
* @var int
*
* @Mapping\Type("int")
* @Mapping\SerializedName("length")
*/
public $length;
/**
* @var int
*
* @Mapping\Type("int")
* @Mapping\SerializedName("width")
*/
public $width;
/**
* @var int
*
* @Mapping\Type("int")
* @Mapping\SerializedName("height")
*/
public $height;
}