1
0
mirror of synced 2024-12-02 02:06:06 +03:00
bitrix-module/intaro.retailcrm/lib/model/api/contragent.php
Neur0toxine 5f69051859
Программа лояльности
* New module structure (refactoring)
* Simple serializer and deserializer with models, new architecture
* Move logic to strategies
* Partial api client facade implementation (full implementation is not necessary for now)
* Loyalty feature installer
* Sms verification order (#167)
* Make updater self-sufficient
* Fix for order submit & fix for incorrect component rendering in the constructor
* Fix for loyalty personal area error handling
* Fix for cart component identity
* Fix for softlock when customer cannot be registered in loyalty

Co-authored-by: Сергей Чазов <45812598+Chazovs@users.noreply.github.com>
Co-authored-by: Sergey Chazov <oitv18@gmail.com>
2021-11-16 10:48:26 +03:00

175 lines
3.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* PHP version 7.1
*
* @category Integration
* @package Intaro\RetailCrm\Model\Api
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
namespace Intaro\RetailCrm\Model\Api;
use Intaro\RetailCrm\Component\Json\Mapping;
/**
* Class Contragent
*
* @package Intaro\RetailCrm\Model\Api
*/
class Contragent extends AbstractApiModel
{
/**
* Тип контрагента
*
* @var string $contragentType
*
* @Mapping\Type("string")
* @Mapping\SerializedName("contragentType")
*/
public $contragentType;
/**
* Полное наименование
*
* @var string $legalName
*
* @Mapping\Type("string")
* @Mapping\SerializedName("legalName")
*/
public $legalName;
/**
* Адрес регистрации
*
* @var string $legalAddress
*
* @Mapping\Type("string")
* @Mapping\SerializedName("legalAddress")
*/
public $legalAddress;
/**
* ИНН
*
* @var string $inn
*
* @Mapping\Type("string")
* @Mapping\SerializedName("INN")
*/
public $inn;
/**
* КПП
*
* @var string $kpp
*
* @Mapping\Type("string")
* @Mapping\SerializedName("KPP")
*/
public $kpp;
/**
* ОКПО
*
* @var string $okpo
*
* @Mapping\Type("string")
* @Mapping\SerializedName("OKPO")
*/
public $okpo;
/**
* ОГРН
*
* @var string $ogrn
*
* @Mapping\Type("string")
* @Mapping\SerializedName("OGRN")
*/
public $ogrn;
/**
* ОГРНИП
*
* @var string $ogrnip
*
* @Mapping\Type("string")
* @Mapping\SerializedName("OGRNIP")
*/
public $ogrnip;
/**
* Номер свидетельства
*
* @var string $certificateNumber
*
* @Mapping\Type("string")
* @Mapping\SerializedName("certificateNumber")
*/
public $certificateNumber;
/**
* Дата свидетельства
*
* @var \DateTime $certificateDate
*
* @Mapping\Type("DateTime<'Y-m-d'>")
* @Mapping\SerializedName("certificateDate")
*/
public $certificateDate;
/**
* БИК
*
* @var string $bik
*
* @Mapping\Type("string")
* @Mapping\SerializedName("BIK")
*/
public $bik;
/**
* Банк
*
* @var string $bank
*
* @Mapping\Type("string")
* @Mapping\SerializedName("bank")
*/
public $bank;
/**
* Адрес банка
*
* @var string $bankAddress
*
* @Mapping\Type("string")
* @Mapping\SerializedName("bankAddress")
*/
public $bankAddress;
/**
* Корр. счёт
*
* @var string $corrAccount
*
* @Mapping\Type("string")
* @Mapping\SerializedName("corrAccount")
*/
public $corrAccount;
/**
* Расчётный счёт
*
* @var string $bankAccount
*
* @Mapping\Type("string")
* @Mapping\SerializedName("bankAccount")
*/
public $bankAccount;
}