Class: PromotionRuleType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsPromotionRuleType

Constant Summary collapse

@@schema_type =
"PromotionRuleType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["promotedItem", ["PromotedItemType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotedItem")]],
  ["siteID", ["SiteCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SiteID")]],
  ["promotedStoreCategoryID", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotedStoreCategoryID")]],
  ["promotedeBayCategoryID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotedeBayCategoryID")]],
  ["promotedKeywords", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotedKeywords")]],
  ["referringItemID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReferringItemID")]],
  ["referringStoreCategoryID", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReferringStoreCategoryID")]],
  ["referringeBayCategoryID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReferringeBayCategoryID")]],
  ["referringKeywords", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReferringKeywords")]],
  ["promotionScheme", ["PromotionSchemeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionScheme")]],
  ["promotionMethod", ["PromotionMethodCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionMethod")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(promotedItem = [], siteID = nil, promotedStoreCategoryID = nil, promotedeBayCategoryID = nil, promotedKeywords = nil, referringItemID = nil, referringStoreCategoryID = nil, referringeBayCategoryID = nil, referringKeywords = nil, promotionScheme = nil, promotionMethod = nil) ⇒ PromotionRuleType

Returns a new instance of PromotionRuleType.



21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
# File 'lib/eBay.rb', line 21375

def initialize(promotedItem = [], siteID = nil, promotedStoreCategoryID = nil, promotedeBayCategoryID = nil, promotedKeywords = nil, referringItemID = nil, referringStoreCategoryID = nil, referringeBayCategoryID = nil, referringKeywords = nil, promotionScheme = nil, promotionMethod = nil)
  @promotedItem = promotedItem
  @siteID = siteID
  @promotedStoreCategoryID = promotedStoreCategoryID
  @promotedeBayCategoryID = promotedeBayCategoryID
  @promotedKeywords = promotedKeywords
  @referringItemID = referringItemID
  @referringStoreCategoryID = referringStoreCategoryID
  @referringeBayCategoryID = referringeBayCategoryID
  @referringKeywords = referringKeywords
  @promotionScheme = promotionScheme
  @promotionMethod = promotionMethod
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



21369
21370
21371
# File 'lib/eBay.rb', line 21369

def __xmlele_any
  @__xmlele_any
end

#promotedeBayCategoryIDObject

Returns the value of attribute promotedeBayCategoryID.



21361
21362
21363
# File 'lib/eBay.rb', line 21361

def promotedeBayCategoryID
  @promotedeBayCategoryID
end

#promotedItemObject

Returns the value of attribute promotedItem.



21358
21359
21360
# File 'lib/eBay.rb', line 21358

def promotedItem
  @promotedItem
end

#promotedKeywordsObject

Returns the value of attribute promotedKeywords.



21362
21363
21364
# File 'lib/eBay.rb', line 21362

def promotedKeywords
  @promotedKeywords
end

#promotedStoreCategoryIDObject

Returns the value of attribute promotedStoreCategoryID.



21360
21361
21362
# File 'lib/eBay.rb', line 21360

def promotedStoreCategoryID
  @promotedStoreCategoryID
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



21368
21369
21370
# File 'lib/eBay.rb', line 21368

def promotionMethod
  @promotionMethod
end

#promotionSchemeObject

Returns the value of attribute promotionScheme.



21367
21368
21369
# File 'lib/eBay.rb', line 21367

def promotionScheme
  @promotionScheme
end

#referringeBayCategoryIDObject

Returns the value of attribute referringeBayCategoryID.



21365
21366
21367
# File 'lib/eBay.rb', line 21365

def referringeBayCategoryID
  @referringeBayCategoryID
end

#referringItemIDObject

Returns the value of attribute referringItemID.



21363
21364
21365
# File 'lib/eBay.rb', line 21363

def referringItemID
  @referringItemID
end

#referringKeywordsObject

Returns the value of attribute referringKeywords.



21366
21367
21368
# File 'lib/eBay.rb', line 21366

def referringKeywords
  @referringKeywords
end

#referringStoreCategoryIDObject

Returns the value of attribute referringStoreCategoryID.



21364
21365
21366
# File 'lib/eBay.rb', line 21364

def referringStoreCategoryID
  @referringStoreCategoryID
end

#siteIDObject

Returns the value of attribute siteID.



21359
21360
21361
# File 'lib/eBay.rb', line 21359

def siteID
  @siteID
end

Instance Method Details

#set_any(elements) ⇒ Object



21371
21372
21373
# File 'lib/eBay.rb', line 21371

def set_any(elements)
  @__xmlele_any = elements
end