line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::SellerRoleMetricsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
981
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
28
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. SellerRoleMetricsType.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::SellerRoleMetricsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Specifies 1 year feedback metrics for a seller. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::SellerRoleMetricsType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
41
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
my @gaProperties = ( [ 'CrossBorderTransactionCount', 'xs:int', '', '', '' ] |
45
|
|
|
|
|
|
|
, [ 'CrossBorderTransactionPercent', 'xs:float', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'FeedbackLeftPercent', 'xs:float', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'NegativeFeedbackLeftCount', 'xs:int', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'NeutralFeedbackLeftCount', 'xs:int', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'PositiveFeedbackLeftCount', 'xs:int', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'RepeatBuyerCount', 'xs:int', '', '', '' ] |
51
|
|
|
|
|
|
|
, [ 'RepeatBuyerPercent', 'xs:float', '', '', '' ] |
52
|
|
|
|
|
|
|
, [ 'TransactionPercent', 'xs:float', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'UniqueBuyerCount', 'xs:int', '', '', '' ] |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
my @gaAttributes = ( |
58
|
|
|
|
|
|
|
); |
59
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 Subroutines: |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
sub new { |
66
|
|
|
|
|
|
|
my $classname = shift; |
67
|
|
|
|
|
|
|
my %args = @_; |
68
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
69
|
|
|
|
|
|
|
return $self; |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
sub isScalar { |
73
|
|
|
|
|
|
|
return 0; |
74
|
|
|
|
|
|
|
} |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 setCrossBorderTransactionCount() |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Count of transactions done cross-border. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
# Argument: 'xs:int' |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
sub setCrossBorderTransactionCount { |
87
|
|
|
|
|
|
|
my $self = shift; |
88
|
|
|
|
|
|
|
$self->{'CrossBorderTransactionCount'} = shift |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 getCrossBorderTransactionCount() |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Calls: GetFeedback |
94
|
|
|
|
|
|
|
Returned: Conditionally |
95
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
# Returns: 'xs:int' |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
sub getCrossBorderTransactionCount { |
102
|
|
|
|
|
|
|
my $self = shift; |
103
|
|
|
|
|
|
|
return $self->{'CrossBorderTransactionCount'}; |
104
|
|
|
|
|
|
|
} |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 setCrossBorderTransactionPercent() |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
Percentage of cross-border transactions. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
# Argument: 'xs:float' |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=cut |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
sub setCrossBorderTransactionPercent { |
116
|
|
|
|
|
|
|
my $self = shift; |
117
|
|
|
|
|
|
|
$self->{'CrossBorderTransactionPercent'} = shift |
118
|
|
|
|
|
|
|
} |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 getCrossBorderTransactionPercent() |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Calls: GetFeedback |
123
|
|
|
|
|
|
|
Returned: Conditionally |
124
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
# Returns: 'xs:float' |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
sub getCrossBorderTransactionPercent { |
131
|
|
|
|
|
|
|
my $self = shift; |
132
|
|
|
|
|
|
|
return $self->{'CrossBorderTransactionPercent'}; |
133
|
|
|
|
|
|
|
} |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=head2 setFeedbackLeftPercent() |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
Percentage of leaving feedback as a seller. |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
# Argument: 'xs:float' |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=cut |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
sub setFeedbackLeftPercent { |
145
|
|
|
|
|
|
|
my $self = shift; |
146
|
|
|
|
|
|
|
$self->{'FeedbackLeftPercent'} = shift |
147
|
|
|
|
|
|
|
} |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=head2 getFeedbackLeftPercent() |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
Calls: GetFeedback |
152
|
|
|
|
|
|
|
Returned: Conditionally |
153
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
# Returns: 'xs:float' |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=cut |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
sub getFeedbackLeftPercent { |
160
|
|
|
|
|
|
|
my $self = shift; |
161
|
|
|
|
|
|
|
return $self->{'FeedbackLeftPercent'}; |
162
|
|
|
|
|
|
|
} |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=head2 setNegativeFeedbackLeftCount() |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
Count of negative feedback entries given as a seller. |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
# Argument: 'xs:int' |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=cut |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
sub setNegativeFeedbackLeftCount { |
174
|
|
|
|
|
|
|
my $self = shift; |
175
|
|
|
|
|
|
|
$self->{'NegativeFeedbackLeftCount'} = shift |
176
|
|
|
|
|
|
|
} |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head2 getNegativeFeedbackLeftCount() |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
Calls: GetFeedback |
181
|
|
|
|
|
|
|
Returned: Conditionally |
182
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
# Returns: 'xs:int' |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=cut |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
sub getNegativeFeedbackLeftCount { |
189
|
|
|
|
|
|
|
my $self = shift; |
190
|
|
|
|
|
|
|
return $self->{'NegativeFeedbackLeftCount'}; |
191
|
|
|
|
|
|
|
} |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=head2 setNeutralFeedbackLeftCount() |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
Count of neutral feedback entries given as a seller. |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
# Argument: 'xs:int' |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=cut |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
sub setNeutralFeedbackLeftCount { |
203
|
|
|
|
|
|
|
my $self = shift; |
204
|
|
|
|
|
|
|
$self->{'NeutralFeedbackLeftCount'} = shift |
205
|
|
|
|
|
|
|
} |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
=head2 getNeutralFeedbackLeftCount() |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
Calls: GetFeedback |
210
|
|
|
|
|
|
|
Returned: Conditionally |
211
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
# Returns: 'xs:int' |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=cut |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
sub getNeutralFeedbackLeftCount { |
218
|
|
|
|
|
|
|
my $self = shift; |
219
|
|
|
|
|
|
|
return $self->{'NeutralFeedbackLeftCount'}; |
220
|
|
|
|
|
|
|
} |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
=head2 setPositiveFeedbackLeftCount() |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
Count of positive feedback entries given as a seller. |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
# Argument: 'xs:int' |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
=cut |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
sub setPositiveFeedbackLeftCount { |
232
|
|
|
|
|
|
|
my $self = shift; |
233
|
|
|
|
|
|
|
$self->{'PositiveFeedbackLeftCount'} = shift |
234
|
|
|
|
|
|
|
} |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
=head2 getPositiveFeedbackLeftCount() |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
Calls: GetFeedback |
239
|
|
|
|
|
|
|
Returned: Conditionally |
240
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
# Returns: 'xs:int' |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
=cut |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
sub getPositiveFeedbackLeftCount { |
247
|
|
|
|
|
|
|
my $self = shift; |
248
|
|
|
|
|
|
|
return $self->{'PositiveFeedbackLeftCount'}; |
249
|
|
|
|
|
|
|
} |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
=head2 setRepeatBuyerCount() |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
Number of buyers who bought more than once from this seller. |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
# Argument: 'xs:int' |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
=cut |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
sub setRepeatBuyerCount { |
261
|
|
|
|
|
|
|
my $self = shift; |
262
|
|
|
|
|
|
|
$self->{'RepeatBuyerCount'} = shift |
263
|
|
|
|
|
|
|
} |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
=head2 getRepeatBuyerCount() |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
Calls: GetFeedback |
268
|
|
|
|
|
|
|
Returned: Conditionally |
269
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
# Returns: 'xs:int' |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
=cut |
274
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
sub getRepeatBuyerCount { |
276
|
|
|
|
|
|
|
my $self = shift; |
277
|
|
|
|
|
|
|
return $self->{'RepeatBuyerCount'}; |
278
|
|
|
|
|
|
|
} |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
=head2 setRepeatBuyerPercent() |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
Percentage of repeat buyers. |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
# Argument: 'xs:float' |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
=cut |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
sub setRepeatBuyerPercent { |
290
|
|
|
|
|
|
|
my $self = shift; |
291
|
|
|
|
|
|
|
$self->{'RepeatBuyerPercent'} = shift |
292
|
|
|
|
|
|
|
} |
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
=head2 getRepeatBuyerPercent() |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
Calls: GetFeedback |
297
|
|
|
|
|
|
|
Returned: Conditionally |
298
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
# Returns: 'xs:float' |
301
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
=cut |
303
|
|
|
|
|
|
|
|
304
|
|
|
|
|
|
|
sub getRepeatBuyerPercent { |
305
|
|
|
|
|
|
|
my $self = shift; |
306
|
|
|
|
|
|
|
return $self->{'RepeatBuyerPercent'}; |
307
|
|
|
|
|
|
|
} |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
=head2 setTransactionPercent() |
311
|
|
|
|
|
|
|
|
312
|
|
|
|
|
|
|
Percentage of number of times a member has sold successfully vs. the number of |
313
|
|
|
|
|
|
|
times a member has bought an item in the preceding 365 days. |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
# Argument: 'xs:float' |
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
=cut |
318
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
sub setTransactionPercent { |
320
|
|
|
|
|
|
|
my $self = shift; |
321
|
|
|
|
|
|
|
$self->{'TransactionPercent'} = shift |
322
|
|
|
|
|
|
|
} |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
=head2 getTransactionPercent() |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
Calls: GetFeedback |
327
|
|
|
|
|
|
|
Returned: Conditionally |
328
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
# Returns: 'xs:float' |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
=cut |
333
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
sub getTransactionPercent { |
335
|
|
|
|
|
|
|
my $self = shift; |
336
|
|
|
|
|
|
|
return $self->{'TransactionPercent'}; |
337
|
|
|
|
|
|
|
} |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
=head2 setUniqueBuyerCount() |
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
Count of unique buyers from this seller. |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
# Argument: 'xs:int' |
345
|
|
|
|
|
|
|
|
346
|
|
|
|
|
|
|
=cut |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
sub setUniqueBuyerCount { |
349
|
|
|
|
|
|
|
my $self = shift; |
350
|
|
|
|
|
|
|
$self->{'UniqueBuyerCount'} = shift |
351
|
|
|
|
|
|
|
} |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
=head2 getUniqueBuyerCount() |
354
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
Calls: GetFeedback |
356
|
|
|
|
|
|
|
Returned: Conditionally |
357
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
358
|
|
|
|
|
|
|
|
359
|
|
|
|
|
|
|
# Returns: 'xs:int' |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
=cut |
362
|
|
|
|
|
|
|
|
363
|
|
|
|
|
|
|
sub getUniqueBuyerCount { |
364
|
|
|
|
|
|
|
my $self = shift; |
365
|
|
|
|
|
|
|
return $self->{'UniqueBuyerCount'}; |
366
|
|
|
|
|
|
|
} |
367
|
|
|
|
|
|
|
|
368
|
|
|
|
|
|
|
|
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
## Attribute and Property lists |
373
|
|
|
|
|
|
|
sub getPropertiesList { |
374
|
|
|
|
|
|
|
my $self = shift; |
375
|
|
|
|
|
|
|
return \@gaProperties; |
376
|
|
|
|
|
|
|
} |
377
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
sub getAttributesList { |
379
|
|
|
|
|
|
|
my $self = shift; |
380
|
|
|
|
|
|
|
return \@gaAttributes; |
381
|
|
|
|
|
|
|
} |
382
|
|
|
|
|
|
|
|
383
|
|
|
|
|
|
|
|
384
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
1; |