| lib/eBay/API/XML/Call/GetSearchResults/GetSearchResultsRequestType.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 7 | 9 | 77.7 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 3 | 100.0 |
| pod | n/a | ||
| total | 10 | 12 | 83.3 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | #!/usr/bin/perl | ||||||
| 2 | |||||||
| 3 | package eBay::API::XML::Call::GetSearchResults::GetSearchResultsRequestType; | ||||||
| 4 | |||||||
| 5 | 1 | 1 | 1561 | use strict; | |||
| 1 | 1 | ||||||
| 1 | 28 | ||||||
| 6 | 1 | 1 | 5 | use warnings; | |||
| 1 | 2 | ||||||
| 1 | 40 | ||||||
| 7 | |||||||
| 8 | ########################################################################## | ||||||
| 9 | # | ||||||
| 10 | # Module: ............... |
||||||
| 11 | # File: ................. GetSearchResultsRequestType.pm | ||||||
| 12 | # Generated by: ......... genEBayApiDataTypes.pl | ||||||
| 13 | # Last Generated: ....... 08/24/2008 16:44 | ||||||
| 14 | # API Release Number: ... 579 | ||||||
| 15 | # | ||||||
| 16 | ########################################################################## | ||||||
| 17 | |||||||
| 18 | =head1 NAME | ||||||
| 19 | |||||||
| 20 | eBay::API::XML::Call::GetSearchResults::GetSearchResultsRequestType | ||||||
| 21 | |||||||
| 22 | =head1 DESCRIPTION | ||||||
| 23 | |||||||
| 24 | Retrieves item listings based on keywords you specify. The keywords can | ||||||
| 25 | include wildcards. | ||||||
| 26 | |
||||||
| 27 | |
||||||
| 28 | It is recommended that you consider using FindItemsAdvanced | ||||||
| 29 | (in the Shopping API) instead of GetSearchResults because | ||||||
| 30 | FindItemsAdvanced is easier to use and faster. | ||||||
| 31 | See Shopping API | ||||||
| 32 | for more information. | ||||||
| 33 | |
||||||
| 34 | |
||||||
| 35 | The response is in the form of an array whose size and | ||||||
| 36 | contents you specify, using a variety of input fields. You can filter the item | ||||||
| 37 | listings returned using such criteria as the listing category, location, | ||||||
| 38 | whether the item is listed in an ebay Store, and listing type. You can include | ||||||
| 39 | or exclude specified sellers. | ||||||
| 40 | |
||||||
| 41 | |
||||||
| 42 | The call returns those item listings where the keywords appear in the | ||||||
| 43 | title, subtitle, and (optionally) the description. Some input fields (e.g., | ||||||
| 44 | Query) are primary search criteria that let you specify data to match in | ||||||
| 45 | listings. For example, you can search for all listings that include the | ||||||
| 46 | word "Toy" in the title. | ||||||
| 47 | |
||||||
| 48 | |
||||||
| 49 | Some fields (e.g., ItemTypeFilter) are | ||||||
| 50 | secondary search criteria that let you further refine data to match in | ||||||
| 51 | listings. For example, you can search for all toys that are listed as | ||||||
| 52 | auctions. In general, the effect of secondary search fields is | ||||||
| 53 | cumulative (using "AND" logic) unless otherwise specified. Some fields | ||||||
| 54 | (e.g., TotalOnly) control what is actually returned in the result set. | ||||||
| 55 | For example, you can search for all toys that are listed as Chinese | ||||||
| 56 | auctions, but just retrieve the total count (not the listings | ||||||
| 57 | themselves). | ||||||
| 58 | |
||||||
| 59 | |
||||||
| 60 | Some fields (e.g., IncludeCondition) affect the data to | ||||||
| 61 | retrieve for each listing in the result set. For example, for each toy | ||||||
| 62 | returned in the result, you can also choose to see the toy's new or used | ||||||
| 63 | condition. | ||||||
| 64 | |
||||||
| 65 | |
||||||
| 66 | Some fields (e.g., Order) control the way the listings are | ||||||
| 67 | organized in the response. For example, you can retrieve all the toy | ||||||
| 68 | listings in chronological order, with the newest one first. Use the | ||||||
| 69 | DetailLevel ItemReturnCategories to return the primary category and, if | ||||||
| 70 | applicable, the secondary category. | ||||||
| 71 | |
||||||
| 72 | |
||||||
| 73 | Use a DetailLevel value of ItemReturnAttributes (or ReturnAll) to return summary Item Specifics | ||||||
| 74 | (only returned for categories that support summary Item Specifics in | ||||||
| 75 | search results). | ||||||
| 76 | Not applicable to eBay Express or Half.com. |
||||||
| 77 | |||||||
| 78 | |||||||
| 79 | |||||||
| 80 | =head1 SYNOPSIS | ||||||
| 81 | |||||||
| 82 | =cut | ||||||
| 83 | |||||||
| 84 | |||||||
| 85 | =head1 INHERITANCE | ||||||
| 86 | |||||||
| 87 | eBay::API::XML::Call::GetSearchResults::GetSearchResultsRequestType inherits from the L |
||||||
| 88 | |||||||
| 89 | =cut | ||||||
| 90 | |||||||
| 91 | 1 | 1 | 48 | use eBay::API::XML::RequestDataType; | |||
| 0 | |||||||
| 0 | |||||||
| 92 | our @ISA = ("eBay::API::XML::RequestDataType"); | ||||||
| 93 | |||||||
| 94 | use eBay::API::XML::DataType::AffiliateTrackingDetailsType; | ||||||
| 95 | use eBay::API::XML::DataType::BidRangeType; | ||||||
| 96 | use eBay::API::XML::DataType::ExternalProductIDType; | ||||||
| 97 | use eBay::API::XML::DataType::GroupType; | ||||||
| 98 | use eBay::API::XML::DataType::PaginationType; | ||||||
| 99 | use eBay::API::XML::DataType::PriceRangeFilterType; | ||||||
| 100 | use eBay::API::XML::DataType::ProximitySearchType; | ||||||
| 101 | use eBay::API::XML::DataType::RequestCategoriesType; | ||||||
| 102 | use eBay::API::XML::DataType::SearchLocationFilterType; | ||||||
| 103 | use eBay::API::XML::DataType::SearchRequestType; | ||||||
| 104 | use eBay::API::XML::DataType::SearchStoreFilterType; | ||||||
| 105 | use eBay::API::XML::DataType::TicketDetailsType; | ||||||
| 106 | use eBay::API::XML::DataType::UserIdFilterType; | ||||||
| 107 | use eBay::API::XML::DataType::Enum::GranularityLevelCodeType; | ||||||
| 108 | use eBay::API::XML::DataType::Enum::ItemConditionCodeType; | ||||||
| 109 | use eBay::API::XML::DataType::Enum::ItemTypeFilterCodeType; | ||||||
| 110 | use eBay::API::XML::DataType::Enum::PaymentMethodSearchCodeType; | ||||||
| 111 | use eBay::API::XML::DataType::Enum::QuantityOperatorCodeType; | ||||||
| 112 | use eBay::API::XML::DataType::Enum::SearchFlagsCodeType; | ||||||
| 113 | use eBay::API::XML::DataType::Enum::SearchSortOrderCodeType; | ||||||
| 114 | use eBay::API::XML::DataType::Enum::SearchTypeCodeType; | ||||||
| 115 | use eBay::API::XML::DataType::Enum::SellerBusinessCodeType; | ||||||
| 116 | |||||||
| 117 | |||||||
| 118 | my @gaProperties = ( [ 'AdFormat', 'xs:boolean', '', '', '' ] | ||||||
| 119 | , [ 'AffiliateTrackingDetails', 'ns:AffiliateTrackingDetailsType', '' | ||||||
| 120 | ,'eBay::API::XML::DataType::AffiliateTrackingDetailsType', '1' ] | ||||||
| 121 | , [ 'BidRange', 'ns:BidRangeType', '' | ||||||
| 122 | ,'eBay::API::XML::DataType::BidRangeType', '1' ] | ||||||
| 123 | , [ 'Categories', 'ns:RequestCategoriesType', '' | ||||||
| 124 | ,'eBay::API::XML::DataType::RequestCategoriesType', '1' ] | ||||||
| 125 | , [ 'CategoryID', 'xs:string', '', '', '' ] | ||||||
| 126 | , [ 'CharityID', 'xs:int', '', '', '' ] | ||||||
| 127 | , [ 'EndTimeFrom', 'xs:dateTime', '', '', '' ] | ||||||
| 128 | , [ 'EndTimeTo', 'xs:dateTime', '', '', '' ] | ||||||
| 129 | , [ 'ExpandSearch', 'xs:boolean', '', '', '' ] | ||||||
| 130 | , [ 'ExternalProductID', 'ns:ExternalProductIDType', '' | ||||||
| 131 | ,'eBay::API::XML::DataType::ExternalProductIDType', '1' ] | ||||||
| 132 | , [ 'FreeShipping', 'xs:boolean', '', '', '' ] | ||||||
| 133 | , [ 'GranularityLevel', 'ns:GranularityLevelCodeType', '' | ||||||
| 134 | ,'eBay::API::XML::DataType::Enum::GranularityLevelCodeType', '' ] | ||||||
| 135 | , [ 'Group', 'ns:GroupType', '' | ||||||
| 136 | ,'eBay::API::XML::DataType::GroupType', '1' ] | ||||||
| 137 | , [ 'IncludeCondition', 'xs:boolean', '', '', '' ] | ||||||
| 138 | , [ 'IncludeFeedback', 'xs:boolean', '', '', '' ] | ||||||
| 139 | , [ 'IncludeGetItFastItems', 'xs:boolean', '', '', '' ] | ||||||
| 140 | , [ 'ItemCondition', 'ns:ItemConditionCodeType', '' | ||||||
| 141 | ,'eBay::API::XML::DataType::Enum::ItemConditionCodeType', '' ] | ||||||
| 142 | , [ 'ItemTypeFilter', 'ns:ItemTypeFilterCodeType', '' | ||||||
| 143 | ,'eBay::API::XML::DataType::Enum::ItemTypeFilterCodeType', '' ] | ||||||
| 144 | , [ 'LocalSearchPostalCode', 'xs:string', '', '', '' ] | ||||||
| 145 | , [ 'Lot', 'xs:boolean', '', '', '' ] | ||||||
| 146 | , [ 'MaxRelatedSearchKeywords', 'xs:int', '', '', '' ] | ||||||
| 147 | , [ 'ModTimeFrom', 'xs:dateTime', '', '', '' ] | ||||||
| 148 | , [ 'MotorsGermanySearchable', 'xs:boolean', '', '', '' ] | ||||||
| 149 | , [ 'Order', 'ns:SearchSortOrderCodeType', '' | ||||||
| 150 | ,'eBay::API::XML::DataType::Enum::SearchSortOrderCodeType', '' ] | ||||||
| 151 | , [ 'Pagination', 'ns:PaginationType', '' | ||||||
| 152 | ,'eBay::API::XML::DataType::PaginationType', '1' ] | ||||||
| 153 | , [ 'PaymentMethod', 'ns:PaymentMethodSearchCodeType', '' | ||||||
| 154 | ,'eBay::API::XML::DataType::Enum::PaymentMethodSearchCodeType', '' ] | ||||||
| 155 | , [ 'PriceRangeFilter', 'ns:PriceRangeFilterType', '' | ||||||
| 156 | ,'eBay::API::XML::DataType::PriceRangeFilterType', '1' ] | ||||||
| 157 | , [ 'ProductID', 'xs:string', '', '', '' ] | ||||||
| 158 | , [ 'ProximitySearch', 'ns:ProximitySearchType', '' | ||||||
| 159 | ,'eBay::API::XML::DataType::ProximitySearchType', '1' ] | ||||||
| 160 | , [ 'Quantity', 'xs:int', '', '', '' ] | ||||||
| 161 | , [ 'QuantityOperator', 'ns:QuantityOperatorCodeType', '' | ||||||
| 162 | ,'eBay::API::XML::DataType::Enum::QuantityOperatorCodeType', '' ] | ||||||
| 163 | , [ 'Query', 'xs:string', '', '', '' ] | ||||||
| 164 | , [ 'SearchFlags', 'ns:SearchFlagsCodeType', '1' | ||||||
| 165 | ,'eBay::API::XML::DataType::Enum::SearchFlagsCodeType', '' ] | ||||||
| 166 | , [ 'SearchLocationFilter', 'ns:SearchLocationFilterType', '' | ||||||
| 167 | ,'eBay::API::XML::DataType::SearchLocationFilterType', '1' ] | ||||||
| 168 | , [ 'SearchRequest', 'ns:SearchRequestType', '' | ||||||
| 169 | ,'eBay::API::XML::DataType::SearchRequestType', '1' ] | ||||||
| 170 | , [ 'SearchType', 'ns:SearchTypeCodeType', '' | ||||||
| 171 | ,'eBay::API::XML::DataType::Enum::SearchTypeCodeType', '' ] | ||||||
| 172 | , [ 'SellerBusinessType', 'ns:SellerBusinessCodeType', '' | ||||||
| 173 | ,'eBay::API::XML::DataType::Enum::SellerBusinessCodeType', '' ] | ||||||
| 174 | , [ 'StoreSearchFilter', 'ns:SearchStoreFilterType', '' | ||||||
| 175 | ,'eBay::API::XML::DataType::SearchStoreFilterType', '1' ] | ||||||
| 176 | , [ 'TicketFinder', 'ns:TicketDetailsType', '' | ||||||
| 177 | ,'eBay::API::XML::DataType::TicketDetailsType', '1' ] | ||||||
| 178 | , [ 'TotalOnly', 'xs:boolean', '', '', '' ] | ||||||
| 179 | , [ 'UserIdFilter', 'ns:UserIdFilterType', '' | ||||||
| 180 | ,'eBay::API::XML::DataType::UserIdFilterType', '1' ] | ||||||
| 181 | ); | ||||||
| 182 | push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; | ||||||
| 183 | |||||||
| 184 | my @gaAttributes = ( | ||||||
| 185 | ); | ||||||
| 186 | push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; | ||||||
| 187 | |||||||
| 188 | =head1 Subroutines: | ||||||
| 189 | |||||||
| 190 | =cut | ||||||
| 191 | |||||||
| 192 | sub new { | ||||||
| 193 | my $classname = shift; | ||||||
| 194 | my %args = @_; | ||||||
| 195 | my $self = $classname->SUPER::new(%args); | ||||||
| 196 | return $self; | ||||||
| 197 | } | ||||||
| 198 | |||||||
| 199 | sub isScalar { | ||||||
| 200 | return 0; | ||||||
| 201 | } | ||||||
| 202 | |||||||
| 203 | |||||||
| 204 | |||||||
| 205 | =head2 setAdFormat() | ||||||
| 206 | |||||||
| 207 | Restricts listings to return only items that have the Ad Format feature. | ||||||
| 208 | If true, the values of ItemTypeFilter and | ||||||
| 209 | StoreSearchFilter are ignored (if they are specified). That is, "AND" | ||||||
| 210 | logic is not applied. | ||||||
| 211 | |||||||
| 212 | RequiredInput: No | ||||||
| 213 | # Argument: 'xs:boolean' | ||||||
| 214 | |||||||
| 215 | =cut | ||||||
| 216 | |||||||
| 217 | sub setAdFormat { | ||||||
| 218 | my $self = shift; | ||||||
| 219 | $self->{'AdFormat'} = shift | ||||||
| 220 | } | ||||||
| 221 | |||||||
| 222 | =head2 isAdFormat() | ||||||
| 223 | |||||||
| 224 | # Returns: 'xs:boolean' | ||||||
| 225 | |||||||
| 226 | =cut | ||||||
| 227 | |||||||
| 228 | sub isAdFormat { | ||||||
| 229 | my $self = shift; | ||||||
| 230 | return $self->{'AdFormat'}; | ||||||
| 231 | } | ||||||
| 232 | |||||||
| 233 | |||||||
| 234 | =head2 setAffiliateTrackingDetails() | ||||||
| 235 | |||||||
| 236 | Container for affiliate tags. | ||||||
| 237 | If you use affiliate tags, it is possible to get affiliate commissions | ||||||
| 238 | based on calls made by your application. | ||||||
| 239 | (See the eBay Partner Network | ||||||
| 240 | for information about commissions.) | ||||||
| 241 | Affiliate tags enable the tracking of user activity. | ||||||
| 242 | You can use child tags of AffiliateTrackingDetails if you want | ||||||
| 243 | call output to include a string that includes | ||||||
| 244 | affiliate tracking information. | ||||||
| 245 | |||||||
| 246 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AffiliateTrackingConcepts | ||||||
| 247 | Title: Affiliate Tracking Concepts | ||||||
| 248 | |||||||
| 249 | RequiredInput: No | ||||||
| 250 | # Argument: 'ns:AffiliateTrackingDetailsType' | ||||||
| 251 | |||||||
| 252 | =cut | ||||||
| 253 | |||||||
| 254 | sub setAffiliateTrackingDetails { | ||||||
| 255 | my $self = shift; | ||||||
| 256 | $self->{'AffiliateTrackingDetails'} = shift | ||||||
| 257 | } | ||||||
| 258 | |||||||
| 259 | =head2 getAffiliateTrackingDetails() | ||||||
| 260 | |||||||
| 261 | # Returns: 'ns:AffiliateTrackingDetailsType' | ||||||
| 262 | |||||||
| 263 | =cut | ||||||
| 264 | |||||||
| 265 | sub getAffiliateTrackingDetails { | ||||||
| 266 | my $self = shift; | ||||||
| 267 | return $self->_getDataTypeInstance( 'AffiliateTrackingDetails' | ||||||
| 268 | ,'eBay::API::XML::DataType::AffiliateTrackingDetailsType'); | ||||||
| 269 | } | ||||||
| 270 | |||||||
| 271 | |||||||
| 272 | =head2 setBidRange() | ||||||
| 273 | |||||||
| 274 | Limits the results to items with a minimum or maximum number | ||||||
| 275 | of bids. You also can specify a bid range by specifying | ||||||
| 276 | both a minimum and maximum number of bids in one call. | ||||||
| 277 | |||||||
| 278 | RequiredInput: No | ||||||
| 279 | # Argument: 'ns:BidRangeType' | ||||||
| 280 | |||||||
| 281 | =cut | ||||||
| 282 | |||||||
| 283 | sub setBidRange { | ||||||
| 284 | my $self = shift; | ||||||
| 285 | $self->{'BidRange'} = shift | ||||||
| 286 | } | ||||||
| 287 | |||||||
| 288 | =head2 getBidRange() | ||||||
| 289 | |||||||
| 290 | # Returns: 'ns:BidRangeType' | ||||||
| 291 | |||||||
| 292 | =cut | ||||||
| 293 | |||||||
| 294 | sub getBidRange { | ||||||
| 295 | my $self = shift; | ||||||
| 296 | return $self->_getDataTypeInstance( 'BidRange' | ||||||
| 297 | ,'eBay::API::XML::DataType::BidRangeType'); | ||||||
| 298 | } | ||||||
| 299 | |||||||
| 300 | |||||||
| 301 | =head2 setCategories() | ||||||
| 302 | |||||||
| 303 | Retrieves statistical (histogram) information about categories that contain items | ||||||
| 304 | that match the query. Can also cause the result to include information | ||||||
| 305 | about buying guides that are associated with the matching categories. | ||||||
| 306 | Does not control the set of listings to return or the details to return | ||||||
| 307 | for each listing. | ||||||
| 308 | |||||||
| 309 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=SearchingForMatchingCategories | ||||||
| 310 | Title: Searching for Matching Categories | ||||||
| 311 | |||||||
| 312 | RequiredInput: No | ||||||
| 313 | # Argument: 'ns:RequestCategoriesType' | ||||||
| 314 | |||||||
| 315 | =cut | ||||||
| 316 | |||||||
| 317 | sub setCategories { | ||||||
| 318 | my $self = shift; | ||||||
| 319 | $self->{'Categories'} = shift | ||||||
| 320 | } | ||||||
| 321 | |||||||
| 322 | =head2 getCategories() | ||||||
| 323 | |||||||
| 324 | # Returns: 'ns:RequestCategoriesType' | ||||||
| 325 | |||||||
| 326 | =cut | ||||||
| 327 | |||||||
| 328 | sub getCategories { | ||||||
| 329 | my $self = shift; | ||||||
| 330 | return $self->_getDataTypeInstance( 'Categories' | ||||||
| 331 | ,'eBay::API::XML::DataType::RequestCategoriesType'); | ||||||
| 332 | } | ||||||
| 333 | |||||||
| 334 | |||||||
| 335 | =head2 setCategoryID() | ||||||
| 336 | |||||||
| 337 | Limits the result set to items in the specified category. | ||||||
| 338 | If no category ID is specified, all categories | ||||||
| 339 | are searched by default. |
||||||
| 340 | |
||||||
| 341 | Note: | ||||||
| 342 | CategoryID does not control whether you will see the | ||||||
| 343 | item's categories in the response. Set the value of DetailLevel to | ||||||
| 344 | ItemReturnCategories to retrieve each item's primary category and | ||||||
| 345 | secondary category (if any) in the response. |
||||||
| 346 | |
||||||
| 347 | If the specified category ID doesn't match an existing category | ||||||
| 348 | for the site, an invalid-category error message is returned. | ||||||
| 349 | Here are a few ways to determine valid categories: |
||||||
| 350 | - Use the Categories input field to retrieve | ||||||
| 351 | matching categories, and then submit the request again with one of | ||||||
| 352 | those categories. |
||||||
| 353 | - Find items in all categories but set DetailLevel to | ||||||
| 354 | ItemReturnCategories, determine the primary (or secondary) | ||||||
| 355 | category ID for a similar item in the results, and then | ||||||
| 356 | submit the request again with that category ID. |
||||||
| 357 | - Use another call like GetCategories or GetSuggestedCategories to | ||||||
| 358 | find a valid category ID. |
||||||
| 359 | |
||||||
| 360 | You must pass ProductID, Query, ExternalProductID, or CategoryID | ||||||
| 361 | in the request. CategoryID can be used in combination with Query. | ||||||
| 362 | It is not allowed with ExternalProductID or ProductID. | ||||||
| 363 | If you pass CategoryID without Query, it | ||||||
| 364 | must specify a leaf category ID. That is, it cannot be a | ||||||
| 365 | meta-category ID (e.g., 267 for "Books"). | ||||||
| 366 | |||||||
| 367 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=SearchingByCategoryID | ||||||
| 368 | Title: Searching by Category ID | ||||||
| 369 | MaxLength: 10 | ||||||
| 370 | |||||||
| 371 | RequiredInput: Conditionally | ||||||
| 372 | # Argument: 'xs:string' | ||||||
| 373 | |||||||
| 374 | =cut | ||||||
| 375 | |||||||
| 376 | sub setCategoryID { | ||||||
| 377 | my $self = shift; | ||||||
| 378 | $self->{'CategoryID'} = shift | ||||||
| 379 | } | ||||||
| 380 | |||||||
| 381 | =head2 getCategoryID() | ||||||
| 382 | |||||||
| 383 | # Returns: 'xs:string' | ||||||
| 384 | |||||||
| 385 | =cut | ||||||
| 386 | |||||||
| 387 | sub getCategoryID { | ||||||
| 388 | my $self = shift; | ||||||
| 389 | return $self->{'CategoryID'}; | ||||||
| 390 | } | ||||||
| 391 | |||||||
| 392 | |||||||
| 393 | =head2 setCharityID() | ||||||
| 394 | |||||||
| 395 | Restricts listings to return only items that support the specified | ||||||
| 396 | nonprofit charity organization. Retrieve CharityID values with | ||||||
| 397 | GetCharities. | ||||||
| 398 | |||||||
| 399 | RequiredInput: No | ||||||
| 400 | # Argument: 'xs:int' | ||||||
| 401 | |||||||
| 402 | =cut | ||||||
| 403 | |||||||
| 404 | sub setCharityID { | ||||||
| 405 | my $self = shift; | ||||||
| 406 | $self->{'CharityID'} = shift | ||||||
| 407 | } | ||||||
| 408 | |||||||
| 409 | =head2 getCharityID() | ||||||
| 410 | |||||||
| 411 | # Returns: 'xs:int' | ||||||
| 412 | |||||||
| 413 | =cut | ||||||
| 414 | |||||||
| 415 | sub getCharityID { | ||||||
| 416 | my $self = shift; | ||||||
| 417 | return $self->{'CharityID'}; | ||||||
| 418 | } | ||||||
| 419 | |||||||
| 420 | |||||||
| 421 | =head2 setEndTimeFrom() | ||||||
| 422 | |||||||
| 423 | Limits the results to items ending within a time range. EndTimeFrom | ||||||
| 424 | specifies the beginning of the time range. Specify a time in the future. | ||||||
| 425 | If you specify a time in the past, the current time is used. If specified, | ||||||
| 426 | EndTimeTo must also be specified (with a value equal to or later than | ||||||
| 427 | EndTimeFrom). Express the time in GMT. Cannot be used with the ModTimeFrom | ||||||
| 428 | filter. | ||||||
| 429 | |||||||
| 430 | RequiredInput: Conditionally | ||||||
| 431 | # Argument: 'xs:dateTime' | ||||||
| 432 | |||||||
| 433 | =cut | ||||||
| 434 | |||||||
| 435 | sub setEndTimeFrom { | ||||||
| 436 | my $self = shift; | ||||||
| 437 | $self->{'EndTimeFrom'} = shift | ||||||
| 438 | } | ||||||
| 439 | |||||||
| 440 | =head2 getEndTimeFrom() | ||||||
| 441 | |||||||
| 442 | # Returns: 'xs:dateTime' | ||||||
| 443 | |||||||
| 444 | =cut | ||||||
| 445 | |||||||
| 446 | sub getEndTimeFrom { | ||||||
| 447 | my $self = shift; | ||||||
| 448 | return $self->{'EndTimeFrom'}; | ||||||
| 449 | } | ||||||
| 450 | |||||||
| 451 | |||||||
| 452 | =head2 setEndTimeTo() | ||||||
| 453 | |||||||
| 454 | Limits the results to items ending within a time range. EndTimeTo specifies | ||||||
| 455 | the end of the time range. If specified, EndTimeFrom must also be specified | ||||||
| 456 | (with a value equal to or earlier than EndTimeTo). Express the time in GMT. | ||||||
| 457 | Cannot be used with the ModTimeFrom filter. | ||||||
| 458 | |||||||
| 459 | RequiredInput: Conditionally | ||||||
| 460 | # Argument: 'xs:dateTime' | ||||||
| 461 | |||||||
| 462 | =cut | ||||||
| 463 | |||||||
| 464 | sub setEndTimeTo { | ||||||
| 465 | my $self = shift; | ||||||
| 466 | $self->{'EndTimeTo'} = shift | ||||||
| 467 | } | ||||||
| 468 | |||||||
| 469 | =head2 getEndTimeTo() | ||||||
| 470 | |||||||
| 471 | # Returns: 'xs:dateTime' | ||||||
| 472 | |||||||
| 473 | =cut | ||||||
| 474 | |||||||
| 475 | sub getEndTimeTo { | ||||||
| 476 | my $self = shift; | ||||||
| 477 | return $self->{'EndTimeTo'}; | ||||||
| 478 | } | ||||||
| 479 | |||||||
| 480 | |||||||
| 481 | =head2 setExpandSearch() | ||||||
| 482 | |||||||
| 483 | Expands search results when a small result set is returned. For example, | ||||||
| 484 | on the US site (site ID 0), if a search would normally result in fewer | ||||||
| 485 | than 10 items, then if you specify true for this tag, the search results | ||||||
| 486 | are expanded. Specifically, the search returns items (if there are | ||||||
| 487 | matches) in one or more of the following containers: | ||||||
| 488 | InternationalExpansionArray (for items available from international | ||||||
| 489 | sellers), FilterRemovedExpansionArray (items that would be returned if | ||||||
| 490 | filters such as PriceRangeFilter are removed), StoreExpansionArray (for | ||||||
| 491 | items listed in the Store Inventory Format), and | ||||||
| 492 | AllCategoriesExpansionArray (for items available if category filters are | ||||||
| 493 | removed). Maximum number of items returned in each expansion container is | ||||||
| 494 | 6 to 10. | ||||||
| 495 | |||||||
| 496 | RequiredInput: No | ||||||
| 497 | # Argument: 'xs:boolean' | ||||||
| 498 | |||||||
| 499 | =cut | ||||||
| 500 | |||||||
| 501 | sub setExpandSearch { | ||||||
| 502 | my $self = shift; | ||||||
| 503 | $self->{'ExpandSearch'} = shift | ||||||
| 504 | } | ||||||
| 505 | |||||||
| 506 | =head2 isExpandSearch() | ||||||
| 507 | |||||||
| 508 | # Returns: 'xs:boolean' | ||||||
| 509 | |||||||
| 510 | =cut | ||||||
| 511 | |||||||
| 512 | sub isExpandSearch { | ||||||
| 513 | my $self = shift; | ||||||
| 514 | return $self->{'ExpandSearch'}; | ||||||
| 515 | } | ||||||
| 516 | |||||||
| 517 | |||||||
| 518 | =head2 setExternalProductID() | ||||||
| 519 | |||||||
| 520 | An exclusive query to only retrieve items that were listed with the | ||||||
| 521 | specified ISBN or UPC. Only applicable for items that were listed with | ||||||
| 522 | Pre-filled Item Information in media categories (Books, Music, DVDs and | ||||||
| 523 | Movies, and Video Games). You must pass ProductID, Query, | ||||||
| 524 | ExternalProductID, or CategoryID in the request. If you use | ||||||
| 525 | ExternalProductID, do not use Query, ProductID, or CategoryID. | ||||||
| 526 | |||||||
| 527 | RequiredInput: Conditionally | ||||||
| 528 | # Argument: 'ns:ExternalProductIDType' | ||||||
| 529 | |||||||
| 530 | =cut | ||||||
| 531 | |||||||
| 532 | sub setExternalProductID { | ||||||
| 533 | my $self = shift; | ||||||
| 534 | $self->{'ExternalProductID'} = shift | ||||||
| 535 | } | ||||||
| 536 | |||||||
| 537 | =head2 getExternalProductID() | ||||||
| 538 | |||||||
| 539 | # Returns: 'ns:ExternalProductIDType' | ||||||
| 540 | |||||||
| 541 | =cut | ||||||
| 542 | |||||||
| 543 | sub getExternalProductID { | ||||||
| 544 | my $self = shift; | ||||||
| 545 | return $self->_getDataTypeInstance( 'ExternalProductID' | ||||||
| 546 | ,'eBay::API::XML::DataType::ExternalProductIDType'); | ||||||
| 547 | } | ||||||
| 548 | |||||||
| 549 | |||||||
| 550 | =head2 setFreeShipping() | ||||||
| 551 | |||||||
| 552 | If true, only items with free shipping for the user's location are | ||||||
| 553 | returned. The user's location is determined from the site ID specified | ||||||
| 554 | in the request. If false, no filtering is done via this attribute. A | ||||||
| 555 | listing is not considered a free shipping listing if it requires | ||||||
| 556 | insurance or requires pick up or requires a shipping surcharge. | ||||||
| 557 | |||||||
| 558 | Default: false | ||||||
| 559 | |||||||
| 560 | RequiredInput: No | ||||||
| 561 | # Argument: 'xs:boolean' | ||||||
| 562 | |||||||
| 563 | =cut | ||||||
| 564 | |||||||
| 565 | sub setFreeShipping { | ||||||
| 566 | my $self = shift; | ||||||
| 567 | $self->{'FreeShipping'} = shift | ||||||
| 568 | } | ||||||
| 569 | |||||||
| 570 | =head2 isFreeShipping() | ||||||
| 571 | |||||||
| 572 | # Returns: 'xs:boolean' | ||||||
| 573 | |||||||
| 574 | =cut | ||||||
| 575 | |||||||
| 576 | sub isFreeShipping { | ||||||
| 577 | my $self = shift; | ||||||
| 578 | return $self->{'FreeShipping'}; | ||||||
| 579 | } | ||||||
| 580 | |||||||
| 581 | |||||||
| 582 | =head2 setGranularityLevel() | ||||||
| 583 | |||||||
| 584 | Optional tag that currently accepts only one value for this call: Coarse. | ||||||
| 585 | Other values return an error. If you specify Coarse, the call | ||||||
| 586 | returns the fields shown in the | ||||||
| 587 | GranularityLevel table | ||||||
| 588 | plus any tags resulting from the detail level you specify. | ||||||
| 589 | Controls the fields to return for each listing (not the set of | ||||||
| 590 | listings that match the query). | ||||||
| 591 | |||||||
| 592 | PresentDetails: Yes | ||||||
| 593 | |||||||
| 594 | RequiredInput: No | ||||||
| 595 | # Argument: 'ns:GranularityLevelCodeType' | ||||||
| 596 | |||||||
| 597 | =cut | ||||||
| 598 | |||||||
| 599 | sub setGranularityLevel { | ||||||
| 600 | my $self = shift; | ||||||
| 601 | $self->{'GranularityLevel'} = shift | ||||||
| 602 | } | ||||||
| 603 | |||||||
| 604 | =head2 getGranularityLevel() | ||||||
| 605 | |||||||
| 606 | # Returns: 'ns:GranularityLevelCodeType' | ||||||
| 607 | |||||||
| 608 | =cut | ||||||
| 609 | |||||||
| 610 | sub getGranularityLevel { | ||||||
| 611 | my $self = shift; | ||||||
| 612 | return $self->{'GranularityLevel'}; | ||||||
| 613 | } | ||||||
| 614 | |||||||
| 615 | |||||||
| 616 | =head2 setGroup() | ||||||
| 617 | |||||||
| 618 | You can group Best Match search results by category by specifying BestMatchCategoryGroup | ||||||
| 619 | in the Order field. When you specify BestMatchCategoryGroup | ||||||
| 620 | in the Order field, you can also specify Group.MaxEntriesPerGroup and/or Group.MaxGroups. | ||||||
| 621 | When you specify BestMatchCategoryGroup | ||||||
| 622 | in the Order field, there will be fewer results returned because Best Matches | ||||||
| 623 | in lower-level (leaf) categories and higher-level categories are taken into account. | ||||||
| 624 | There is not a direct correlation between the number of items returned in a regular sort (or in a BestMatch sort) and the number of items that are returned when you specify BestMatchCategoryGroup | ||||||
| 625 | in the Order field. | ||||||
| 626 | When you specify BestMatchCategoryGroup | ||||||
| 627 | in the Order field, not more than 2 pages of results are returned. | ||||||
| 628 | See also the GroupCategoryID element in ItemType. | ||||||
| 629 | |||||||
| 630 | RequiredInput: No | ||||||
| 631 | # Argument: 'ns:GroupType' | ||||||
| 632 | |||||||
| 633 | =cut | ||||||
| 634 | |||||||
| 635 | sub setGroup { | ||||||
| 636 | my $self = shift; | ||||||
| 637 | $self->{'Group'} = shift | ||||||
| 638 | } | ||||||
| 639 | |||||||
| 640 | =head2 getGroup() | ||||||
| 641 | |||||||
| 642 | # Returns: 'ns:GroupType' | ||||||
| 643 | |||||||
| 644 | =cut | ||||||
| 645 | |||||||
| 646 | sub getGroup { | ||||||
| 647 | my $self = shift; | ||||||
| 648 | return $self->_getDataTypeInstance( 'Group' | ||||||
| 649 | ,'eBay::API::XML::DataType::GroupType'); | ||||||
| 650 | } | ||||||
| 651 | |||||||
| 652 | |||||||
| 653 | =head2 setIncludeCondition() | ||||||
| 654 | |||||||
| 655 | If true, each item in the result set can also | ||||||
| 656 | include the item condition (e.g., New or Used) in the | ||||||
| 657 | ItemSpecific property of the response. An item only includes | ||||||
| 658 | the condition in the response if the seller filled in the | ||||||
| 659 | Item Condition in the Item Specifics section of the listing. | ||||||
| 660 | (That is, the condition is not returned if the seller | ||||||
| 661 | only put the word "New" in the listing's title.) |
||||||
| 662 | |
||||||
| 663 | Controls the details to return for each listing (not the set of | ||||||
| 664 | listings that match the query). |
||||||
| 665 | To control whether to retrieve only new or used items, |
||||||
| 666 | see ItemCondition (or SearchRequest). | ||||||
| 667 | |||||||
| 668 | RequiredInput: No | ||||||
| 669 | # Argument: 'xs:boolean' | ||||||
| 670 | |||||||
| 671 | =cut | ||||||
| 672 | |||||||
| 673 | sub setIncludeCondition { | ||||||
| 674 | my $self = shift; | ||||||
| 675 | $self->{'IncludeCondition'} = shift | ||||||
| 676 | } | ||||||
| 677 | |||||||
| 678 | =head2 isIncludeCondition() | ||||||
| 679 | |||||||
| 680 | # Returns: 'xs:boolean' | ||||||
| 681 | |||||||
| 682 | =cut | ||||||
| 683 | |||||||
| 684 | sub isIncludeCondition { | ||||||
| 685 | my $self = shift; | ||||||
| 686 | return $self->{'IncludeCondition'}; | ||||||
| 687 | } | ||||||
| 688 | |||||||
| 689 | |||||||
| 690 | =head2 setIncludeFeedback() | ||||||
| 691 | |||||||
| 692 | If true, each item in the result set also includes information about the | ||||||
| 693 | seller's feedback. Controls the details to return for each listing (not | ||||||
| 694 | the set of listings that match the query). | ||||||
| 695 | |
||||||
| 696 | For GetSearchResults, if set to true will also return the seller's User ID. | ||||||
| 697 | |||||||
| 698 | RequiredInput: No | ||||||
| 699 | # Argument: 'xs:boolean' | ||||||
| 700 | |||||||
| 701 | =cut | ||||||
| 702 | |||||||
| 703 | sub setIncludeFeedback { | ||||||
| 704 | my $self = shift; | ||||||
| 705 | $self->{'IncludeFeedback'} = shift | ||||||
| 706 | } | ||||||
| 707 | |||||||
| 708 | =head2 isIncludeFeedback() | ||||||
| 709 | |||||||
| 710 | # Returns: 'xs:boolean' | ||||||
| 711 | |||||||
| 712 | =cut | ||||||
| 713 | |||||||
| 714 | sub isIncludeFeedback { | ||||||
| 715 | my $self = shift; | ||||||
| 716 | return $self->{'IncludeFeedback'}; | ||||||
| 717 | } | ||||||
| 718 | |||||||
| 719 | |||||||
| 720 | =head2 setIncludeGetItFastItems() | ||||||
| 721 | |||||||
| 722 | When passed with a value of true, limits the results to Get It Fast listings. | ||||||
| 723 | |||||||
| 724 | RequiredInput: No | ||||||
| 725 | # Argument: 'xs:boolean' | ||||||
| 726 | |||||||
| 727 | =cut | ||||||
| 728 | |||||||
| 729 | sub setIncludeGetItFastItems { | ||||||
| 730 | my $self = shift; | ||||||
| 731 | $self->{'IncludeGetItFastItems'} = shift | ||||||
| 732 | } | ||||||
| 733 | |||||||
| 734 | =head2 isIncludeGetItFastItems() | ||||||
| 735 | |||||||
| 736 | # Returns: 'xs:boolean' | ||||||
| 737 | |||||||
| 738 | =cut | ||||||
| 739 | |||||||
| 740 | sub isIncludeGetItFastItems { | ||||||
| 741 | my $self = shift; | ||||||
| 742 | return $self->{'IncludeGetItFastItems'}; | ||||||
| 743 | } | ||||||
| 744 | |||||||
| 745 | |||||||
| 746 | =head2 setItemCondition() | ||||||
| 747 | |||||||
| 748 | Limits the results to new or used items, plus items that have no | ||||||
| 749 | condition specified. |
||||||
| 750 | |
||||||
| 751 | Matches the new or used condition that the seller specified | ||||||
| 752 | in the Item Specifics section of the listing. | ||||||
| 753 | (That is, this won't specifically match on items where the seller | ||||||
| 754 | only put the word "New" in the listing's title.) |
||||||
| 755 | |
||||||
| 756 | Only applicable to sites and categories that support a | ||||||
| 757 | sitewide (global) item condition. For example, the US site | ||||||
| 758 | does not currently support this. See GetCategory2CS. | ||||||
| 759 | To search for the item condition on the US site, | ||||||
| 760 | use a product finder instead (see SearchRequest). | ||||||
| 761 | |||||||
| 762 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=ItemCondition | ||||||
| 763 | Title: Specifying an Item's Condition | ||||||
| 764 | , URL: GetSearchResults.html#Request.SearchRequest | ||||||
| 765 | Title: (GetSearchResults) SearchRequest | ||||||
| 766 | , URL: GetSearchResults.html#Request.IncludeCondition | ||||||
| 767 | Title: (GetSearchResults) IncludeCondition | ||||||
| 768 | |||||||
| 769 | |||||||
| 770 | RequiredInput: No | ||||||
| 771 | # Argument: 'ns:ItemConditionCodeType' | ||||||
| 772 | |||||||
| 773 | =cut | ||||||
| 774 | |||||||
| 775 | sub setItemCondition { | ||||||
| 776 | my $self = shift; | ||||||
| 777 | $self->{'ItemCondition'} = shift | ||||||
| 778 | } | ||||||
| 779 | |||||||
| 780 | =head2 getItemCondition() | ||||||
| 781 | |||||||
| 782 | # Returns: 'ns:ItemConditionCodeType' | ||||||
| 783 | |||||||
| 784 | =cut | ||||||
| 785 | |||||||
| 786 | sub getItemCondition { | ||||||
| 787 | my $self = shift; | ||||||
| 788 | return $self->{'ItemCondition'}; | ||||||
| 789 | } | ||||||
| 790 | |||||||
| 791 | |||||||
| 792 | =head2 setItemTypeFilter() | ||||||
| 793 | |||||||
| 794 | Filters items based on the ListingType set for the items. | ||||||
| 795 | If ItemTypeFilter is not | ||||||
| 796 | specified (or if the AllItemTypes value of ItemTypeFilter is specified), | ||||||
| 797 | all listing types can be returned unless another relevant filter is | ||||||
| 798 | specified. You cannot use GetSearchResults to search eBay Express. | ||||||
| 799 | |||||||
| 800 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=SearchingByListingType | ||||||
| 801 | Title: Searching By Listing Type | ||||||
| 802 | |||||||
| 803 | RequiredInput: No | ||||||
| 804 | Default: AllItems | ||||||
| 805 | # Argument: 'ns:ItemTypeFilterCodeType' | ||||||
| 806 | |||||||
| 807 | =cut | ||||||
| 808 | |||||||
| 809 | sub setItemTypeFilter { | ||||||
| 810 | my $self = shift; | ||||||
| 811 | $self->{'ItemTypeFilter'} = shift | ||||||
| 812 | } | ||||||
| 813 | |||||||
| 814 | =head2 getItemTypeFilter() | ||||||
| 815 | |||||||
| 816 | # Returns: 'ns:ItemTypeFilterCodeType' | ||||||
| 817 | |||||||
| 818 | =cut | ||||||
| 819 | |||||||
| 820 | sub getItemTypeFilter { | ||||||
| 821 | my $self = shift; | ||||||
| 822 | return $self->{'ItemTypeFilter'}; | ||||||
| 823 | } | ||||||
| 824 | |||||||
| 825 | |||||||
| 826 | =head2 setLocalSearchPostalCode() | ||||||
| 827 | |||||||
| 828 | Include local items in returning results near this postal code. This | ||||||
| 829 | postal code is the basis for local search. | ||||||
| 830 | |||||||
| 831 | RequiredInput: No | ||||||
| 832 | # Argument: 'xs:string' | ||||||
| 833 | |||||||
| 834 | =cut | ||||||
| 835 | |||||||
| 836 | sub setLocalSearchPostalCode { | ||||||
| 837 | my $self = shift; | ||||||
| 838 | $self->{'LocalSearchPostalCode'} = shift | ||||||
| 839 | } | ||||||
| 840 | |||||||
| 841 | =head2 getLocalSearchPostalCode() | ||||||
| 842 | |||||||
| 843 | # Returns: 'xs:string' | ||||||
| 844 | |||||||
| 845 | =cut | ||||||
| 846 | |||||||
| 847 | sub getLocalSearchPostalCode { | ||||||
| 848 | my $self = shift; | ||||||
| 849 | return $self->{'LocalSearchPostalCode'}; | ||||||
| 850 | } | ||||||
| 851 | |||||||
| 852 | |||||||
| 853 | =head2 setLot() | ||||||
| 854 | |||||||
| 855 | Limits the results to only those listings for which Item.LotSize is 2 or greater. | ||||||
| 856 | |||||||
| 857 | RequiredInput: No | ||||||
| 858 | # Argument: 'xs:boolean' | ||||||
| 859 | |||||||
| 860 | =cut | ||||||
| 861 | |||||||
| 862 | sub setLot { | ||||||
| 863 | my $self = shift; | ||||||
| 864 | $self->{'Lot'} = shift | ||||||
| 865 | } | ||||||
| 866 | |||||||
| 867 | =head2 isLot() | ||||||
| 868 | |||||||
| 869 | # Returns: 'xs:boolean' | ||||||
| 870 | |||||||
| 871 | =cut | ||||||
| 872 | |||||||
| 873 | sub isLot { | ||||||
| 874 | my $self = shift; | ||||||
| 875 | return $self->{'Lot'}; | ||||||
| 876 | } | ||||||
| 877 | |||||||
| 878 | |||||||
| 879 | =head2 setMaxRelatedSearchKeywords() | ||||||
| 880 | |||||||
| 881 | The maximum number of related keywords to be retrieved. | ||||||
| 882 | Use this field if you want the search results to include | ||||||
| 883 | recommended keywords (that is, keywords matching one or more of the | ||||||
| 884 | original keywords) in a RelatedSearchKeywordArray container. | ||||||
| 885 | A value of 0 (the default) means no related search information is processed. | ||||||
| 886 | |||||||
| 887 | Max: 100 | ||||||
| 888 | Min: 0 | ||||||
| 889 | |||||||
| 890 | RequiredInput: No | ||||||
| 891 | # Argument: 'xs:int' | ||||||
| 892 | |||||||
| 893 | =cut | ||||||
| 894 | |||||||
| 895 | sub setMaxRelatedSearchKeywords { | ||||||
| 896 | my $self = shift; | ||||||
| 897 | $self->{'MaxRelatedSearchKeywords'} = shift | ||||||
| 898 | } | ||||||
| 899 | |||||||
| 900 | =head2 getMaxRelatedSearchKeywords() | ||||||
| 901 | |||||||
| 902 | # Returns: 'xs:int' | ||||||
| 903 | |||||||
| 904 | =cut | ||||||
| 905 | |||||||
| 906 | sub getMaxRelatedSearchKeywords { | ||||||
| 907 | my $self = shift; | ||||||
| 908 | return $self->{'MaxRelatedSearchKeywords'}; | ||||||
| 909 | } | ||||||
| 910 | |||||||
| 911 | |||||||
| 912 | =head2 setModTimeFrom() | ||||||
| 913 | |||||||
| 914 | Limits the results to active items whose status has changed | ||||||
| 915 | since the specified time. Specify a time in the past. | ||||||
| 916 | Time must be in GMT. Cannot be used with the EndTime filters. | ||||||
| 917 | |||||||
| 918 | RequiredInput: No | ||||||
| 919 | # Argument: 'xs:dateTime' | ||||||
| 920 | |||||||
| 921 | =cut | ||||||
| 922 | |||||||
| 923 | sub setModTimeFrom { | ||||||
| 924 | my $self = shift; | ||||||
| 925 | $self->{'ModTimeFrom'} = shift | ||||||
| 926 | } | ||||||
| 927 | |||||||
| 928 | =head2 getModTimeFrom() | ||||||
| 929 | |||||||
| 930 | # Returns: 'xs:dateTime' | ||||||
| 931 | |||||||
| 932 | =cut | ||||||
| 933 | |||||||
| 934 | sub getModTimeFrom { | ||||||
| 935 | my $self = shift; | ||||||
| 936 | return $self->{'ModTimeFrom'}; | ||||||
| 937 | } | ||||||
| 938 | |||||||
| 939 | |||||||
| 940 | =head2 setMotorsGermanySearchable() | ||||||
| 941 | |||||||
| 942 | Limits the results based on each item's eligibility to appear on the | ||||||
| 943 | mobile.de site. If false, excludes eligible items from search results. If | ||||||
| 944 | true, queries for eligible items only. If not specified, the search | ||||||
| 945 | results are not affected. Only applicable for items listed on the eBay | ||||||
| 946 | Germany site (site ID 77) in subcategories of mobile.de search-enabled | ||||||
| 947 | categories. | ||||||
| 948 | |||||||
| 949 | RequiredInput: No | ||||||
| 950 | # Argument: 'xs:boolean' | ||||||
| 951 | |||||||
| 952 | =cut | ||||||
| 953 | |||||||
| 954 | sub setMotorsGermanySearchable { | ||||||
| 955 | my $self = shift; | ||||||
| 956 | $self->{'MotorsGermanySearchable'} = shift | ||||||
| 957 | } | ||||||
| 958 | |||||||
| 959 | =head2 isMotorsGermanySearchable() | ||||||
| 960 | |||||||
| 961 | # Returns: 'xs:boolean' | ||||||
| 962 | |||||||
| 963 | =cut | ||||||
| 964 | |||||||
| 965 | sub isMotorsGermanySearchable { | ||||||
| 966 | my $self = shift; | ||||||
| 967 | return $self->{'MotorsGermanySearchable'}; | ||||||
| 968 | } | ||||||
| 969 | |||||||
| 970 | |||||||
| 971 | =head2 setOrder() | ||||||
| 972 | |||||||
| 973 | Specifies the order in which listings are returned in a result set. | ||||||
| 974 | Listings may be sorted by end time, start time, and in other ways listed | ||||||
| 975 | in the SearchSortOrderCodeType. Controls the way the listings are | ||||||
| 976 | organized in the response (not the details to return for each listing). | ||||||
| 977 | For most sites, the default sort order is by items ending soonest. Store | ||||||
| 978 | Inventory listings are usually returned after other listing types, | ||||||
| 979 | regardless of the sort order. | ||||||
| 980 | |||||||
| 981 | Default: BestMatchSort | ||||||
| 982 | |||||||
| 983 | RequiredInput: No | ||||||
| 984 | # Argument: 'ns:SearchSortOrderCodeType' | ||||||
| 985 | |||||||
| 986 | =cut | ||||||
| 987 | |||||||
| 988 | sub setOrder { | ||||||
| 989 | my $self = shift; | ||||||
| 990 | $self->{'Order'} = shift | ||||||
| 991 | } | ||||||
| 992 | |||||||
| 993 | =head2 getOrder() | ||||||
| 994 | |||||||
| 995 | # Returns: 'ns:SearchSortOrderCodeType' | ||||||
| 996 | |||||||
| 997 | =cut | ||||||
| 998 | |||||||
| 999 | sub getOrder { | ||||||
| 1000 | my $self = shift; | ||||||
| 1001 | return $self->{'Order'}; | ||||||
| 1002 | } | ||||||
| 1003 | |||||||
| 1004 | |||||||
| 1005 | =head2 setPagination() | ||||||
| 1006 | |||||||
| 1007 | Controls the pagination of the result set. Child elements specify the | ||||||
| 1008 | maximum number of item listings to return per call and which page of data | ||||||
| 1009 | to return. Controls the way the listings are organized in the response | ||||||
| 1010 | (not the details to return for each listing). | ||||||
| 1011 | |||||||
| 1012 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=PaginatingSearchResults | ||||||
| 1013 | Title: Paginating Search Results | ||||||
| 1014 | |||||||
| 1015 | RequiredInput: No | ||||||
| 1016 | # Argument: 'ns:PaginationType' | ||||||
| 1017 | |||||||
| 1018 | =cut | ||||||
| 1019 | |||||||
| 1020 | sub setPagination { | ||||||
| 1021 | my $self = shift; | ||||||
| 1022 | $self->{'Pagination'} = shift | ||||||
| 1023 | } | ||||||
| 1024 | |||||||
| 1025 | =head2 getPagination() | ||||||
| 1026 | |||||||
| 1027 | # Returns: 'ns:PaginationType' | ||||||
| 1028 | |||||||
| 1029 | =cut | ||||||
| 1030 | |||||||
| 1031 | sub getPagination { | ||||||
| 1032 | my $self = shift; | ||||||
| 1033 | return $self->_getDataTypeInstance( 'Pagination' | ||||||
| 1034 | ,'eBay::API::XML::DataType::PaginationType'); | ||||||
| 1035 | } | ||||||
| 1036 | |||||||
| 1037 | |||||||
| 1038 | =head2 setPaymentMethod() | ||||||
| 1039 | |||||||
| 1040 | Limits the results to items that accept a specific payment method or methods. | ||||||
| 1041 | |||||||
| 1042 | RequiredInput: No | ||||||
| 1043 | # Argument: 'ns:PaymentMethodSearchCodeType' | ||||||
| 1044 | |||||||
| 1045 | =cut | ||||||
| 1046 | |||||||
| 1047 | sub setPaymentMethod { | ||||||
| 1048 | my $self = shift; | ||||||
| 1049 | $self->{'PaymentMethod'} = shift | ||||||
| 1050 | } | ||||||
| 1051 | |||||||
| 1052 | =head2 getPaymentMethod() | ||||||
| 1053 | |||||||
| 1054 | # Returns: 'ns:PaymentMethodSearchCodeType' | ||||||
| 1055 | |||||||
| 1056 | =cut | ||||||
| 1057 | |||||||
| 1058 | sub getPaymentMethod { | ||||||
| 1059 | my $self = shift; | ||||||
| 1060 | return $self->{'PaymentMethod'}; | ||||||
| 1061 | } | ||||||
| 1062 | |||||||
| 1063 | |||||||
| 1064 | =head2 setPriceRangeFilter() | ||||||
| 1065 | |||||||
| 1066 | Limits the result set to just those items where the price is within the | ||||||
| 1067 | specified range. The PriceRangeFilterType includes a minimum and a maximum | ||||||
| 1068 | price. | ||||||
| 1069 | |||||||
| 1070 | RequiredInput: No | ||||||
| 1071 | # Argument: 'ns:PriceRangeFilterType' | ||||||
| 1072 | |||||||
| 1073 | =cut | ||||||
| 1074 | |||||||
| 1075 | sub setPriceRangeFilter { | ||||||
| 1076 | my $self = shift; | ||||||
| 1077 | $self->{'PriceRangeFilter'} = shift | ||||||
| 1078 | } | ||||||
| 1079 | |||||||
| 1080 | =head2 getPriceRangeFilter() | ||||||
| 1081 | |||||||
| 1082 | # Returns: 'ns:PriceRangeFilterType' | ||||||
| 1083 | |||||||
| 1084 | =cut | ||||||
| 1085 | |||||||
| 1086 | sub getPriceRangeFilter { | ||||||
| 1087 | my $self = shift; | ||||||
| 1088 | return $self->_getDataTypeInstance( 'PriceRangeFilter' | ||||||
| 1089 | ,'eBay::API::XML::DataType::PriceRangeFilterType'); | ||||||
| 1090 | } | ||||||
| 1091 | |||||||
| 1092 | |||||||
| 1093 | =head2 setProductID() | ||||||
| 1094 | |||||||
| 1095 | An exclusive query to retrieve items that were listed with the specified | ||||||
| 1096 | eBay catalog product. You must pass ProductID, Query, ExternalProductID, | ||||||
| 1097 | or CategoryID in the request. If you use ProductID, do not use Query, | ||||||
| 1098 | ExternalProductID, or CategoryID. |
||||||
| 1099 | |
||||||
| 1100 | As of mid-2008, some sites (such as eBay US, Germany, Austria, and Switzerland) are | ||||||
| 1101 | updating, replacing, deleting, or merging some products (as a result of migrating from one | ||||||
| 1102 | catalog data provider to another). | ||||||
| 1103 | If you specify one of these products, the call may return a warning, | ||||||
| 1104 | or it may return an error if the product has been deleted. | ||||||
| 1105 | |||||||
| 1106 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=SearchingByProductID | ||||||
| 1107 | Title: Searching for Listings by ProductID | ||||||
| 1108 | |||||||
| 1109 | RequiredInput: Conditionally | ||||||
| 1110 | # Argument: 'xs:string' | ||||||
| 1111 | |||||||
| 1112 | =cut | ||||||
| 1113 | |||||||
| 1114 | sub setProductID { | ||||||
| 1115 | my $self = shift; | ||||||
| 1116 | $self->{'ProductID'} = shift | ||||||
| 1117 | } | ||||||
| 1118 | |||||||
| 1119 | =head2 getProductID() | ||||||
| 1120 | |||||||
| 1121 | # Returns: 'xs:string' | ||||||
| 1122 | |||||||
| 1123 | =cut | ||||||
| 1124 | |||||||
| 1125 | sub getProductID { | ||||||
| 1126 | my $self = shift; | ||||||
| 1127 | return $self->{'ProductID'}; | ||||||
| 1128 | } | ||||||
| 1129 | |||||||
| 1130 | |||||||
| 1131 | =head2 setProximitySearch() | ||||||
| 1132 | |||||||
| 1133 | Limits the result set to just those items whose location is within a | ||||||
| 1134 | specified distance of a postal code. The ProximitySearchType includes | ||||||
| 1135 | a maximum distance and a postal code. | ||||||
| 1136 | |||||||
| 1137 | RequiredInput: No | ||||||
| 1138 | # Argument: 'ns:ProximitySearchType' | ||||||
| 1139 | |||||||
| 1140 | =cut | ||||||
| 1141 | |||||||
| 1142 | sub setProximitySearch { | ||||||
| 1143 | my $self = shift; | ||||||
| 1144 | $self->{'ProximitySearch'} = shift | ||||||
| 1145 | } | ||||||
| 1146 | |||||||
| 1147 | =head2 getProximitySearch() | ||||||
| 1148 | |||||||
| 1149 | # Returns: 'ns:ProximitySearchType' | ||||||
| 1150 | |||||||
| 1151 | =cut | ||||||
| 1152 | |||||||
| 1153 | sub getProximitySearch { | ||||||
| 1154 | my $self = shift; | ||||||
| 1155 | return $self->_getDataTypeInstance( 'ProximitySearch' | ||||||
| 1156 | ,'eBay::API::XML::DataType::ProximitySearchType'); | ||||||
| 1157 | } | ||||||
| 1158 | |||||||
| 1159 | |||||||
| 1160 | =head2 setQuantity() | ||||||
| 1161 | |||||||
| 1162 | Limits the results to listings that offer a certain number of items | ||||||
| 1163 | matching the query. If Lot is also specified, then Quantity is the number | ||||||
| 1164 | of lots multiplied by the number of objects in each lot. Use | ||||||
| 1165 | QuantityOperator to specify that you are seeking listings with quantities | ||||||
| 1166 | greater than, equal to, or less than Quantity. | ||||||
| 1167 | |||||||
| 1168 | RequiredInput: No | ||||||
| 1169 | # Argument: 'xs:int' | ||||||
| 1170 | |||||||
| 1171 | =cut | ||||||
| 1172 | |||||||
| 1173 | sub setQuantity { | ||||||
| 1174 | my $self = shift; | ||||||
| 1175 | $self->{'Quantity'} = shift | ||||||
| 1176 | } | ||||||
| 1177 | |||||||
| 1178 | =head2 getQuantity() | ||||||
| 1179 | |||||||
| 1180 | # Returns: 'xs:int' | ||||||
| 1181 | |||||||
| 1182 | =cut | ||||||
| 1183 | |||||||
| 1184 | sub getQuantity { | ||||||
| 1185 | my $self = shift; | ||||||
| 1186 | return $self->{'Quantity'}; | ||||||
| 1187 | } | ||||||
| 1188 | |||||||
| 1189 | |||||||
| 1190 | =head2 setQuantityOperator() | ||||||
| 1191 | |||||||
| 1192 | Limits the results to listings with quantities greater than, equal to, or | ||||||
| 1193 | less than Quantity. Controls the set of listings to return (not the | ||||||
| 1194 | details to return for each listing). | ||||||
| 1195 | |||||||
| 1196 | RequiredInput: No | ||||||
| 1197 | # Argument: 'ns:QuantityOperatorCodeType' | ||||||
| 1198 | |||||||
| 1199 | =cut | ||||||
| 1200 | |||||||
| 1201 | sub setQuantityOperator { | ||||||
| 1202 | my $self = shift; | ||||||
| 1203 | $self->{'QuantityOperator'} = shift | ||||||
| 1204 | } | ||||||
| 1205 | |||||||
| 1206 | =head2 getQuantityOperator() | ||||||
| 1207 | |||||||
| 1208 | # Returns: 'ns:QuantityOperatorCodeType' | ||||||
| 1209 | |||||||
| 1210 | =cut | ||||||
| 1211 | |||||||
| 1212 | sub getQuantityOperator { | ||||||
| 1213 | my $self = shift; | ||||||
| 1214 | return $self->{'QuantityOperator'}; | ||||||
| 1215 | } | ||||||
| 1216 | |||||||
| 1217 | |||||||
| 1218 | =head2 setQuery() | ||||||
| 1219 | |||||||
| 1220 | A query that specifies a search string. The search string consists of one or more | ||||||
| 1221 | keywords to search for in the listing title and/or description. | ||||||
| 1222 | The words "and" and "or" are treated like any other word. Only use "and", | ||||||
| 1223 | "or", or "the" if you are searching for listings containing these words. | ||||||
| 1224 | You can use AND or OR logic by including certain modifiers. | ||||||
| 1225 | Wildcards (e.g., *) are also supported. Be careful when using spaces before | ||||||
| 1226 | or after modifiers and wildcards (+, -, or *). See the | ||||||
| 1227 | eBay Web Services Guide for a list of valid modifiers and examples. | ||||||
| 1228 | Query is not applicable in combination with ExternalProductID or ProductID. | ||||||
| 1229 | |||||||
| 1230 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=SearchingByKeywords | ||||||
| 1231 | Title: Searching by Keywords | ||||||
| 1232 | MaxLength: 350 (characters) | ||||||
| 1233 | |||||||
| 1234 | RequiredInput: Conditionally | ||||||
| 1235 | # Argument: 'xs:string' | ||||||
| 1236 | |||||||
| 1237 | =cut | ||||||
| 1238 | |||||||
| 1239 | sub setQuery { | ||||||
| 1240 | my $self = shift; | ||||||
| 1241 | $self->{'Query'} = shift | ||||||
| 1242 | } | ||||||
| 1243 | |||||||
| 1244 | =head2 getQuery() | ||||||
| 1245 | |||||||
| 1246 | # Returns: 'xs:string' | ||||||
| 1247 | |||||||
| 1248 | =cut | ||||||
| 1249 | |||||||
| 1250 | sub getQuery { | ||||||
| 1251 | my $self = shift; | ||||||
| 1252 | return $self->{'Query'}; | ||||||
| 1253 | } | ||||||
| 1254 | |||||||
| 1255 | |||||||
| 1256 | =head2 setSearchFlags() | ||||||
| 1257 | |||||||
| 1258 | Secondary search criterion that checks item descriptions for keywords that | ||||||
| 1259 | match the query, limits the search results to only charity items, limits | ||||||
| 1260 | the result set to those items with PayPal as a payment method, and/or | ||||||
| 1261 | provides other criteria to refine the search. | ||||||
| 1262 | |||||||
| 1263 | RequiredInput: No | ||||||
| 1264 | # Argument: reference to an array | ||||||
| 1265 | of 'ns:SearchFlagsCodeType' | ||||||
| 1266 | |||||||
| 1267 | =cut | ||||||
| 1268 | |||||||
| 1269 | sub setSearchFlags { | ||||||
| 1270 | my $self = shift; | ||||||
| 1271 | $self->{'SearchFlags'} = | ||||||
| 1272 | $self->convertArray_To_RefToArrayIfNeeded(@_); | ||||||
| 1273 | } | ||||||
| 1274 | |||||||
| 1275 | =head2 getSearchFlags() | ||||||
| 1276 | |||||||
| 1277 | # Returns: reference to an array | ||||||
| 1278 | of 'ns:SearchFlagsCodeType' | ||||||
| 1279 | |||||||
| 1280 | =cut | ||||||
| 1281 | |||||||
| 1282 | sub getSearchFlags { | ||||||
| 1283 | my $self = shift; | ||||||
| 1284 | return $self->_getDataTypeArray('SearchFlags'); | ||||||
| 1285 | } | ||||||
| 1286 | |||||||
| 1287 | |||||||
| 1288 | =head2 setSearchLocationFilter() | ||||||
| 1289 | |||||||
| 1290 | Limits the result set to just those items that meet location criteria: | ||||||
| 1291 | listed in a specified eBay site, location where the seller has the item, | ||||||
| 1292 | location from which the user is searching, and/or items listed with a | ||||||
| 1293 | specified currency. You cannot use GetSearchResults to search eBay Express. | ||||||
| 1294 | |||||||
| 1295 | RequiredInput: No | ||||||
| 1296 | # Argument: 'ns:SearchLocationFilterType' | ||||||
| 1297 | |||||||
| 1298 | =cut | ||||||
| 1299 | |||||||
| 1300 | sub setSearchLocationFilter { | ||||||
| 1301 | my $self = shift; | ||||||
| 1302 | $self->{'SearchLocationFilter'} = shift | ||||||
| 1303 | } | ||||||
| 1304 | |||||||
| 1305 | =head2 getSearchLocationFilter() | ||||||
| 1306 | |||||||
| 1307 | # Returns: 'ns:SearchLocationFilterType' | ||||||
| 1308 | |||||||
| 1309 | =cut | ||||||
| 1310 | |||||||
| 1311 | sub getSearchLocationFilter { | ||||||
| 1312 | my $self = shift; | ||||||
| 1313 | return $self->_getDataTypeInstance( 'SearchLocationFilter' | ||||||
| 1314 | ,'eBay::API::XML::DataType::SearchLocationFilterType'); | ||||||
| 1315 | } | ||||||
| 1316 | |||||||
| 1317 | |||||||
| 1318 | =head2 setSearchRequest() | ||||||
| 1319 | |||||||
| 1320 | A query consisting of a set of attributes (Item Specifics). Use this kind | ||||||
| 1321 | of query to search against the Item Specifics in listings (e.g., to search | ||||||
| 1322 | for a particular shoe size). If the query includes multiple attributes, | ||||||
| 1323 | the search engine will apply "AND" logic to the query and narrow the | ||||||
| 1324 | results. Use GetProductFinder to determine the list of valid attributes | ||||||
| 1325 | and how many are permitted for the specified characteristic set. Retrieves | ||||||
| 1326 | items along with any buying guide details that are associated with the | ||||||
| 1327 | specified product finder. Applicable in combination with the Query | ||||||
| 1328 | argument. Cannot be used in combination with ProductID or | ||||||
| 1329 | ExternalProductID. |
||||||
| 1330 | |
||||||
| 1331 | If you are searching for tickets, see TicketFinder instead. | ||||||
| 1332 | |||||||
| 1333 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=SearchingByItemSpecifics | ||||||
| 1334 | Title: Searching by Item Specifics (Buy-Side Product Finder) | ||||||
| 1335 | , URL: CallName.html#Request.TicketFinder | ||||||
| 1336 | Title: (GetSearchResults) TicketFinder | ||||||
| 1337 | |||||||
| 1338 | |||||||
| 1339 | RequiredInput: No | ||||||
| 1340 | # Argument: 'ns:SearchRequestType' | ||||||
| 1341 | |||||||
| 1342 | =cut | ||||||
| 1343 | |||||||
| 1344 | sub setSearchRequest { | ||||||
| 1345 | my $self = shift; | ||||||
| 1346 | $self->{'SearchRequest'} = shift | ||||||
| 1347 | } | ||||||
| 1348 | |||||||
| 1349 | =head2 getSearchRequest() | ||||||
| 1350 | |||||||
| 1351 | # Returns: 'ns:SearchRequestType' | ||||||
| 1352 | |||||||
| 1353 | =cut | ||||||
| 1354 | |||||||
| 1355 | sub getSearchRequest { | ||||||
| 1356 | my $self = shift; | ||||||
| 1357 | return $self->_getDataTypeInstance( 'SearchRequest' | ||||||
| 1358 | ,'eBay::API::XML::DataType::SearchRequestType'); | ||||||
| 1359 | } | ||||||
| 1360 | |||||||
| 1361 | |||||||
| 1362 | =head2 setSearchType() | ||||||
| 1363 | |||||||
| 1364 | Limits the listings in the result set based on whether they are in the | ||||||
| 1365 | Gallery. The choices are items in the Gallery or Gallery and non-Gallery | ||||||
| 1366 | items. | ||||||
| 1367 | |||||||
| 1368 | RequiredInput: No | ||||||
| 1369 | # Argument: 'ns:SearchTypeCodeType' | ||||||
| 1370 | |||||||
| 1371 | =cut | ||||||
| 1372 | |||||||
| 1373 | sub setSearchType { | ||||||
| 1374 | my $self = shift; | ||||||
| 1375 | $self->{'SearchType'} = shift | ||||||
| 1376 | } | ||||||
| 1377 | |||||||
| 1378 | =head2 getSearchType() | ||||||
| 1379 | |||||||
| 1380 | # Returns: 'ns:SearchTypeCodeType' | ||||||
| 1381 | |||||||
| 1382 | =cut | ||||||
| 1383 | |||||||
| 1384 | sub getSearchType { | ||||||
| 1385 | my $self = shift; | ||||||
| 1386 | return $self->{'SearchType'}; | ||||||
| 1387 | } | ||||||
| 1388 | |||||||
| 1389 | |||||||
| 1390 | =head2 setSellerBusinessType() | ||||||
| 1391 | |||||||
| 1392 | Limits the results to those of a particular seller business type such as | ||||||
| 1393 | commercial or private. | ||||||
| 1394 | |||||||
| 1395 | RequiredInput: No | ||||||
| 1396 | # Argument: 'ns:SellerBusinessCodeType' | ||||||
| 1397 | |||||||
| 1398 | =cut | ||||||
| 1399 | |||||||
| 1400 | sub setSellerBusinessType { | ||||||
| 1401 | my $self = shift; | ||||||
| 1402 | $self->{'SellerBusinessType'} = shift | ||||||
| 1403 | } | ||||||
| 1404 | |||||||
| 1405 | =head2 getSellerBusinessType() | ||||||
| 1406 | |||||||
| 1407 | # Returns: 'ns:SellerBusinessCodeType' | ||||||
| 1408 | |||||||
| 1409 | =cut | ||||||
| 1410 | |||||||
| 1411 | sub getSellerBusinessType { | ||||||
| 1412 | my $self = shift; | ||||||
| 1413 | return $self->{'SellerBusinessType'}; | ||||||
| 1414 | } | ||||||
| 1415 | |||||||
| 1416 | |||||||
| 1417 | =head2 setStoreSearchFilter() | ||||||
| 1418 | |||||||
| 1419 | Limits the result set to just those items that meet criteria related to | ||||||
| 1420 | eBay Stores sellers and eBay Stores. Use this to retrieve items listed in | ||||||
| 1421 | a particular seller's eBay Store or in all store sellers' eBay Stores. | ||||||
| 1422 | This filter always causes item description text to be searched with the | ||||||
| 1423 | string specified in the Query field. That is, StoreSearchFilter | ||||||
| 1424 | forces the type of search that would have occurred if you had specified | ||||||
| 1425 | SearchInDescription in the SearchFlags field. | ||||||
| 1426 | |||||||
| 1427 | RequiredInput: No | ||||||
| 1428 | # Argument: 'ns:SearchStoreFilterType' | ||||||
| 1429 | |||||||
| 1430 | =cut | ||||||
| 1431 | |||||||
| 1432 | sub setStoreSearchFilter { | ||||||
| 1433 | my $self = shift; | ||||||
| 1434 | $self->{'StoreSearchFilter'} = shift | ||||||
| 1435 | } | ||||||
| 1436 | |||||||
| 1437 | =head2 getStoreSearchFilter() | ||||||
| 1438 | |||||||
| 1439 | # Returns: 'ns:SearchStoreFilterType' | ||||||
| 1440 | |||||||
| 1441 | =cut | ||||||
| 1442 | |||||||
| 1443 | sub getStoreSearchFilter { | ||||||
| 1444 | my $self = shift; | ||||||
| 1445 | return $self->_getDataTypeInstance( 'StoreSearchFilter' | ||||||
| 1446 | ,'eBay::API::XML::DataType::SearchStoreFilterType'); | ||||||
| 1447 | } | ||||||
| 1448 | |||||||
| 1449 | |||||||
| 1450 | =head2 setTicketFinder() | ||||||
| 1451 | |||||||
| 1452 | Searches for event ticket listings only. If specified, this cannot be empty. | ||||||
| 1453 | For example, to search for all tickets (with no event, date, city, or quantity constraints), | ||||||
| 1454 | specify EventType with a value of Any. | ||||||
| 1455 | If specified, Query is optional. Query is useful when the user wants to search | ||||||
| 1456 | for a particular event name (like "eric clapton") or a venue that might be | ||||||
| 1457 | included in the listing title. | ||||||
| 1458 | If TicketFinder and SearchRequest are both specified in the same request, | ||||||
| 1459 | SearchRequest is ignored. | ||||||
| 1460 | |||||||
| 1461 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=TicketFinder | ||||||
| 1462 | Title: Performing a Simple Ticket Finder Search | ||||||
| 1463 | |||||||
| 1464 | RequiredInput: No | ||||||
| 1465 | # Argument: 'ns:TicketDetailsType' | ||||||
| 1466 | |||||||
| 1467 | =cut | ||||||
| 1468 | |||||||
| 1469 | sub setTicketFinder { | ||||||
| 1470 | my $self = shift; | ||||||
| 1471 | $self->{'TicketFinder'} = shift | ||||||
| 1472 | } | ||||||
| 1473 | |||||||
| 1474 | =head2 getTicketFinder() | ||||||
| 1475 | |||||||
| 1476 | # Returns: 'ns:TicketDetailsType' | ||||||
| 1477 | |||||||
| 1478 | =cut | ||||||
| 1479 | |||||||
| 1480 | sub getTicketFinder { | ||||||
| 1481 | my $self = shift; | ||||||
| 1482 | return $self->_getDataTypeInstance( 'TicketFinder' | ||||||
| 1483 | ,'eBay::API::XML::DataType::TicketDetailsType'); | ||||||
| 1484 | } | ||||||
| 1485 | |||||||
| 1486 | |||||||
| 1487 | =head2 setTotalOnly() | ||||||
| 1488 | |||||||
| 1489 | Retrieves the total quantity of matching items, without returning the item | ||||||
| 1490 | data. See PaginationResult.TotalNumberOfEntries in the response. If | ||||||
| 1491 | TotalOnly and Categories.CategoriesOnly are both specified in the request | ||||||
| 1492 | and their values are inconsistent with each other, TotalOnly overrides | ||||||
| 1493 | Categories.CategoriesOnly. That is, if TotalOnly is true and | ||||||
| 1494 | Categories.CategoriesOnly is false, the results include matching | ||||||
| 1495 | categories but no item data or buying guides. If TotalOnly is false and | ||||||
| 1496 | Categories.CategoriesOnly is true, the results include matching | ||||||
| 1497 | categories, item data, and buying guides. If TotalOnly is not specified, | ||||||
| 1498 | it has no logical effect. | ||||||
| 1499 | |||||||
| 1500 | RequiredInput: No | ||||||
| 1501 | # Argument: 'xs:boolean' | ||||||
| 1502 | |||||||
| 1503 | =cut | ||||||
| 1504 | |||||||
| 1505 | sub setTotalOnly { | ||||||
| 1506 | my $self = shift; | ||||||
| 1507 | $self->{'TotalOnly'} = shift | ||||||
| 1508 | } | ||||||
| 1509 | |||||||
| 1510 | =head2 isTotalOnly() | ||||||
| 1511 | |||||||
| 1512 | # Returns: 'xs:boolean' | ||||||
| 1513 | |||||||
| 1514 | =cut | ||||||
| 1515 | |||||||
| 1516 | sub isTotalOnly { | ||||||
| 1517 | my $self = shift; | ||||||
| 1518 | return $self->{'TotalOnly'}; | ||||||
| 1519 | } | ||||||
| 1520 | |||||||
| 1521 | |||||||
| 1522 | =head2 setUserIdFilter() | ||||||
| 1523 | |||||||
| 1524 | Limits the the result set to just those items listed by one or more | ||||||
| 1525 | specified sellers or those items not listed by the one or more specified | ||||||
| 1526 | sellers. | ||||||
| 1527 | |||||||
| 1528 | RequiredInput: No | ||||||
| 1529 | # Argument: 'ns:UserIdFilterType' | ||||||
| 1530 | |||||||
| 1531 | =cut | ||||||
| 1532 | |||||||
| 1533 | sub setUserIdFilter { | ||||||
| 1534 | my $self = shift; | ||||||
| 1535 | $self->{'UserIdFilter'} = shift | ||||||
| 1536 | } | ||||||
| 1537 | |||||||
| 1538 | =head2 getUserIdFilter() | ||||||
| 1539 | |||||||
| 1540 | # Returns: 'ns:UserIdFilterType' | ||||||
| 1541 | |||||||
| 1542 | =cut | ||||||
| 1543 | |||||||
| 1544 | sub getUserIdFilter { | ||||||
| 1545 | my $self = shift; | ||||||
| 1546 | return $self->_getDataTypeInstance( 'UserIdFilter' | ||||||
| 1547 | ,'eBay::API::XML::DataType::UserIdFilterType'); | ||||||
| 1548 | } | ||||||
| 1549 | |||||||
| 1550 | |||||||
| 1551 | |||||||
| 1552 | |||||||
| 1553 | |||||||
| 1554 | ## Attribute and Property lists | ||||||
| 1555 | sub getPropertiesList { | ||||||
| 1556 | my $self = shift; | ||||||
| 1557 | return \@gaProperties; | ||||||
| 1558 | } | ||||||
| 1559 | |||||||
| 1560 | sub getAttributesList { | ||||||
| 1561 | my $self = shift; | ||||||
| 1562 | return \@gaAttributes; | ||||||
| 1563 | } | ||||||
| 1564 | |||||||
| 1565 | |||||||
| 1566 | |||||||
| 1567 | 1; |