Class: EBay::CrossPromotionsType
- Inherits:
-
Object
- Object
- EBay::CrossPromotionsType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsCrossPromotionsType
itemID - (any)
primaryScheme - EBay::PromotionSchemeCodeType
promotionMethod - EBay::PromotionMethodCodeType
sellerID - SOAP::SOAPString
shippingDiscount - SOAP::SOAPBoolean
storeName - SOAP::SOAPString
promotedItem - EBay::PromotedItemType
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.
-
#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, 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, storeName = nil, promotedItem = []) ⇒ CrossPromotionsType
Returns a new instance of CrossPromotionsType.
23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 |
# File 'lib/eBay.rb', line 23281 def initialize(itemID = nil, primaryScheme = nil, promotionMethod = nil, sellerID = nil, shippingDiscount = nil, storeName = nil, promotedItem = []) @itemID = itemID @primaryScheme = primaryScheme @promotionMethod = promotionMethod @sellerID = sellerID @shippingDiscount = shippingDiscount @storeName = storeName @promotedItem = promotedItem @__xmlele_any = nil end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
23275 23276 23277 |
# File 'lib/eBay.rb', line 23275 def __xmlele_any @__xmlele_any end |
#itemID ⇒ Object
Returns the value of attribute itemID.
23268 23269 23270 |
# File 'lib/eBay.rb', line 23268 def itemID @itemID end |
#primaryScheme ⇒ Object
Returns the value of attribute primaryScheme.
23269 23270 23271 |
# File 'lib/eBay.rb', line 23269 def primaryScheme @primaryScheme end |
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
23274 23275 23276 |
# File 'lib/eBay.rb', line 23274 def promotedItem @promotedItem end |
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
23270 23271 23272 |
# File 'lib/eBay.rb', line 23270 def promotionMethod @promotionMethod end |
#sellerID ⇒ Object
Returns the value of attribute sellerID.
23271 23272 23273 |
# File 'lib/eBay.rb', line 23271 def sellerID @sellerID end |
#shippingDiscount ⇒ Object
Returns the value of attribute shippingDiscount.
23272 23273 23274 |
# File 'lib/eBay.rb', line 23272 def shippingDiscount @shippingDiscount end |
#storeName ⇒ Object
Returns the value of attribute storeName.
23273 23274 23275 |
# File 'lib/eBay.rb', line 23273 def storeName @storeName end |
Instance Method Details
#set_any(elements) ⇒ Object
23277 23278 23279 |
# File 'lib/eBay.rb', line 23277 def set_any(elements) @__xmlele_any = elements end |