File Coverage

lib/eBay/API/XML/RequestDataType.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::RequestDataType;
4              
5 1     1   8 use strict;
  1         3  
  1         41  
6              
7 1     1   6 use Exporter;
  1         2  
  1         52  
8 1     1   760 use eBay::API::XML::DataType::AbstractRequestType;
  0            
  0            
9             our @ISA = ('Exporter'
10             , 'eBay::API::XML::DataType::AbstractRequestType');
11              
12             my @gaProperties = ( );
13             push @gaProperties,
14             @{eBay::API::XML::DataType::AbstractRequestType::getPropertiesList()};
15              
16             my @gaAttributes = ( ['xmlns', 'xs:string', '', ''] );
17             push @gaAttributes,
18             @{eBay::API::XML::DataType::AbstractRequestType::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;