Class: EBay::DistanceType

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

Overview

urn:ebay:apis:eBLBaseComponentsDistanceType

distanceMeasurement - SOAP::SOAPInt
distanceUnit - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(distanceMeasurement = nil, distanceUnit = nil) ⇒ DistanceType

Returns a new instance of DistanceType.



23645
23646
23647
23648
23649
# File 'lib/eBay.rb', line 23645

def initialize(distanceMeasurement = nil, distanceUnit = nil)
  @distanceMeasurement = distanceMeasurement
  @distanceUnit = distanceUnit
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



23639
23640
23641
# File 'lib/eBay.rb', line 23639

def __xmlele_any
  @__xmlele_any
end

#distanceMeasurementObject

Returns the value of attribute distanceMeasurement.



23637
23638
23639
# File 'lib/eBay.rb', line 23637

def distanceMeasurement
  @distanceMeasurement
end

#distanceUnitObject

Returns the value of attribute distanceUnit.



23638
23639
23640
# File 'lib/eBay.rb', line 23638

def distanceUnit
  @distanceUnit
end

Instance Method Details

#set_any(elements) ⇒ Object



23641
23642
23643
# File 'lib/eBay.rb', line 23641

def set_any(elements)
  @__xmlele_any = elements
end