Class: CrossPromotionsType
- Inherits:
-
Object
- Object
- CrossPromotionsType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsCrossPromotionsType
itemID - (any)
primaryScheme - PromotionSchemeCodeType
promotionMethod - PromotionMethodCodeType
sellerID - SOAP::SOAPString
shippingDiscount - SOAP::SOAPBoolean
storeName - SOAP::SOAPString
promotedItem - 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.
18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 |
# File 'lib/eBay.rb', line 18548 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.
18542 18543 18544 |
# File 'lib/eBay.rb', line 18542 def __xmlele_any @__xmlele_any end |
#itemID ⇒ Object
Returns the value of attribute itemID.
18535 18536 18537 |
# File 'lib/eBay.rb', line 18535 def itemID @itemID end |
#primaryScheme ⇒ Object
Returns the value of attribute primaryScheme.
18536 18537 18538 |
# File 'lib/eBay.rb', line 18536 def primaryScheme @primaryScheme end |
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
18541 18542 18543 |
# File 'lib/eBay.rb', line 18541 def promotedItem @promotedItem end |
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
18537 18538 18539 |
# File 'lib/eBay.rb', line 18537 def promotionMethod @promotionMethod end |
#sellerID ⇒ Object
Returns the value of attribute sellerID.
18538 18539 18540 |
# File 'lib/eBay.rb', line 18538 def sellerID @sellerID end |
#shippingDiscount ⇒ Object
Returns the value of attribute shippingDiscount.
18539 18540 18541 |
# File 'lib/eBay.rb', line 18539 def shippingDiscount @shippingDiscount end |
#storeName ⇒ Object
Returns the value of attribute storeName.
18540 18541 18542 |
# File 'lib/eBay.rb', line 18540 def storeName @storeName end |
Instance Method Details
#set_any(elements) ⇒ Object
18544 18545 18546 |
# File 'lib/eBay.rb', line 18544 def set_any(elements) @__xmlele_any = elements end |