File Coverage

lib/eBay/API/XML/DataType/MyeBaySellingSummaryType.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::MyeBaySellingSummaryType;
4              
5 1     1   2217 use strict;
  1         3  
  1         36  
6 1     1   5 use warnings;
  1         4  
  1         32  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. MyeBaySellingSummaryType.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::MyeBaySellingSummaryType
21              
22             =head1 DESCRIPTION
23              
24             Contains summary information about the items the seller is selling.
25              
26              
27              
28             =head1 SYNOPSIS
29              
30             =cut
31              
32              
33             =head1 INHERITANCE
34              
35             eBay::API::XML::DataType::MyeBaySellingSummaryType inherits from the L class
36              
37             =cut
38              
39 1     1   61 use eBay::API::XML::BaseDataType;
  0            
  0            
40             our @ISA = ("eBay::API::XML::BaseDataType");
41              
42             use eBay::API::XML::DataType::AmountType;
43              
44              
45             my @gaProperties = ( [ 'ActiveAuctionCount', 'xs:int', '', '', '' ]
46             , [ 'AuctionBidCount', 'xs:int', '', '', '' ]
47             , [ 'AuctionSellingCount', 'xs:int', '', '', '' ]
48             , [ 'ClassifiedAdCount', 'xs:int', '', '', '' ]
49             , [ 'ClassifiedAdOfferCount', 'xs:int', '', '', '' ]
50             , [ 'SoldDurationInDays', 'xs:int', '', '', '' ]
51             , [ 'TotalAuctionSellingValue', 'ns:AmountType', ''
52             ,'eBay::API::XML::DataType::AmountType', '1' ]
53             , [ 'TotalLeadCount', 'xs:int', '', '', '' ]
54             , [ 'TotalListingsWithLeads', 'xs:int', '', '', '' ]
55             , [ 'TotalSoldCount', 'xs:int', '', '', '' ]
56             , [ 'TotalSoldValue', 'ns:AmountType', ''
57             ,'eBay::API::XML::DataType::AmountType', '1' ]
58             );
59             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
60              
61             my @gaAttributes = (
62             );
63             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
64              
65             =head1 Subroutines:
66              
67             =cut
68              
69             sub new {
70             my $classname = shift;
71             my %args = @_;
72             my $self = $classname->SUPER::new(%args);
73             return $self;
74             }
75              
76             sub isScalar {
77             return 0;
78             }
79              
80              
81              
82             =head2 setActiveAuctionCount()
83              
84             The number of currently active auctions that will sell. That
85             is, there is at least one bidder, and any reserve price has
86             been met. Equivalent to the "Will Sell" value in My eBay.
87              
88             # Argument: 'xs:int'
89              
90             =cut
91              
92             sub setActiveAuctionCount {
93             my $self = shift;
94             $self->{'ActiveAuctionCount'} = shift
95             }
96              
97             =head2 getActiveAuctionCount()
98              
99             Calls: GetMyeBaySelling
100             Returned: Always
101             Details: DetailLevel: none, ReturnSummary, ReturnAll
102              
103             # Returns: 'xs:int'
104              
105             =cut
106              
107             sub getActiveAuctionCount {
108             my $self = shift;
109             return $self->{'ActiveAuctionCount'};
110             }
111              
112              
113             =head2 setAuctionBidCount()
114              
115             The total number of bids made on the seller's active listings.
116              
117             # Argument: 'xs:int'
118              
119             =cut
120              
121             sub setAuctionBidCount {
122             my $self = shift;
123             $self->{'AuctionBidCount'} = shift
124             }
125              
126             =head2 getAuctionBidCount()
127              
128             Calls: GetMyeBaySelling
129             Returned: Always
130             Details: DetailLevel: none, ReturnSummary, ReturnAll
131              
132             # Returns: 'xs:int'
133              
134             =cut
135              
136             sub getAuctionBidCount {
137             my $self = shift;
138             return $self->{'AuctionBidCount'};
139             }
140              
141              
142             =head2 setAuctionSellingCount()
143              
144             The total number of currently active auctions for a given
145             seller. Note that this does not include listings that are
146             FixedPriceItem or StoresFixedPrice. Equivalent to the
147             "Auction Quantity" value in My eBay.
148              
149             # Argument: 'xs:int'
150              
151             =cut
152              
153             sub setAuctionSellingCount {
154             my $self = shift;
155             $self->{'AuctionSellingCount'} = shift
156             }
157              
158             =head2 getAuctionSellingCount()
159              
160             Calls: GetMyeBaySelling
161             Returned: Always
162             Details: DetailLevel: none, ReturnSummary, ReturnAll
163              
164             # Returns: 'xs:int'
165              
166             =cut
167              
168             sub getAuctionSellingCount {
169             my $self = shift;
170             return $self->{'AuctionSellingCount'};
171             }
172              
173              
174             =head2 setClassifiedAdCount()
175              
176             The total number of classified ad listings listed by the
177             seller.
178              
179             # Argument: 'xs:int'
180              
181             =cut
182              
183             sub setClassifiedAdCount {
184             my $self = shift;
185             $self->{'ClassifiedAdCount'} = shift
186             }
187              
188             =head2 getClassifiedAdCount()
189              
190             Calls: GetMyeBaySelling
191             Returned: Always
192             Details: DetailLevel: none, ReturnSummary, ReturnAll
193              
194             # Returns: 'xs:int'
195              
196             =cut
197              
198             sub getClassifiedAdCount {
199             my $self = shift;
200             return $self->{'ClassifiedAdCount'};
201             }
202              
203              
204             =head2 setClassifiedAdOfferCount()
205              
206             The total number of offers received on active Classified
207             Ad listings.
208              
209             # Argument: 'xs:int'
210              
211             =cut
212              
213             sub setClassifiedAdOfferCount {
214             my $self = shift;
215             $self->{'ClassifiedAdOfferCount'} = shift
216             }
217              
218             =head2 getClassifiedAdOfferCount()
219              
220             Calls: GetMyeBaySelling
221             Returned: Always
222             Details: DetailLevel: none, ReturnSummary, ReturnAll
223              
224             # Returns: 'xs:int'
225              
226             =cut
227              
228             sub getClassifiedAdOfferCount {
229             my $self = shift;
230             return $self->{'ClassifiedAdOfferCount'};
231             }
232              
233              
234             =head2 setSoldDurationInDays()
235              
236             The average duration, in days, of all items sold.
237              
238             # Argument: 'xs:int'
239              
240             =cut
241              
242             sub setSoldDurationInDays {
243             my $self = shift;
244             $self->{'SoldDurationInDays'} = shift
245             }
246              
247             =head2 getSoldDurationInDays()
248              
249             Calls: GetMyeBaySelling
250             Returned: Always
251             Details: DetailLevel: none, ReturnSummary, ReturnAll
252              
253             # Returns: 'xs:int'
254              
255             =cut
256              
257             sub getSoldDurationInDays {
258             my $self = shift;
259             return $self->{'SoldDurationInDays'};
260             }
261              
262              
263             =head2 setTotalAuctionSellingValue()
264              
265             For all items that the seller has for sale, the total
266             selling valuse of those items having bids and where the
267             Reserve price is met (if a Reserve price is specified).
268              
269             # Argument: 'ns:AmountType'
270              
271             =cut
272              
273             sub setTotalAuctionSellingValue {
274             my $self = shift;
275             $self->{'TotalAuctionSellingValue'} = shift
276             }
277              
278             =head2 getTotalAuctionSellingValue()
279              
280             Calls: GetMyeBaySelling
281             Returned: Always
282             Details: DetailLevel: none, ReturnSummary, ReturnAll
283              
284             # Returns: 'ns:AmountType'
285              
286             =cut
287              
288             sub getTotalAuctionSellingValue {
289             my $self = shift;
290             return $self->_getDataTypeInstance( 'TotalAuctionSellingValue'
291             ,'eBay::API::XML::DataType::AmountType');
292             }
293              
294              
295             =head2 setTotalLeadCount()
296              
297             The total number of leads from the seller's classified
298             ad listings. Number indicates the total number of emails
299             received for the listings
300              
301             # Argument: 'xs:int'
302              
303             =cut
304              
305             sub setTotalLeadCount {
306             my $self = shift;
307             $self->{'TotalLeadCount'} = shift
308             }
309              
310             =head2 getTotalLeadCount()
311              
312             Calls: GetMyeBaySelling
313             Returned: Always
314             Details: DetailLevel: none, ReturnSummary, ReturnAll
315              
316             # Returns: 'xs:int'
317              
318             =cut
319              
320             sub getTotalLeadCount {
321             my $self = shift;
322             return $self->{'TotalLeadCount'};
323             }
324              
325              
326             =head2 setTotalListingsWithLeads()
327              
328             The total number of Classified Ad listings that have an
329             associated lead.
330              
331             # Argument: 'xs:int'
332              
333             =cut
334              
335             sub setTotalListingsWithLeads {
336             my $self = shift;
337             $self->{'TotalListingsWithLeads'} = shift
338             }
339              
340             =head2 getTotalListingsWithLeads()
341              
342             Calls: GetMyeBaySelling
343             Returned: Always
344             Details: DetailLevel: none, ReturnSummary, ReturnAll
345              
346             # Returns: 'xs:int'
347              
348             =cut
349              
350             sub getTotalListingsWithLeads {
351             my $self = shift;
352             return $self->{'TotalListingsWithLeads'};
353             }
354              
355              
356             =head2 setTotalSoldCount()
357              
358             The total number of items that the seller has sold in the
359             past 31 days.
360              
361             # Argument: 'xs:int'
362              
363             =cut
364              
365             sub setTotalSoldCount {
366             my $self = shift;
367             $self->{'TotalSoldCount'} = shift
368             }
369              
370             =head2 getTotalSoldCount()
371              
372             Calls: GetMyeBaySelling
373             Returned: Always
374             Details: DetailLevel: none, ReturnSummary, ReturnAll
375              
376             # Returns: 'xs:int'
377              
378             =cut
379              
380             sub getTotalSoldCount {
381             my $self = shift;
382             return $self->{'TotalSoldCount'};
383             }
384              
385              
386             =head2 setTotalSoldValue()
387              
388             The total monetary value of the items the seller has sold.
389              
390             # Argument: 'ns:AmountType'
391              
392             =cut
393              
394             sub setTotalSoldValue {
395             my $self = shift;
396             $self->{'TotalSoldValue'} = shift
397             }
398              
399             =head2 getTotalSoldValue()
400              
401             Calls: GetMyeBaySelling
402             Returned: Always
403             Details: DetailLevel: none, ReturnSummary, ReturnAll
404              
405             # Returns: 'ns:AmountType'
406              
407             =cut
408              
409             sub getTotalSoldValue {
410             my $self = shift;
411             return $self->_getDataTypeInstance( 'TotalSoldValue'
412             ,'eBay::API::XML::DataType::AmountType');
413             }
414              
415              
416              
417              
418              
419             ## Attribute and Property lists
420             sub getPropertiesList {
421             my $self = shift;
422             return \@gaProperties;
423             }
424              
425             sub getAttributesList {
426             my $self = shift;
427             return \@gaAttributes;
428             }
429              
430              
431              
432             1;