com.sforce.soap.partner
Class LeadConvert

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

public class LeadConvert
extends java.lang.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  java.lang.String accountId
           
protected  java.lang.String contactId
           
protected  java.lang.String convertedStatus
           
protected  boolean doNotCreateOpportunity
           
protected  java.lang.String leadId
           
protected  java.lang.String opportunityName
           
protected  boolean overwriteLeadSource
           
protected  java.lang.String ownerId
           
protected  boolean sendNotificationEmail
           
 
Constructor Summary
LeadConvert()
           
 
Method Summary
 java.lang.String getAccountId()
          Gets the value of the accountId property.
 java.lang.String getContactId()
          Gets the value of the contactId property.
 java.lang.String getConvertedStatus()
          Gets the value of the convertedStatus property.
 java.lang.String getLeadId()
          Gets the value of the leadId property.
 java.lang.String getOpportunityName()
          Gets the value of the opportunityName property.
 java.lang.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(java.lang.String value)
          Sets the value of the accountId property.
 void setContactId(java.lang.String value)
          Sets the value of the contactId property.
 void setConvertedStatus(java.lang.String value)
          Sets the value of the convertedStatus property.
 void setDoNotCreateOpportunity(boolean value)
          Sets the value of the doNotCreateOpportunity property.
 void setLeadId(java.lang.String value)
          Sets the value of the leadId property.
 void setOpportunityName(java.lang.String value)
          Sets the value of the opportunityName property.
 void setOverwriteLeadSource(boolean value)
          Sets the value of the overwriteLeadSource property.
 void setOwnerId(java.lang.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 java.lang.String accountId

contactId

protected java.lang.String contactId

convertedStatus

protected java.lang.String convertedStatus

doNotCreateOpportunity

protected boolean doNotCreateOpportunity

leadId

protected java.lang.String leadId

opportunityName

protected java.lang.String opportunityName

overwriteLeadSource

protected boolean overwriteLeadSource

ownerId

protected java.lang.String ownerId

sendNotificationEmail

protected boolean sendNotificationEmail
Constructor Detail

LeadConvert

public LeadConvert()
Method Detail

getAccountId

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

Returns:
possible object is String

setAccountId

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

Parameters:
value - allowed object is String

getContactId

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

Returns:
possible object is String

setContactId

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

Parameters:
value - allowed object is String

getConvertedStatus

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

Returns:
possible object is String

setConvertedStatus

public void setConvertedStatus(java.lang.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 java.lang.String getLeadId()
Gets the value of the leadId property.

Returns:
possible object is String

setLeadId

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

Parameters:
value - allowed object is String

getOpportunityName

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

Returns:
possible object is String

setOpportunityName

public void setOpportunityName(java.lang.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 java.lang.String getOwnerId()
Gets the value of the ownerId property.

Returns:
possible object is String

setOwnerId

public void setOwnerId(java.lang.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 © 2011. All Rights Reserved.