Skip to content

Instantly share code, notes, and snippets.

@jblac
Created February 5, 2013 10:39
Show Gist options
  • Save jblac/4713636 to your computer and use it in GitHub Desktop.
Save jblac/4713636 to your computer and use it in GitHub Desktop.
<?php
namespace Ecs\CrmBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
class Customer
{
private $id;
private $tags;
private $duplicates;
private $execParalegal;
private $billAmount;
private $billOnDay;
private $prefix;
private $suffix;
private $subscriptions;
private $transactions;
private $customerNotes;
private $seniorParalegal;
private $myduplicates;
private $myduplicate;
private $registerDate;
private $firstName;
private $middleName;
private $lastName;
private $emailAddress;
private $phonePrimary;
private $phoneSecondary;
private $address1;
private $address2;
private $city;
private $state;
private $zip;
private $country = "US";
private $paymentMethods;
private $salesRep;
protected $purchases;
private $customerStatus;
private $spouse;
private $isduplicate;
private $induvera;
protected $salesCompany;
private $leadsource;
private $processor_notes;
private $customerProfile;
private $caseProcessor;
private $paralegal;
private $lastContactDate;
private $lastContactAttempts;
private $lastContactBy;
protected $EM;
public function __construct($EM = null)
{
$this->paymentMethods = new \Doctrine\Common\Collections\ArrayCollection();
$this->purchases = new \Doctrine\Common\Collections\ArrayCollection();
$this->EM = $EM;
}
public function __toString()
{
return $this->firstName. " " . $this->lastName; //"Case [#" .$this->getId() . "] " .
}
public function capFirstWords($words)
{
return $words;
}
public function clearMyId()
{
$this->id = null;
return $this;
}
public function setEM($EM)
{
$this->EM = $EM;
return $this;
}
public function getId()
{
return $this->id;
}
public function setRegisterDate($registerDate)
{
if(is_string($registerDate))
{
$this->registerDate = new \DateTime(date('Y-m-d', strtotime($registerDate)));
}
$this->registerDate = $registerDate;
return $this;
}
public function getRegisterDate()
{
return $this->registerDate;
}
public function initRegisterDate()
{
if(is_null($this->registerDate))
{
$regDate = new \DateTime('now');
$this->setRegisterDate($regDate);
}
}
public function setFirstName($firstName)
{
$this->firstName = ucwords(strtolower($firstName));
return $this;
}
public function getFirstName()
{
return $this->firstName;
}
public function setMiddleName($middleName)
{
$this->middleName = ucwords(strtolower($middleName));
return $this;
}
public function getMiddleName()
{
return $this->middleName;
}
public function setLastName($lastName)
{
$this->lastName = ucwords(strtolower($lastName));
return $this;
}
public function getLastName()
{
return $this->lastName;
}
public function setEmailAddress($emailAddress)
{
$this->emailAddress = $emailAddress;
return $this;
}
public function getEmailAddress()
{
return $this->emailAddress;
}
public function setPhonePrimary($phonePrimary)
{
$this->phonePrimary = $phonePrimary;
return $this;
}
public function getPhonePrimary()
{
return $this->phonePrimary;
}
public function setPhoneSecondary($phoneSecondary)
{
$this->phoneSecondary = $phoneSecondary;
return $this;
}
public function getPhoneSecondary()
{
return $this->phoneSecondary;
}
public function setAddress1($address1)
{
$this->address1 = $address1;
return $this;
}
public function getAddress1()
{
return $this->address1;
}
public function setAddress2($address2)
{
$this->address2 = $address2;
return $this;
}
public function getAddress2()
{
return $this->address2;
}
public function setCity($city)
{
$this->city = ucwords(strtolower($city));
return $this;
}
public function getCity()
{
return $this->city;
}
public function setState($state)
{
$this->state = $state;
return $this;
}
public function getState()
{
return $this->state;
}
public function setZip($zip)
{
$this->zip = $zip;
return $this;
}
public function getZip()
{
return $this->zip;
}
public function setCountry($country)
{
$this->country = ucwords(strtolower($country));
return $this;
}
public function getCountry()
{
return $this->country;
}
public function addPaymentMethod(\Ecs\CrmBundle\Entity\PaymentMethod $paymentMethods)
{
$this->paymentMethods[] = $paymentMethods;
}
public function getPaymentMethods()
{
return $this->paymentMethods;
}
public function setSalesRep(\Ecs\AgentManagerBundle\Entity\User $salesRep=null)
{
$this->salesRep = $salesRep;
return $this;
}
public function getSalesRep()
{
return $this->salesRep;
}
public function addPurchase(\Ecs\CrmBundle\Entity\Purchase $purchases)
{
$this->purchases[] = $purchases;
}
public function getPurchases()
{
return $this->purchases;
}
public function setSalesCompany(\Ecs\CrmBundle\Entity\Company $salesCompany=null)
{
$this->salesCompany = $salesCompany;
return $this;
}
public function getSalesCompany()
{
return $this->salesCompany;
}
public function setCustomerStatus(\Ecs\CrmBundle\Entity\CustomerStatus $customerStatus=null)
{
$this->customerStatus = $customerStatus;
return $this;
}
public function getCustomerStatus()
{
return $this->customerStatus;
}
public function setProcessorNotes($processorNotes)
{
$this->processor_notes = $processorNotes;
return $this;
}
public function getProcessorNotes()
{
return $this->processor_notes;
}
public function setCustomerProfile(\Ecs\CrmBundle\Entity\CustomerProfile $customerProfile=null)
{
$this->customerProfile = $customerProfile;
return $this;
}
public function getCustomerProfile()
{
return $this->customerProfile;
}
public function setCaseProcessor(\Ecs\AgentManagerBundle\Entity\User $caseProcessor=null)
{
$this->caseProcessor = $caseProcessor;
return $this;
}
public function getCaseProcessor()
{
return $this->caseProcessor;
}
public function setParalegal(\Ecs\AgentManagerBundle\Entity\User $paralegal=null)
{
$this->paralegal = $paralegal;
return $this;
}
public function getParalegal()
{
return $this->paralegal;
}
function initCheckForDuplicates()
{
if(is_null($this->EM)) throw new \Exception('No Entity Manager Available');
$this->repository = $this->EM->getRepository("EcsCrmBundle:Customer");
$duplicate = $this->repository->findSimilarCustomerWith($this->emailAddress, $this->firstName, $this->lastName, $this->zip);
if($duplicate)
{
$this->setIsduplicate(true);
$this->setMyduplicate($duplicate);
}
}
public function setIsduplicate($isduplicate)
{
$this->isduplicate = $isduplicate;
return $this;
}
public function getIsduplicate()
{
return $this->isduplicate;
}
public function setMyduplicate(\Ecs\CrmBundle\Entity\Customer $myduplicate=null)
{
if(is_null($this->myduplicate))
$this->myduplicate = $myduplicate;
return $this;
}
public function getMyduplicate()
{
return $this->myduplicate;
}
public function addCustomerTag(\Ecs\CrmBundle\Entity\CustomerTag $tags)
{
$this->tags[] = $tags;
}
public function getTags()
{
return $this->tags;
}
public function addCustomer(\Ecs\CrmBundle\Entity\Customer $myduplicates)
{
$this->myduplicates[] = $myduplicates;
}
public function getMyduplicates()
{
return $this->myduplicates;
}
public function setDuplicates(\Ecs\CrmBundle\Entity\Customer $duplicates=null)
{
$this->duplicates = $duplicates;
return $this;
}
public function getDuplicates()
{
return $this->duplicates;
}
public function setSeniorParalegal(\Ecs\AgentManagerBundle\Entity\User $seniorParalegal=null)
{
$this->seniorParalegal = $seniorParalegal;
return $this;
}
public function getSeniorParalegal()
{
return $this->seniorParalegal;
}
public function setExecParalegal(\Ecs\AgentManagerBundle\Entity\User $execParalegal=null)
{
$this->execParalegal = $execParalegal;
return $this;
}
public function getExecParalegal()
{
return $this->execParalegal;
}
function setDefaultFields(\Ecs\CrmBundle\Entity\CustomerDefaultConfig $config = null)
{
if($config) {
$this->setCustomerStatus($config->getStatus());
foreach($config->getTags() as $t)
{
$this->addCustomerTag($t);
}
}
}
public function setPrefix($prefix)
{
$this->prefix = $prefix;
return $this;
}
public function getPrefix()
{
return $this->prefix;
}
public function setSuffix($suffix)
{
$this->suffix = $this->capFirstWords($suffix);
return $this;
}
public function getSuffix()
{
return $this->suffix;
}
public function addSubscription(\Ecs\CrmBundle\Entity\Subscription $subscriptions)
{
$this->subscriptions[] = $subscriptions;
}
public function getSubscriptions()
{
return $this->subscriptions;
}
public function setTransactions(\Ecs\CrmBundle\Entity\Transaction $transactions=null)
{
$this->transactions = $transactions;
return $this;
}
public function getTransactions()
{
return $this->transactions;
}
public function addCustomerNote(\Ecs\CrmBundle\Entity\CustomerNote $customerNote)
{
$this->customerNotes[] = $customerNote;
}
public function getCustomerNotes()
{
return $this->customerNotes;
}
public function addTransaction(\Ecs\CrmBundle\Entity\Transaction $transactions)
{
$this->transactions[] = $transactions;
}
public function setSpouse(\Ecs\CrmBundle\Entity\Customer $spouse=null)
{
$this->spouse = $spouse;
return $this;
}
public function getSpouse()
{
return $this->spouse;
}
/**
* Set billOnDay
*
* @param integer $billOnDay
* @return Customer
*/
public function setBillOnDay($billOnDay)
{
$this->billOnDay = $billOnDay;
return $this;
}
/**
* Get billOnDay
*
* @return integer
*/
public function getBillOnDay()
{
return $this->billOnDay;
}
/**
* Set billAmount
*
* @param string $billAmount
* @return Customer
*/
public function setBillAmount($billAmount)
{
$this->billAmount = $billAmount;
return $this;
}
/**
* Get billAmount
*
* @return string
*/
public function getBillAmount()
{
return $this->billAmount;
}
/**
* @var string $leadsourceold
*/
private $leadsourceold;
/**
* Set leadsourceold
*
* @param string $leadsourceold
* @return Customer
*/
public function setLeadsourceold($leadsourceold)
{
$this->leadsourceold = $leadsourceold;
return $this;
}
/**
* Get leadsourceold
*
* @return string
*/
public function getLeadsourceold()
{
return $this->leadsourceold;
}
/**
* @var Ecs\CrmBundle\Entity\Leadsource
*/
private $leadSource;
/**
* Set leadSource
*
* @param Ecs\CrmBundle\Entity\Leadsource $leadSource
* @return Customer
*/
public function setLeadSource(\Ecs\CrmBundle\Entity\Leadsource $leadSource = null)
{
$this->leadSource = $leadSource;
return $this;
}
/**
* Get leadSource
*
* @return Ecs\CrmBundle\Entity\Leadsource
*/
public function getLeadSource()
{
return $this->leadSource;
}
/**
* @var datetime $activationDate
*/
private $activationDate;
/**
* Set activationDate
*
* @param datetime $activationDate
* @return Customer
*/
public function setActivationDate($activationDate)
{
$this->activationDate = $activationDate;
return $this;
}
/**
* Get activationDate
*
* @return datetime
*/
public function getActivationDate()
{
return $this->activationDate;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $accessLogs;
/**
* Add accessLogs
*
* @param Ecs\CrmBundle\Entity\CustomerAccessLog $accessLogs
*/
public function addCustomerAccessLog(\Ecs\CrmBundle\Entity\CustomerAccessLog $accessLogs)
{
$this->accessLogs[] = $accessLogs;
}
/**
* Get accessLogs
*
* @return Doctrine\Common\Collections\Collection
*/
public function getAccessLogs()
{
return $this->accessLogs;
}
/**
* @var datetime $fwCompletionDate
*/
private $fwCompletionDate;
/**
* Set fwCompletionDate
*
* @param datetime $fwCompletionDate
* @return Customer
*/
public function setFwCompletionDate($fwCompletionDate)
{
$this->fwCompletionDate = $fwCompletionDate;
return $this;
}
/**
* Get fwCompletionDate
*
* @return datetime
*/
public function getFwCompletionDate()
{
return $this->fwCompletionDate;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $fileUploads;
/**
* Add fileUploads
*
* @param Ecs\CrmBundle\Entity\FileUpload $fileUploads
*/
public function addFileUpload(\Ecs\CrmBundle\Entity\FileUpload $fileUploads)
{
$this->fileUploads[] = $fileUploads;
}
/**
* Get fileUploads
*
* @return Doctrine\Common\Collections\Collection
*/
public function getFileUploads()
{
return $this->fileUploads;
}
/**
* @var datetime $cancelRequestDate
*/
private $cancelRequestDate;
/**
* @var datetime $resolutionDate
*/
private $resolutionDate;
/**
* @var string $membership_length
*/
private $membership_length;
public function setCancelRequestDate($cancelRequestDate)
{
$this->cancelRequestDate = $cancelRequestDate;
return $this;
}
public function getCancelRequestDate()
{
return $this->cancelRequestDate;
}
public function setResolutionDate($resolutionDate)
{
$this->resolutionDate = $resolutionDate;
return $this;
}
public function getResolutionDate()
{
return $this->resolutionDate;
}
public function setMembershipLength($membershipLength)
{
$this->membership_length = $membershipLength;
return $this;
}
public function getMembershipLength()
{
return $this->membership_length;
}
/**
* @var Ecs\CrmBundle\Entity\SaleSet
*/
private $saleSet;
/**
* Set saleSet
*
* @param Ecs\CrmBundle\Entity\SaleSet $saleSet
* @return Customer
*/
public function setSaleSet(\Ecs\CrmBundle\Entity\SaleSet $saleSet = null)
{
$this->saleSet = $saleSet;
return $this;
}
/**
* Get saleSet
*
* @return Ecs\CrmBundle\Entity\SaleSet
*/
public function getSaleSet()
{
return $this->saleSet;
}
/**
* @var Ecs\CrmBundle\Entity\SaleType
*/
private $saleType;
/**
* Set saleType
*
* @param Ecs\CrmBundle\Entity\SaleType $saleType
* @return Customer
*/
public function setSaleType(\Ecs\CrmBundle\Entity\SaleType $saleType = null)
{
$this->saleType = $saleType;
return $this;
}
/**
* Get saleType
*
* @return Ecs\CrmBundle\Entity\SaleType
*/
public function getSaleType()
{
return $this->saleType;
}
/**
* Set lastContactDate
*
* @param datetime $lastContactDate
* @return Customer
*/
public function setLastContactDate($lastContactDate)
{
$this->lastContactDate = $lastContactDate;
return $this;
}
/**
* Get lastContactDate
*
* @return datetime
*/
public function getLastContactDate()
{
return $this->lastContactDate;
}
/**
* Set lastContactAttempts
*
* @param integer $lastContactAttempts
* @return Customer
*/
public function setLastContactAttempts($lastContactAttempts)
{
$this->lastContactAttempts = $lastContactAttempts;
return $this;
}
/**
* Get lastContactAttempts
*
* @return integer
*/
public function getLastContactAttempts()
{
return $this->lastContactAttempts;
}
/**
* Set lastContactBy
*
* @param Ecs\AgentManagerBundle\Entity\User $lastContactBy
* @return Customer
*/
public function setLastContactBy(\Ecs\AgentManagerBundle\Entity\User $lastContactBy = null)
{
$this->lastContactBy = $lastContactBy;
return $this;
}
/**
* Get lastContactBy
*
* @return Ecs\CrmBundle\Entity\User
*/
public function getLastContactBy()
{
return $this->lastContactBy;
}
/**
* @var datetime $processDate
*/
private $processDate;
/**
* Set processDate
*
* @param datetime $processDate
* @return Customer
*/
public function setProcessDate($processDate)
{
$this->processDate = $processDate;
return $this;
}
/**
* Get processDate
*
* @return datetime
*/
public function getProcessDate()
{
return $this->processDate;
}
/**
* @var Ecs\AgentManagerBundle\Entity\User
*/
private $setRep;
/**
* Set setRep
*
* @param Ecs\AgentManagerBundle\Entity\User $setRep
* @return Customer
*/
public function setSetRep(\Ecs\AgentManagerBundle\Entity\User $setRep = null)
{
$this->setRep = $setRep;
return $this;
}
/**
* Get setRep
*
* @return Ecs\AgentManagerBundle\Entity\User
*/
public function getSetRep()
{
return $this->setRep;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $duveraApiLogs;
/**
* Add duveraApiLogs
*
* @param Ecs\CrmBundle\Entity\DuveraApiLog $duveraApiLogs
*/
public function addDuveraApiLog(\Ecs\CrmBundle\Entity\DuveraApiLog $duveraApiLogs)
{
$this->duveraApiLogs[] = $duveraApiLogs;
}
/**
* Get duveraApiLogs
*
* @return Doctrine\Common\Collections\Collection
*/
public function getDuveraApiLogs()
{
return $this->duveraApiLogs;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $workDone;
/**
* Add workDone
*
* @param Ecs\CrmBundle\Entity\CustomerWorkLog $workDone
*/
public function addCustomerWorkLog(\Ecs\CrmBundle\Entity\CustomerWorkLog $workDone)
{
$this->workDone[] = $workDone;
}
/**
* Get workDone
*
* @return Doctrine\Common\Collections\Collection
*/
public function getWorkDone()
{
return $this->workDone;
}
/**
* @var string $ficoTransUnion
*/
private $ficoTransUnion;
/**
* @var string $ficoEquifax
*/
private $ficoEquifax;
/**
* @var string $ficoExperian
*/
private $ficoExperian;
/**
* @var string $websiteUsername
*/
private $websiteUsername;
/**
* @var string $websitePassword
*/
private $websitePassword;
/**
* Set ficoTransUnion
*
* @param string $ficoTransUnion
* @return Customer
*/
public function setFicoTransUnion($ficoTransUnion)
{
$this->ficoTransUnion = $ficoTransUnion;
return $this;
}
/**
* Get ficoTransUnion
*
* @return string
*/
public function getFicoTransUnion()
{
return $this->ficoTransUnion;
}
/**
* Set ficoEquifax
*
* @param string $ficoEquifax
* @return Customer
*/
public function setFicoEquifax($ficoEquifax)
{
$this->ficoEquifax = $ficoEquifax;
return $this;
}
/**
* Get ficoEquifax
*
* @return string
*/
public function getFicoEquifax()
{
return $this->ficoEquifax;
}
/**
* Set ficoExperian
*
* @param string $ficoExperian
* @return Customer
*/
public function setFicoExperian($ficoExperian)
{
$this->ficoExperian = $ficoExperian;
return $this;
}
/**
* Get ficoExperian
*
* @return string
*/
public function getFicoExperian()
{
return $this->ficoExperian;
}
/**
* Set websiteUsername
*
* @param string $websiteUsername
* @return Customer
*/
public function setWebsiteUsername($websiteUsername)
{
$this->websiteUsername = $websiteUsername;
return $this;
}
/**
* Get websiteUsername
*
* @return string
*/
public function getWebsiteUsername()
{
return $this->websiteUsername;
}
/**
* Set websitePassword
*
* @param string $websitePassword
* @return Customer
*/
public function setWebsitePassword($websitePassword)
{
$this->websitePassword = $websitePassword;
return $this;
}
/**
* Get websitePassword
*
* @return string
*/
public function getWebsitePassword()
{
return $this->websitePassword;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $customerActionLogs;
/**
* Add customerActionLogs
*
* @param Ecs\CrmBundle\Entity\CustomerActionLog $customerActionLogs
*/
public function addCustomerActionLog(\Ecs\CrmBundle\Entity\CustomerActionLog $customerActionLogs)
{
$this->customerActionLogs[] = $customerActionLogs;
}
/**
* Get customerActionLogs
*
* @return Doctrine\Common\Collections\Collection
*/
public function getCustomerActionLogs()
{
return $this->customerActionLogs;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $openCustomerLogs;
/**
* Add openCustomerLogs
*
* @param Ecs\CrmBundle\Entity\OpenCustomer $openCustomerLogs
*/
public function addOpenCustomer(\Ecs\CrmBundle\Entity\OpenCustomer $openCustomerLogs)
{
$this->openCustomerLogs[] = $openCustomerLogs;
}
/**
* Get openCustomerLogs
*
* @return Doctrine\Common\Collections\Collection
*/
public function getOpenCustomerLogs()
{
return $this->openCustomerLogs;
}
/**
* @var Ecs\CrmBundle\Entity\PostDateStatus
*/
private $postDateChargedStatus;
/**
* Remove customerNotes
*
* @param Ecs\CrmBundle\Entity\CustomerNote $customerNotes
*/
public function removeCustomerNote(\Ecs\CrmBundle\Entity\CustomerNote $customerNotes)
{
$this->customerNotes->removeElement($customerNotes);
}
/**
* Remove paymentMethods
*
* @param Ecs\CrmBundle\Entity\PaymentMethod $paymentMethods
*/
public function removePaymentMethod(\Ecs\CrmBundle\Entity\PaymentMethod $paymentMethods)
{
$this->paymentMethods->removeElement($paymentMethods);
}
/**
* Remove purchases
*
* @param Ecs\CrmBundle\Entity\Purchase $purchases
*/
public function removePurchase(\Ecs\CrmBundle\Entity\Purchase $purchases)
{
$this->purchases->removeElement($purchases);
}
/**
* Remove subscriptions
*
* @param Ecs\CrmBundle\Entity\Subscription $subscriptions
*/
public function removeSubscription(\Ecs\CrmBundle\Entity\Subscription $subscriptions)
{
$this->subscriptions->removeElement($subscriptions);
}
/**
* Add myduplicates
*
* @param Ecs\CrmBundle\Entity\Customer $myduplicates
* @return Customer
*/
public function addMyduplicate(\Ecs\CrmBundle\Entity\Customer $myduplicates)
{
$this->myduplicates[] = $myduplicates;
return $this;
}
/**
* Remove myduplicates
*
* @param Ecs\CrmBundle\Entity\Customer $myduplicates
*/
public function removeMyduplicate(\Ecs\CrmBundle\Entity\Customer $myduplicates)
{
$this->myduplicates->removeElement($myduplicates);
}
/**
* Remove transactions
*
* @param Ecs\CrmBundle\Entity\Transaction $transactions
*/
public function removeTransaction(\Ecs\CrmBundle\Entity\Transaction $transactions)
{
$this->transactions->removeElement($transactions);
}
/**
* Add accessLogs
*
* @param Ecs\CrmBundle\Entity\CustomerAccessLog $accessLogs
* @return Customer
*/
public function addAccessLog(\Ecs\CrmBundle\Entity\CustomerAccessLog $accessLogs)
{
$this->accessLogs[] = $accessLogs;
return $this;
}
/**
* Remove accessLogs
*
* @param Ecs\CrmBundle\Entity\CustomerAccessLog $accessLogs
*/
public function removeAccessLog(\Ecs\CrmBundle\Entity\CustomerAccessLog $accessLogs)
{
$this->accessLogs->removeElement($accessLogs);
}
/**
* Remove fileUploads
*
* @param Ecs\CrmBundle\Entity\FileUpload $fileUploads
*/
public function removeFileUpload(\Ecs\CrmBundle\Entity\FileUpload $fileUploads)
{
$this->fileUploads->removeElement($fileUploads);
}
/**
* Remove duveraApiLogs
*
* @param Ecs\CrmBundle\Entity\DuveraApiLog $duveraApiLogs
*/
public function removeDuveraApiLog(\Ecs\CrmBundle\Entity\DuveraApiLog $duveraApiLogs)
{
$this->duveraApiLogs->removeElement($duveraApiLogs);
}
/**
* Add workDone
*
* @param Ecs\CrmBundle\Entity\CustomerWorkLog $workDone
* @return Customer
*/
public function addWorkDone(\Ecs\CrmBundle\Entity\CustomerWorkLog $workDone)
{
$this->workDone[] = $workDone;
return $this;
}
/**
* Remove workDone
*
* @param Ecs\CrmBundle\Entity\CustomerWorkLog $workDone
*/
public function removeWorkDone(\Ecs\CrmBundle\Entity\CustomerWorkLog $workDone)
{
$this->workDone->removeElement($workDone);
}
/**
* Remove customerActionLogs
*
* @param Ecs\CrmBundle\Entity\CustomerActionLog $customerActionLogs
*/
public function removeCustomerActionLog(\Ecs\CrmBundle\Entity\CustomerActionLog $customerActionLogs)
{
$this->customerActionLogs->removeElement($customerActionLogs);
}
/**
* Add openCustomerLogs
*
* @param Ecs\CrmBundle\Entity\OpenCustomer $openCustomerLogs
* @return Customer
*/
public function addOpenCustomerLog(\Ecs\CrmBundle\Entity\OpenCustomer $openCustomerLogs)
{
$this->openCustomerLogs[] = $openCustomerLogs;
return $this;
}
/**
* Remove openCustomerLogs
*
* @param Ecs\CrmBundle\Entity\OpenCustomer $openCustomerLogs
*/
public function removeOpenCustomerLog(\Ecs\CrmBundle\Entity\OpenCustomer $openCustomerLogs)
{
$this->openCustomerLogs->removeElement($openCustomerLogs);
}
/**
* Set postDateChargedStatus
*
* @param Ecs\CrmBundle\Entity\PostDateStatus $postDateChargedStatus
* @return Customer
*/
public function setPostDateChargedStatus(\Ecs\CrmBundle\Entity\PostDateStatus $postDateChargedStatus = null)
{
$this->postDateChargedStatus = $postDateChargedStatus;
return $this;
}
/**
* Get postDateChargedStatus
*
* @return Ecs\CrmBundle\Entity\PostDateStatus
*/
public function getPostDateChargedStatus()
{
return $this->postDateChargedStatus;
}
/**
* Add tags
*
* @param Ecs\CrmBundle\Entity\CustomerTag $tags
* @return Customer
*/
public function addTag(\Ecs\CrmBundle\Entity\CustomerTag $tags)
{
$this->tags[] = $tags;
return $this;
}
/**
* Remove tags
*
* @param Ecs\CrmBundle\Entity\CustomerTag $tags
*/
public function removeTag(\Ecs\CrmBundle\Entity\CustomerTag $tags)
{
$this->tags->removeElement($tags);
}
/**
* @var string $creditScoreWebsite
*/
private $creditScoreWebsite;
/**
* @var string $creditScoreWebsiteLogin
*/
private $creditScoreWebsiteLogin;
/**
* @var string $creditScoreWebsitePassword
*/
private $creditScoreWebsitePassword;
/**
* @var string $creditScoreWebsiteOrderNumber
*/
private $creditScoreWebsiteOrderNumber;
/**
* @var string $creditScoreWebsiteSecretAnswer
*/
private $creditScoreWebsiteSecretAnswer;
/**
* Set creditScoreWebsite
*
* @param string $creditScoreWebsite
* @return Customer
*/
public function setCreditScoreWebsite($creditScoreWebsite)
{
$this->creditScoreWebsite = $creditScoreWebsite;
return $this;
}
/**
* Get creditScoreWebsite
*
* @return string
*/
public function getCreditScoreWebsite()
{
return $this->creditScoreWebsite;
}
/**
* Set creditScoreWebsiteLogin
*
* @param string $creditScoreWebsiteLogin
* @return Customer
*/
public function setCreditScoreWebsiteLogin($creditScoreWebsiteLogin)
{
$this->creditScoreWebsiteLogin = $creditScoreWebsiteLogin;
return $this;
}
/**
* Get creditScoreWebsiteLogin
*
* @return string
*/
public function getCreditScoreWebsiteLogin()
{
return $this->creditScoreWebsiteLogin;
}
/**
* Set creditScoreWebsitePassword
*
* @param string $creditScoreWebsitePassword
* @return Customer
*/
public function setCreditScoreWebsitePassword($creditScoreWebsitePassword)
{
$this->creditScoreWebsitePassword = $creditScoreWebsitePassword;
return $this;
}
/**
* Get creditScoreWebsitePassword
*
* @return string
*/
public function getCreditScoreWebsitePassword()
{
return $this->creditScoreWebsitePassword;
}
/**
* Set creditScoreWebsiteOrderNumber
*
* @param string $creditScoreWebsiteOrderNumber
* @return Customer
*/
public function setCreditScoreWebsiteOrderNumber($creditScoreWebsiteOrderNumber)
{
$this->creditScoreWebsiteOrderNumber = $creditScoreWebsiteOrderNumber;
return $this;
}
/**
* Get creditScoreWebsiteOrderNumber
*
* @return string
*/
public function getCreditScoreWebsiteOrderNumber()
{
return $this->creditScoreWebsiteOrderNumber;
}
/**
* Set creditScoreWebsiteSecretAnswer
*
* @param string $creditScoreWebsiteSecretAnswer
* @return Customer
*/
public function setCreditScoreWebsiteSecretAnswer($creditScoreWebsiteSecretAnswer)
{
$this->creditScoreWebsiteSecretAnswer = $creditScoreWebsiteSecretAnswer;
return $this;
}
/**
* Get creditScoreWebsiteSecretAnswer
*
* @return string
*/
public function getCreditScoreWebsiteSecretAnswer()
{
return $this->creditScoreWebsiteSecretAnswer;
}
/**
* @var datetime $cancelationDate
*/
private $cancelationDate;
/**
* Set cancelationDate
*
* @param datetime $cancelationDate
* @return Customer
*/
public function setCancelationDate($cancelationDate)
{
$this->cancelationDate = $cancelationDate;
return $this;
}
/**
* Get cancelationDate
*
* @return datetime
*/
public function getCancelationDate()
{
return $this->cancelationDate;
}
/**
* @var datetime $cancellationDate
*/
private $cancellationDate;
/**
* Set cancellationDate
*
* @param datetime $cancellationDate
* @return Customer
*/
public function setCancellationDate($cancellationDate)
{
$this->cancellationDate = $cancellationDate;
return $this;
}
/**
* Get cancellationDate
*
* @return datetime
*/
public function getCancellationDate()
{
return $this->cancellationDate;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $customerEmails;
/**
* Add customerEmails
*
* @param Ecs\CrmBundle\Entity\CustomerEmail $customerEmails
* @return Customer
*/
public function addCustomerEmail(\Ecs\CrmBundle\Entity\CustomerEmail $customerEmails)
{
$this->customerEmails[] = $customerEmails;
return $this;
}
/**
* Remove customerEmails
*
* @param Ecs\CrmBundle\Entity\CustomerEmail $customerEmails
*/
public function removeCustomerEmail(\Ecs\CrmBundle\Entity\CustomerEmail $customerEmails)
{
$this->customerEmails->removeElement($customerEmails);
}
/**
* Get customerEmails
*
* @return Doctrine\Common\Collections\Collection
*/
public function getCustomerEmails()
{
return $this->customerEmails;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $cancellationRequests;
/**
* Add cancellationRequests
*
* @param Ecs\CrmBundle\Entity\CancellationRequest $cancellationRequests
* @return Customer
*/
public function addCancellationRequest(\Ecs\CrmBundle\Entity\CancellationRequest $cancellationRequests)
{
$this->cancellationRequests[] = $cancellationRequests;
return $this;
}
/**
* Remove cancellationRequests
*
* @param Ecs\CrmBundle\Entity\CancellationRequest $cancellationRequests
*/
public function removeCancellationRequest(\Ecs\CrmBundle\Entity\CancellationRequest $cancellationRequests)
{
$this->cancellationRequests->removeElement($cancellationRequests);
}
/**
* Get cancellationRequests
*
* @return Doctrine\Common\Collections\Collection
*/
public function getCancellationRequests()
{
return $this->cancellationRequests;
}
/**
* @var boolean $lexingtonLawClient
*/
private $lexingtonLawClient;
/**
* Set lexingtonLawClient
*
* @param boolean $lexingtonLawClient
* @return Customer
*/
public function setLexingtonLawClient($lexingtonLawClient)
{
$this->lexingtonLawClient = $lexingtonLawClient;
return $this;
}
/**
* Get lexingtonLawClient
*
* @return boolean
*/
public function getLexingtonLawClient()
{
return $this->lexingtonLawClient;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $refunds;
/**
* Add refunds
*
* @param Ecs\CrmBundle\Entity\Refund $refunds
* @return Customer
*/
public function addRefund(\Ecs\CrmBundle\Entity\Refund $refunds)
{
$this->refunds[] = $refunds;
return $this;
}
/**
* Remove refunds
*
* @param Ecs\CrmBundle\Entity\Refund $refunds
*/
public function removeRefund(\Ecs\CrmBundle\Entity\Refund $refunds)
{
$this->refunds->removeElement($refunds);
}
/**
* Get refunds
*
* @return Doctrine\Common\Collections\Collection
*/
public function getRefunds()
{
return $this->refunds;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $kickbacks;
/**
* Add kickbacks
*
* @param Ecs\CrmBundle\Entity\Kickback $kickbacks
* @return Customer
*/
public function addKickback(\Ecs\CrmBundle\Entity\Kickback $kickbacks)
{
$this->kickbacks[] = $kickbacks;
return $this;
}
/**
* Remove kickbacks
*
* @param Ecs\CrmBundle\Entity\Kickback $kickbacks
*/
public function removeKickback(\Ecs\CrmBundle\Entity\Kickback $kickbacks)
{
$this->kickbacks->removeElement($kickbacks);
}
/**
* Get kickbacks
*
* @return Doctrine\Common\Collections\Collection
*/
public function getKickbacks()
{
return $this->kickbacks;
}
/**
* @var datetime $kickbackDate
*/
private $kickbackDate;
/**
* Set kickbackDate
*
* @param datetime $kickbackDate
* @return Customer
*/
public function setKickbackDate($kickbackDate)
{
$this->kickbackDate = $kickbackDate;
return $this;
}
/**
* Get kickbackDate
*
* @return datetime
*/
public function getKickbackDate()
{
return $this->kickbackDate;
}
/**
* @var Ecs\CrmBundle\Entity\DuveraPortfolio
*/
private $duverPortfolio;
/**
* Set duverPortfolio
*
* @param Ecs\CrmBundle\Entity\DuveraPortfolio $duverPortfolio
* @return Customer
*/
public function setDuverPortfolio(\Ecs\CrmBundle\Entity\DuveraPortfolio $duverPortfolio = null)
{
$this->duverPortfolio = $duverPortfolio;
return $this;
}
/**
* Get duverPortfolio
*
* @return Ecs\CrmBundle\Entity\DuveraPortfolio
*/
public function getDuverPortfolio()
{
return $this->duverPortfolio;
}
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*/
private $tagsRemoved;
/**
* Add tagsRemoved
*
* @param Ecs\CrmBundle\Entity\TagRemoved $tagsRemoved
* @return Customer
*/
public function addTagsRemoved(\Ecs\CrmBundle\Entity\TagRemoved $tagsRemoved)
{
$this->tagsRemoved[] = $tagsRemoved;
return $this;
}
/**
* Remove tagsRemoved
*
* @param Ecs\CrmBundle\Entity\TagRemoved $tagsRemoved
*/
public function removeTagsRemoved(\Ecs\CrmBundle\Entity\TagRemoved $tagsRemoved)
{
$this->tagsRemoved->removeElement($tagsRemoved);
}
/**
* Get tagsRemoved
*
* @return Doctrine\Common\Collections\Collection
*/
public function getTagsRemoved()
{
return $this->tagsRemoved;
}
/**
* @var datetime $nextAppointment
*/
private $nextAppointment;
/**
* @var Ecs\AgentManagerBundle\Entity\User
*/
private $caseManager;
/**
* Set nextAppointment
*
* @param datetime $nextAppointment
* @return Customer
*/
public function setNextAppointment($nextAppointment)
{
$this->nextAppointment = $nextAppointment;
return $this;
}
/**
* Get nextAppointment
*
* @return datetime
*/
public function getNextAppointment()
{
return $this->nextAppointment;
}
/**
* Set caseManager
*
* @param Ecs\AgentManagerBundle\Entity\User $caseManager
* @return Customer
*/
public function setCaseManager(\Ecs\AgentManagerBundle\Entity\User $caseManager = null)
{
$this->caseManager = $caseManager;
return $this;
}
/**
* Get caseManager
*
* @return Ecs\AgentManagerBundle\Entity\User
*/
public function getCaseManager()
{
return $this->caseManager;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment