Source of file LeadConvertResult.php
Size: 2,547 Bytes - Last Modified: 2021-12-23T10:46:09+00:00
/var/www/docs.ssmods.com/process/src/code/SForce/LeadConvertResult.php
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 | <?php namespace SForce\Wsdl; class LeadConvertResult { /** * @var ID */ protected $accountId = null; /** * @var ID */ protected $contactId = null; /** * @var Error[] */ protected $errors = null; /** * @var ID */ protected $leadId = null; /** * @var ID */ protected $opportunityId = null; /** * @var boolean */ protected $success = null; /** * @param boolean $success */ public function __construct($success = null) { $this->success = $success; } /** * @return ID */ public function getAccountId() { return $this->accountId; } /** * @param ID $accountId * @return \SForce\Wsdl\LeadConvertResult */ public function setAccountId($accountId) { $this->accountId = $accountId; return $this; } /** * @return ID */ public function getContactId() { return $this->contactId; } /** * @param ID $contactId * @return \SForce\Wsdl\LeadConvertResult */ public function setContactId($contactId) { $this->contactId = $contactId; return $this; } /** * @return Error[] */ public function getErrors() { return $this->errors; } /** * @param Error[] $errors * @return \SForce\Wsdl\LeadConvertResult */ public function setErrors(array $errors = null) { $this->errors = $errors; return $this; } /** * @return ID */ public function getLeadId() { return $this->leadId; } /** * @param ID $leadId * @return \SForce\Wsdl\LeadConvertResult */ public function setLeadId($leadId) { $this->leadId = $leadId; return $this; } /** * @return ID */ public function getOpportunityId() { return $this->opportunityId; } /** * @param ID $opportunityId * @return \SForce\Wsdl\LeadConvertResult */ public function setOpportunityId($opportunityId) { $this->opportunityId = $opportunityId; return $this; } /** * @return boolean */ public function getSuccess() { return $this->success; } /** * @param boolean $success * @return \SForce\Wsdl\LeadConvertResult */ public function setSuccess($success) { $this->success = $success; return $this; } } |