line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::LeaveFeedback::LeaveFeedbackRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1978
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
32
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
29
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. LeaveFeedbackRequestType.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::LeaveFeedback::LeaveFeedbackRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Enables a user to leave feedback about another user. Both users (the |
25
|
|
|
|
|
|
|
sender and the recipient) must have a transactional relationship. |
26
|
|
|
|
|
|
|
That is, they must have both been participants in a successfully |
27
|
|
|
|
|
|
|
concluded item sale transaction that took place no more than 90 days |
28
|
|
|
|
|
|
|
prior. Also, the sending user cannot have already left feedback for |
29
|
|
|
|
|
|
|
the recipient for the transaction. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SYNOPSIS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 INHERITANCE |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
eBay::API::XML::Call::LeaveFeedback::LeaveFeedbackRequestType inherits from the L class |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|
44
|
1
|
|
|
1
|
|
37
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
48
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemRatingDetailArrayType; |
49
|
|
|
|
|
|
|
use eBay::API::XML::DataType::UserIDType; |
50
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::CommentTypeCodeType; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
my @gaProperties = ( [ 'CommentText', 'xs:string', '', '', '' ] |
54
|
|
|
|
|
|
|
, [ 'CommentType', 'ns:CommentTypeCodeType', '' |
55
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::CommentTypeCodeType', '' ] |
56
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
57
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
58
|
|
|
|
|
|
|
, [ 'SellerItemRatingDetailArray', 'ns:ItemRatingDetailArrayType', '' |
59
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemRatingDetailArrayType', '1' ] |
60
|
|
|
|
|
|
|
, [ 'TargetUser', 'ns:UserIDType', '' |
61
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType', '1' ] |
62
|
|
|
|
|
|
|
, [ 'TransactionID', 'xs:string', '', '', '' ] |
63
|
|
|
|
|
|
|
); |
64
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
my @gaAttributes = ( |
67
|
|
|
|
|
|
|
); |
68
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 Subroutines: |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
sub new { |
75
|
|
|
|
|
|
|
my $classname = shift; |
76
|
|
|
|
|
|
|
my %args = @_; |
77
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
78
|
|
|
|
|
|
|
return $self; |
79
|
|
|
|
|
|
|
} |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
sub isScalar { |
82
|
|
|
|
|
|
|
return 0; |
83
|
|
|
|
|
|
|
} |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 setCommentText() |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Textual comment that explains, clarifies, or justifies the feedback |
90
|
|
|
|
|
|
|
score specified in CommentType. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
RequiredInput: Yes |
93
|
|
|
|
|
|
|
# Argument: 'xs:string' |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=cut |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
sub setCommentText { |
98
|
|
|
|
|
|
|
my $self = shift; |
99
|
|
|
|
|
|
|
$self->{'CommentText'} = shift |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head2 getCommentText() |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
# Returns: 'xs:string' |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=cut |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
sub getCommentText { |
109
|
|
|
|
|
|
|
my $self = shift; |
110
|
|
|
|
|
|
|
return $self->{'CommentText'}; |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 setCommentType() |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Score for the feedback being left. May be Positive, Neutral, or |
117
|
|
|
|
|
|
|
Negative. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
Note: |
120
|
|
|
|
|
|
|
Beginning in May 2008, sellers can no longer leave neutral or negative |
121
|
|
|
|
|
|
|
feedback for buyers. Buyers can no longer leave neutral or negative feedback |
122
|
|
|
|
|
|
|
within 7 days from the end of the transaction for active PowerSellers who |
123
|
|
|
|
|
|
|
have been on eBay for 12 months. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
RequiredInput: Yes |
127
|
|
|
|
|
|
|
AllValuesExcept: Withdrawn, IndependentlyWithdrawn |
128
|
|
|
|
|
|
|
# Argument: 'ns:CommentTypeCodeType' |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
sub setCommentType { |
133
|
|
|
|
|
|
|
my $self = shift; |
134
|
|
|
|
|
|
|
$self->{'CommentType'} = shift |
135
|
|
|
|
|
|
|
} |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 getCommentType() |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
# Returns: 'ns:CommentTypeCodeType' |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=cut |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
sub getCommentType { |
144
|
|
|
|
|
|
|
my $self = shift; |
145
|
|
|
|
|
|
|
return $self->{'CommentType'}; |
146
|
|
|
|
|
|
|
} |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=head2 setItemID() |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
The ID of an item. Specify the ID for the item of |
152
|
|
|
|
|
|
|
the transaction of the users. The transaction must not have been |
153
|
|
|
|
|
|
|
created more than 90 days before your attempt to leave feedback. |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
RequiredInput: Yes |
158
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=cut |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
sub setItemID { |
163
|
|
|
|
|
|
|
my $self = shift; |
164
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
165
|
|
|
|
|
|
|
} |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head2 getItemID() |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=cut |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
sub getItemID { |
174
|
|
|
|
|
|
|
my $self = shift; |
175
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
176
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
177
|
|
|
|
|
|
|
} |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=head2 setSellerItemRatingDetailArray() |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
Container for detailed seller ratings (DSRs). |
183
|
|
|
|
|
|
|
If a buyer is providing DSRs, they are specified in this container. |
184
|
|
|
|
|
|
|
Sellers have access to the number of ratings they've received, as well as |
185
|
|
|
|
|
|
|
to the averages of the DSRs they've received in each |
186
|
|
|
|
|
|
|
DSR area (i.e., to the average of ratings in the item-description area, etc.). |
187
|
|
|
|
|
|
|
By March 2007, the DSR feature will be available on the United Kingdom site |
188
|
|
|
|
|
|
|
and on the following other sites: AU (site ID 15), BEFR (site ID 23), |
189
|
|
|
|
|
|
|
BENL (site ID 123), FR (site ID 71), IE (site ID 205), IN (site ID 203), |
190
|
|
|
|
|
|
|
IT (site ID 101), and PL (site ID 212). |
191
|
|
|
|
|
|
|
In Summer 2007, the DSR feature will be available on the other |
192
|
|
|
|
|
|
|
API-enabled country sites, including the US site (site ID 0). |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=DetailedSellerRatings |
195
|
|
|
|
|
|
|
Title: Detailed Seller Ratings |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
RequiredInput: No |
198
|
|
|
|
|
|
|
# Argument: 'ns:ItemRatingDetailArrayType' |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=cut |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
sub setSellerItemRatingDetailArray { |
203
|
|
|
|
|
|
|
my $self = shift; |
204
|
|
|
|
|
|
|
$self->{'SellerItemRatingDetailArray'} = shift |
205
|
|
|
|
|
|
|
} |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
=head2 getSellerItemRatingDetailArray() |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
# Returns: 'ns:ItemRatingDetailArrayType' |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=cut |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
sub getSellerItemRatingDetailArray { |
214
|
|
|
|
|
|
|
my $self = shift; |
215
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'SellerItemRatingDetailArray' |
216
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemRatingDetailArrayType'); |
217
|
|
|
|
|
|
|
} |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
=head2 setTargetUser() |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
Specifies the recipient user about whom the feedback is being left. |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
RequiredInput: Yes |
225
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=cut |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
sub setTargetUser { |
230
|
|
|
|
|
|
|
my $self = shift; |
231
|
|
|
|
|
|
|
$self->{'TargetUser'} = shift |
232
|
|
|
|
|
|
|
} |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
=head2 getTargetUser() |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
# Returns: 'ns:UserIDType' |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
=cut |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
sub getTargetUser { |
241
|
|
|
|
|
|
|
my $self = shift; |
242
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'TargetUser' |
243
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType'); |
244
|
|
|
|
|
|
|
} |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
=head2 setTransactionID() |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
The item purchase transaction from the listing specified in ItemID for |
250
|
|
|
|
|
|
|
which the feedback is being left. Required if the listing identified in |
251
|
|
|
|
|
|
|
ItemID was a multi-item listing (Dutch auction or multi-item fixed-price |
252
|
|
|
|
|
|
|
listing). |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.) |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
RequiredInput: Conditionally |
257
|
|
|
|
|
|
|
# Argument: 'xs:string' |
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
=cut |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
sub setTransactionID { |
262
|
|
|
|
|
|
|
my $self = shift; |
263
|
|
|
|
|
|
|
$self->{'TransactionID'} = shift |
264
|
|
|
|
|
|
|
} |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
=head2 getTransactionID() |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
# Returns: 'xs:string' |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
=cut |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
sub getTransactionID { |
273
|
|
|
|
|
|
|
my $self = shift; |
274
|
|
|
|
|
|
|
return $self->{'TransactionID'}; |
275
|
|
|
|
|
|
|
} |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
## Attribute and Property lists |
282
|
|
|
|
|
|
|
sub getPropertiesList { |
283
|
|
|
|
|
|
|
my $self = shift; |
284
|
|
|
|
|
|
|
return \@gaProperties; |
285
|
|
|
|
|
|
|
} |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
sub getAttributesList { |
288
|
|
|
|
|
|
|
my $self = shift; |
289
|
|
|
|
|
|
|
return \@gaAttributes; |
290
|
|
|
|
|
|
|
} |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
1; |