File Coverage

lib/eBay/API/XML/Call/GetMyeBayBuying.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::GetMyeBayBuying;
4              
5 1     1   2626 use strict;
  1         3  
  1         37  
6 1     1   6 use warnings;
  1         1  
  1         54  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetMyeBayBuying.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::GetMyeBayBuying
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetMyeBayBuying inherits from the L class
34              
35             =cut
36              
37 1     1   57 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetMyeBayBuying::GetMyeBayBuyingRequestType;
41             use eBay::API::XML::Call::GetMyeBayBuying::GetMyeBayBuyingResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetMyeBayBuying';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetMyeBayBuying::GetMyeBayBuyingRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetMyeBayBuying::GetMyeBayBuyingResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setBestOfferList()
63              
64             Specifies how to return the list of items on which the user has placed
65             best offers. Allowed values are Include, ListingType, Sort, DurationInDays
66             (0-60 valid), IncludeNotes, and Pagination. Include in the request to
67             return this container at a DetailLevel of ReturnSummary.
68              
69             RequiredInput: No
70             # Argument: 'ns:ItemListCustomizationType'
71              
72             =cut
73            
74             sub setBestOfferList {
75             my $self = shift;
76             my $pBestOfferList = shift;
77             $self->getRequestDataType()->setBestOfferList($pBestOfferList);
78             }
79              
80             =head2 setBidAssistantList()
81              
82             This is an optional element, used to indicate whether the Bid Assistant feature is being used.
83              
84             RequiredInput: No
85             # Argument: 'ns:BidAssistantListType'
86              
87             =cut
88            
89             sub setBidAssistantList {
90             my $self = shift;
91             my $pBidAssistantList = shift;
92             $self->getRequestDataType()->setBidAssistantList($pBidAssistantList);
93             }
94              
95             =head2 setBidList()
96              
97             Specifies how to return the list of items bid on in the buyer's My eBay
98             Bidding list. Allowed values are Sort and IncludeNotes.Include in the request to
99             return this container at a DetailLevel of ReturnSummary.
100              
101             RequiredInput: No
102             # Argument: 'ns:ItemListCustomizationType'
103              
104             =cut
105            
106             sub setBidList {
107             my $self = shift;
108             my $pBidList = shift;
109             $self->getRequestDataType()->setBidList($pBidList);
110             }
111              
112             =head2 setDeletedFromLostList()
113              
114             Specifies how to return the list of items lost and deleted from the buyer's My
115             eBay list. Allowed values are DurationInDays (0-60), IncludeNotes, Sort,
116             and Pagination. Include in the request to return this container
117             at a DetailLevel of ReturnSummary.
118              
119             RequiredInput: No
120             # Argument: 'ns:ItemListCustomizationType'
121              
122             =cut
123            
124             sub setDeletedFromLostList {
125             my $self = shift;
126             my $pDeletedFromLostList = shift;
127             $self->getRequestDataType()->setDeletedFromLostList($pDeletedFromLostList);
128             }
129              
130             =head2 setDeletedFromWonList()
131              
132             Specifies how to return the list of items won and deleted from the buyer's My
133             eBay list. Allowed values are DurationInDays (0-60), IncludeNotes, Sort,
134             and Pagination. Include in the request to return this container at
135             a DetailLevel of ReturnSummary.
136              
137             RequiredInput: No
138             # Argument: 'ns:ItemListCustomizationType'
139              
140             =cut
141            
142             sub setDeletedFromWonList {
143             my $self = shift;
144             my $pDeletedFromWonList = shift;
145             $self->getRequestDataType()->setDeletedFromWonList($pDeletedFromWonList);
146             }
147              
148             =head2 setFavoriteSearches()
149              
150             Specifies how to return the list of favorite searches in the user's My
151             eBay list. Only returned if the user has Favorite Searches. All detail levels return the search name, search query, and search elements, such
152             as QueryKeywords, SortOrder, and Condition. Do not use an Include tag
153             if you are using a detail level of ReturnAll.
154              
155             RequiredInput: No
156             # Argument: 'ns:MyeBaySelectionType'
157              
158             =cut
159            
160             sub setFavoriteSearches {
161             my $self = shift;
162             my $pFavoriteSearches = shift;
163             $self->getRequestDataType()->setFavoriteSearches($pFavoriteSearches);
164             }
165              
166             =head2 setFavoriteSellers()
167              
168             Specifies how to return the list of favorite sellers in the user's My eBay
169             list. All values are allowed. Include in the request to return this
170             container at a DetailLevel of ReturnSummary.
171              
172             RequiredInput: No
173             # Argument: 'ns:MyeBaySelectionType'
174              
175             =cut
176            
177             sub setFavoriteSellers {
178             my $self = shift;
179             my $pFavoriteSellers = shift;
180             $self->getRequestDataType()->setFavoriteSellers($pFavoriteSellers);
181             }
182              
183             =head2 setLostList()
184              
185             Specifies how to return the list of items bid on and lost in the user's My
186             eBay list. Allowed values are DurationInDays (valid values 0-60), Sort,
187             IncludeNotes, and Pagination. Include in the request to return this
188             container at a DetailLevel of ReturnSummary.
189              
190             RequiredInput: No
191             # Argument: 'ns:ItemListCustomizationType'
192              
193             =cut
194            
195             sub setLostList {
196             my $self = shift;
197             my $pLostList = shift;
198             $self->getRequestDataType()->setLostList($pLostList);
199             }
200              
201             =head2 setSecondChanceOffer()
202              
203             Specifies how to return the list of second chance offers in the user's My
204             eBay list. All values are allowed. Include in the request to return this
205             container at a DetailLevel of ReturnSummary.
206              
207             RequiredInput: No
208             # Argument: 'ns:MyeBaySelectionType'
209              
210             =cut
211            
212             sub setSecondChanceOffer {
213             my $self = shift;
214             my $pSecondChanceOffer = shift;
215             $self->getRequestDataType()->setSecondChanceOffer($pSecondChanceOffer);
216             }
217              
218             =head2 setWatchList()
219              
220             Specifies how to return the list of watched items in the user's My eBay
221             list. Include in the request to return this container at a DetailLevel of
222             ReturnSummary.
223              
224             RequiredInput: No
225             # Argument: 'ns:ItemListCustomizationType'
226              
227             =cut
228            
229             sub setWatchList {
230             my $self = shift;
231             my $pWatchList = shift;
232             $self->getRequestDataType()->setWatchList($pWatchList);
233             }
234              
235             =head2 setWonList()
236              
237             Specifies how to return the list of items bid on and won in the user's My
238             eBay list. Allowed values are DurationInDays (valid values 0-60), Sort,
239             IncludeNotes, and Pagination. Include in the request to return this
240             container at a DetailLevel of ReturnSummary.
241              
242             RequiredInput: No
243             # Argument: 'ns:ItemListCustomizationType'
244              
245             =cut
246            
247             sub setWonList {
248             my $self = shift;
249             my $pWonList = shift;
250             $self->getRequestDataType()->setWonList($pWonList);
251             }
252              
253              
254              
255             #
256             # output properties
257             #
258              
259             =head2 getBestOfferList()
260              
261             Contains the items the user has placed best offers on. Only returned if
262             items exist that meet the request criteria.
263              
264             Returned: Conditionally
265             Details: DetailLevel: none, ReturnSummary, ReturnAll
266             # Returns: 'ns:PaginatedItemArrayType'
267              
268             =cut
269            
270             sub getBestOfferList {
271             my $self = shift;
272             return $self->getResponseDataType()->getBestOfferList();
273             }
274              
275             =head2 getBidAssistantList()
276              
277             Contains the items that were bid on using the Bid Assistant feature.
278              
279             Returned: Conditionally
280             Details: DetailLevel: none, ReturnSummary, ReturnAll
281             # Returns: 'ns:BidGroupArrayType'
282              
283             =cut
284            
285             sub getBidAssistantList {
286             my $self = shift;
287             return $self->getResponseDataType()->getBidAssistantList();
288             }
289              
290             =head2 getBidList()
291              
292             Contains all the items the buyer has bid on.
293             Only returned if items exist that meet the request criteria.
294              
295             Returned: Conditionally
296             Details: DetailLevel: none, ReturnSummary, ReturnAll
297             # Returns: 'ns:PaginatedItemArrayType'
298              
299             =cut
300            
301             sub getBidList {
302             my $self = shift;
303             return $self->getResponseDataType()->getBidList();
304             }
305              
306             =head2 getBuyingSummary()
307              
308             Contains a summary of the items the user has bid on. Returned at all detail levels.
309              
310             Returned: Always
311             Details: DetailLevel: none, ReturnSummary, ReturnAll
312             # Returns: 'ns:BuyingSummaryType'
313              
314             =cut
315            
316             sub getBuyingSummary {
317             my $self = shift;
318             return $self->getResponseDataType()->getBuyingSummary();
319             }
320              
321             =head2 getDeletedFromLostList()
322              
323             Contains the items the buyer has bid on, lost, and deleted from My eBay.
324             Only returned if items exist that meet the request criteria.
325              
326             Returned: Conditionally
327             Details: DetailLevel: none, ReturnSummary, ReturnAll
328             # Returns: 'ns:PaginatedItemArrayType'
329              
330             =cut
331            
332             sub getDeletedFromLostList {
333             my $self = shift;
334             return $self->getResponseDataType()->getDeletedFromLostList();
335             }
336              
337             =head2 getDeletedFromWonList()
338              
339             Contains the items the buyer has bid on, won, and deleted from My eBay.
340             Only returned if items exist that meet the request criteria.
341              
342             Returned: Conditionally
343             Details: DetailLevel: none, ReturnSummary, ReturnAll
344             # Returns: 'ns:PaginatedOrderTransactionArrayType'
345              
346             =cut
347            
348             sub getDeletedFromWonList {
349             my $self = shift;
350             return $self->getResponseDataType()->getDeletedFromWonList();
351             }
352              
353             =head2 getFavoriteSearches()
354              
355             Contains a list of the user's favorite searches. Only returned if the
356             user has Favorite Searches. The search name, search query, and search
357             elements, such as QueryKeywords, SortOrder, and Condition are returned.
358            

359             You can paste the Search Query response, that comes back as a URL, into a browser to re-play the Favorite Search.

360             The search elements that are returned by this call can be used as input
361             for the Shopping Web Service FindItemsAdvanced request.
362              
363             Returned: Conditionally
364             Details: DetailLevel: none, ReturnSummary, ReturnAll
365             # Returns: 'ns:MyeBayFavoriteSearchListType'
366              
367             =cut
368            
369             sub getFavoriteSearches {
370             my $self = shift;
371             return $self->getResponseDataType()->getFavoriteSearches();
372             }
373              
374             =head2 getFavoriteSellers()
375              
376             Contains a list of the user's favorite sellers. Only returned if items
377             exist that meet the request criteria.
378              
379             Returned: Conditionally
380             Details: DetailLevel: none, ReturnSummary, ReturnAll
381             # Returns: 'ns:MyeBayFavoriteSellerListType'
382              
383             =cut
384            
385             sub getFavoriteSellers {
386             my $self = shift;
387             return $self->getResponseDataType()->getFavoriteSellers();
388             }
389              
390             =head2 getLostList()
391              
392             Contains the items the user has bid on and lost. Only returned if items
393             exist that meet the request criteria.
394              
395             Returned: Conditionally
396             Details: DetailLevel: none, ReturnSummary, ReturnAll
397             # Returns: 'ns:PaginatedItemArrayType'
398              
399             =cut
400            
401             sub getLostList {
402             my $self = shift;
403             return $self->getResponseDataType()->getLostList();
404             }
405              
406             =head2 getSecondChanceOffer()
407              
408             Contains the list of second chance offers the user has received. Only
409             returned if items exist that meet the request criteria.
410              
411             Returned: Conditionally
412             Details: DetailLevel: none, ReturnSummary, ReturnAll
413             # Returns: reference to an array
414             of 'ns:ItemType'
415              
416             =cut
417            
418             sub getSecondChanceOffer {
419             my $self = shift;
420             return $self->getResponseDataType()->getSecondChanceOffer();
421             }
422              
423             =head2 getWatchList()
424              
425             Contains the items the user is watching. Only returned if items exist that
426             meet the request criteria.
427              
428             Returned: Conditionally
429             Details: DetailLevel: none, ReturnSummary, ReturnAll
430             # Returns: 'ns:PaginatedItemArrayType'
431              
432             =cut
433            
434             sub getWatchList {
435             my $self = shift;
436             return $self->getResponseDataType()->getWatchList();
437             }
438              
439             =head2 getWonList()
440              
441             Contains the items the user has bid on and won. Only returned if items
442             exist that meet the request criteria.
443              
444             Returned: Conditionally
445             Details: DetailLevel: none, ReturnSummary, ReturnAll
446             # Returns: 'ns:PaginatedOrderTransactionArrayType'
447              
448             =cut
449            
450             sub getWonList {
451             my $self = shift;
452             return $self->getResponseDataType()->getWonList();
453             }
454              
455              
456              
457              
458              
459             1;