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.
16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 |
# File 'lib/eBay.rb', line 16740 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.
16734 16735 16736 |
# File 'lib/eBay.rb', line 16734 def __xmlele_any @__xmlele_any end |
#itemID ⇒ Object
Returns the value of attribute itemID.
16726 16727 16728 |
# File 'lib/eBay.rb', line 16726 def itemID @itemID end |
#primaryScheme ⇒ Object
Returns the value of attribute primaryScheme.
16727 16728 16729 |
# File 'lib/eBay.rb', line 16727 def primaryScheme @primaryScheme end |
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
16733 16734 16735 |
# File 'lib/eBay.rb', line 16733 def promotedItem @promotedItem end |
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
16728 16729 16730 |
# File 'lib/eBay.rb', line 16728 def promotionMethod @promotionMethod end |
#sellerID ⇒ Object
Returns the value of attribute sellerID.
16729 16730 16731 |
# File 'lib/eBay.rb', line 16729 def sellerID @sellerID end |
#sellerKey ⇒ Object
Returns the value of attribute sellerKey.
16731 16732 16733 |
# File 'lib/eBay.rb', line 16731 def sellerKey @sellerKey end |
#shippingDiscount ⇒ Object
Returns the value of attribute shippingDiscount.
16730 16731 16732 |
# File 'lib/eBay.rb', line 16730 def shippingDiscount @shippingDiscount end |
#storeName ⇒ Object
Returns the value of attribute storeName.
16732 16733 16734 |
# File 'lib/eBay.rb', line 16732 def storeName @storeName end |
Instance Method Details
#set_any(elements) ⇒ Object
16736 16737 16738 |
# File 'lib/eBay.rb', line 16736 def set_any(elements) @__xmlele_any = elements end |