Neur0toxine
09f82bcfdf
* remove useless request for history * append new address to corporate customer * centralized configuration provider * use companyName filter in event & pass companyName into order * add AdressBuilder* fixed for regressions * fixed double contact problem
79 lines
2.8 KiB
PHP
79 lines
2.8 KiB
PHP
<?php
|
|
|
|
/**
|
|
* PHP version 5.3
|
|
*
|
|
* RetailcrmConstants
|
|
*
|
|
* @category RetailCrm
|
|
* @package RetailCrm
|
|
* @author RetailCrm <integration@retailcrm.ru>
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
* @link http://www.retailcrm.ru/docs/Developers/ApiVersion4
|
|
*/
|
|
|
|
IncludeModuleLangFile(__FILE__);
|
|
|
|
/**
|
|
* PHP version 5.3
|
|
*
|
|
* RetailcrmConstants
|
|
*
|
|
* @category RetailCrm
|
|
* @package RetailCrm
|
|
* @author RetailCrm <integration@retailcrm.ru>
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
* @link http://www.retailcrm.ru/docs/Developers/ApiVersion4
|
|
*/
|
|
class RetailcrmConstants
|
|
{
|
|
const MODULE_ID = 'intaro.retailcrm';
|
|
const CRM_API_HOST_OPTION = 'api_host';
|
|
const CRM_API_KEY_OPTION = 'api_key';
|
|
const CRM_ORDER_TYPES_ARR = 'order_types_arr';
|
|
const CRM_DELIVERY_TYPES_ARR = 'deliv_types_arr';
|
|
const CRM_DELIVERY_SERVICES_ARR = 'deliv_services_arr';
|
|
const CRM_PAYMENT_TYPES = 'pay_types_arr';
|
|
const CRM_PAYMENT_STATUSES = 'pay_statuses_arr';
|
|
const CRM_PAYMENT = 'payment_arr'; //order payment Y/N
|
|
const CRM_ORDER_LAST_ID = 'order_last_id';
|
|
const CRM_ORDER_SITES = 'sites_ids';
|
|
const CRM_ORDER_DISCHARGE = 'order_discharge';
|
|
const CRM_SITES_LIST = 'sites_list';
|
|
const CRM_ORDER_PROPS = 'order_props';
|
|
const CRM_LEGAL_DETAILS = 'legal_details';
|
|
const CRM_CUSTOM_FIELDS = 'custom_fields';
|
|
const CRM_CONTRAGENT_TYPE = 'contragent_type';
|
|
const CRM_SITES_LIST_CORPORATE = 'shops-corporate';
|
|
const CRM_ORDER_NUMBERS = 'order_numbers';
|
|
const CRM_CANCEL_ORDER = 'cansel_order';
|
|
const CRM_INVENTORIES_UPLOAD = 'inventories_upload';
|
|
const CRM_STORES = 'stores';
|
|
const CRM_SHOPS = 'shops';
|
|
const CRM_IBLOCKS_INVENTORIES = 'iblocks_inventories';
|
|
const CRM_PRICES_UPLOAD = 'prices_upload';
|
|
const CRM_PRICES = 'prices';
|
|
const CRM_PRICE_SHOPS = 'price_shops';
|
|
const CRM_IBLOCKS_PRICES = 'iblock_prices';
|
|
const CRM_COLLECTOR = 'collector';
|
|
const CRM_COLL_KEY = 'coll_key';
|
|
const CRM_UA = 'ua';
|
|
const CRM_UA_KEYS = 'ua_keys';
|
|
const CRM_DISCOUNT_ROUND = 'discount_round';
|
|
const CRM_CC = 'cc';
|
|
const CRM_CORP_SHOPS = 'shops-corporate';
|
|
const CRM_CORP_NAME = 'nickName-corporate';
|
|
const CRM_CORP_ADDRESS = 'adres-corporate';
|
|
const CRM_API_VERSION = 'api_version';
|
|
const CRM_CURRENCY = 'currency';
|
|
const CRM_ADDRESS_OPTIONS = 'address_options';
|
|
const CRM_DIMENSIONS = 'order_dimensions';
|
|
const PROTOCOL = 'protocol';
|
|
const CRM_ORDER_FAILED_IDS = 'order_failed_ids';
|
|
const CRM_CUSTOMERS_HISTORY_SINCE_ID = 'customer_history';
|
|
const CRM_ORDER_HISTORY_DATE = 'order_history_date';
|
|
const CRM_CATALOG_BASE_PRICE = 'catalog_base_price';
|
|
const CRM_ORDER_DIMENSIONS = 'order_dimensions';
|
|
const CANCEL_PROPERTY_CODE = 'INTAROCRM_IS_CANCELED';
|
|
}
|