Class: TicketDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsTicketDetailsType

eventType - TicketEventTypeCodeType
eventDate - DateType
stateOrProvince - SOAP::SOAPString
cityName - SOAP::SOAPString
ticketQuantity - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(eventType = nil, eventDate = nil, stateOrProvince = nil, cityName = nil, ticketQuantity = nil) ⇒ TicketDetailsType

Returns a new instance of TicketDetailsType.



25129
25130
25131
25132
25133
25134
25135
25136
# File 'lib/eBay.rb', line 25129

def initialize(eventType = nil, eventDate = nil, stateOrProvince = nil, cityName = nil, ticketQuantity = nil)
  @eventType = eventType
  @eventDate = eventDate
  @stateOrProvince = stateOrProvince
  @cityName = cityName
  @ticketQuantity = ticketQuantity
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



25123
25124
25125
# File 'lib/eBay.rb', line 25123

def __xmlele_any
  @__xmlele_any
end

#cityNameObject

Returns the value of attribute cityName.



25121
25122
25123
# File 'lib/eBay.rb', line 25121

def cityName
  @cityName
end

#eventDateObject

Returns the value of attribute eventDate.



25119
25120
25121
# File 'lib/eBay.rb', line 25119

def eventDate
  @eventDate
end

#eventTypeObject

Returns the value of attribute eventType.



25118
25119
25120
# File 'lib/eBay.rb', line 25118

def eventType
  @eventType
end

#stateOrProvinceObject

Returns the value of attribute stateOrProvince.



25120
25121
25122
# File 'lib/eBay.rb', line 25120

def stateOrProvince
  @stateOrProvince
end

#ticketQuantityObject

Returns the value of attribute ticketQuantity.



25122
25123
25124
# File 'lib/eBay.rb', line 25122

def ticketQuantity
  @ticketQuantity
end

Instance Method Details

#set_any(elements) ⇒ Object



25125
25126
25127
# File 'lib/eBay.rb', line 25125

def set_any(elements)
  @__xmlele_any = elements
end