line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::VerifiedUserRequirementsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1302
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
24
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. VerifiedUserRequirementsType.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::VerifiedUserRequirementsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Container for verified user requirements. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::VerifiedUserRequirementsType 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 = ( [ 'MinimumFeedbackScore', 'xs:int', '', '', '' ] |
45
|
|
|
|
|
|
|
, [ 'VerifiedUser', 'xs:boolean', '', '', '' ] |
46
|
|
|
|
|
|
|
); |
47
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaAttributes = ( |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 Subroutines: |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
sub new { |
58
|
|
|
|
|
|
|
my $classname = shift; |
59
|
|
|
|
|
|
|
my %args = @_; |
60
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
61
|
|
|
|
|
|
|
return $self; |
62
|
|
|
|
|
|
|
} |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
sub isScalar { |
65
|
|
|
|
|
|
|
return 0; |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 setMinimumFeedbackScore() |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
This field is ignored unless VerifiedUser is true. |
73
|
|
|
|
|
|
|
If this field is present, the user's feedback score is also considered: |
74
|
|
|
|
|
|
|
a user is blocked from bidding if the user's feedback score is |
75
|
|
|
|
|
|
|
less than or equal to the value of this field. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Max: Default: 5 |
78
|
|
|
|
|
|
|
Min: |
79
|
|
|
|
|
|
|
Calls: AddItem |
80
|
|
|
|
|
|
|
GetItemRecommendations |
81
|
|
|
|
|
|
|
RelistItem |
82
|
|
|
|
|
|
|
ReviseItem |
83
|
|
|
|
|
|
|
VerifyAddItem |
84
|
|
|
|
|
|
|
RequiredInput: No |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
# Argument: 'xs:int' |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
sub setMinimumFeedbackScore { |
91
|
|
|
|
|
|
|
my $self = shift; |
92
|
|
|
|
|
|
|
$self->{'MinimumFeedbackScore'} = shift |
93
|
|
|
|
|
|
|
} |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 getMinimumFeedbackScore() |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Calls: GetBidderList |
98
|
|
|
|
|
|
|
GetSellerList |
99
|
|
|
|
|
|
|
Returned: Conditionally |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Calls: GetItem |
102
|
|
|
|
|
|
|
Returned: Conditionally |
103
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
# Returns: 'xs:int' |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=cut |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
sub getMinimumFeedbackScore { |
110
|
|
|
|
|
|
|
my $self = shift; |
111
|
|
|
|
|
|
|
return $self->{'MinimumFeedbackScore'}; |
112
|
|
|
|
|
|
|
} |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 setVerifiedUser() |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
If true, blocks bidding by users who do not pass |
118
|
|
|
|
|
|
|
a simple check (for example, for credit card on file). |
119
|
|
|
|
|
|
|
See "Buyer Requirements - VerifiedUser" in the chapter |
120
|
|
|
|
|
|
|
"Field Differences for eBay Sites." |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Default: false |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
Calls: AddItem |
125
|
|
|
|
|
|
|
GetItemRecommendations |
126
|
|
|
|
|
|
|
RelistItem |
127
|
|
|
|
|
|
|
ReviseItem |
128
|
|
|
|
|
|
|
VerifyAddItem |
129
|
|
|
|
|
|
|
RequiredInput: No |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=cut |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
sub setVerifiedUser { |
136
|
|
|
|
|
|
|
my $self = shift; |
137
|
|
|
|
|
|
|
$self->{'VerifiedUser'} = shift |
138
|
|
|
|
|
|
|
} |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=head2 isVerifiedUser() |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
Calls: GetBidderList |
143
|
|
|
|
|
|
|
GetSellerList |
144
|
|
|
|
|
|
|
Returned: Conditionally |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
Calls: GetItem |
147
|
|
|
|
|
|
|
Returned: Conditionally |
148
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=cut |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
sub isVerifiedUser { |
155
|
|
|
|
|
|
|
my $self = shift; |
156
|
|
|
|
|
|
|
return $self->{'VerifiedUser'}; |
157
|
|
|
|
|
|
|
} |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
## Attribute and Property lists |
164
|
|
|
|
|
|
|
sub getPropertiesList { |
165
|
|
|
|
|
|
|
my $self = shift; |
166
|
|
|
|
|
|
|
return \@gaProperties; |
167
|
|
|
|
|
|
|
} |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
sub getAttributesList { |
170
|
|
|
|
|
|
|
my $self = shift; |
171
|
|
|
|
|
|
|
return \@gaAttributes; |
172
|
|
|
|
|
|
|
} |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
1; |