Class: DistanceType
- Inherits:
-
Object
- Object
- DistanceType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsDistanceType
Constant Summary collapse
- @@schema_type =
"DistanceType"
- @@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
- @@schema_element =
[ ["distanceMeasurement", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DistanceMeasurement")]], ["distanceUnit", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DistanceUnit")]], ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]] ]
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#distanceMeasurement ⇒ Object
Returns the value of attribute distanceMeasurement.
-
#distanceUnit ⇒ Object
Returns the value of attribute distanceUnit.
Instance Method Summary collapse
-
#initialize(distanceMeasurement = nil, distanceUnit = nil) ⇒ DistanceType
constructor
A new instance of DistanceType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(distanceMeasurement = nil, distanceUnit = nil) ⇒ DistanceType
Returns a new instance of DistanceType.
17031 17032 17033 17034 17035 |
# File 'lib/eBay.rb', line 17031 def initialize(distanceMeasurement = nil, distanceUnit = nil) @distanceMeasurement = distanceMeasurement @distanceUnit = distanceUnit @__xmlele_any = nil end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
17025 17026 17027 |
# File 'lib/eBay.rb', line 17025 def __xmlele_any @__xmlele_any end |
#distanceMeasurement ⇒ Object
Returns the value of attribute distanceMeasurement.
17023 17024 17025 |
# File 'lib/eBay.rb', line 17023 def distanceMeasurement @distanceMeasurement end |
#distanceUnit ⇒ Object
Returns the value of attribute distanceUnit.
17024 17025 17026 |
# File 'lib/eBay.rb', line 17024 def distanceUnit @distanceUnit end |
Instance Method Details
#set_any(elements) ⇒ Object
17027 17028 17029 |
# File 'lib/eBay.rb', line 17027 def set_any(elements) @__xmlele_any = elements end |