File Coverage

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