Class: CrossPromotionsType

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

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.



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

Returns the value of attribute __xmlele_any.



18542
18543
18544
# File 'lib/eBay.rb', line 18542

def __xmlele_any
  @__xmlele_any
end

#itemIDObject

Returns the value of attribute itemID.



18535
18536
18537
# File 'lib/eBay.rb', line 18535

def itemID
  @itemID
end

#primarySchemeObject

Returns the value of attribute primaryScheme.



18536
18537
18538
# File 'lib/eBay.rb', line 18536

def primaryScheme
  @primaryScheme
end

#promotedItemObject

Returns the value of attribute promotedItem.



18541
18542
18543
# File 'lib/eBay.rb', line 18541

def promotedItem
  @promotedItem
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



18537
18538
18539
# File 'lib/eBay.rb', line 18537

def promotionMethod
  @promotionMethod
end

#sellerIDObject

Returns the value of attribute sellerID.



18538
18539
18540
# File 'lib/eBay.rb', line 18538

def sellerID
  @sellerID
end

#shippingDiscountObject

Returns the value of attribute shippingDiscount.



18539
18540
18541
# File 'lib/eBay.rb', line 18539

def shippingDiscount
  @shippingDiscount
end

#storeNameObject

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