Class: EBay::UnitInfoType

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

Overview

urn:ebay:apis:eBLBaseComponentsUnitInfoType

unitType - SOAP::SOAPString
unitQuantity - SOAP::SOAPDouble

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(unitType = nil, unitQuantity = nil) ⇒ UnitInfoType

Returns a new instance of UnitInfoType.



34837
34838
34839
34840
34841
# File 'lib/eBay.rb', line 34837

def initialize(unitType = nil, unitQuantity = nil)
  @unitType = unitType
  @unitQuantity = unitQuantity
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



34831
34832
34833
# File 'lib/eBay.rb', line 34831

def __xmlele_any
  @__xmlele_any
end

#unitQuantityObject

Returns the value of attribute unitQuantity.



34830
34831
34832
# File 'lib/eBay.rb', line 34830

def unitQuantity
  @unitQuantity
end

#unitTypeObject

Returns the value of attribute unitType.



34829
34830
34831
# File 'lib/eBay.rb', line 34829

def unitType
  @unitType
end

Instance Method Details

#set_any(elements) ⇒ Object



34833
34834
34835
# File 'lib/eBay.rb', line 34833

def set_any(elements)
  @__xmlele_any = elements
end