You are here

function LeadConvert::LeadConvert in Salesforce Suite 5

Same name and namespace in other branches
  1. 5.2 includes/salesforce.php \LeadConvert::LeadConvert()

File

includes/salesforce.php, line 484

Class

LeadConvert
salesforce sObject.

Code

function LeadConvert($accountId, $contactId, $convertedStatus, $doNotCreateOpportunity, $leadId, $opportunityName, $overwriteLeadSource, $ownerId, $sendNotificationEmail) {
  $this->accountId = $accountId;
  $this->contactId = $contactId;
  $this->convertedStatus = $convertedStatus;
  $this->doNotCreateOpportunity = $doNotCreateOpportunity;
  $this->leadId = $leadId;
  $this->opportunityName = $opportunityName;
  $this->overwriteLeadSource = $overwriteLeadSource;
  $this->ownerId = $ownerId;
  $this->sendNotificationEmail = $sendNotificationEmail;
}