1
0
mirror of synced 2024-11-29 08:46:09 +03:00
bitrix-module/intaro.retailcrm/classes/general/Model/BuyerProfile.php
Neur0toxine 09f82bcfdf
Customer change
* 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
2020-07-14 13:47:26 +03:00

49 lines
800 B
PHP

<?php
/**
* Class BuyerProfile
*/
class BuyerProfile extends BaseModel
{
/**@var string $NAME */
protected $NAME;
/**@var string $USER_ID */
protected $USER_ID;
/**@var string $PERSON_TYPE_ID */
protected $PERSON_TYPE_ID;
/**
* @param string $NAME
* @return $this
*/
public function setName($NAME)
{
$this->NAME = $NAME;
return $this;
}
/**
* @param int $USER_ID
* @return $this
*/
public function setUserId($USER_ID)
{
$this->USER_ID = $USER_ID;
return $this;
}
/**
* @param int $PERSON_TYPE_ID
* @return $this
*/
public function setPersonTypeId($PERSON_TYPE_ID)
{
$this->PERSON_TYPE_ID = $PERSON_TYPE_ID;
return $this;
}
}