NAME

eBay::API::XML::DataType::TicketDetailsType

DESCRIPTION

Defines supported fields for searching in ticket categories.

SYNOPSIS

INHERITANCE

eBay::API::XML::DataType::TicketDetailsType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

setCityName()

The city in which the event venue is located. Specify the full name of the city. Use the canonical spelling, such as "Los Angeles" (not "LA"). When you search for tickets, if eBay doesn't recognize the city, eBay drops CityName and returns results that match other fields in the request. For the eBay US site, eBay only searches by CityName if you also specify StateOrProvince.<br> <br> <span class="tablenote"><b>Note:</b> If your application needs to provide users with a predefined list of city names that eBay recognizes, you can call GetProductFinder to find all the cities that the ticket finder currently supports. GetProductFinder is a more complex call.</span>

Calls: GetSearchResults
RequiredInput: No
MaxLength: 60

# Argument: 'xs:string'

getCityName()

# Returns: 'xs:string'

setEventDate()

The date of the event. If specified, the results only include listings that specify this date in their Item Specifics.<br> <br> When you search for tickets, we support these combinations:<br> - Year (matches any ticket in the specified year)<br> - Month (matches any day in the specified month, in any year)<br> - Year and Month (matches any day in the specified year and month)<br> - Month and Day (matches the specified month and day in any year)<br> - Year, Month, and Day (matches the specified year, month, and day)

Calls: GetSearchResults
RequiredInput: No

# Argument: 'ns:DateType'

getEventDate()

# Returns: 'ns:DateType'

setEventType()

The type of event, such as a concert or a sporting event. The eBay US, UK, and Germany sites support different values.

Calls: GetSearchResults
RequiredInput: Conditionally
Default: Any

# Argument: 'ns:TicketEventTypeCodeType'

getEventType()

# Returns: 'ns:TicketEventTypeCodeType'

setStateOrProvince()

The state or province where the event venue is located. Applicable to eBay US searches only. Use the full name, such as "California" (not "CA"). If StateOrProvince isn't specified or no match is found in the product finder, eBay ignores CityName (if it is also specified).

Calls: GetSearchResults
RequiredInput: No
MaxLength: 60

# Argument: 'xs:string'

getStateOrProvince()

# Returns: 'xs:string'

setTicketQuantity()

The number of tickets available in the listing, as defined in the listing's Item Specifics. (This is not the same as LotSize or Quantity.)<br> <br> - For the US site, specify a value from 1 to 10.<br> - For the UK site, specify a value from 1 to 10.<br> - For the DE site, specify a value from 1 to 4.<br> <br> To search for any quantity (or to include other quantities in the results), do not specify TicketQuantity at all.

Calls: GetSearchResults
RequiredInput: No
Max: 10
Min: 1

# Argument: 'xs:int'

getTicketQuantity()

# Returns: 'xs:int'