File Coverage

lib/eBay/API/XML/DataType/MyeBayFavoriteSearchType.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::DataType::MyeBayFavoriteSearchType;
4              
5 1     1   1308 use strict;
  1         3  
  1         29  
6 1     1   4 use warnings;
  1         2  
  1         32  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. MyeBayFavoriteSearchType.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::DataType::MyeBayFavoriteSearchType
21              
22             =head1 DESCRIPTION
23              
24             Characteristics of a saved My eBay Favorite Search.
25              
26              
27              
28             =head1 SYNOPSIS
29              
30             =cut
31              
32              
33             =head1 INHERITANCE
34              
35             eBay::API::XML::DataType::MyeBayFavoriteSearchType inherits from the L class
36              
37             =cut
38              
39 1     1   44 use eBay::API::XML::BaseDataType;
  0            
  0            
40             our @ISA = ("eBay::API::XML::BaseDataType");
41              
42             use eBay::API::XML::DataType::AmountType;
43             use eBay::API::XML::DataType::Enum::CountryCodeType;
44             use eBay::API::XML::DataType::Enum::CurrencyCodeType;
45             use eBay::API::XML::DataType::Enum::ItemConditionCodeType;
46             use eBay::API::XML::DataType::Enum::ItemTypeCodeType;
47             use eBay::API::XML::DataType::Enum::PaymentMethodSearchCodeType;
48             use eBay::API::XML::DataType::Enum::PreferredLocationCodeType;
49             use eBay::API::XML::DataType::Enum::QuantityOperatorCodeType;
50             use eBay::API::XML::DataType::Enum::SearchFlagCodeType;
51             use eBay::API::XML::DataType::Enum::SellerBusinessCodeType;
52             use eBay::API::XML::DataType::Enum::SimpleItemSortCodeType;
53             use eBay::API::XML::DataType::Enum::SortOrderCodeType;
54              
55              
56             my @gaProperties = ( [ 'BidCountMax', 'xs:int', '', '', '' ]
57             , [ 'BidCountMin', 'xs:int', '', '', '' ]
58             , [ 'CategoryID', 'xs:string', '', '', '' ]
59             , [ 'Condition', 'ns:ItemConditionCodeType', ''
60             ,'eBay::API::XML::DataType::Enum::ItemConditionCodeType', '' ]
61             , [ 'Currency', 'ns:CurrencyCodeType', ''
62             ,'eBay::API::XML::DataType::Enum::CurrencyCodeType', '' ]
63             , [ 'EndTimeFrom', 'xs:dateTime', '', '', '' ]
64             , [ 'EndTimeTo', 'xs:dateTime', '', '', '' ]
65             , [ 'ItemSort', 'ns:SimpleItemSortCodeType', ''
66             ,'eBay::API::XML::DataType::Enum::SimpleItemSortCodeType', '' ]
67             , [ 'ItemType', 'ns:ItemTypeCodeType', ''
68             ,'eBay::API::XML::DataType::Enum::ItemTypeCodeType', '' ]
69             , [ 'ItemsAvailableTo', 'ns:CountryCodeType', ''
70             ,'eBay::API::XML::DataType::Enum::CountryCodeType', '' ]
71             , [ 'ItemsLocatedIn', 'ns:CountryCodeType', ''
72             ,'eBay::API::XML::DataType::Enum::CountryCodeType', '' ]
73             , [ 'MaxDistance', 'xs:int', '', '', '' ]
74             , [ 'PaymentMethod', 'ns:PaymentMethodSearchCodeType', ''
75             ,'eBay::API::XML::DataType::Enum::PaymentMethodSearchCodeType', '' ]
76             , [ 'PostalCode', 'xs:string', '', '', '' ]
77             , [ 'PreferredLocation', 'ns:PreferredLocationCodeType', ''
78             ,'eBay::API::XML::DataType::Enum::PreferredLocationCodeType', '' ]
79             , [ 'PriceMax', 'ns:AmountType', ''
80             ,'eBay::API::XML::DataType::AmountType', '1' ]
81             , [ 'PriceMin', 'ns:AmountType', ''
82             ,'eBay::API::XML::DataType::AmountType', '1' ]
83             , [ 'Quantity', 'xs:int', '', '', '' ]
84             , [ 'QuantityOperator', 'ns:QuantityOperatorCodeType', ''
85             ,'eBay::API::XML::DataType::Enum::QuantityOperatorCodeType', '' ]
86             , [ 'QueryKeywords', 'xs:string', '', '', '' ]
87             , [ 'SearchFlag', 'ns:SearchFlagCodeType', '1'
88             ,'eBay::API::XML::DataType::Enum::SearchFlagCodeType', '' ]
89             , [ 'SearchName', 'xs:string', '', '', '' ]
90             , [ 'SearchQuery', 'xs:string', '', '', '' ]
91             , [ 'SellerBusinessType', 'ns:SellerBusinessCodeType', ''
92             ,'eBay::API::XML::DataType::Enum::SellerBusinessCodeType', '' ]
93             , [ 'SellerID', 'xs:string', '1', '', '' ]
94             , [ 'SellerIDExclude', 'xs:string', '1', '', '' ]
95             , [ 'SortOrder', 'ns:SortOrderCodeType', ''
96             ,'eBay::API::XML::DataType::Enum::SortOrderCodeType', '' ]
97             );
98             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
99              
100             my @gaAttributes = (
101             );
102             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
103              
104             =head1 Subroutines:
105              
106             =cut
107              
108             sub new {
109             my $classname = shift;
110             my %args = @_;
111             my $self = $classname->SUPER::new(%args);
112             return $self;
113             }
114              
115             sub isScalar {
116             return 0;
117             }
118              
119              
120              
121             =head2 setBidCountMax()
122              
123             The BidCountMax value in a My eBay Favorite Search. The BidCountMax limits the search results to items with a maximum number of bids.
124              
125             # Argument: 'xs:int'
126              
127             =cut
128              
129             sub setBidCountMax {
130             my $self = shift;
131             $self->{'BidCountMax'} = shift
132             }
133              
134             =head2 getBidCountMax()
135              
136             Calls: GetMyeBayBuying
137             Returned: Conditionally
138             Details: DetailLevel: none, ReturnSummary, ReturnAll
139              
140             # Returns: 'xs:int'
141              
142             =cut
143              
144             sub getBidCountMax {
145             my $self = shift;
146             return $self->{'BidCountMax'};
147             }
148              
149              
150             =head2 setBidCountMin()
151              
152             The BidCountMin value in a My eBay Favorite Search. The BidCountMin limits the results of a search to items with a maximum number of bids.
153              
154             # Argument: 'xs:int'
155              
156             =cut
157              
158             sub setBidCountMin {
159             my $self = shift;
160             $self->{'BidCountMin'} = shift
161             }
162              
163             =head2 getBidCountMin()
164              
165             Calls: GetMyeBayBuying
166             Returned: Conditionally
167             Details: DetailLevel: none, ReturnSummary, ReturnAll
168              
169             # Returns: 'xs:int'
170              
171             =cut
172              
173             sub getBidCountMin {
174             my $self = shift;
175             return $self->{'BidCountMin'};
176             }
177              
178              
179             =head2 setCategoryID()
180              
181             The CategoryID of a My eBay Favorite Search. CategoryID is used to
182             restrict the query to a specific category. CategoryID cannot be used
183             with the following input fields: EndTimeFrom, EndTimeTo, PriceMin, or PriceMax.
184              
185             # Argument: 'xs:string'
186              
187             =cut
188              
189             sub setCategoryID {
190             my $self = shift;
191             $self->{'CategoryID'} = shift
192             }
193              
194             =head2 getCategoryID()
195              
196             Calls: GetMyeBayBuying
197             Returned: Conditionally
198             Details: DetailLevel: none, ReturnSummary, ReturnAll
199              
200             # Returns: 'xs:string'
201              
202             =cut
203              
204             sub getCategoryID {
205             my $self = shift;
206             return $self->{'CategoryID'};
207             }
208              
209              
210             =head2 setCondition()
211              
212             The Condition value in a My eBay Favorite Search. Condition limits the results to new or used items, plus items that have no condition specified.
213              
214             # Argument: 'ns:ItemConditionCodeType'
215              
216             =cut
217              
218             sub setCondition {
219             my $self = shift;
220             $self->{'Condition'} = shift
221             }
222              
223             =head2 getCondition()
224              
225             Calls: GetMyeBayBuying
226             Returned: Conditionally
227             Details: DetailLevel: none, ReturnSummary, ReturnAll
228              
229             # Returns: 'ns:ItemConditionCodeType'
230              
231             =cut
232              
233             sub getCondition {
234             my $self = shift;
235             return $self->{'Condition'};
236             }
237              
238              
239             =head2 setCurrency()
240              
241             The Currency of a My eBay Favorite Search. The currency value limits
242             the result set to just those items with a specified currency.
243              
244             # Argument: 'ns:CurrencyCodeType'
245              
246             =cut
247              
248             sub setCurrency {
249             my $self = shift;
250             $self->{'Currency'} = shift
251             }
252              
253             =head2 getCurrency()
254              
255             Calls: GetMyeBayBuying
256             Returned: Conditionally
257             Details: DetailLevel: none, ReturnSummary, ReturnAll
258              
259             # Returns: 'ns:CurrencyCodeType'
260              
261             =cut
262              
263             sub getCurrency {
264             my $self = shift;
265             return $self->{'Currency'};
266             }
267              
268              
269             =head2 setEndTimeFrom()
270              
271             The EndTimeFrom of a My eBay Favorite Search. EndTimeFrom and EndTimeTo limit the results to items ending within a time range. EndTimeFrom specifies the beginning of the time range.
272              
273             # Argument: 'xs:dateTime'
274              
275             =cut
276              
277             sub setEndTimeFrom {
278             my $self = shift;
279             $self->{'EndTimeFrom'} = shift
280             }
281              
282             =head2 getEndTimeFrom()
283              
284             Calls: GetMyeBayBuying
285             Returned: Conditionally
286             Details: DetailLevel: none, ReturnSummary, ReturnAll
287              
288             # Returns: 'xs:dateTime'
289              
290             =cut
291              
292             sub getEndTimeFrom {
293             my $self = shift;
294             return $self->{'EndTimeFrom'};
295             }
296              
297              
298             =head2 setEndTimeTo()
299              
300             The EndTimeTo of a My eBay Favorite Search. EndTimeFrom and EndTimeTo limit the results to items ending within a time range. EndTimeTo specifies the end of the time range.
301              
302             # Argument: 'xs:dateTime'
303              
304             =cut
305              
306             sub setEndTimeTo {
307             my $self = shift;
308             $self->{'EndTimeTo'} = shift
309             }
310              
311             =head2 getEndTimeTo()
312              
313             Calls: GetMyeBayBuying
314             Returned: Conditionally
315             Details: DetailLevel: none, ReturnSummary, ReturnAll
316              
317             # Returns: 'xs:dateTime'
318              
319             =cut
320              
321             sub getEndTimeTo {
322             my $self = shift;
323             return $self->{'EndTimeTo'};
324             }
325              
326              
327             =head2 setItemSort()
328              
329             The ItemSort of a My eBay Favorite Search. Values for ItemSort include
330             Best Match, EndTime, Distance, and other options listed in SimpleItemSortCodeType.
331              
332             # Argument: 'ns:SimpleItemSortCodeType'
333              
334             =cut
335              
336             sub setItemSort {
337             my $self = shift;
338             $self->{'ItemSort'} = shift
339             }
340              
341             =head2 getItemSort()
342              
343             Calls: GetMyeBayBuying
344             Returned: Conditionally
345             Details: DetailLevel: none, ReturnSummary, ReturnAll
346              
347             # Returns: 'ns:SimpleItemSortCodeType'
348              
349             =cut
350              
351             sub getItemSort {
352             my $self = shift;
353             return $self->{'ItemSort'};
354             }
355              
356              
357             =head2 setItemType()
358              
359             The ItemType of a My eBay Favorite Search. Setting ItemType in a search
360             limits the results to items of a specific type, such as Fixed Price items,
361             Store Inventory items, items with AdFormat, etc.
362              
363             # Argument: 'ns:ItemTypeCodeType'
364              
365             =cut
366              
367             sub setItemType {
368             my $self = shift;
369             $self->{'ItemType'} = shift
370             }
371              
372             =head2 getItemType()
373              
374             Calls: GetMyeBayBuying
375             Returned: Conditionally
376             Details: DetailLevel: none, ReturnSummary, ReturnAll
377              
378             # Returns: 'ns:ItemTypeCodeType'
379              
380             =cut
381              
382             sub getItemType {
383             my $self = shift;
384             return $self->{'ItemType'};
385             }
386              
387              
388             =head2 setItemsAvailableTo()
389              
390             The ItemsAvailableTo value in a My eBay Favorite Search. ItemsAvailableTo limits the result set to just those items available to the specified country.
391              
392             # Argument: 'ns:CountryCodeType'
393              
394             =cut
395              
396             sub setItemsAvailableTo {
397             my $self = shift;
398             $self->{'ItemsAvailableTo'} = shift
399             }
400              
401             =head2 getItemsAvailableTo()
402              
403             Calls: GetMyeBayBuying
404             Returned: Conditionally
405             Details: DetailLevel: none, ReturnSummary, ReturnAll
406              
407             # Returns: 'ns:CountryCodeType'
408              
409             =cut
410              
411             sub getItemsAvailableTo {
412             my $self = shift;
413             return $self->{'ItemsAvailableTo'};
414             }
415              
416              
417             =head2 setItemsLocatedIn()
418              
419             The ItemsLocatedIn value in a My eBay Favorite Search. ItemsLocatedIn limits the result set to just those items located in the specified country.
420              
421             # Argument: 'ns:CountryCodeType'
422              
423             =cut
424              
425             sub setItemsLocatedIn {
426             my $self = shift;
427             $self->{'ItemsLocatedIn'} = shift
428             }
429              
430             =head2 getItemsLocatedIn()
431              
432             Calls: GetMyeBayBuying
433             Returned: Conditionally
434             Details: DetailLevel: none, ReturnSummary, ReturnAll
435              
436             # Returns: 'ns:CountryCodeType'
437              
438             =cut
439              
440             sub getItemsLocatedIn {
441             my $self = shift;
442             return $self->{'ItemsLocatedIn'};
443             }
444              
445              
446             =head2 setMaxDistance()
447              
448             The MaxDistance of a My eBay Favorite Search. This is the maximum distance from the item-location value specified in PostalCode.
449              
450             # Argument: 'xs:int'
451              
452             =cut
453              
454             sub setMaxDistance {
455             my $self = shift;
456             $self->{'MaxDistance'} = shift
457             }
458              
459             =head2 getMaxDistance()
460              
461             Calls: GetMyeBayBuying
462             Returned: Conditionally
463             Details: DetailLevel: none, ReturnSummary, ReturnAll
464              
465             # Returns: 'xs:int'
466              
467             =cut
468              
469             sub getMaxDistance {
470             my $self = shift;
471             return $self->{'MaxDistance'};
472             }
473              
474              
475             =head2 setPaymentMethod()
476              
477             The PaymentMethod value in a My eBay Favorite Search. The PaymentMethod limits the search results to items that accept a specific payment method or methods.
478              
479             # Argument: 'ns:PaymentMethodSearchCodeType'
480              
481             =cut
482              
483             sub setPaymentMethod {
484             my $self = shift;
485             $self->{'PaymentMethod'} = shift
486             }
487              
488             =head2 getPaymentMethod()
489              
490             Calls: GetMyeBayBuying
491             Returned: Conditionally
492             Details: DetailLevel: none, ReturnSummary, ReturnAll
493              
494             # Returns: 'ns:PaymentMethodSearchCodeType'
495              
496             =cut
497              
498             sub getPaymentMethod {
499             my $self = shift;
500             return $self->{'PaymentMethod'};
501             }
502              
503              
504             =head2 setPostalCode()
505              
506             The PostalCode of a My eBay Favorite Search. This value indicates the
507             postal code where an item is located.
508              
509             # Argument: 'xs:string'
510              
511             =cut
512              
513             sub setPostalCode {
514             my $self = shift;
515             $self->{'PostalCode'} = shift
516             }
517              
518             =head2 getPostalCode()
519              
520             Calls: GetMyeBayBuying
521             Returned: Conditionally
522             Details: DetailLevel: none, ReturnSummary, ReturnAll
523              
524             # Returns: 'xs:string'
525              
526             =cut
527              
528             sub getPostalCode {
529             my $self = shift;
530             return $self->{'PostalCode'};
531             }
532              
533              
534             =head2 setPreferredLocation()
535              
536             The PreferredLocation value of a My eBay Favorite Search. The PreferredLocation specifies the criteria for filtering search results by site, where site is determined by the site ID in the request.
537              
538             # Argument: 'ns:PreferredLocationCodeType'
539              
540             =cut
541              
542             sub setPreferredLocation {
543             my $self = shift;
544             $self->{'PreferredLocation'} = shift
545             }
546              
547             =head2 getPreferredLocation()
548              
549             Calls: GetMyeBayBuying
550             Returned: Conditionally
551             Details: DetailLevel: none, ReturnSummary, ReturnAll
552              
553             # Returns: 'ns:PreferredLocationCodeType'
554              
555             =cut
556              
557             sub getPreferredLocation {
558             my $self = shift;
559             return $self->{'PreferredLocation'};
560             }
561              
562              
563             =head2 setPriceMax()
564              
565             The PriceMax of a My eBay Favorite Search. PriceMax specifies
566             the maximum current price an item can have to be included in
567             the search results. PriceMax can be used with PriceMin to specify
568             a range of prices.
569              
570             # Argument: 'ns:AmountType'
571              
572             =cut
573              
574             sub setPriceMax {
575             my $self = shift;
576             $self->{'PriceMax'} = shift
577             }
578              
579             =head2 getPriceMax()
580              
581             Calls: GetMyeBayBuying
582             Returned: Conditionally
583             Details: DetailLevel: none, ReturnSummary, ReturnAll
584              
585             # Returns: 'ns:AmountType'
586              
587             =cut
588              
589             sub getPriceMax {
590             my $self = shift;
591             return $self->_getDataTypeInstance( 'PriceMax'
592             ,'eBay::API::XML::DataType::AmountType');
593             }
594              
595              
596             =head2 setPriceMin()
597              
598             The PriceMin of a My eBay Favorite Search. PriceMin specifies the
599             minimum current price an item listing can have to be included in
600             the search results. PriceMin can be used with PriceMax to specify
601             a range of prices.
602              
603             # Argument: 'ns:AmountType'
604              
605             =cut
606              
607             sub setPriceMin {
608             my $self = shift;
609             $self->{'PriceMin'} = shift
610             }
611              
612             =head2 getPriceMin()
613              
614             Calls: GetMyeBayBuying
615             Returned: Conditionally
616             Details: DetailLevel: none, ReturnSummary, ReturnAll
617              
618             # Returns: 'ns:AmountType'
619              
620             =cut
621              
622             sub getPriceMin {
623             my $self = shift;
624             return $self->_getDataTypeInstance( 'PriceMin'
625             ,'eBay::API::XML::DataType::AmountType');
626             }
627              
628              
629             =head2 setQuantity()
630              
631             The Quantity value in a My eBay Favorite Search. The Quantity limits the search results to listings that offer a certain number of items matching the query. The Quantity field is used with QuantityOperator to specify that you are seeking listings with quantities greater than, equal to, or less than the value you specify in Quantity.
632              
633             # Argument: 'xs:int'
634              
635             =cut
636              
637             sub setQuantity {
638             my $self = shift;
639             $self->{'Quantity'} = shift
640             }
641              
642             =head2 getQuantity()
643              
644             Calls: GetMyeBayBuying
645             Returned: Conditionally
646             Details: DetailLevel: none, ReturnSummary, ReturnAll
647              
648             # Returns: 'xs:int'
649              
650             =cut
651              
652             sub getQuantity {
653             my $self = shift;
654             return $self->{'Quantity'};
655             }
656              
657              
658             =head2 setQuantityOperator()
659              
660             The Quantity Operator value in a My eBay Favorite Search. The Quantity Operator limits the results to listings with quantities greater than, equal to, or less than the value you specify in Quantity.
661              
662             # Argument: 'ns:QuantityOperatorCodeType'
663              
664             =cut
665              
666             sub setQuantityOperator {
667             my $self = shift;
668             $self->{'QuantityOperator'} = shift
669             }
670              
671             =head2 getQuantityOperator()
672              
673             Calls: GetMyeBayBuying
674             Returned: Conditionally
675             Details: DetailLevel: none, ReturnSummary, ReturnAll
676              
677             # Returns: 'ns:QuantityOperatorCodeType'
678              
679             =cut
680              
681             sub getQuantityOperator {
682             my $self = shift;
683             return $self->{'QuantityOperator'};
684             }
685              
686              
687             =head2 setQueryKeywords()
688              
689             The QueryKeywords of a My eBay Favorite Search. A search that uses
690             QueryKeywords is a query that specifies a string for searching titles of items on eBay.

691             If you are using a URL, then to search for multiple words,
692             use "%20". For example, use Harry%20Potter to search for items
693             containing those words in any order.

694             You can incorporate wildcards into a multi-word search, as in the following: ap*%20ip*.

695             The words "and" and "or" are treated like any other word. Only use "and",
696             "or", or "the" if you are searching for listings containing these words.
697              
698             # Argument: 'xs:string'
699              
700             =cut
701              
702             sub setQueryKeywords {
703             my $self = shift;
704             $self->{'QueryKeywords'} = shift
705             }
706              
707             =head2 getQueryKeywords()
708              
709             Calls: GetMyeBayBuying
710             Returned: Conditionally
711             Details: DetailLevel: none, ReturnSummary, ReturnAll
712              
713             # Returns: 'xs:string'
714              
715             =cut
716              
717             sub getQueryKeywords {
718             my $self = shift;
719             return $self->{'QueryKeywords'};
720             }
721              
722              
723             =head2 setSearchFlag()
724              
725             The SearchFlag value in a My eBay Favorite Search. The SearchFlag allows you to specify whether you want to include charity listings, free-shipping listings, and listings with other features in your search.
726              
727             # Argument: reference to an array
728             of 'ns:SearchFlagCodeType'
729              
730             =cut
731              
732             sub setSearchFlag {
733             my $self = shift;
734             $self->{'SearchFlag'} =
735             $self->convertArray_To_RefToArrayIfNeeded(@_);
736             }
737              
738             =head2 getSearchFlag()
739              
740             Calls: GetMyeBayBuying
741             Returned: Conditionally
742             AllValuesExcept: DigitalDelivery
743             Details: DetailLevel: none, ReturnSummary, ReturnAll
744              
745             # Returns: reference to an array
746             of 'ns:SearchFlagCodeType'
747              
748             =cut
749              
750             sub getSearchFlag {
751             my $self = shift;
752             return $self->_getDataTypeArray('SearchFlag');
753             }
754              
755              
756             =head2 setSearchName()
757              
758             The name of a My eBay Favorite Search.
759              
760             # Argument: 'xs:string'
761              
762             =cut
763              
764             sub setSearchName {
765             my $self = shift;
766             $self->{'SearchName'} = shift
767             }
768              
769             =head2 getSearchName()
770              
771             Calls: GetMyeBayBuying
772             Returned: Conditionally
773             Details: DetailLevel: none, ReturnSummary, ReturnAll
774              
775             # Returns: 'xs:string'
776              
777             =cut
778              
779             sub getSearchName {
780             my $self = shift;
781             return $self->{'SearchName'};
782             }
783              
784              
785             =head2 setSearchQuery()
786              
787             The query string of a My eBay Favorite Search. You can paste this value, that is returned as a URL, into a browser to re-play the Favorite Search using the Trading Web Service.
788              
789             # Argument: 'xs:string'
790              
791             =cut
792              
793             sub setSearchQuery {
794             my $self = shift;
795             $self->{'SearchQuery'} = shift
796             }
797              
798             =head2 getSearchQuery()
799              
800             Calls: GetMyeBayBuying
801             Returned: Conditionally
802             Details: DetailLevel: none, ReturnSummary, ReturnAll
803              
804             # Returns: 'xs:string'
805              
806             =cut
807              
808             sub getSearchQuery {
809             my $self = shift;
810             return $self->{'SearchQuery'};
811             }
812              
813              
814             =head2 setSellerBusinessType()
815              
816             The SellerBusinessType value in a My eBay Favorite Search. The SellerBusinessType limits the search results to those of a particular seller business type such as commercial or private. SellerBusinessType is only available for sites that have business seller features enabled.
817              
818             # Argument: 'ns:SellerBusinessCodeType'
819              
820             =cut
821              
822             sub setSellerBusinessType {
823             my $self = shift;
824             $self->{'SellerBusinessType'} = shift
825             }
826              
827             =head2 getSellerBusinessType()
828              
829             Calls: GetMyeBayBuying
830             Returned: Conditionally
831             Details: DetailLevel: none, ReturnSummary, ReturnAll
832              
833             # Returns: 'ns:SellerBusinessCodeType'
834              
835             =cut
836              
837             sub getSellerBusinessType {
838             my $self = shift;
839             return $self->{'SellerBusinessType'};
840             }
841              
842              
843             =head2 setSellerID()
844              
845             The SellerID value in a My eBay Favorite Search. The SellerID is the eBay ID of a specific seller.
846              
847             # Argument: reference to an array
848             of 'xs:string'
849              
850             =cut
851              
852             sub setSellerID {
853             my $self = shift;
854             $self->{'SellerID'} =
855             $self->convertArray_To_RefToArrayIfNeeded(@_);
856             }
857              
858             =head2 getSellerID()
859              
860             Calls: GetMyeBayBuying
861             Returned: Conditionally
862             Details: DetailLevel: none, ReturnSummary, ReturnAll
863              
864             # Returns: reference to an array
865             of 'xs:string'
866              
867             =cut
868              
869             sub getSellerID {
870             my $self = shift;
871             return $self->_getDataTypeArray('SellerID');
872             }
873              
874              
875             =head2 setSellerIDExclude()
876              
877             The SellerIDExclude value in a My eBay Favorite Search. The SellerIDExclude limits the search results to exclude items sold by a specific seller or by specific sellers.
878              
879             # Argument: reference to an array
880             of 'xs:string'
881              
882             =cut
883              
884             sub setSellerIDExclude {
885             my $self = shift;
886             $self->{'SellerIDExclude'} =
887             $self->convertArray_To_RefToArrayIfNeeded(@_);
888             }
889              
890             =head2 getSellerIDExclude()
891              
892             Calls: GetMyeBayBuying
893             Returned: Conditionally
894             Details: DetailLevel: none, ReturnSummary, ReturnAll
895              
896             # Returns: reference to an array
897             of 'xs:string'
898              
899             =cut
900              
901             sub getSellerIDExclude {
902             my $self = shift;
903             return $self->_getDataTypeArray('SellerIDExclude');
904             }
905              
906              
907             =head2 setSortOrder()
908              
909             The SortOrder of a My eBay Favorite Search. This value specifies whether
910             you want to sort search results in ascending or descending order, in conjunction with the value you specify in ItemSort.
911              
912             # Argument: 'ns:SortOrderCodeType'
913              
914             =cut
915              
916             sub setSortOrder {
917             my $self = shift;
918             $self->{'SortOrder'} = shift
919             }
920              
921             =head2 getSortOrder()
922              
923             Calls: GetMyeBayBuying
924             Returned: Conditionally
925             Details: DetailLevel: none, ReturnSummary, ReturnAll
926              
927             # Returns: 'ns:SortOrderCodeType'
928              
929             =cut
930              
931             sub getSortOrder {
932             my $self = shift;
933             return $self->{'SortOrder'};
934             }
935              
936              
937              
938              
939              
940             ## Attribute and Property lists
941             sub getPropertiesList {
942             my $self = shift;
943             return \@gaProperties;
944             }
945              
946             sub getAttributesList {
947             my $self = shift;
948             return \@gaAttributes;
949             }
950              
951              
952              
953             1;