File Coverage

lib/eBay/API/XML/DataType/ExpressHistogramProductType.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::ExpressHistogramProductType;
4              
5 1     1   1694 use strict;
  1         2  
  1         34  
6 1     1   7 use warnings;
  1         2  
  1         33  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. ExpressHistogramProductType.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::ExpressHistogramProductType
21              
22             =head1 DESCRIPTION
23              
24             Details about an Express product type and matching item and catalog product counts
25             in that product type, if any.
26              
27              
28              
29             =head1 SYNOPSIS
30              
31             =cut
32              
33              
34             =head1 INHERITANCE
35              
36             eBay::API::XML::DataType::ExpressHistogramProductType inherits from the L class
37              
38             =cut
39              
40 1     1   46 use eBay::API::XML::BaseDataType;
  0            
  0            
41             our @ISA = ("eBay::API::XML::BaseDataType");
42              
43             use eBay::API::XML::DataType::ExpressHistogramDomainDetailsType;
44              
45              
46             my @gaProperties = ( [ 'DomainDetails', 'ns:ExpressHistogramDomainDetailsType', ''
47             ,'eBay::API::XML::DataType::ExpressHistogramDomainDetailsType', '1' ]
48             );
49             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
50              
51             my @gaAttributes = (
52             );
53             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
54              
55             =head1 Subroutines:
56              
57             =cut
58              
59             sub new {
60             my $classname = shift;
61             my %args = @_;
62             my $self = $classname->SUPER::new(%args);
63             return $self;
64             }
65              
66             sub isScalar {
67             return 0;
68             }
69              
70              
71              
72             =head2 setDomainDetails()
73              
74             Identifies an Express product type and provides item and
75             eBay catalog product counts in that product type.
76             Only returned if a product type matched the request.
77            
78             A product type domain can stand alone, or it can be grouped with other product types into
79             an aisle or a department.
80              
81             # Argument: 'ns:ExpressHistogramDomainDetailsType'
82              
83             =cut
84              
85             sub setDomainDetails {
86             my $self = shift;
87             $self->{'DomainDetails'} = shift
88             }
89              
90             =head2 getDomainDetails()
91              
92             # Returns: 'ns:ExpressHistogramDomainDetailsType'
93              
94             =cut
95              
96             sub getDomainDetails {
97             my $self = shift;
98             return $self->_getDataTypeInstance( 'DomainDetails'
99             ,'eBay::API::XML::DataType::ExpressHistogramDomainDetailsType');
100             }
101              
102              
103              
104              
105              
106             ## Attribute and Property lists
107             sub getPropertiesList {
108             my $self = shift;
109             return \@gaProperties;
110             }
111              
112             sub getAttributesList {
113             my $self = shift;
114             return \@gaAttributes;
115             }
116              
117              
118              
119             1;