Class: PromotionRuleType
- Inherits:
-
Object
- Object
- PromotionRuleType
- 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
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#promotedeBayCategoryID ⇒ Object
Returns the value of attribute promotedeBayCategoryID.
-
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
-
#promotedKeywords ⇒ Object
Returns the value of attribute promotedKeywords.
-
#promotedStoreCategoryID ⇒ Object
Returns the value of attribute promotedStoreCategoryID.
-
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
-
#promotionScheme ⇒ Object
Returns the value of attribute promotionScheme.
-
#referringeBayCategoryID ⇒ Object
Returns the value of attribute referringeBayCategoryID.
-
#referringItemID ⇒ Object
Returns the value of attribute referringItemID.
-
#referringKeywords ⇒ Object
Returns the value of attribute referringKeywords.
-
#referringStoreCategoryID ⇒ Object
Returns the value of attribute referringStoreCategoryID.
-
#siteID ⇒ Object
Returns the value of attribute siteID.
Instance Method Summary collapse
-
#initialize(promotedItem = [], siteID = nil, promotedStoreCategoryID = nil, promotedeBayCategoryID = nil, promotedKeywords = nil, referringItemID = nil, referringStoreCategoryID = nil, referringeBayCategoryID = nil, referringKeywords = nil, promotionScheme = nil, promotionMethod = nil) ⇒ PromotionRuleType
constructor
A new instance of PromotionRuleType.
- #set_any(elements) ⇒ Object
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_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
21369 21370 21371 |
# File 'lib/eBay.rb', line 21369 def __xmlele_any @__xmlele_any end |
#promotedeBayCategoryID ⇒ Object
Returns the value of attribute promotedeBayCategoryID.
21361 21362 21363 |
# File 'lib/eBay.rb', line 21361 def promotedeBayCategoryID @promotedeBayCategoryID end |
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
21358 21359 21360 |
# File 'lib/eBay.rb', line 21358 def promotedItem @promotedItem end |
#promotedKeywords ⇒ Object
Returns the value of attribute promotedKeywords.
21362 21363 21364 |
# File 'lib/eBay.rb', line 21362 def promotedKeywords @promotedKeywords end |
#promotedStoreCategoryID ⇒ Object
Returns the value of attribute promotedStoreCategoryID.
21360 21361 21362 |
# File 'lib/eBay.rb', line 21360 def promotedStoreCategoryID @promotedStoreCategoryID end |
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
21368 21369 21370 |
# File 'lib/eBay.rb', line 21368 def promotionMethod @promotionMethod end |
#promotionScheme ⇒ Object
Returns the value of attribute promotionScheme.
21367 21368 21369 |
# File 'lib/eBay.rb', line 21367 def promotionScheme @promotionScheme end |
#referringeBayCategoryID ⇒ Object
Returns the value of attribute referringeBayCategoryID.
21365 21366 21367 |
# File 'lib/eBay.rb', line 21365 def referringeBayCategoryID @referringeBayCategoryID end |
#referringItemID ⇒ Object
Returns the value of attribute referringItemID.
21363 21364 21365 |
# File 'lib/eBay.rb', line 21363 def referringItemID @referringItemID end |
#referringKeywords ⇒ Object
Returns the value of attribute referringKeywords.
21366 21367 21368 |
# File 'lib/eBay.rb', line 21366 def referringKeywords @referringKeywords end |
#referringStoreCategoryID ⇒ Object
Returns the value of attribute referringStoreCategoryID.
21364 21365 21366 |
# File 'lib/eBay.rb', line 21364 def referringStoreCategoryID @referringStoreCategoryID end |
#siteID ⇒ Object
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 |