File Coverage

lib/eBay/API/XML/DataType/BidderIdType.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::BidderIdType;
4              
5 1     1   1521 use strict;
  1         3  
  1         31  
6 1     1   12 use warnings;
  1         2  
  1         32  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. BidderIdType.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::BidderIdType
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::DataType::BidderIdType inherits from the L class
34              
35             =cut
36              
37 1     1   38 use eBay::API::XML::BaseDataType;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseDataType");
39              
40              
41              
42             my @gaProperties = ( [ 'content', 'xs:int', '', '', '' ]
43             );
44             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
45              
46             my @gaAttributes = (
47             );
48             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
49              
50             =head1 Subroutines:
51              
52             =cut
53              
54             sub new {
55             my $classname = shift;
56             my %args = @_;
57             my $self = $classname->SUPER::new(%args);
58             return $self;
59             }
60              
61             sub isScalar {
62             return 0;
63             }
64              
65              
66              
67             =head2 setValue()
68              
69             # Argument: 'xs:int'
70              
71             =cut
72              
73             sub setValue {
74             my $self = shift;
75             $self->{'content'} = shift
76             }
77              
78             =head2 getValue()
79              
80             # Returns: 'xs:int'
81              
82             =cut
83              
84             sub getValue {
85             my $self = shift;
86             return $self->{'content'};
87             }
88              
89              
90              
91              
92              
93             ## Attribute and Property lists
94             sub getPropertiesList {
95             my $self = shift;
96             return \@gaProperties;
97             }
98              
99             sub getAttributesList {
100             my $self = shift;
101             return \@gaAttributes;
102             }
103              
104              
105              
106             1;