Class: EBay::CartItemType

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

Overview

urn:ebay:apis:eBLBaseComponentsCartItemType

item - EBay::ItemType
referenceID - SOAP::SOAPLong
action - EBay::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.



21813
21814
21815
21816
21817
21818
# File 'lib/eBay.rb', line 21813

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.



21807
21808
21809
# File 'lib/eBay.rb', line 21807

def __xmlele_any
  @__xmlele_any
end

#actionObject

Returns the value of attribute action.



21806
21807
21808
# File 'lib/eBay.rb', line 21806

def action
  @action
end

#itemObject

Returns the value of attribute item.



21804
21805
21806
# File 'lib/eBay.rb', line 21804

def item
  @item
end

#referenceIDObject

Returns the value of attribute referenceID.



21805
21806
21807
# File 'lib/eBay.rb', line 21805

def referenceID
  @referenceID
end

Instance Method Details

#set_any(elements) ⇒ Object



21809
21810
21811
# File 'lib/eBay.rb', line 21809

def set_any(elements)
  @__xmlele_any = elements
end