Class: ChannelAdvisor::MarketplaceAdServiceSOAP::MarketplaceAd

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

Overview

/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

Returns a new instance of MarketplaceAd.



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

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.



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

def adTemplate
  @adTemplate
end

#flagDescriptionObject

Returns the value of attribute flagDescription.



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

def flagDescription
  @flagDescription
end

#flagStyleObject

Returns the value of attribute flagStyle.



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

def flagStyle
  @flagStyle
end

#iDObject

Returns the value of attribute iD.



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

def iD
  @iD
end

#postingTemplateObject

Returns the value of attribute postingTemplate.



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

def postingTemplate
  @postingTemplate
end

#primaryCategoryObject

Returns the value of attribute primaryCategory.



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

def primaryCategory
  @primaryCategory
end

#primaryStoreCategoryObject

Returns the value of attribute primaryStoreCategory.



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

def primaryStoreCategory
  @primaryStoreCategory
end

#scheduleObject

Returns the value of attribute schedule.



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

def schedule
  @schedule
end

#secondaryCategoryObject

Returns the value of attribute secondaryCategory.



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

def secondaryCategory
  @secondaryCategory
end

#secondaryStoreCategoryObject

Returns the value of attribute secondaryStoreCategory.



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

def secondaryStoreCategory
  @secondaryStoreCategory
end

#skuObject

Returns the value of attribute sku.



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

def sku
  @sku
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end