Class: CartItemType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsCartItemType

item - ItemType
referenceID - SOAP::SOAPLong
action - ModifyActionCodeType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(item = nil, referenceID = nil, action = nil) ⇒ CartItemType

Returns a new instance of CartItemType.



17560
17561
17562
17563
17564
17565
# File 'lib/eBay.rb', line 17560

def initialize(item = nil, referenceID = nil, action = nil)
  @item = item
  @referenceID = referenceID
  @action = action
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



17554
17555
17556
# File 'lib/eBay.rb', line 17554

def __xmlele_any
  @__xmlele_any
end

#actionObject

Returns the value of attribute action.



17553
17554
17555
# File 'lib/eBay.rb', line 17553

def action
  @action
end

#itemObject

Returns the value of attribute item.



17551
17552
17553
# File 'lib/eBay.rb', line 17551

def item
  @item
end

#referenceIDObject

Returns the value of attribute referenceID.



17552
17553
17554
# File 'lib/eBay.rb', line 17552

def referenceID
  @referenceID
end

Instance Method Details

#set_any(elements) ⇒ Object



17556
17557
17558
# File 'lib/eBay.rb', line 17556

def set_any(elements)
  @__xmlele_any = elements
end