File Coverage

lib/eBay/API/XML/DataType/SellingStatusType.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::SellingStatusType;
4              
5 1     1   1197 use strict;
  1         3  
  1         30  
6 1     1   5 use warnings;
  1         2  
  1         27  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. SellingStatusType.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::SellingStatusType
21              
22             =head1 DESCRIPTION
23              
24             Contains various details about the current status of a listing. These
25             values are computed by eBay and cannot be specified at listing time.
26              
27              
28              
29             =head1 SYNOPSIS
30              
31             =cut
32              
33              
34             =head1 INHERITANCE
35              
36             eBay::API::XML::DataType::SellingStatusType inherits from the L class
37              
38             =cut
39              
40 1     1   36 use eBay::API::XML::BaseDataType;
  0            
  0            
41             our @ISA = ("eBay::API::XML::BaseDataType");
42              
43             use eBay::API::XML::DataType::AmountType;
44             use eBay::API::XML::DataType::PromotionalSaleDetailsType;
45             use eBay::API::XML::DataType::UserType;
46             use eBay::API::XML::DataType::Enum::ListingStatusCodeType;
47              
48              
49             my @gaProperties = ( [ 'AdminEnded', 'xs:boolean', '', '', '' ]
50             , [ 'BidCount', 'xs:int', '', '', '' ]
51             , [ 'BidIncrement', 'ns:AmountType', ''
52             ,'eBay::API::XML::DataType::AmountType', '1' ]
53             , [ 'BidderCount', 'xs:long', '', '', '' ]
54             , [ 'ConvertedCurrentPrice', 'ns:AmountType', ''
55             ,'eBay::API::XML::DataType::AmountType', '1' ]
56             , [ 'CurrentPrice', 'ns:AmountType', ''
57             ,'eBay::API::XML::DataType::AmountType', '1' ]
58             , [ 'FinalValueFee', 'ns:AmountType', ''
59             ,'eBay::API::XML::DataType::AmountType', '1' ]
60             , [ 'HighBidder', 'ns:UserType', ''
61             ,'eBay::API::XML::DataType::UserType', '1' ]
62             , [ 'LeadCount', 'xs:int', '', '', '' ]
63             , [ 'ListingStatus', 'ns:ListingStatusCodeType', ''
64             ,'eBay::API::XML::DataType::Enum::ListingStatusCodeType', '' ]
65             , [ 'MinimumToBid', 'ns:AmountType', ''
66             ,'eBay::API::XML::DataType::AmountType', '1' ]
67             , [ 'PromotionalSaleDetails', 'ns:PromotionalSaleDetailsType', ''
68             ,'eBay::API::XML::DataType::PromotionalSaleDetailsType', '1' ]
69             , [ 'QuantitySold', 'xs:int', '', '', '' ]
70             , [ 'ReserveMet', 'xs:boolean', '', '', '' ]
71             , [ 'SecondChanceEligible', 'xs:boolean', '', '', '' ]
72             );
73             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
74              
75             my @gaAttributes = (
76             );
77             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
78              
79             =head1 Subroutines:
80              
81             =cut
82              
83             sub new {
84             my $classname = shift;
85             my %args = @_;
86             my $self = $classname->SUPER::new(%args);
87             return $self;
88             }
89              
90             sub isScalar {
91             return 0;
92             }
93              
94              
95              
96             =head2 setAdminEnded()
97              
98             Indicates whether this item was administratively canceled.
99              
100             # Argument: 'xs:boolean'
101              
102             =cut
103              
104             sub setAdminEnded {
105             my $self = shift;
106             $self->{'AdminEnded'} = shift
107             }
108              
109             =head2 isAdminEnded()
110              
111             Calls: GetSellerList
112             Returned: Conditionally
113             Details: DetailLevel: ItemReturnDescription, ReturnAll
114              
115             Calls: GetItem
116             Returned: Conditionally
117              
118             # Returns: 'xs:boolean'
119              
120             =cut
121              
122             sub isAdminEnded {
123             my $self = shift;
124             return $self->{'AdminEnded'};
125             }
126              
127              
128             =head2 setBidCount()
129              
130             Number of bids placed so far against the item. Only applicable to
131             competitive-bidding listings (Chinese and Dutch auctions).
132              
133             # Argument: 'xs:int'
134              
135             =cut
136              
137             sub setBidCount {
138             my $self = shift;
139             $self->{'BidCount'} = shift
140             }
141              
142             =head2 getBidCount()
143              
144             Calls: GetCategoryListings
145             Returned: Conditionally
146              
147             Calls: GetSearchResults
148             Returned: Conditionally
149             Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll
150              
151             Calls: GetSellerList
152             Returned: Conditionally
153             Details: DetailLevel: ItemReturnDescription, ReturnAll
154             GranularityLevel: Fine
155              
156              
157             Calls: GetMyeBayBuying
158             Returned: Conditionally
159             Details: DetailLevel: none, ReturnSummary, ReturnAll
160             Context: BidList
161             LostList
162             WatchList
163             WonList
164             DeletedFromWonList
165             DeletedFromLostList
166              
167             Calls: GetMyeBaySelling
168             Returned: Conditionally
169             Details: DetailLevel: none, ReturnSummary, ReturnAll
170             Context: ActiveList
171             UnsoldList
172             DeleteFromUnsoldList
173             BidList
174              
175             Calls: GetBidderList
176             Returned: Always
177              
178             Calls: GetProducts
179             Returned: Conditionally
180              
181             Calls: GetItemTransactions
182             Returned: Conditionally
183             Details: DetailLevel: none, ReturnAll, ItemReturnDescription
184              
185             Calls: GetSellerTransactions
186             Returned: Conditionally
187             Details: DetailLevel: none, ReturnAll, ItemReturnDescription
188              
189             Calls: GetItem
190             Returned: Always
191             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
192              
193             Calls: GetSellerEvents
194             Returned: Conditionally
195             Details: DetailLevel: none, ReturnAll
196              
197             # Returns: 'xs:int'
198              
199             =cut
200              
201             sub getBidCount {
202             my $self = shift;
203             return $self->{'BidCount'};
204             }
205              
206              
207             =head2 setBidIncrement()
208              
209             Smallest amount a bid must be above the current high bid. Only applicable
210             to competitive-bidding listings (Chinese and Dutch auctions). Returns zero
211             (0.00) for Ad type, eBay Stores Inventory (Stores Fixed-price), and Basic
212             Fixed-Price (Fixed Price Item) listings.
213              
214             # Argument: 'ns:AmountType'
215              
216             =cut
217              
218             sub setBidIncrement {
219             my $self = shift;
220             $self->{'BidIncrement'} = shift
221             }
222              
223             =head2 getBidIncrement()
224              
225             Calls: GetSellerList
226             Returned: Conditionally
227             Details: DetailLevel: ItemReturnDescription, ReturnAll
228             GranularityLevel: Fine
229              
230              
231             Calls: GetBidderList
232             Returned: Always
233              
234             Calls: GetItem
235             Returned: Always
236             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
237              
238             # Returns: 'ns:AmountType'
239              
240             =cut
241              
242             sub getBidIncrement {
243             my $self = shift;
244             return $self->_getDataTypeInstance( 'BidIncrement'
245             ,'eBay::API::XML::DataType::AmountType');
246             }
247              
248              
249             =head2 setBidderCount()
250              
251             Number of bidders for an item. Only applicable to
252             competitive-bidding listings (Chinese and Dutch auctions). Only returned
253             for the seller of the item.
254              
255             # Argument: 'xs:long'
256              
257             =cut
258              
259             sub setBidderCount {
260             my $self = shift;
261             $self->{'BidderCount'} = shift
262             }
263              
264             =head2 getBidderCount()
265              
266             Calls: GetMyeBaySelling
267             Returned: Conditionally
268             Details: DetailLevel: none, ReturnSummary, ReturnAll
269             Context: ActiveList
270             UnsoldList
271              
272             # Returns: 'xs:long'
273              
274             =cut
275              
276             sub getBidderCount {
277             my $self = shift;
278             return $self->{'BidderCount'};
279             }
280              
281              
282             =head2 setConvertedCurrentPrice()
283              
284             Converted value of the CurrentPrice in the currency of the site that
285             returned this response. For active items, refresh the listing's data every 24
286             hours to pick up the current conversion rates.
287              
288             # Argument: 'ns:AmountType'
289              
290             =cut
291              
292             sub setConvertedCurrentPrice {
293             my $self = shift;
294             $self->{'ConvertedCurrentPrice'} = shift
295             }
296              
297             =head2 getConvertedCurrentPrice()
298              
299             Calls: GetBidderList
300             GetDispute
301             PlaceOffer
302             Returned: Always
303              
304             Calls: GetItem
305             Returned: Always
306             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
307              
308             Calls: GetItemTransactions
309             GetSellerTransactions
310             Returned: Always
311             Details: DetailLevel: none, ReturnAll
312              
313             Calls: GetOrderTransactions
314             Returned: Conditionally
315             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
316              
317             Calls: GetSearchResults
318             Returned: Conditionally
319             Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll
320             GranularityLevel: Coarse
321              
322              
323             Calls: GetCategoryListings
324             Returned: Conditionally
325              
326             Calls: GetSellerList
327             Returned: Conditionally
328             Details: DetailLevel: ItemReturnDescription, ReturnAll
329             GranularityLevel: Fine
330              
331              
332             Calls: GetMyeBayBuying
333             Returned: Conditionally
334             Details: DetailLevel: none, ReturnSummary, ReturnAll
335             Context: BestOfferList
336             BidList
337             LostList
338             WatchList
339             WonList
340             DeletedFromWonList
341             DeletedFromLostList
342              
343             Calls: GetMyeBaySelling
344             Returned: Conditionally
345             Details: DetailLevel: none, ReturnSummary, ReturnAll
346             Context: BidList
347             ActiveList
348             ScheduledList
349             SoldList
350             UnsoldList
351             DeletedFromSoldList
352             DeletedFromUnsoldList
353              
354             # Returns: 'ns:AmountType'
355              
356             =cut
357              
358             sub getConvertedCurrentPrice {
359             my $self = shift;
360             return $self->_getDataTypeInstance( 'ConvertedCurrentPrice'
361             ,'eBay::API::XML::DataType::AmountType');
362             }
363              
364              
365             =head2 setCurrentPrice()
366              
367             For competitive-bidding listings (Chinese and Dutch auctions), current minimum
368             asking price (start price) or the current highest bid for the item if bids have
369             been placed. Shows minimum bid if no bids have been placed on the item. For
370             Basic Fixed-Price (FixedPriceItem), Store Inventory (StoresFixedPrice), or Ad
371             type (AdType) listings this returns the original price specified when the item
372             was listed/re-listed or the revised price if the item was revised using the ReviseItem call.
373            
374             For GetSearchResultsExpress, this is the current fixed price of the listing, and
375             it is always returned when ItemArray.Item is returned.
376              
377             # Argument: 'ns:AmountType'
378              
379             =cut
380              
381             sub setCurrentPrice {
382             my $self = shift;
383             $self->{'CurrentPrice'} = shift
384             }
385              
386             =head2 getCurrentPrice()
387              
388             Calls: GetBidderList
389             GetDispute
390             PlaceOffer
391             Returned: Always
392              
393             Calls: GetItem
394             Returned: Always
395             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
396              
397             Calls: GetItemTransactions
398             GetSellerTransactions
399             Returned: Always
400             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
401              
402             Calls: GetOrderTransactions
403             Returned: Conditionally
404             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
405              
406             Calls: GetSellerList
407             Returned: Conditionally
408             Details: DetailLevel: ItemReturnDescription, ReturnAll
409             GranularityLevel: Fine
410              
411              
412             Calls: GetSearchResults
413             Returned: Conditionally
414             Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll
415             GranularityLevel: Coarse
416              
417              
418             Calls: GetCategoryListings
419             GetMemberMessages
420             GetProducts
421             Returned: Conditionally
422              
423             Calls: GetMyeBayBuying
424             Returned: Conditionally
425             Details: DetailLevel: none, ReturnSummary, ReturnAll
426             Context: BestOfferList
427             BidList
428             LostList
429             WatchList
430             WonList
431             DeletedFromWonList
432             DeletedFromLostList
433              
434             Calls: GetMyeBaySelling
435             Returned: Conditionally
436             Details: DetailLevel: none, ReturnSummary, ReturnAll
437             Context: BidList
438             ActiveList
439             ScheduledList
440             SoldList
441             UnsoldList
442             DeletedFromSoldList
443             DeletedFromUnsoldList
444              
445             Calls: GetSellerEvents
446             Returned: Conditionally
447             Details: DetailLevel: none, ReturnAll
448              
449             # Returns: 'ns:AmountType'
450              
451             =cut
452              
453             sub getCurrentPrice {
454             my $self = shift;
455             return $self->_getDataTypeInstance( 'CurrentPrice'
456             ,'eBay::API::XML::DataType::AmountType');
457             }
458              
459              
460             =head2 setFinalValueFee()
461              
462             You are charged a Final Value Fee if your item is sold, ends with a winning
463             bid, or is purchased. This fee applies whether or not you actually complete
464             the sale with the buyer. See the eBay.com Web site online help for more
465             information about the Final Value Fee.

466             If the item was a Dutch auction that ended with bids (not Buy It Now
467             purchases), the Final Value Fee is returned in
468             Item.SellingStatus.FinalValueFee. For all other listing types, including Dutch
469             auctions that end with Buy It Now purchases, the Final Value Fee is returned
470             in Transaction.FinalValueFee.

471             The Final Value Fee for fixed price format (FixedPriceItem), Store Inventory
472             format (StoresFixedPrice), and Dutch listings purchased with Buy It Now is
473             returned by GetSellerTransactions, GetItemTransactions, and GetOrderTransactions
474             on a transaction-by-transaction basis, regardless of the listing status.
475             For all other listing types, including Chinese and Dutch (with no Buy It Now purchases), the Final
476             Value Fee is returned when the listing status is
477             Completed.

478             If you request a Final Value Fee Credit, the value of
479             Transaction.FinalValueFee will not change for the item if a credit is issued.
480             (The credit only appears in the seller's account data.)
481              
482             # Argument: 'ns:AmountType'
483              
484             =cut
485              
486             sub setFinalValueFee {
487             my $self = shift;
488             $self->{'FinalValueFee'} = shift
489             }
490              
491             =head2 getFinalValueFee()
492              
493             Calls: GetBidderList
494             Returned: Conditionally
495              
496             Calls: GetItemTransactions
497             GetSellerTransactions
498             Returned: Conditionally
499             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
500              
501             Calls: GetOrderTransactions
502             Returned: Conditionally
503             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
504              
505             # Returns: 'ns:AmountType'
506              
507             =cut
508              
509             sub getFinalValueFee {
510             my $self = shift;
511             return $self->_getDataTypeInstance( 'FinalValueFee'
512             ,'eBay::API::XML::DataType::AmountType');
513             }
514              
515              
516             =head2 setHighBidder()
517              
518             For single-item (Quantity = 1) auction listings that have ended
519             and have a winning bidder, indicates the user who is the
520             high bidder.
521             For single-item basic fixed price (FixedPriceItem) or Store Inventory
522             (StoresFixedPrice) listings that have ended, indicates the user who
523             purchased the item.
524             Not returned for auctions that have received no bids,
525             fixed price and Store Inventory listings that are still active,
526             or any multi-item (Quantity > 1) listings.
527             In the case of the PlaceOffer response, the current high bidder.
528              
529             # Argument: 'ns:UserType'
530              
531             =cut
532              
533             sub setHighBidder {
534             my $self = shift;
535             $self->{'HighBidder'} = shift
536             }
537              
538             =head2 getHighBidder()
539              
540             Calls: PlaceOffer
541             Returned: Always
542              
543             Calls: GetSellerList
544             Returned: Conditionally
545             Details: DetailLevel: ItemReturnDescription, ReturnAll
546             GranularityLevel: Fine
547              
548              
549             Calls: GetItem
550             Returned: Conditionally
551             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
552              
553             Calls: GetMyeBayBuying
554             Returned: Conditionally
555             Details: DetailLevel: none, ReturnSummary, ReturnAll
556             Context: BidList
557             LostList
558             WatchList
559             DeletedFromLostList
560              
561             Calls: GetMyeBaySelling
562             Returned: Conditionally
563             Details: DetailLevel: none, ReturnSummary, ReturnAll
564             Context: BidList
565             ActiveList
566              
567             Calls: GetSellerEvents
568             Returned: Conditionally
569             Details: DetailLevel: ReturnAll
570              
571             # Returns: 'ns:UserType'
572              
573             =cut
574              
575             sub getHighBidder {
576             my $self = shift;
577             return $self->_getDataTypeInstance( 'HighBidder'
578             ,'eBay::API::XML::DataType::UserType');
579             }
580              
581              
582             =head2 setLeadCount()
583              
584             Applicable to Ad type listings only. Indicates how many leads to
585             potential buyers are associated with this item. Returns 0 (zero) for listings in other formats. You must be the seller of the item to retrieve the lead count.
586              
587             # Argument: 'xs:int'
588              
589             =cut
590              
591             sub setLeadCount {
592             my $self = shift;
593             $self->{'LeadCount'} = shift
594             }
595              
596             =head2 getLeadCount()
597              
598             Calls: GetSellerList
599             Returned: Conditionally
600             Details: DetailLevel: ReturnAll
601              
602             Calls: GetBidderList
603             Returned: Conditionally
604              
605             Calls: GetItem
606             Returned: Conditionally
607             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
608              
609             # Returns: 'xs:int'
610              
611             =cut
612              
613             sub getLeadCount {
614             my $self = shift;
615             return $self->{'LeadCount'};
616             }
617              
618              
619             =head2 setListingStatus()
620              
621             Specifies an active or ended listing's status in eBay's processing workflow.
622             If a listing ends with a sale (or sales), eBay needs to update the sale details
623             (e.g., total price and buyer/high bidder) and the final value fee. This processing
624             can take several minutes. If you retrieve a sold item and no details about the buyer/high bidder
625             are returned or no final value fee is available, use this listing status information
626             to determine whether eBay has finished processing the listing.
627              
628             # Argument: 'ns:ListingStatusCodeType'
629              
630             =cut
631              
632             sub setListingStatus {
633             my $self = shift;
634             $self->{'ListingStatus'} = shift
635             }
636              
637             =head2 getListingStatus()
638              
639             Calls: GetAllBidders
640             GetBidderList
641             GetHighBidders
642             Returned: Always
643              
644             Calls: GetItem
645             Returned: Always
646             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
647              
648             Calls: GetItemTransactions
649             GetSellerTransactions
650             Returned: Always
651             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
652              
653             Calls: GetOrderTransactions
654             Returned: Conditionally
655             Details: DetailLevel: none, ItemReturnDescription, ReturnAll
656              
657             Calls: GetSellerList
658             Returned: Conditionally
659             Details: DetailLevel: ItemReturnDescription, ReturnAll
660             GranularityLevel: Fine
661              
662              
663             Calls: GetSellerEvents
664             Returned: Conditionally
665             Details: DetailLevel: none, ReturnAll
666              
667             # Returns: 'ns:ListingStatusCodeType'
668              
669             =cut
670              
671             sub getListingStatus {
672             my $self = shift;
673             return $self->{'ListingStatus'};
674             }
675              
676              
677             =head2 setMinimumToBid()
678              
679             Smallest amount the next bid on the item can be. Returns same value as
680             Item.StartPrice (if no bids have yet been placed) or CurrentPrice plus
681             BidIncrement (if at least one bid has been placed). Only applicable to Chinese and
682             Dutch auction listings. Returns null for basic Fixed Price (FixedPriceItem),
683             Store Inventory (StoresFixedPrice), and Ad type listings.
684              
685             # Argument: 'ns:AmountType'
686              
687             =cut
688              
689             sub setMinimumToBid {
690             my $self = shift;
691             $self->{'MinimumToBid'} = shift
692             }
693              
694             =head2 getMinimumToBid()
695              
696             Calls: PlaceOffer
697             Returned: Conditionally
698              
699             Calls: GetSellerList
700             Returned: Conditionally
701             Details: DetailLevel: ItemReturnDescription, ReturnAll
702             GranularityLevel: Fine
703              
704              
705             Calls: GetBidderList
706             Returned: Always
707              
708             Calls: GetItem
709             Returned: Always
710             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
711              
712             # Returns: 'ns:AmountType'
713              
714             =cut
715              
716             sub getMinimumToBid {
717             my $self = shift;
718             return $self->_getDataTypeInstance( 'MinimumToBid'
719             ,'eBay::API::XML::DataType::AmountType');
720             }
721              
722              
723             =head2 setPromotionalSaleDetails()
724              
725             If a seller has reduced the price of a listed item with the Promotional Price Display feature,
726             this field contains the original price of the discounted item, along with the start-time
727             and end-time of the discount.
728              
729             # Argument: 'ns:PromotionalSaleDetailsType'
730              
731             =cut
732              
733             sub setPromotionalSaleDetails {
734             my $self = shift;
735             $self->{'PromotionalSaleDetails'} = shift
736             }
737              
738             =head2 getPromotionalSaleDetails()
739              
740             Calls: GetBidderList
741             Returned: Conditionally
742              
743             Calls: GetItem
744             Returned: Conditionally
745             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
746              
747             Calls: GetSellerList
748             Returned: Conditionally
749             Details: DetailLevel: ItemReturnDescription, ReturnAll
750              
751             Calls: GetMyeBayBuying
752             Returned: Conditionally
753             Details: DetailLevel: none, ReturnSummary, ReturnAll
754             Context: WatchList
755              
756             Calls: GetMyeBaySelling
757             Returned: Conditionally
758             Details: DetailLevel: none, ReturnSummary, ReturnAll
759             Context: ActiveList
760              
761             # Returns: 'ns:PromotionalSaleDetailsType'
762              
763             =cut
764              
765             sub getPromotionalSaleDetails {
766             my $self = shift;
767             return $self->_getDataTypeInstance( 'PromotionalSaleDetails'
768             ,'eBay::API::XML::DataType::PromotionalSaleDetailsType');
769             }
770              
771              
772             =head2 setQuantitySold()
773              
774             Number of items purchased so far. (Subtract from the value returned in
775             the Item.Quantity field to calculate the number of items remaining.)
776              
777             # Argument: 'xs:int'
778              
779             =cut
780              
781             sub setQuantitySold {
782             my $self = shift;
783             $self->{'QuantitySold'} = shift
784             }
785              
786             =head2 getQuantitySold()
787              
788             Calls: GetSellerList
789             Returned: Conditionally
790             Details: DetailLevel: ItemReturnDescription, ReturnAll
791             GranularityLevel: Fine
792              
793              
794             Calls: GetItemTransactions
795             GetSellerTransactions
796             Returned: Always
797             Details: DetailLevel: ReturnAll
798              
799             Calls: GetBidderList
800             Returned: Always
801              
802             Calls: GetItem
803             Returned: Always
804             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
805              
806             Calls: GetSellerEvents
807             Returned: Conditionally
808             Details: DetailLevel: none, ReturnAll
809              
810             # Returns: 'xs:int'
811              
812             =cut
813              
814             sub getQuantitySold {
815             my $self = shift;
816             return $self->{'QuantitySold'};
817             }
818              
819              
820             =head2 setReserveMet()
821              
822             Indicates whether the reserve price has been met for the listing. Returns
823             true if the reserve price was met or no reserve price was specified.
824              
825             # Argument: 'xs:boolean'
826              
827             =cut
828              
829             sub setReserveMet {
830             my $self = shift;
831             $self->{'ReserveMet'} = shift
832             }
833              
834             =head2 isReserveMet()
835              
836             Calls: PlaceOffer
837             Returned: Conditionally
838              
839             Calls: GetSellerList
840             Returned: Conditionally
841             Details: DetailLevel: ItemReturnDescription, ReturnAll
842             GranularityLevel: Fine
843              
844              
845             Calls: GetMyeBayBuying
846             Returned: Conditionally
847             Details: DetailLevel: none, ReturnSummary, ReturnAll
848             Context: BidList
849              
850             Calls: GetBidderList
851             Returned: Always
852              
853             Calls: GetItem
854             Returned: Always
855             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
856              
857             Calls: GetMyeBaySelling
858             Returned: Conditionally
859             Details: DetailLevel: none, ReturnSummary, ReturnAll
860             Context: BidList
861             ActiveList
862             ScheduledList
863             SoldList
864             UnsoldList
865              
866             # Returns: 'xs:boolean'
867              
868             =cut
869              
870             sub isReserveMet {
871             my $self = shift;
872             return $self->{'ReserveMet'};
873             }
874              
875              
876             =head2 setSecondChanceEligible()
877              
878             Part of the Second Chance Offer feature, indicates whether the seller can
879             extend a second chance offer for the item.
880              
881             # Argument: 'xs:boolean'
882              
883             =cut
884              
885             sub setSecondChanceEligible {
886             my $self = shift;
887             $self->{'SecondChanceEligible'} = shift
888             }
889              
890             =head2 isSecondChanceEligible()
891              
892             Calls: GetSellerList
893             Returned: Conditionally
894             Details: DetailLevel: ItemReturnDescription, ReturnAll
895             GranularityLevel: Fine
896              
897              
898             Calls: GetBidderList
899             Returned: Always
900              
901             Calls: GetItem
902             Returned: Always
903             Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
904              
905             # Returns: 'xs:boolean'
906              
907             =cut
908              
909             sub isSecondChanceEligible {
910             my $self = shift;
911             return $self->{'SecondChanceEligible'};
912             }
913              
914              
915              
916              
917              
918             ## Attribute and Property lists
919             sub getPropertiesList {
920             my $self = shift;
921             return \@gaProperties;
922             }
923              
924             sub getAttributesList {
925             my $self = shift;
926             return \@gaAttributes;
927             }
928              
929              
930              
931             1;