Class: EBay::UnitInfoType
- Inherits:
-
Object
- Object
- EBay::UnitInfoType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsUnitInfoType
unitType - SOAP::SOAPString
unitQuantity - SOAP::SOAPDouble
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#unitQuantity ⇒ Object
Returns the value of attribute unitQuantity.
-
#unitType ⇒ Object
Returns the value of attribute unitType.
Instance Method Summary collapse
-
#initialize(unitType = nil, unitQuantity = nil) ⇒ UnitInfoType
constructor
A new instance of UnitInfoType.
- #set_any(elements) ⇒ Object
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_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
34831 34832 34833 |
# File 'lib/eBay.rb', line 34831 def __xmlele_any @__xmlele_any end |
#unitQuantity ⇒ Object
Returns the value of attribute unitQuantity.
34830 34831 34832 |
# File 'lib/eBay.rb', line 34830 def unitQuantity @unitQuantity end |
#unitType ⇒ Object
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 |