File Coverage

lib/eBay/API/XML/Call/GetMyeBaySelling.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::GetMyeBaySelling;
4              
5 1     1   2564 use strict;
  1         3  
  1         27  
6 1     1   4 use warnings;
  1         2  
  1         26  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetMyeBaySelling.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::GetMyeBaySelling
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetMyeBaySelling inherits from the L class
34              
35             =cut
36              
37 1     1   35 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetMyeBaySelling::GetMyeBaySellingRequestType;
41             use eBay::API::XML::Call::GetMyeBaySelling::GetMyeBaySellingResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetMyeBaySelling';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetMyeBaySelling::GetMyeBaySellingRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetMyeBaySelling::GetMyeBaySellingResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setActiveList()
63              
64             Contains the list of items the user is actively selling whose listings are active.
65             Valid subelements are Sort, IncludeNotes, Pagination, and ListingType (with valid
66             values Auction, FixedPriceItem, StoresFixedPrice, or AdType).
67             Note that if a DetailLevel of ReturnAll is specified in the request, this element is ignored as a way to filter the response, and ALL containers are returned.
68              
69             RequiredInput: No
70             # Argument: 'ns:ItemListCustomizationType'
71              
72             =cut
73            
74             sub setActiveList {
75             my $self = shift;
76             my $pActiveList = shift;
77             $self->getRequestDataType()->setActiveList($pActiveList);
78             }
79              
80             =head2 setBidList()
81              
82             Specifies how to return the list of items bid on in the seller's My eBay
83             Active Selling/Items I'm Selling list. Allowed values are Sort and
84             IncludeNotes.Include in the request to return this container
85             at a DetailLevel of ReturnSummary.
86              
87             RequiredInput: No
88             # Argument: 'ns:ItemListCustomizationType'
89              
90             =cut
91            
92             sub setBidList {
93             my $self = shift;
94             my $pBidList = shift;
95             $self->getRequestDataType()->setBidList($pBidList);
96             }
97              
98             =head2 setDeletedFromSoldList()
99              
100             Specifies how to return the list of items the seller has sold and then deleted
101             from My eBay. Allowed values are DurationInDays (0-90), Sort, IncludeNotes,
102             and Pagination. Note that if a DetailLevel of ReturnAll is specified
103             in the request, this element is ignored as a way to filter the response,
104             and ALL containers are returned.
105              
106             RequiredInput: No
107             # Argument: 'ns:ItemListCustomizationType'
108              
109             =cut
110            
111             sub setDeletedFromSoldList {
112             my $self = shift;
113             my $pDeletedFromSoldList = shift;
114             $self->getRequestDataType()->setDeletedFromSoldList($pDeletedFromSoldList);
115             }
116              
117             =head2 setDeletedFromUnsoldList()
118              
119             Specifies how to return the list of items the seller has either ended or not sold which
120             have been deleted from My eBay. Allowed values are DurationInDays (0-90), Sort, IncludeNotes,
121             and Pagination. Note that if a DetailLevel of ReturnAll is specified
122             in the request, this element is ignored as a way to filter the response,
123             and ALL containers are returned.
124              
125             RequiredInput: No
126             # Argument: 'ns:ItemListCustomizationType'
127              
128             =cut
129            
130             sub setDeletedFromUnsoldList {
131             my $self = shift;
132             my $pDeletedFromUnsoldList = shift;
133             $self->getRequestDataType()->setDeletedFromUnsoldList($pDeletedFromUnsoldList);
134             }
135              
136             =head2 setScheduledList()
137              
138             Contains the list of items the user has scheduled to sell but whose listings have not yet opened.
139             Valid subelements are Sort, IncludeNotes, and Pagination.
140              
141             RequiredInput: No
142             # Argument: 'ns:ItemListCustomizationType'
143              
144             =cut
145            
146             sub setScheduledList {
147             my $self = shift;
148             my $pScheduledList = shift;
149             $self->getRequestDataType()->setScheduledList($pScheduledList);
150             }
151              
152             =head2 setSoldList()
153              
154             Contains the list of items the user has sold. Valid subelements are DurationInDays
155             (with valid values 0-60), IncludeNotes, and Pagination.
156             Note that if a DetailLevel of ReturnAll is specified in the request, this element is ignored as a way to filter the response, and ALL containers are returned.
157              
158             RequiredInput: No
159             # Argument: 'ns:ItemListCustomizationType'
160              
161             =cut
162            
163             sub setSoldList {
164             my $self = shift;
165             my $pSoldList = shift;
166             $self->getRequestDataType()->setSoldList($pSoldList);
167             }
168              
169             =head2 setUnsoldList()
170              
171             Contains the list of items the user has listed but whose listings have ended
172             without being sold. Valid subelements are DurationInDays (with valid values 0-60),
173             Sort, IncludeNotes, and Pagination.
174             Note that if a DetailLevel of ReturnAll is specified in the request, this element is ignored as a way to filter the response, and ALL containers are returned.
175              
176             RequiredInput: No
177             # Argument: 'ns:ItemListCustomizationType'
178              
179             =cut
180            
181             sub setUnsoldList {
182             my $self = shift;
183             my $pUnsoldList = shift;
184             $self->getRequestDataType()->setUnsoldList($pUnsoldList);
185             }
186              
187              
188              
189             #
190             # output properties
191             #
192              
193             =head2 getActiveList()
194              
195             Contains the items the user is selling that have active listings.
196              
197             Returned: Conditionally
198             Details: DetailLevel: none, ReturnSummary, ReturnAll
199             # Returns: 'ns:PaginatedItemArrayType'
200              
201             =cut
202            
203             sub getActiveList {
204             my $self = shift;
205             return $self->getResponseDataType()->getActiveList();
206             }
207              
208             =head2 getBidList()
209              
210             Contains the seller's active listings with bids.
211             Only returned if items exist that meet the request criteria.
212              
213             Returned: Conditionally
214             Details: DetailLevel: none, ReturnSummary, ReturnAll
215             # Returns: 'ns:PaginatedItemArrayType'
216              
217             =cut
218            
219             sub getBidList {
220             my $self = shift;
221             return $self->getResponseDataType()->getBidList();
222             }
223              
224             =head2 getDeletedFromSoldList()
225              
226             Contains the items the seller has sold and deleted from My eBay.
227              
228             Returned: Conditionally
229             Details: DetailLevel: none, ReturnSummary, ReturnAll
230             # Returns: 'ns:PaginatedOrderTransactionArrayType'
231              
232             =cut
233            
234             sub getDeletedFromSoldList {
235             my $self = shift;
236             return $self->getResponseDataType()->getDeletedFromSoldList();
237             }
238              
239             =head2 getDeletedFromUnsoldList()
240              
241             Contains the items with listings that were ended or did not sell and have been deleted from My eBay.
242              
243             Returned: Conditionally
244             Details: DetailLevel: none, ReturnSummary, ReturnAll
245             # Returns: 'ns:PaginatedItemArrayType'
246              
247             =cut
248            
249             sub getDeletedFromUnsoldList {
250             my $self = shift;
251             return $self->getResponseDataType()->getDeletedFromUnsoldList();
252             }
253              
254             =head2 getScheduledList()
255              
256             Contains the items the user has scheduled for sale, but whose listings have
257             not yet started.
258              
259             Returned: Conditionally
260             Details: DetailLevel: none, ReturnSummary, ReturnAll
261             # Returns: 'ns:PaginatedItemArrayType'
262              
263             =cut
264            
265             sub getScheduledList {
266             my $self = shift;
267             return $self->getResponseDataType()->getScheduledList();
268             }
269              
270             =head2 getSellingSummary()
271              
272             Contains summary information about the items the user is selling.
273              
274             Returned: Always
275             Details: DetailLevel: none, ReturnSummary, ReturnAll
276             # Returns: 'ns:SellingSummaryType'
277              
278             =cut
279            
280             sub getSellingSummary {
281             my $self = shift;
282             return $self->getResponseDataType()->getSellingSummary();
283             }
284              
285             =head2 getSoldList()
286              
287             Contains the items the user has sold.
288              
289             Returned: Conditionally
290             Details: DetailLevel: none, ReturnSummary, ReturnAll
291             # Returns: 'ns:PaginatedOrderTransactionArrayType'
292              
293             =cut
294            
295             sub getSoldList {
296             my $self = shift;
297             return $self->getResponseDataType()->getSoldList();
298             }
299              
300             =head2 getSummary()
301              
302             Contains summary information about the items the user is selling.
303              
304             Returned: Always
305             Details: DetailLevel: none, ReturnSummary, ReturnAll
306             # Returns: 'ns:MyeBaySellingSummaryType'
307              
308             =cut
309            
310             sub getSummary {
311             my $self = shift;
312             return $self->getResponseDataType()->getSummary();
313             }
314              
315             =head2 getUnsoldList()
316              
317             Contains the items whose listings have ended but that have not sold.
318              
319             Returned: Conditionally
320             Details: DetailLevel: none, ReturnSummary, ReturnAll
321             # Returns: 'ns:PaginatedItemArrayType'
322              
323             =cut
324            
325             sub getUnsoldList {
326             my $self = shift;
327             return $self->getResponseDataType()->getUnsoldList();
328             }
329              
330              
331              
332              
333              
334             1;