File Coverage

lib/eBay/API/XML/Call/GetLiveAuctionBidders/GetLiveAuctionBiddersRequestType.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::GetLiveAuctionBiddersRequestType;
4              
5 1     1   1380 use strict;
  1         2  
  1         26  
6 1     1   4 use warnings;
  1         2  
  1         25  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetLiveAuctionBiddersRequestType.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::GetLiveAuctionBiddersRequestType
21              
22             =head1 DESCRIPTION
23              
24             Includes the list of bidders for the requested catalog.
25              
26              
27              
28             =head1 SYNOPSIS
29              
30             =cut
31              
32              
33             =head1 INHERITANCE
34              
35             eBay::API::XML::Call::GetLiveAuctionBidders::GetLiveAuctionBiddersRequestType inherits from the L class
36              
37             =cut
38              
39 1     1   34 use eBay::API::XML::RequestDataType;
  0            
  0            
40             our @ISA = ("eBay::API::XML::RequestDataType");
41              
42             use eBay::API::XML::DataType::PaginationType;
43             use eBay::API::XML::DataType::Enum::BidderStatusCodeType;
44              
45              
46             my @gaProperties = ( [ 'BidderStatus', 'ns:BidderStatusCodeType', '1'
47             ,'eBay::API::XML::DataType::Enum::BidderStatusCodeType', '' ]
48             , [ 'Pagination', 'ns:PaginationType', ''
49             ,'eBay::API::XML::DataType::PaginationType', '1' ]
50             , [ 'UserCatalogID', 'xs:int', '', '', '' ]
51             );
52             push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()};
53              
54             my @gaAttributes = (
55             );
56             push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()};
57              
58             =head1 Subroutines:
59              
60             =cut
61              
62             sub new {
63             my $classname = shift;
64             my %args = @_;
65             my $self = $classname->SUPER::new(%args);
66             return $self;
67             }
68              
69             sub isScalar {
70             return 0;
71             }
72              
73              
74              
75             =head2 setBidderStatus()
76              
77             The seller can ask to retrieve a subset of users in the bidder approval list
78             who are either "approved","denied", or "pending" or a combination of these.
79             If this field is not specified in the request, all records are returned.
80              
81             RequiredInput: No
82             # Argument: reference to an array
83             of 'ns:BidderStatusCodeType'
84              
85             =cut
86              
87             sub setBidderStatus {
88             my $self = shift;
89             $self->{'BidderStatus'} =
90             $self->convertArray_To_RefToArrayIfNeeded(@_);
91             }
92              
93             =head2 getBidderStatus()
94              
95             # Returns: reference to an array
96             of 'ns:BidderStatusCodeType'
97              
98             =cut
99              
100             sub getBidderStatus {
101             my $self = shift;
102             return $self->_getDataTypeArray('BidderStatus');
103             }
104              
105              
106             =head2 setPagination()
107              
108             Child elements control pagination of the output.
109             Use its EntriesPerPage property to control the number of bidders to return per call
110             and its PageNumber property to specify the page of data to return.
111              
112             RequiredInput: No
113             # Argument: 'ns:PaginationType'
114              
115             =cut
116              
117             sub setPagination {
118             my $self = shift;
119             $self->{'Pagination'} = shift
120             }
121              
122             =head2 getPagination()
123              
124             # Returns: 'ns:PaginationType'
125              
126             =cut
127              
128             sub getPagination {
129             my $self = shift;
130             return $self->_getDataTypeInstance( 'Pagination'
131             ,'eBay::API::XML::DataType::PaginationType');
132             }
133              
134              
135             =head2 setUserCatalogID()
136              
137             Number that identifies the seller's eBay Live Auctions catalog for which they
138             want to retrieve bidder requests.
139              
140             RequiredInput: Yes
141             # Argument: 'xs:int'
142              
143             =cut
144              
145             sub setUserCatalogID {
146             my $self = shift;
147             $self->{'UserCatalogID'} = shift
148             }
149              
150             =head2 getUserCatalogID()
151              
152             # Returns: 'xs:int'
153              
154             =cut
155              
156             sub getUserCatalogID {
157             my $self = shift;
158             return $self->{'UserCatalogID'};
159             }
160              
161              
162              
163              
164              
165             ## Attribute and Property lists
166             sub getPropertiesList {
167             my $self = shift;
168             return \@gaProperties;
169             }
170              
171             sub getAttributesList {
172             my $self = shift;
173             return \@gaAttributes;
174             }
175              
176              
177              
178             1;