File Coverage

lib/eBay/API/XML/Call/GetHighBidders/GetHighBiddersRequestType.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::GetHighBidders::GetHighBiddersRequestType;
4              
5 1     1   1863 use strict;
  1         2  
  1         39  
6 1     1   6 use warnings;
  1         3  
  1         44  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetHighBiddersRequestType.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::GetHighBidders::GetHighBiddersRequestType
21              
22             =head1 DESCRIPTION
23              
24             Retrieves a list of high bidders for the Dutch auction specified
25             in the ItemId property of the request. A seller specifies a unique
26             item ID in this call to determine which buyers are winning bidders
27             and how many items each buyer can purchase. Note that bidder information is anonymous to everyone except the bidder and the seller during an active auction.
28              
29              
30              
31             =head1 SYNOPSIS
32              
33             =cut
34              
35              
36             =head1 INHERITANCE
37              
38             eBay::API::XML::Call::GetHighBidders::GetHighBiddersRequestType inherits from the L class
39              
40             =cut
41              
42 1     1   44 use eBay::API::XML::RequestDataType;
  0            
  0            
43             our @ISA = ("eBay::API::XML::RequestDataType");
44              
45             use eBay::API::XML::DataType::ItemIDType;
46              
47              
48             my @gaProperties = ( [ 'ItemID', 'ns:ItemIDType', ''
49             ,'eBay::API::XML::DataType::ItemIDType', '1' ]
50             );
51             push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()};
52              
53             my @gaAttributes = (
54             );
55             push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()};
56              
57             =head1 Subroutines:
58              
59             =cut
60              
61             sub new {
62             my $classname = shift;
63             my %args = @_;
64             my $self = $classname->SUPER::new(%args);
65             return $self;
66             }
67              
68             sub isScalar {
69             return 0;
70             }
71              
72              
73              
74             =head2 setItemID()
75              
76             Unique item ID that identifies the Dutch auction listing for which to
77             retrieve a list of the high bidders.
78              
79             MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)
80              
81             RequiredInput: Yes
82             # Argument: 'ns:ItemIDType'
83              
84             =cut
85              
86             sub setItemID {
87             my $self = shift;
88             $self->{'ItemID'} = shift
89             }
90              
91             =head2 getItemID()
92              
93             # Returns: 'ns:ItemIDType'
94              
95             =cut
96              
97             sub getItemID {
98             my $self = shift;
99             return $self->_getDataTypeInstance( 'ItemID'
100             ,'eBay::API::XML::DataType::ItemIDType');
101             }
102              
103              
104              
105              
106              
107             ## Attribute and Property lists
108             sub getPropertiesList {
109             my $self = shift;
110             return \@gaProperties;
111             }
112              
113             sub getAttributesList {
114             my $self = shift;
115             return \@gaAttributes;
116             }
117              
118              
119              
120             1;