function LeadConvert::serialize in Salesforce Suite 5
Same name and namespace in other branches
- 5.2 includes/salesforce.php \LeadConvert::serialize()
File
- includes/
salesforce.php, line 498
Class
- LeadConvert
- salesforce sObject.
Code
function serialize() {
$valuesSer['accountId'] = $this->accountId;
$valuesSer['contactId'] = $this->contactId;
$valuesSer['convertedStatus'] = $this->convertedStatus;
$valuesSer['doNotCreateOpportunity'] = $this->doNotCreateOpportunity;
$valuesSer['leadId'] = $this->leadId;
$valuesSer['opportunityName'] = $this->opportunityName;
$valuesSer['overwriteLeadSource'] = $this->overwriteLeadSource;
$valuesSer['ownerId'] = $this->ownerId;
$valuesSer['sendNotificationEmail'] = $this->sendNotificationEmail;
$leadConvert = new soapval('LeadConvert', false, $valuesSer);
return $leadConvert
->serialize();
}