Class: EBay::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.



23367
23368
23369
23370
23371
23372
# File 'lib/eBay.rb', line 23367

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.



23361
23362
23363
# File 'lib/eBay.rb', line 23361

def __xmlele_any
  @__xmlele_any
end

#dayObject

Returns the value of attribute day.



23360
23361
23362
# File 'lib/eBay.rb', line 23360

def day
  @day
end

#monthObject

Returns the value of attribute month.



23359
23360
23361
# File 'lib/eBay.rb', line 23359

def month
  @month
end

#yearObject

Returns the value of attribute year.



23358
23359
23360
# File 'lib/eBay.rb', line 23358

def year
  @year
end

Instance Method Details

#set_any(elements) ⇒ Object



23363
23364
23365
# File 'lib/eBay.rb', line 23363

def set_any(elements)
  @__xmlele_any = elements
end