com.sforce.soap.partner
Class LeadConvert

java.lang.Object
  extended by com.sforce.soap.partner.LeadConvert

public class LeadConvert
extends Object

Java class for LeadConvert complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="LeadConvert">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="accountId" type="{urn:partner.soap.sforce.com}ID"/>
         <element name="contactId" type="{urn:partner.soap.sforce.com}ID"/>
         <element name="convertedStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="doNotCreateOpportunity" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="leadId" type="{urn:partner.soap.sforce.com}ID"/>
         <element name="opportunityName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="overwriteLeadSource" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="ownerId" type="{urn:partner.soap.sforce.com}ID"/>
         <element name="sendNotificationEmail" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String accountId
           
protected  String contactId
           
protected  String convertedStatus
           
protected  boolean doNotCreateOpportunity
           
protected  String leadId
           
protected  String opportunityName
           
protected  boolean overwriteLeadSource
           
protected  String ownerId
           
protected  boolean sendNotificationEmail
           
 
Constructor Summary
LeadConvert()
           
 
Method Summary
 String getAccountId()
          Gets the value of the accountId property.
 String getContactId()
          Gets the value of the contactId property.
 String getConvertedStatus()
          Gets the value of the convertedStatus property.
 String getLeadId()
          Gets the value of the leadId property.
 String getOpportunityName()
          Gets the value of the opportunityName property.
 String getOwnerId()
          Gets the value of the ownerId property.
 boolean isDoNotCreateOpportunity()
          Gets the value of the doNotCreateOpportunity property.
 boolean isOverwriteLeadSource()
          Gets the value of the overwriteLeadSource property.
 boolean isSendNotificationEmail()
          Gets the value of the sendNotificationEmail property.
 void setAccountId(String value)
          Sets the value of the accountId property.
 void setContactId(String value)
          Sets the value of the contactId property.
 void setConvertedStatus(String value)
          Sets the value of the convertedStatus property.
 void setDoNotCreateOpportunity(boolean value)
          Sets the value of the doNotCreateOpportunity property.
 void setLeadId(String value)
          Sets the value of the leadId property.
 void setOpportunityName(String value)
          Sets the value of the opportunityName property.
 void setOverwriteLeadSource(boolean value)
          Sets the value of the overwriteLeadSource property.
 void setOwnerId(String value)
          Sets the value of the ownerId property.
 void setSendNotificationEmail(boolean value)
          Sets the value of the sendNotificationEmail property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accountId

protected String accountId

contactId

protected String contactId

convertedStatus

protected String convertedStatus

doNotCreateOpportunity

protected boolean doNotCreateOpportunity

leadId

protected String leadId

opportunityName

protected String opportunityName

overwriteLeadSource

protected boolean overwriteLeadSource

ownerId

protected String ownerId

sendNotificationEmail

protected boolean sendNotificationEmail
Constructor Detail

LeadConvert

public LeadConvert()
Method Detail

getAccountId

public String getAccountId()
Gets the value of the accountId property.

Returns:
possible object is String

setAccountId

public void setAccountId(String value)
Sets the value of the accountId property.

Parameters:
value - allowed object is String

getContactId

public String getContactId()
Gets the value of the contactId property.

Returns:
possible object is String

setContactId

public void setContactId(String value)
Sets the value of the contactId property.

Parameters:
value - allowed object is String

getConvertedStatus

public String getConvertedStatus()
Gets the value of the convertedStatus property.

Returns:
possible object is String

setConvertedStatus

public void setConvertedStatus(String value)
Sets the value of the convertedStatus property.

Parameters:
value - allowed object is String

isDoNotCreateOpportunity

public boolean isDoNotCreateOpportunity()
Gets the value of the doNotCreateOpportunity property.


setDoNotCreateOpportunity

public void setDoNotCreateOpportunity(boolean value)
Sets the value of the doNotCreateOpportunity property.


getLeadId

public String getLeadId()
Gets the value of the leadId property.

Returns:
possible object is String

setLeadId

public void setLeadId(String value)
Sets the value of the leadId property.

Parameters:
value - allowed object is String

getOpportunityName

public String getOpportunityName()
Gets the value of the opportunityName property.

Returns:
possible object is String

setOpportunityName

public void setOpportunityName(String value)
Sets the value of the opportunityName property.

Parameters:
value - allowed object is String

isOverwriteLeadSource

public boolean isOverwriteLeadSource()
Gets the value of the overwriteLeadSource property.


setOverwriteLeadSource

public void setOverwriteLeadSource(boolean value)
Sets the value of the overwriteLeadSource property.


getOwnerId

public String getOwnerId()
Gets the value of the ownerId property.

Returns:
possible object is String

setOwnerId

public void setOwnerId(String value)
Sets the value of the ownerId property.

Parameters:
value - allowed object is String

isSendNotificationEmail

public boolean isSendNotificationEmail()
Gets the value of the sendNotificationEmail property.


setSendNotificationEmail

public void setSendNotificationEmail(boolean value)
Sets the value of the sendNotificationEmail property.



Copyright © 2012. All Rights Reserved.