Class: CrossPromotionsType
- Inherits:
-
Object
- Object
- CrossPromotionsType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsCrossPromotionsType
Constant Summary collapse
- @@schema_type =
"CrossPromotionsType"
- @@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
- @@schema_element =
[ ["itemID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemID")]], ["primaryScheme", ["PromotionSchemeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PrimaryScheme")]], ["promotionMethod", ["PromotionMethodCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionMethod")]], ["sellerID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerID")]], ["shippingDiscount", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingDiscount")]], ["sellerKey", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerKey")]], ["storeName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "StoreName")]], ["promotedItem", ["PromotedItemType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotedItem")]], ["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.
-
#itemID ⇒ Object
Returns the value of attribute itemID.
-
#primaryScheme ⇒ Object
Returns the value of attribute primaryScheme.
-
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
-
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
-
#sellerID ⇒ Object
Returns the value of attribute sellerID.
-
#sellerKey ⇒ Object
Returns the value of attribute sellerKey.
-
#shippingDiscount ⇒ Object
Returns the value of attribute shippingDiscount.
-
#storeName ⇒ Object
Returns the value of attribute storeName.
Instance Method Summary collapse
-
#initialize(itemID = nil, primaryScheme = nil, promotionMethod = nil, sellerID = nil, shippingDiscount = nil, sellerKey = nil, storeName = nil, promotedItem = []) ⇒ CrossPromotionsType
constructor
A new instance of CrossPromotionsType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(itemID = nil, primaryScheme = nil, promotionMethod = nil, sellerID = nil, shippingDiscount = nil, sellerKey = nil, storeName = nil, promotedItem = []) ⇒ CrossPromotionsType
Returns a new instance of CrossPromotionsType.
13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 |
# File 'lib/eBay.rb', line 13289 def initialize(itemID = nil, primaryScheme = nil, promotionMethod = nil, sellerID = nil, shippingDiscount = nil, sellerKey = nil, storeName = nil, promotedItem = []) @itemID = itemID @primaryScheme = primaryScheme @promotionMethod = promotionMethod @sellerID = sellerID @shippingDiscount = shippingDiscount @sellerKey = sellerKey @storeName = storeName @promotedItem = promotedItem @__xmlele_any = nil end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
13283 13284 13285 |
# File 'lib/eBay.rb', line 13283 def __xmlele_any @__xmlele_any end |
#itemID ⇒ Object
Returns the value of attribute itemID.
13275 13276 13277 |
# File 'lib/eBay.rb', line 13275 def itemID @itemID end |
#primaryScheme ⇒ Object
Returns the value of attribute primaryScheme.
13276 13277 13278 |
# File 'lib/eBay.rb', line 13276 def primaryScheme @primaryScheme end |
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
13282 13283 13284 |
# File 'lib/eBay.rb', line 13282 def promotedItem @promotedItem end |
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
13277 13278 13279 |
# File 'lib/eBay.rb', line 13277 def promotionMethod @promotionMethod end |
#sellerID ⇒ Object
Returns the value of attribute sellerID.
13278 13279 13280 |
# File 'lib/eBay.rb', line 13278 def sellerID @sellerID end |
#sellerKey ⇒ Object
Returns the value of attribute sellerKey.
13280 13281 13282 |
# File 'lib/eBay.rb', line 13280 def sellerKey @sellerKey end |
#shippingDiscount ⇒ Object
Returns the value of attribute shippingDiscount.
13279 13280 13281 |
# File 'lib/eBay.rb', line 13279 def shippingDiscount @shippingDiscount end |
#storeName ⇒ Object
Returns the value of attribute storeName.
13281 13282 13283 |
# File 'lib/eBay.rb', line 13281 def storeName @storeName end |
Instance Method Details
#set_any(elements) ⇒ Object
13285 13286 13287 |
# File 'lib/eBay.rb', line 13285 def set_any(elements) @__xmlele_any = elements end |