Class: ChannelAdvisor::MarketplaceAdServiceSOAP::MarketplaceAd

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/marketplace_ad_service/types.rb

Overview

http://api.channeladvisor.com/webservices/MarketplaceAd

iD - SOAP::SOAPInt
sku - SOAP::SOAPString
title - SOAP::SOAPString
postingTemplate - SOAP::SOAPString
adTemplate - SOAP::SOAPString
schedule - SOAP::SOAPString
flagStyle - ChannelAdvisor::MarketplaceAdServiceSOAP::FlagType
flagDescription - SOAP::SOAPString
primaryCategory - SOAP::SOAPString
secondaryCategory - SOAP::SOAPString
primaryStoreCategory - SOAP::SOAPString
secondaryStoreCategory - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iD = nil, sku = nil, title = nil, postingTemplate = nil, adTemplate = nil, schedule = nil, flagStyle = nil, flagDescription = nil, primaryCategory = nil, secondaryCategory = nil, primaryStoreCategory = nil, secondaryStoreCategory = nil) ⇒ MarketplaceAd


33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 33

def initialize(iD = nil, sku = nil, title = nil, postingTemplate = nil, adTemplate = nil, schedule = nil, flagStyle = nil, flagDescription = nil, primaryCategory = nil, secondaryCategory = nil, primaryStoreCategory = nil, secondaryStoreCategory = nil)
  @iD = iD
  @sku = sku
  @title = title
  @postingTemplate = postingTemplate
  @adTemplate = adTemplate
  @schedule = schedule
  @flagStyle = flagStyle
  @flagDescription = flagDescription
  @primaryCategory = primaryCategory
  @secondaryCategory = secondaryCategory
  @primaryStoreCategory = primaryStoreCategory
  @secondaryStoreCategory = secondaryStoreCategory
end

Instance Attribute Details

#adTemplateObject

Returns the value of attribute adTemplate


24
25
26
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 24

def adTemplate
  @adTemplate
end

#flagDescriptionObject

Returns the value of attribute flagDescription


27
28
29
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 27

def flagDescription
  @flagDescription
end

#flagStyleObject

Returns the value of attribute flagStyle


26
27
28
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 26

def flagStyle
  @flagStyle
end

#iDObject

Returns the value of attribute iD


20
21
22
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 20

def iD
  @iD
end

#postingTemplateObject

Returns the value of attribute postingTemplate


23
24
25
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 23

def postingTemplate
  @postingTemplate
end

#primaryCategoryObject

Returns the value of attribute primaryCategory


28
29
30
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 28

def primaryCategory
  @primaryCategory
end

#primaryStoreCategoryObject

Returns the value of attribute primaryStoreCategory


30
31
32
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 30

def primaryStoreCategory
  @primaryStoreCategory
end

#scheduleObject

Returns the value of attribute schedule


25
26
27
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 25

def schedule
  @schedule
end

#secondaryCategoryObject

Returns the value of attribute secondaryCategory


29
30
31
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 29

def secondaryCategory
  @secondaryCategory
end

#secondaryStoreCategoryObject

Returns the value of attribute secondaryStoreCategory


31
32
33
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 31

def secondaryStoreCategory
  @secondaryStoreCategory
end

#skuObject

Returns the value of attribute sku


21
22
23
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 21

def sku
  @sku
end

#titleObject

Returns the value of attribute title


22
23
24
# File 'lib/channel_advisor/marketplace_ad_service/types.rb', line 22

def title
  @title
end