File Coverage

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