File Coverage

lib/eBay/API/XML/Call/RespondToFeedback.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::RespondToFeedback;
4              
5 1     1   3248 use strict;
  1         4  
  1         39  
6 1     1   5 use warnings;
  1         2  
  1         35  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. RespondToFeedback.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::RespondToFeedback
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::RespondToFeedback inherits from the L class
34              
35             =cut
36              
37 1     1   40 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::RespondToFeedback::RespondToFeedbackRequestType;
41             use eBay::API::XML::Call::RespondToFeedback::RespondToFeedbackResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'RespondToFeedback';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::RespondToFeedback::RespondToFeedbackRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::RespondToFeedback::RespondToFeedbackResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setFeedbackID()
63              
64             ID that uniquely identifies the feedback.
65             FeedbackIDs can be retrieved by using
66             GetFeedback. Required if ItemID is not
67             specified.
68              
69             RequiredInput: Conditionally
70             # Argument: 'xs:string'
71              
72             =cut
73            
74             sub setFeedbackID {
75             my $self = shift;
76             my $sFeedbackID = shift;
77             $self->getRequestDataType()->setFeedbackID($sFeedbackID);
78             }
79              
80             =head2 setItemID()
81              
82             Unique identifier of an item to which the
83             feedback is attached. Required if FeedbackID is
84             not provided.
85              
86             MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)
87              
88             RequiredInput: Conditionally
89             # Argument: 'ns:ItemIDType'
90              
91             =cut
92            
93             sub setItemID {
94             my $self = shift;
95             my $pItemID = shift;
96             $self->getRequestDataType()->setItemID($pItemID);
97             }
98              
99             =head2 setResponseText()
100              
101             Textual comment that the user who is
102             subject of feedback may leave in response or
103             rebuttal to the feedback. Alternatively, when
104             the ResponseType is FollowUp, this value
105             contains the text of the follow-up comment. Max
106             length is 125 for the Taiwan site.
107              
108             MaxLength: 80
109              
110             RequiredInput: Yes
111             # Argument: 'xs:string'
112              
113             =cut
114            
115             sub setResponseText {
116             my $self = shift;
117             my $sResponseText = shift;
118             $self->getRequestDataType()->setResponseText($sResponseText);
119             }
120              
121             =head2 setResponseType()
122              
123             Specifies whether the response is a reply
124             or a follow-up.
125              
126             RequiredInput: Yes
127             # Argument: 'ns:FeedbackResponseCodeType'
128              
129             =cut
130            
131             sub setResponseType {
132             my $self = shift;
133             my $sResponseType = shift;
134             $self->getRequestDataType()->setResponseType($sResponseType);
135             }
136              
137             =head2 setTargetUserID()
138              
139             User who left the feedback that is being
140             replied to or followed up on.
141              
142             RequiredInput: Yes
143             # Argument: 'ns:UserIDType'
144              
145             =cut
146            
147             sub setTargetUserID {
148             my $self = shift;
149             my $pTargetUserID = shift;
150             $self->getRequestDataType()->setTargetUserID($pTargetUserID);
151             }
152              
153             =head2 setTransactionID()
154              
155             Unique identifier for a purchase from an
156             eBay Stores Inventory or basic fixed price
157             listing. If TransactionID is specified, ItemID
158             must also be specified.
159              
160             MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.)
161              
162             RequiredInput: No
163             # Argument: 'xs:string'
164              
165             =cut
166            
167             sub setTransactionID {
168             my $self = shift;
169             my $sTransactionID = shift;
170             $self->getRequestDataType()->setTransactionID($sTransactionID);
171             }
172              
173              
174              
175             #
176             # output properties
177             #
178              
179              
180              
181              
182              
183             1;