File Coverage

lib/eBay/API/XML/Call/GetAllBidders.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::GetAllBidders;
4              
5 1     1   2269 use strict;
  1         2  
  1         30  
6 1     1   5 use warnings;
  1         1  
  1         25  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetAllBidders.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::GetAllBidders
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetAllBidders inherits from the L class
34              
35             =cut
36              
37 1     1   33 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetAllBidders::GetAllBiddersRequestType;
41             use eBay::API::XML::Call::GetAllBidders::GetAllBiddersResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetAllBidders';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetAllBidders::GetAllBiddersRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetAllBidders::GetAllBiddersResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setCallMode()
63              
64             Specifies which bidder information to return.
65              
66             RequiredInput: Yes
67             # Argument: 'ns:GetAllBiddersModeCodeType'
68              
69             =cut
70            
71             sub setCallMode {
72             my $self = shift;
73             my $sCallMode = shift;
74             $self->getRequestDataType()->setCallMode($sCallMode);
75             }
76              
77             =head2 setIncludeBiddingSummary()
78              
79             Specifies whether return BiddingSummary container for each offer.
80              
81             RequiredInput: Conditionally
82             # Argument: 'xs:boolean'
83              
84             =cut
85            
86             sub setIncludeBiddingSummary {
87             my $self = shift;
88             my $sIncludeBiddingSummary = shift;
89             $self->getRequestDataType()->setIncludeBiddingSummary($sIncludeBiddingSummary);
90             }
91              
92             =head2 setItemID()
93              
94             The item ID for which to retrieve the list of bidders.
95              
96             MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)
97              
98             RequiredInput: Yes
99             # Argument: 'ns:ItemIDType'
100              
101             =cut
102            
103             sub setItemID {
104             my $self = shift;
105             my $pItemID = shift;
106             $self->getRequestDataType()->setItemID($pItemID);
107             }
108              
109              
110              
111             #
112             # output properties
113             #
114              
115             =head2 getBidArray()
116              
117             Contains a list of OfferType objects. Each
118             OfferType object represents the data for one bidder and bid.
119              
120             Returned: Always
121             # Returns: 'ns:OfferArrayType'
122              
123             =cut
124            
125             sub getBidArray {
126             my $self = shift;
127             return $self->getResponseDataType()->getBidArray();
128             }
129              
130             =head2 getHighBidder()
131              
132             eBay user ID for the user with the highest bid (or the earliest timestamp, in the event of a tie); a second chance offer candidate.
133              
134             Returned: Always
135             # Returns: 'ns:UserIDType'
136              
137             =cut
138            
139             sub getHighBidder {
140             my $self = shift;
141             return $self->getResponseDataType()->getHighBidder();
142             }
143              
144             =head2 getHighestBid()
145              
146             Bid amount offered by the HighBidder.
147              
148             Returned: Always
149             # Returns: 'ns:AmountType'
150              
151             =cut
152            
153             sub getHighestBid {
154             my $self = shift;
155             return $self->getResponseDataType()->getHighestBid();
156             }
157              
158             =head2 getListingStatus()
159              
160             Specifies an active or ended listing's status in eBay's processing workflow.
161             If a listing ends with a sale (or sales), eBay needs to update the sale details (e.g., winning bidder) and other information. This processing
162             can take several minutes. If you retrieve a sold item, use this listing status information to determine whether eBay has finished processing the listing so that you can be sure the winning bidder and other details are correct and complete.
163              
164             Returned: Always
165             # Returns: 'ns:ListingStatusCodeType'
166              
167             =cut
168            
169             sub getListingStatus {
170             my $self = shift;
171             return $self->getResponseDataType()->getListingStatus();
172             }
173              
174              
175              
176              
177              
178             1;