Class: EBay::CrossPromotionsType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_anyObject (readonly)

Returns the value of attribute __xmlele_any.



23275
23276
23277
# File 'lib/eBay.rb', line 23275

def __xmlele_any
  @__xmlele_any
end

#itemIDObject

Returns the value of attribute itemID.



23268
23269
23270
# File 'lib/eBay.rb', line 23268

def itemID
  @itemID
end

#primarySchemeObject

Returns the value of attribute primaryScheme.



23269
23270
23271
# File 'lib/eBay.rb', line 23269

def primaryScheme
  @primaryScheme
end

#promotedItemObject

Returns the value of attribute promotedItem.



23274
23275
23276
# File 'lib/eBay.rb', line 23274

def promotedItem
  @promotedItem
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



23270
23271
23272
# File 'lib/eBay.rb', line 23270

def promotionMethod
  @promotionMethod
end

#sellerIDObject

Returns the value of attribute sellerID.



23271
23272
23273
# File 'lib/eBay.rb', line 23271

def sellerID
  @sellerID
end

#shippingDiscountObject

Returns the value of attribute shippingDiscount.



23272
23273
23274
# File 'lib/eBay.rb', line 23272

def shippingDiscount
  @shippingDiscount
end

#storeNameObject

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