File Coverage

lib/eBay/API/XML/ResponseDataType.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 -w
2              
3             package eBay::API::XML::ResponseDataType;
4              
5 1     1   7 use strict;
  1         2  
  1         36  
6              
7 1     1   7 use Exporter;
  1         1  
  1         49  
8 1     1   74 use eBay::API::XML::DataType::AbstractResponseType;
  0            
  0            
9             our @ISA = ('Exporter'
10             , 'eBay::API::XML::DataType::AbstractResponseType');
11              
12             my @gaProperties = ( );
13             push @gaProperties,
14             @{eBay::API::XML::DataType::AbstractResponseType::getPropertiesList()};
15              
16             my @gaAttributes = ( ['xmlns', 'xs:string', '', ''] );
17             push @gaAttributes,
18             @{eBay::API::XML::DataType::AbstractResponseType::getAttributesList()};
19              
20             sub new {
21             my $classname = shift;
22             my %args = @_;
23              
24             my $self = $classname->SUPER::new(%args);
25              
26             $self->{'xmlns'} = 'urn:ebay:apis:eBLBaseComponents';
27            
28             return $self;
29             }
30              
31             sub getPropertiesList {
32             my $self = shift;
33             return \@gaProperties;
34             }
35              
36             sub getAttributesList {
37             my $self = shift;
38             return \@gaAttributes;
39             }
40              
41             1;