Class: ActiveNetsuite::Campaign

Inherits:
Record
  • Object
show all
Defined in:
lib/activenetsuite/soap/default.rb

Overview

urn:marketing_2013_2urn:marketing_2013_2.listsurn:marketing_2013_2.lists.webservicesurn:marketing_2013_2.lists.webservices.netsuiteurn:marketing_2013_2.lists.webservices.netsuite.comCampaign

nullFieldList - ActiveNetsuite::NullField
customForm - ActiveNetsuite::RecordRef
campaignId - SOAP::SOAPString
title - SOAP::SOAPString
category - ActiveNetsuite::RecordRef
owner - ActiveNetsuite::RecordRef
startDate - SOAP::SOAPDateTime
endDate - SOAP::SOAPDateTime
url - SOAP::SOAPString
baseCost - SOAP::SOAPDouble
cost - SOAP::SOAPDouble
expectedRevenue - SOAP::SOAPDouble
message - SOAP::SOAPString
isInactive - SOAP::SOAPBoolean
local - SOAP::SOAPBoolean
totalRevenue - SOAP::SOAPDouble
roi - SOAP::SOAPDouble
profit - SOAP::SOAPDouble
costPerCustomer - SOAP::SOAPDouble
convCostPerCustomer - SOAP::SOAPDouble
conversions - SOAP::SOAPLong
leadsGenerated - SOAP::SOAPLong
uniqueVisitors - SOAP::SOAPLong
vertical - ActiveNetsuite::RecordRef
audience - ActiveNetsuite::RecordRef
offer - ActiveNetsuite::RecordRef
promotionCode - ActiveNetsuite::RecordRef
itemList - ActiveNetsuite::RecordRefList
family - ActiveNetsuite::RecordRef
searchEngine - ActiveNetsuite::RecordRef
keyword - SOAP::SOAPString
campaignEmailList - ActiveNetsuite::CampaignEmailList
campaignDirectMailList - ActiveNetsuite::CampaignDirectMailList
campaignEventList - ActiveNetsuite::CampaignEventList
eventResponseList - ActiveNetsuite::CampaignEventResponseList
customFieldList - ActiveNetsuite::CustomFieldList
xmlattr_internalId - SOAP::SOAPString
xmlattr_externalId - SOAP::SOAPString

Constant Summary collapse

AttrExternalId =
XSD::QName.new(nil, "externalId")
AttrInternalId =
XSD::QName.new(nil, "internalId")

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#activate, active, #active=, #active?, #add, all, basic_search_class, #client, client, client=, delete, #delete, deleted, find, find_by, find_by_external_id, find_by_id, find_by_internal_id, #getters, #inactivate, inactive, #inactive=, #load, #loaded?, raise_not_found_error, ref, #ref, search_next, #setters, #to_s, type, #update, update, where

Methods included from MethodInflector

included, #method_missing

Constructor Details

#initialize(nullFieldList = nil, customForm = nil, campaignId = nil, title = nil, category = nil, owner = nil, startDate = nil, endDate = nil, url = nil, baseCost = nil, cost = nil, expectedRevenue = nil, message = nil, isInactive = nil, local = nil, totalRevenue = nil, roi = nil, profit = nil, costPerCustomer = nil, convCostPerCustomer = nil, conversions = nil, leadsGenerated = nil, uniqueVisitors = nil, vertical = nil, audience = nil, offer = nil, promotionCode = nil, itemList = nil, family = nil, searchEngine = nil, keyword = nil, campaignEmailList = nil, campaignDirectMailList = nil, campaignEventList = nil, eventResponseList = nil, customFieldList = nil) ⇒ Campaign

Returns a new instance of Campaign.



22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
# File 'lib/activenetsuite/soap/default.rb', line 22927

def initialize(nullFieldList = nil, customForm = nil, campaignId = nil, title = nil, category = nil, owner = nil, startDate = nil, endDate = nil, url = nil, baseCost = nil, cost = nil, expectedRevenue = nil, message = nil, isInactive = nil, local = nil, totalRevenue = nil, roi = nil, profit = nil, costPerCustomer = nil, convCostPerCustomer = nil, conversions = nil, leadsGenerated = nil, uniqueVisitors = nil, vertical = nil, audience = nil, offer = nil, promotionCode = nil, itemList = nil, family = nil, searchEngine = nil, keyword = nil, campaignEmailList = nil, campaignDirectMailList = nil, campaignEventList = nil, eventResponseList = nil, customFieldList = nil)
  @nullFieldList = nullFieldList
  @customForm = customForm
  @campaignId = campaignId
  @title = title
  @category = category
  @owner = owner
  @startDate = startDate
  @endDate = endDate
  @url = url
  @baseCost = baseCost
  @cost = cost
  @expectedRevenue = expectedRevenue
  @message = message
  @isInactive = isInactive
  @local = local
  @totalRevenue = totalRevenue
  @roi = roi
  @profit = profit
  @costPerCustomer = costPerCustomer
  @convCostPerCustomer = convCostPerCustomer
  @conversions = conversions
  @leadsGenerated = leadsGenerated
  @uniqueVisitors = uniqueVisitors
  @vertical = vertical
  @audience = audience
  @offer = offer
  @promotionCode = promotionCode
  @itemList = itemList
  @family = family
  @searchEngine = searchEngine
  @keyword = keyword
  @campaignEmailList = campaignEmailList
  @campaignDirectMailList = campaignDirectMailList
  @campaignEventList = campaignEventList
  @eventResponseList = eventResponseList
  @customFieldList = customFieldList
  @__xmlattr = {}
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveNetsuite::MethodInflector

Instance Attribute Details

#audienceObject

Returns the value of attribute audience.



22894
22895
22896
# File 'lib/activenetsuite/soap/default.rb', line 22894

def audience
  @audience
end

#baseCostObject

Returns the value of attribute baseCost.



22879
22880
22881
# File 'lib/activenetsuite/soap/default.rb', line 22879

def baseCost
  @baseCost
end

#campaignDirectMailListObject

Returns the value of attribute campaignDirectMailList.



22902
22903
22904
# File 'lib/activenetsuite/soap/default.rb', line 22902

def campaignDirectMailList
  @campaignDirectMailList
end

#campaignEmailListObject

Returns the value of attribute campaignEmailList.



22901
22902
22903
# File 'lib/activenetsuite/soap/default.rb', line 22901

def campaignEmailList
  @campaignEmailList
end

#campaignEventListObject

Returns the value of attribute campaignEventList.



22903
22904
22905
# File 'lib/activenetsuite/soap/default.rb', line 22903

def campaignEventList
  @campaignEventList
end

#campaignIdObject

Returns the value of attribute campaignId.



22872
22873
22874
# File 'lib/activenetsuite/soap/default.rb', line 22872

def campaignId
  @campaignId
end

#categoryObject

Returns the value of attribute category.



22874
22875
22876
# File 'lib/activenetsuite/soap/default.rb', line 22874

def category
  @category
end

#convCostPerCustomerObject

Returns the value of attribute convCostPerCustomer.



22889
22890
22891
# File 'lib/activenetsuite/soap/default.rb', line 22889

def convCostPerCustomer
  @convCostPerCustomer
end

#conversionsObject

Returns the value of attribute conversions.



22890
22891
22892
# File 'lib/activenetsuite/soap/default.rb', line 22890

def conversions
  @conversions
end

#costObject

Returns the value of attribute cost.



22880
22881
22882
# File 'lib/activenetsuite/soap/default.rb', line 22880

def cost
  @cost
end

#costPerCustomerObject

Returns the value of attribute costPerCustomer.



22888
22889
22890
# File 'lib/activenetsuite/soap/default.rb', line 22888

def costPerCustomer
  @costPerCustomer
end

#customFieldListObject

Returns the value of attribute customFieldList.



22905
22906
22907
# File 'lib/activenetsuite/soap/default.rb', line 22905

def customFieldList
  @customFieldList
end

#customFormObject

Returns the value of attribute customForm.



22871
22872
22873
# File 'lib/activenetsuite/soap/default.rb', line 22871

def customForm
  @customForm
end

#endDateObject

Returns the value of attribute endDate.



22877
22878
22879
# File 'lib/activenetsuite/soap/default.rb', line 22877

def endDate
  @endDate
end

#eventResponseListObject

Returns the value of attribute eventResponseList.



22904
22905
22906
# File 'lib/activenetsuite/soap/default.rb', line 22904

def eventResponseList
  @eventResponseList
end

#expectedRevenueObject

Returns the value of attribute expectedRevenue.



22881
22882
22883
# File 'lib/activenetsuite/soap/default.rb', line 22881

def expectedRevenue
  @expectedRevenue
end

#familyObject

Returns the value of attribute family.



22898
22899
22900
# File 'lib/activenetsuite/soap/default.rb', line 22898

def family
  @family
end

#isInactiveObject

Returns the value of attribute isInactive.



22883
22884
22885
# File 'lib/activenetsuite/soap/default.rb', line 22883

def isInactive
  @isInactive
end

#itemListObject

Returns the value of attribute itemList.



22897
22898
22899
# File 'lib/activenetsuite/soap/default.rb', line 22897

def itemList
  @itemList
end

#keywordObject

Returns the value of attribute keyword.



22900
22901
22902
# File 'lib/activenetsuite/soap/default.rb', line 22900

def keyword
  @keyword
end

#leadsGeneratedObject

Returns the value of attribute leadsGenerated.



22891
22892
22893
# File 'lib/activenetsuite/soap/default.rb', line 22891

def leadsGenerated
  @leadsGenerated
end

#localObject

Returns the value of attribute local.



22884
22885
22886
# File 'lib/activenetsuite/soap/default.rb', line 22884

def local
  @local
end

#messageObject

Returns the value of attribute message.



22882
22883
22884
# File 'lib/activenetsuite/soap/default.rb', line 22882

def message
  @message
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



22870
22871
22872
# File 'lib/activenetsuite/soap/default.rb', line 22870

def nullFieldList
  @nullFieldList
end

#offerObject

Returns the value of attribute offer.



22895
22896
22897
# File 'lib/activenetsuite/soap/default.rb', line 22895

def offer
  @offer
end

#ownerObject

Returns the value of attribute owner.



22875
22876
22877
# File 'lib/activenetsuite/soap/default.rb', line 22875

def owner
  @owner
end

#profitObject

Returns the value of attribute profit.



22887
22888
22889
# File 'lib/activenetsuite/soap/default.rb', line 22887

def profit
  @profit
end

#promotionCodeObject

Returns the value of attribute promotionCode.



22896
22897
22898
# File 'lib/activenetsuite/soap/default.rb', line 22896

def promotionCode
  @promotionCode
end

#roiObject

Returns the value of attribute roi.



22886
22887
22888
# File 'lib/activenetsuite/soap/default.rb', line 22886

def roi
  @roi
end

#searchEngineObject

Returns the value of attribute searchEngine.



22899
22900
22901
# File 'lib/activenetsuite/soap/default.rb', line 22899

def searchEngine
  @searchEngine
end

#startDateObject

Returns the value of attribute startDate.



22876
22877
22878
# File 'lib/activenetsuite/soap/default.rb', line 22876

def startDate
  @startDate
end

#titleObject

Returns the value of attribute title.



22873
22874
22875
# File 'lib/activenetsuite/soap/default.rb', line 22873

def title
  @title
end

#totalRevenueObject

Returns the value of attribute totalRevenue.



22885
22886
22887
# File 'lib/activenetsuite/soap/default.rb', line 22885

def totalRevenue
  @totalRevenue
end

#uniqueVisitorsObject

Returns the value of attribute uniqueVisitors.



22892
22893
22894
# File 'lib/activenetsuite/soap/default.rb', line 22892

def uniqueVisitors
  @uniqueVisitors
end

#urlObject

Returns the value of attribute url.



22878
22879
22880
# File 'lib/activenetsuite/soap/default.rb', line 22878

def url
  @url
end

#verticalObject

Returns the value of attribute vertical.



22893
22894
22895
# File 'lib/activenetsuite/soap/default.rb', line 22893

def vertical
  @vertical
end

Instance Method Details

#__xmlattrObject



22907
22908
22909
# File 'lib/activenetsuite/soap/default.rb', line 22907

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_externalIdObject



22919
22920
22921
# File 'lib/activenetsuite/soap/default.rb', line 22919

def xmlattr_externalId
  __xmlattr[AttrExternalId]
end

#xmlattr_externalId=(value) ⇒ Object



22923
22924
22925
# File 'lib/activenetsuite/soap/default.rb', line 22923

def xmlattr_externalId=(value)
  __xmlattr[AttrExternalId] = value
end

#xmlattr_internalIdObject



22911
22912
22913
# File 'lib/activenetsuite/soap/default.rb', line 22911

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



22915
22916
22917
# File 'lib/activenetsuite/soap/default.rb', line 22915

def xmlattr_internalId=(value)
  __xmlattr[AttrInternalId] = value
end