12 public static function create($typeName, $params=[])
37 || $typeName === ENTITY_CRM_CONTACT_COMPANY_COLLECTION)
39 return new Entity($typeName);
51 return new Shipment($typeName, $params);
55 return new Payment($typeName, $params);
69 elseif ($typeName ===
'TRADING_PLATFORM_TYPE')
73 elseif ($typeName ===
'PRODUCT')
75 return new Product($typeName, $params);
77 elseif ($typeName ===
'PAY_SYSTEM_TYPE')
81 elseif ($typeName ===
'DELIVERY_SYSTEM_TYPE')
85 elseif ($typeName ===
'PERSON_TYPE_TYPE')
const ENTITY_BASKET_PROPERTIES_COLLECTION
const ENTITY_BASKET_PROPERTY_ITEM
const ENTITY_SHIPMENT_COLLECTION
const ENTITY_SHIPMENT_ITEM
const ENTITY_TRADE_BINDING_COLLECTION
const ENTITY_PROPERTY_VALUE
const ENTITY_BUNDLE_COLLECTION
const ENTITY_PAYMENT_COLLECTION
const ENTITY_PROPERTY_VALUE_COLLECTION
const ENTITY_ORDER_DISCOUNT
const ENTITY_DISCOUNT_COUPON
const ENTITY_SHIPMENT_ITEM_COLLECTION
const ENTITY_ENTITY_MARKER
const ENTITY_TRADE_BINDING_ENTITY
const ENTITY_SHIPMENT_ITEM_STORE_COLLECTION
const ENTITY_ORDER_STATUS
const ENTITY_DELIVERY_STATUS
const ENTITY_ORDER_HISTORY
const ENTITY_SHIPMENT_ITEM_STORE
static create($typeName, $params=[])