Class: DateType

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

Overview

urn:ebay:apis:eBLBaseComponentsDateType

year - SOAP::SOAPInt
month - SOAP::SOAPInt
day - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(year = nil, month = nil, day = nil) ⇒ DateType

Returns a new instance of DateType.



18628
18629
18630
18631
18632
18633
# File 'lib/eBay.rb', line 18628

def initialize(year = nil, month = nil, day = nil)
  @year = year
  @month = month
  @day = day
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



18622
18623
18624
# File 'lib/eBay.rb', line 18622

def __xmlele_any
  @__xmlele_any
end

#dayObject

Returns the value of attribute day.



18621
18622
18623
# File 'lib/eBay.rb', line 18621

def day
  @day
end

#monthObject

Returns the value of attribute month.



18620
18621
18622
# File 'lib/eBay.rb', line 18620

def month
  @month
end

#yearObject

Returns the value of attribute year.



18619
18620
18621
# File 'lib/eBay.rb', line 18619

def year
  @year
end

Instance Method Details

#set_any(elements) ⇒ Object



18624
18625
18626
# File 'lib/eBay.rb', line 18624

def set_any(elements)
  @__xmlele_any = elements
end