line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::BuyerRoleMetricsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1071
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. BuyerRoleMetricsType.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::BuyerRoleMetricsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Specifies 1 year feedback metrics as buyer. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::BuyerRoleMetricsType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
34
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
my @gaProperties = ( [ 'FeedbackLeftPercent', 'xs:float', '', '', '' ] |
45
|
|
|
|
|
|
|
, [ 'NegativeFeedbackLeftCount', 'xs:int', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'NeutralFeedbackLeftCount', 'xs:int', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'PositiveFeedbackLeftCount', 'xs:int', '', '', '' ] |
48
|
|
|
|
|
|
|
); |
49
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
my @gaAttributes = ( |
52
|
|
|
|
|
|
|
); |
53
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 Subroutines: |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=cut |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
sub new { |
60
|
|
|
|
|
|
|
my $classname = shift; |
61
|
|
|
|
|
|
|
my %args = @_; |
62
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
63
|
|
|
|
|
|
|
return $self; |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub isScalar { |
67
|
|
|
|
|
|
|
return 0; |
68
|
|
|
|
|
|
|
} |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 setFeedbackLeftPercent() |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Percentage of leaving feedback as a buyer. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
# Argument: 'xs:float' |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=cut |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
sub setFeedbackLeftPercent { |
81
|
|
|
|
|
|
|
my $self = shift; |
82
|
|
|
|
|
|
|
$self->{'FeedbackLeftPercent'} = shift |
83
|
|
|
|
|
|
|
} |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 getFeedbackLeftPercent() |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Calls: GetFeedback |
88
|
|
|
|
|
|
|
Returned: Conditionally |
89
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
# Returns: 'xs:float' |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=cut |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
sub getFeedbackLeftPercent { |
96
|
|
|
|
|
|
|
my $self = shift; |
97
|
|
|
|
|
|
|
return $self->{'FeedbackLeftPercent'}; |
98
|
|
|
|
|
|
|
} |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 setNegativeFeedbackLeftCount() |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Count of negative feedback entries given as a buyer. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
# Argument: 'xs:int' |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=cut |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
sub setNegativeFeedbackLeftCount { |
110
|
|
|
|
|
|
|
my $self = shift; |
111
|
|
|
|
|
|
|
$self->{'NegativeFeedbackLeftCount'} = shift |
112
|
|
|
|
|
|
|
} |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 getNegativeFeedbackLeftCount() |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Calls: GetFeedback |
117
|
|
|
|
|
|
|
Returned: Conditionally |
118
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
# Returns: 'xs:int' |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=cut |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
sub getNegativeFeedbackLeftCount { |
125
|
|
|
|
|
|
|
my $self = shift; |
126
|
|
|
|
|
|
|
return $self->{'NegativeFeedbackLeftCount'}; |
127
|
|
|
|
|
|
|
} |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 setNeutralFeedbackLeftCount() |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Count of neutral feedback entries given as a buyer. |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
# Argument: 'xs:int' |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=cut |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
sub setNeutralFeedbackLeftCount { |
139
|
|
|
|
|
|
|
my $self = shift; |
140
|
|
|
|
|
|
|
$self->{'NeutralFeedbackLeftCount'} = shift |
141
|
|
|
|
|
|
|
} |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=head2 getNeutralFeedbackLeftCount() |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
Calls: GetFeedback |
146
|
|
|
|
|
|
|
Returned: Conditionally |
147
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
# Returns: 'xs:int' |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=cut |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
sub getNeutralFeedbackLeftCount { |
154
|
|
|
|
|
|
|
my $self = shift; |
155
|
|
|
|
|
|
|
return $self->{'NeutralFeedbackLeftCount'}; |
156
|
|
|
|
|
|
|
} |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=head2 setPositiveFeedbackLeftCount() |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
Count of positive feedback entries given as a buyer. |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
# Argument: 'xs:int' |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=cut |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
sub setPositiveFeedbackLeftCount { |
168
|
|
|
|
|
|
|
my $self = shift; |
169
|
|
|
|
|
|
|
$self->{'PositiveFeedbackLeftCount'} = shift |
170
|
|
|
|
|
|
|
} |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=head2 getPositiveFeedbackLeftCount() |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
Calls: GetFeedback |
175
|
|
|
|
|
|
|
Returned: Conditionally |
176
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
# Returns: 'xs:int' |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=cut |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
sub getPositiveFeedbackLeftCount { |
183
|
|
|
|
|
|
|
my $self = shift; |
184
|
|
|
|
|
|
|
return $self->{'PositiveFeedbackLeftCount'}; |
185
|
|
|
|
|
|
|
} |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
## Attribute and Property lists |
192
|
|
|
|
|
|
|
sub getPropertiesList { |
193
|
|
|
|
|
|
|
my $self = shift; |
194
|
|
|
|
|
|
|
return \@gaProperties; |
195
|
|
|
|
|
|
|
} |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
sub getAttributesList { |
198
|
|
|
|
|
|
|
my $self = shift; |
199
|
|
|
|
|
|
|
return \@gaAttributes; |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
1; |