File Coverage

lib/eBay/API/XML/Call/GetProductFinderXSL.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::Call::GetProductFinderXSL;
4              
5 1     1   2254 use strict;
  1         2  
  1         29  
6 1     1   4 use warnings;
  1         2  
  1         25  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetProductFinderXSL.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::Call::GetProductFinderXSL
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetProductFinderXSL inherits from the L class
34              
35             =cut
36              
37 1     1   33 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetProductFinderXSL::GetProductFinderXSLRequestType;
41             use eBay::API::XML::Call::GetProductFinderXSL::GetProductFinderXSLResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetProductFinderXSL';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetProductFinderXSL::GetProductFinderXSLRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetProductFinderXSL::GetProductFinderXSLResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setFileName()
63              
64             The name of the XSL file to retrieve. If not specified, the call
65             returns the latest versions of all available XSL files.
66             Currently, this call only retrieves the product_finder.xsl file.
67             FileName is an optional input.
68              
69             RequiredInput: No
70             # Argument: 'xs:string'
71              
72             =cut
73            
74             sub setFileName {
75             my $self = shift;
76             my $sFileName = shift;
77             $self->getRequestDataType()->setFileName($sFileName);
78             }
79              
80             =head2 setFileVersion()
81              
82             The desired version of the XSL file. Required if FileName is specified.
83             If not specified, the call returns the latest versions of all
84             available XSL files that could be returned by the call.
85             (Currently, this call only retrieves the product_finder.xsl file.)
86             This is not a filter for retrieving changes to the XSL file.
87              
88             RequiredInput: No
89             # Argument: 'xs:string'
90              
91             =cut
92            
93             sub setFileVersion {
94             my $self = shift;
95             my $sFileVersion = shift;
96             $self->getRequestDataType()->setFileVersion($sFileVersion);
97             }
98              
99              
100              
101             #
102             # output properties
103             #
104              
105             =head2 getXSLFile()
106              
107             Child elements specify data related to one XSL file.
108             In theory, multiple XSLFile objects can be returned.
109             Currently, this call only retrieves the product_finder.xsl file.
110              
111             Returned: Always
112             Details: DetailLevel: none, ReturnAll
113             # Returns: reference to an array
114             of 'ns:XSLFileType'
115              
116             =cut
117            
118             sub getXSLFile {
119             my $self = shift;
120             return $self->getResponseDataType()->getXSLFile();
121             }
122              
123              
124              
125              
126              
127             1;