File Coverage

lib/eBay/API/XML/Call/GetProductFamilyMembers.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::GetProductFamilyMembers;
4              
5 1     1   2332 use strict;
  1         2  
  1         31  
6 1     1   6 use warnings;
  1         3  
  1         31  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetProductFamilyMembers.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::GetProductFamilyMembers
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetProductFamilyMembers inherits from the L class
34              
35             =cut
36              
37 1     1   41 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetProductFamilyMembers::GetProductFamilyMembersRequestType;
41             use eBay::API::XML::Call::GetProductFamilyMembers::GetProductFamilyMembersResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetProductFamilyMembers';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetProductFamilyMembers::GetProductFamilyMembersRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetProductFamilyMembers::GetProductFamilyMembersResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setProductSearch()
63              
64             Specifies the ID of a product in the family to be retrieved,
65             along with pagination and sorting instructions.
66             ProductSearch is a required input.
67              
68             SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AttrGPFM
69             Title: Retrieving All Members of a Product Family
70              
71             RequiredInput: Yes
72             # Argument: reference to an array
73             of 'ns:ProductSearchType'
74              
75             =cut
76            
77             sub setProductSearch {
78             my $self = shift;
79             my $pProductSearch = shift;
80             $self->getRequestDataType()->setProductSearch($pProductSearch);
81             }
82              
83              
84              
85             #
86             # output properties
87             #
88              
89             =head2 getDataElementSets()
90              
91             Container for one or more DataElement fields containing supplemental helpful data.
92             A DataElement field is an HTML snippet that specifies hints for the user, help links,
93             help graphics, and other supplemental information that varies per characteristics set.
94             Usage of this information is optional and may require developers to inspect the information
95             to determine how it can be applied in an application.
96              
97             Returned: Always
98             # Returns: reference to an array
99             of 'ns:DataElementSetType'
100              
101             =cut
102            
103             sub getDataElementSets {
104             my $self = shift;
105             return $self->getResponseDataType()->getDataElementSets();
106             }
107              
108             =head2 getProductSearchResult()
109              
110             Contains the attributes and summary product details for all products that match
111             the product ID (or IDs) passed in the request.
112              
113             Returned: Always
114             # Returns: reference to an array
115             of 'ns:ProductSearchResultType'
116              
117             =cut
118            
119             sub getProductSearchResult {
120             my $self = shift;
121             return $self->getResponseDataType()->getProductSearchResult();
122             }
123              
124              
125              
126              
127              
128             1;