public class

Campaign

extends Record
java.lang.Object
   ↳ com.netsuite.webservices.platform.core_2010_2.Record
     ↳ com.netsuite.webservices.lists.marketing_2010_2.Campaign

Class Overview

Java class for Campaign complex type.

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

 <complexType name="Campaign">
   <complexContent>
     <extension base="{urn:core_2010_2.platform.webservices.netsuite.com}Record">
       <sequence>
         <element name="customForm" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="campaignId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="category" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="owner" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="startDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="endDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="baseCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="cost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="expectedRevenue" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="isInactive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="local" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="totalRevenue" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="roi" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="profit" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="costPerCustomer" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="convCostPerCustomer" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="conversions" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="leadsGenerated" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="uniqueVisitors" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="vertical" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="audience" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="offer" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="promotionCode" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="itemList" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRefList" minOccurs="0"/>
         <element name="family" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="searchEngine" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="keyword" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="campaignEmailList" type="{urn:marketing_2010_2.lists.webservices.netsuite.com}CampaignEmailList" minOccurs="0"/>
         <element name="campaignDirectMailList" type="{urn:marketing_2010_2.lists.webservices.netsuite.com}CampaignDirectMailList" minOccurs="0"/>
         <element name="campaignEventList" type="{urn:marketing_2010_2.lists.webservices.netsuite.com}CampaignEventList" minOccurs="0"/>
         <element name="eventResponseList" type="{urn:marketing_2010_2.lists.webservices.netsuite.com}CampaignEventResponseList" minOccurs="0"/>
         <element name="customFieldList" type="{urn:core_2010_2.platform.webservices.netsuite.com}CustomFieldList" minOccurs="0"/>
       </sequence>
       <attribute name="internalId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="externalId" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected RecordRef audience
protected Double baseCost
protected CampaignDirectMailList campaignDirectMailList
protected CampaignEmailList campaignEmailList
protected CampaignEventList campaignEventList
protected String campaignId
protected RecordRef category
protected Double convCostPerCustomer
protected Long conversions
protected Double cost
protected Double costPerCustomer
protected CustomFieldList customFieldList
protected RecordRef customForm
protected XMLGregorianCalendar endDate
protected CampaignEventResponseList eventResponseList
protected Double expectedRevenue
protected String externalId
protected RecordRef family
protected String internalId
protected Boolean isInactive
protected RecordRefList itemList
protected String keyword
protected Long leadsGenerated
protected Boolean local
protected String message
protected RecordRef offer
protected RecordRef owner
protected Double profit
protected RecordRef promotionCode
protected Double roi
protected RecordRef searchEngine
protected XMLGregorianCalendar startDate
protected String title
protected Double totalRevenue
protected Long uniqueVisitors
protected String url
protected RecordRef vertical
[Expand]
Inherited Fields
From class com.netsuite.webservices.platform.core_2010_2.Record
Public Constructors
Campaign()
Public Methods
RecordRef getAudience()
Gets the value of the audience property.
Double getBaseCost()
Gets the value of the baseCost property.
CampaignDirectMailList getCampaignDirectMailList()
Gets the value of the campaignDirectMailList property.
CampaignEmailList getCampaignEmailList()
Gets the value of the campaignEmailList property.
CampaignEventList getCampaignEventList()
Gets the value of the campaignEventList property.
String getCampaignId()
Gets the value of the campaignId property.
RecordRef getCategory()
Gets the value of the category property.
Double getConvCostPerCustomer()
Gets the value of the convCostPerCustomer property.
Long getConversions()
Gets the value of the conversions property.
Double getCost()
Gets the value of the cost property.
Double getCostPerCustomer()
Gets the value of the costPerCustomer property.
CustomFieldList getCustomFieldList()
Gets the value of the customFieldList property.
RecordRef getCustomForm()
Gets the value of the customForm property.
XMLGregorianCalendar getEndDate()
Gets the value of the endDate property.
CampaignEventResponseList getEventResponseList()
Gets the value of the eventResponseList property.
Double getExpectedRevenue()
Gets the value of the expectedRevenue property.
String getExternalId()
Gets the value of the externalId property.
RecordRef getFamily()
Gets the value of the family property.
String getInternalId()
Gets the value of the internalId property.
RecordRefList getItemList()
Gets the value of the itemList property.
String getKeyword()
Gets the value of the keyword property.
Long getLeadsGenerated()
Gets the value of the leadsGenerated property.
String getMessage()
Gets the value of the message property.
RecordRef getOffer()
Gets the value of the offer property.
RecordRef getOwner()
Gets the value of the owner property.
Double getProfit()
Gets the value of the profit property.
RecordRef getPromotionCode()
Gets the value of the promotionCode property.
Double getRoi()
Gets the value of the roi property.
RecordRef getSearchEngine()
Gets the value of the searchEngine property.
XMLGregorianCalendar getStartDate()
Gets the value of the startDate property.
String getTitle()
Gets the value of the title property.
Double getTotalRevenue()
Gets the value of the totalRevenue property.
Long getUniqueVisitors()
Gets the value of the uniqueVisitors property.
String getUrl()
Gets the value of the url property.
RecordRef getVertical()
Gets the value of the vertical property.
Boolean isIsInactive()
Gets the value of the isInactive property.
Boolean isLocal()
Gets the value of the local property.
void setAudience(RecordRef value)
Sets the value of the audience property.
void setBaseCost(Double value)
Sets the value of the baseCost property.
void setCampaignDirectMailList(CampaignDirectMailList value)
Sets the value of the campaignDirectMailList property.
void setCampaignEmailList(CampaignEmailList value)
Sets the value of the campaignEmailList property.
void setCampaignEventList(CampaignEventList value)
Sets the value of the campaignEventList property.
void setCampaignId(String value)
Sets the value of the campaignId property.
void setCategory(RecordRef value)
Sets the value of the category property.
void setConvCostPerCustomer(Double value)
Sets the value of the convCostPerCustomer property.
void setConversions(Long value)
Sets the value of the conversions property.
void setCost(Double value)
Sets the value of the cost property.
void setCostPerCustomer(Double value)
Sets the value of the costPerCustomer property.
void setCustomFieldList(CustomFieldList value)
Sets the value of the customFieldList property.
void setCustomForm(RecordRef value)
Sets the value of the customForm property.
void setEndDate(XMLGregorianCalendar value)
Sets the value of the endDate property.
void setEventResponseList(CampaignEventResponseList value)
Sets the value of the eventResponseList property.
void setExpectedRevenue(Double value)
Sets the value of the expectedRevenue property.
void setExternalId(String value)
Sets the value of the externalId property.
void setFamily(RecordRef value)
Sets the value of the family property.
void setInternalId(String value)
Sets the value of the internalId property.
void setIsInactive(Boolean value)
Sets the value of the isInactive property.
void setItemList(RecordRefList value)
Sets the value of the itemList property.
void setKeyword(String value)
Sets the value of the keyword property.
void setLeadsGenerated(Long value)
Sets the value of the leadsGenerated property.
void setLocal(Boolean value)
Sets the value of the local property.
void setMessage(String value)
Sets the value of the message property.
void setOffer(RecordRef value)
Sets the value of the offer property.
void setOwner(RecordRef value)
Sets the value of the owner property.
void setProfit(Double value)
Sets the value of the profit property.
void setPromotionCode(RecordRef value)
Sets the value of the promotionCode property.
void setRoi(Double value)
Sets the value of the roi property.
void setSearchEngine(RecordRef value)
Sets the value of the searchEngine property.
void setStartDate(XMLGregorianCalendar value)
Sets the value of the startDate property.
void setTitle(String value)
Sets the value of the title property.
void setTotalRevenue(Double value)
Sets the value of the totalRevenue property.
void setUniqueVisitors(Long value)
Sets the value of the uniqueVisitors property.
void setUrl(String value)
Sets the value of the url property.
void setVertical(RecordRef value)
Sets the value of the vertical property.
[Expand]
Inherited Methods
From class com.netsuite.webservices.platform.core_2010_2.Record
From class java.lang.Object

Fields

protected RecordRef audience

protected Double baseCost

protected CampaignDirectMailList campaignDirectMailList

protected CampaignEmailList campaignEmailList

protected CampaignEventList campaignEventList

protected String campaignId

protected RecordRef category

protected Double convCostPerCustomer

protected Long conversions

protected Double cost

protected Double costPerCustomer

protected CustomFieldList customFieldList

protected RecordRef customForm

protected XMLGregorianCalendar endDate

protected CampaignEventResponseList eventResponseList

protected Double expectedRevenue

protected String externalId

protected RecordRef family

protected String internalId

protected Boolean isInactive

protected RecordRefList itemList

protected String keyword

protected Long leadsGenerated

protected Boolean local

protected String message

protected RecordRef offer

protected RecordRef owner

protected Double profit

protected RecordRef promotionCode

protected Double roi

protected RecordRef searchEngine

protected XMLGregorianCalendar startDate

protected String title

protected Double totalRevenue

protected Long uniqueVisitors

protected String url

protected RecordRef vertical

Public Constructors

public Campaign ()

Public Methods

public RecordRef getAudience ()

Gets the value of the audience property.

Returns

public Double getBaseCost ()

Gets the value of the baseCost property.

Returns
  • possible object is Double

public CampaignDirectMailList getCampaignDirectMailList ()

Gets the value of the campaignDirectMailList property.

Returns

public CampaignEmailList getCampaignEmailList ()

Gets the value of the campaignEmailList property.

Returns

public CampaignEventList getCampaignEventList ()

Gets the value of the campaignEventList property.

Returns

public String getCampaignId ()

Gets the value of the campaignId property.

Returns
  • possible object is String

public RecordRef getCategory ()

Gets the value of the category property.

Returns

public Double getConvCostPerCustomer ()

Gets the value of the convCostPerCustomer property.

Returns
  • possible object is Double

public Long getConversions ()

Gets the value of the conversions property.

Returns
  • possible object is Long

public Double getCost ()

Gets the value of the cost property.

Returns
  • possible object is Double

public Double getCostPerCustomer ()

Gets the value of the costPerCustomer property.

Returns
  • possible object is Double

public CustomFieldList getCustomFieldList ()

Gets the value of the customFieldList property.

Returns

public RecordRef getCustomForm ()

Gets the value of the customForm property.

Returns

public XMLGregorianCalendar getEndDate ()

Gets the value of the endDate property.

Returns
  • possible object is XMLGregorianCalendar

public CampaignEventResponseList getEventResponseList ()

Gets the value of the eventResponseList property.

Returns

public Double getExpectedRevenue ()

Gets the value of the expectedRevenue property.

Returns
  • possible object is Double

public String getExternalId ()

Gets the value of the externalId property.

Returns
  • possible object is String

public RecordRef getFamily ()

Gets the value of the family property.

Returns

public String getInternalId ()

Gets the value of the internalId property.

Returns
  • possible object is String

public RecordRefList getItemList ()

Gets the value of the itemList property.

Returns

public String getKeyword ()

Gets the value of the keyword property.

Returns
  • possible object is String

public Long getLeadsGenerated ()

Gets the value of the leadsGenerated property.

Returns
  • possible object is Long

public String getMessage ()

Gets the value of the message property.

Returns
  • possible object is String

public RecordRef getOffer ()

Gets the value of the offer property.

Returns

public RecordRef getOwner ()

Gets the value of the owner property.

Returns

public Double getProfit ()

Gets the value of the profit property.

Returns
  • possible object is Double

public RecordRef getPromotionCode ()

Gets the value of the promotionCode property.

Returns

public Double getRoi ()

Gets the value of the roi property.

Returns
  • possible object is Double

public RecordRef getSearchEngine ()

Gets the value of the searchEngine property.

Returns

public XMLGregorianCalendar getStartDate ()

Gets the value of the startDate property.

Returns
  • possible object is XMLGregorianCalendar

public String getTitle ()

Gets the value of the title property.

Returns
  • possible object is String

public Double getTotalRevenue ()

Gets the value of the totalRevenue property.

Returns
  • possible object is Double

public Long getUniqueVisitors ()

Gets the value of the uniqueVisitors property.

Returns
  • possible object is Long

public String getUrl ()

Gets the value of the url property.

Returns
  • possible object is String

public RecordRef getVertical ()

Gets the value of the vertical property.

Returns

public Boolean isIsInactive ()

Gets the value of the isInactive property.

Returns
  • possible object is Boolean

public Boolean isLocal ()

Gets the value of the local property.

Returns
  • possible object is Boolean

public void setAudience (RecordRef value)

Sets the value of the audience property.

Parameters
value Allowed object is RecordRef

public void setBaseCost (Double value)

Sets the value of the baseCost property.

Parameters
value Allowed object is Double

public void setCampaignDirectMailList (CampaignDirectMailList value)

Sets the value of the campaignDirectMailList property.

Parameters
value Allowed object is CampaignDirectMailList

public void setCampaignEmailList (CampaignEmailList value)

Sets the value of the campaignEmailList property.

Parameters
value Allowed object is CampaignEmailList

public void setCampaignEventList (CampaignEventList value)

Sets the value of the campaignEventList property.

Parameters
value Allowed object is CampaignEventList

public void setCampaignId (String value)

Sets the value of the campaignId property.

Parameters
value Allowed object is String

public void setCategory (RecordRef value)

Sets the value of the category property.

Parameters
value Allowed object is RecordRef

public void setConvCostPerCustomer (Double value)

Sets the value of the convCostPerCustomer property.

Parameters
value Allowed object is Double

public void setConversions (Long value)

Sets the value of the conversions property.

Parameters
value Allowed object is Long

public void setCost (Double value)

Sets the value of the cost property.

Parameters
value Allowed object is Double

public void setCostPerCustomer (Double value)

Sets the value of the costPerCustomer property.

Parameters
value Allowed object is Double

public void setCustomFieldList (CustomFieldList value)

Sets the value of the customFieldList property.

Parameters
value Allowed object is CustomFieldList

public void setCustomForm (RecordRef value)

Sets the value of the customForm property.

Parameters
value Allowed object is RecordRef

public void setEndDate (XMLGregorianCalendar value)

Sets the value of the endDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setEventResponseList (CampaignEventResponseList value)

Sets the value of the eventResponseList property.

Parameters
value Allowed object is CampaignEventResponseList

public void setExpectedRevenue (Double value)

Sets the value of the expectedRevenue property.

Parameters
value Allowed object is Double

public void setExternalId (String value)

Sets the value of the externalId property.

Parameters
value Allowed object is String

public void setFamily (RecordRef value)

Sets the value of the family property.

Parameters
value Allowed object is RecordRef

public void setInternalId (String value)

Sets the value of the internalId property.

Parameters
value Allowed object is String

public void setIsInactive (Boolean value)

Sets the value of the isInactive property.

Parameters
value Allowed object is Boolean

public void setItemList (RecordRefList value)

Sets the value of the itemList property.

Parameters
value Allowed object is RecordRefList

public void setKeyword (String value)

Sets the value of the keyword property.

Parameters
value Allowed object is String

public void setLeadsGenerated (Long value)

Sets the value of the leadsGenerated property.

Parameters
value Allowed object is Long

public void setLocal (Boolean value)

Sets the value of the local property.

Parameters
value Allowed object is Boolean

public void setMessage (String value)

Sets the value of the message property.

Parameters
value Allowed object is String

public void setOffer (RecordRef value)

Sets the value of the offer property.

Parameters
value Allowed object is RecordRef

public void setOwner (RecordRef value)

Sets the value of the owner property.

Parameters
value Allowed object is RecordRef

public void setProfit (Double value)

Sets the value of the profit property.

Parameters
value Allowed object is Double

public void setPromotionCode (RecordRef value)

Sets the value of the promotionCode property.

Parameters
value Allowed object is RecordRef

public void setRoi (Double value)

Sets the value of the roi property.

Parameters
value Allowed object is Double

public void setSearchEngine (RecordRef value)

Sets the value of the searchEngine property.

Parameters
value Allowed object is RecordRef

public void setStartDate (XMLGregorianCalendar value)

Sets the value of the startDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setTitle (String value)

Sets the value of the title property.

Parameters
value Allowed object is String

public void setTotalRevenue (Double value)

Sets the value of the totalRevenue property.

Parameters
value Allowed object is Double

public void setUniqueVisitors (Long value)

Sets the value of the uniqueVisitors property.

Parameters
value Allowed object is Long

public void setUrl (String value)

Sets the value of the url property.

Parameters
value Allowed object is String

public void setVertical (RecordRef value)

Sets the value of the vertical property.

Parameters
value Allowed object is RecordRef