File Coverage

lib/eBay/API/XML/Call/GetLiveAuctionBidders.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::GetLiveAuctionBidders;
4              
5 1     1   2325 use strict;
  1         2  
  1         24  
6 1     1   5 use warnings;
  1         2  
  1         25  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetLiveAuctionBidders.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::GetLiveAuctionBidders
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetLiveAuctionBidders inherits from the L class
34              
35             =cut
36              
37 1     1   32 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetLiveAuctionBidders::GetLiveAuctionBiddersRequestType;
41             use eBay::API::XML::Call::GetLiveAuctionBidders::GetLiveAuctionBiddersResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetLiveAuctionBidders';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetLiveAuctionBidders::GetLiveAuctionBiddersRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetLiveAuctionBidders::GetLiveAuctionBiddersResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setBidderStatus()
63              
64             The seller can ask to retrieve a subset of users in the bidder approval list
65             who are either "approved","denied", or "pending" or a combination of these.
66             If this field is not specified in the request, all records are returned.
67              
68             RequiredInput: No
69             # Argument: reference to an array
70             of 'ns:BidderStatusCodeType'
71              
72             =cut
73            
74             sub setBidderStatus {
75             my $self = shift;
76             my $sBidderStatus = shift;
77             $self->getRequestDataType()->setBidderStatus($sBidderStatus);
78             }
79              
80             =head2 setPagination()
81              
82             Child elements control pagination of the output.
83             Use its EntriesPerPage property to control the number of bidders to return per call
84             and its PageNumber property to specify the page of data to return.
85              
86             RequiredInput: No
87             # Argument: 'ns:PaginationType'
88              
89             =cut
90            
91             sub setPagination {
92             my $self = shift;
93             my $pPagination = shift;
94             $self->getRequestDataType()->setPagination($pPagination);
95             }
96              
97             =head2 setUserCatalogID()
98              
99             Number that identifies the seller's eBay Live Auctions catalog for which they
100             want to retrieve bidder requests.
101              
102             RequiredInput: Yes
103             # Argument: 'xs:int'
104              
105             =cut
106            
107             sub setUserCatalogID {
108             my $self = shift;
109             my $sUserCatalogID = shift;
110             $self->getRequestDataType()->setUserCatalogID($sUserCatalogID);
111             }
112              
113              
114              
115             #
116             # output properties
117             #
118              
119             =head2 getBidderDetails()
120              
121             Contains the bidder details that match the bidder query
122             passed in the request.
123             Returned when bidder search results are found.
124              
125             Returned: Conditionally
126             # Returns: 'ns:BidderDetailArrayType'
127              
128             =cut
129            
130             sub getBidderDetails {
131             my $self = shift;
132             return $self->getResponseDataType()->getBidderDetails();
133             }
134              
135             =head2 getPageNumber()
136              
137             The page number for the page of data returned.
138              
139             Returned: Conditionally
140             # Returns: 'xs:int'
141              
142             =cut
143            
144             sub getPageNumber {
145             my $self = shift;
146             return $self->getResponseDataType()->getPageNumber();
147             }
148              
149             =head2 getPaginationResult()
150              
151             Shows the pagination of data returned by requests. Only returned
152             if Pagination was specified in the request.
153              
154             Returned: Conditionally
155             # Returns: 'ns:PaginationResultType'
156              
157             =cut
158            
159             sub getPaginationResult {
160             my $self = shift;
161             return $self->getResponseDataType()->getPaginationResult();
162             }
163              
164             =head2 getTotalApproved()
165              
166             Total number of bidders in Approved state.
167              
168             Returned: Always
169             # Returns: 'xs:int'
170              
171             =cut
172            
173             sub getTotalApproved {
174             my $self = shift;
175             return $self->getResponseDataType()->getTotalApproved();
176             }
177              
178             =head2 getTotalDenied()
179              
180             Total number of bidders in Denied state.
181              
182             Returned: Always
183             # Returns: 'xs:int'
184              
185             =cut
186            
187             sub getTotalDenied {
188             my $self = shift;
189             return $self->getResponseDataType()->getTotalDenied();
190             }
191              
192             =head2 getTotalPending()
193              
194             Total number of bidders in Pending state.
195              
196             Returned: Always
197             # Returns: 'xs:int'
198              
199             =cut
200            
201             sub getTotalPending {
202             my $self = shift;
203             return $self->getResponseDataType()->getTotalPending();
204             }
205              
206              
207              
208              
209              
210             1;