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.
15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 |
# File 'lib/eBay.rb', line 15002 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.
14996 14997 14998 |
# File 'lib/eBay.rb', line 14996 def __xmlele_any @__xmlele_any end |
#itemID ⇒ Object
Returns the value of attribute itemID.
14988 14989 14990 |
# File 'lib/eBay.rb', line 14988 def itemID @itemID end |
#primaryScheme ⇒ Object
Returns the value of attribute primaryScheme.
14989 14990 14991 |
# File 'lib/eBay.rb', line 14989 def primaryScheme @primaryScheme end |
#promotedItem ⇒ Object
Returns the value of attribute promotedItem.
14995 14996 14997 |
# File 'lib/eBay.rb', line 14995 def promotedItem @promotedItem end |
#promotionMethod ⇒ Object
Returns the value of attribute promotionMethod.
14990 14991 14992 |
# File 'lib/eBay.rb', line 14990 def promotionMethod @promotionMethod end |
#sellerID ⇒ Object
Returns the value of attribute sellerID.
14991 14992 14993 |
# File 'lib/eBay.rb', line 14991 def sellerID @sellerID end |
#sellerKey ⇒ Object
Returns the value of attribute sellerKey.
14993 14994 14995 |
# File 'lib/eBay.rb', line 14993 def sellerKey @sellerKey end |
#shippingDiscount ⇒ Object
Returns the value of attribute shippingDiscount.
14992 14993 14994 |
# File 'lib/eBay.rb', line 14992 def shippingDiscount @shippingDiscount end |
#storeName ⇒ Object
Returns the value of attribute storeName.
14994 14995 14996 |
# File 'lib/eBay.rb', line 14994 def storeName @storeName end |
Instance Method Details
#set_any(elements) ⇒ Object
14998 14999 15000 |
# File 'lib/eBay.rb', line 14998 def set_any(elements) @__xmlele_any = elements end |