line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::UserIdFilterType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1508
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
84
|
|
6
|
1
|
|
|
1
|
|
8
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
33
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. UserIdFilterType.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::UserIdFilterType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
One of the data filters used when searching for items using |
25
|
|
|
|
|
|
|
GetSearchResults. Allows filtering based on the eBay user IDs of |
26
|
|
|
|
|
|
|
sellers. May be used to limit the list of found items to just those |
27
|
|
|
|
|
|
|
listed by one or more specified sellers. Or may be used to limit the |
28
|
|
|
|
|
|
|
list to those items NOT listed by specified excluded sellers. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 SYNOPSIS |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 INHERITANCE |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
eBay::API::XML::DataType::UserIdFilterType inherits from the L class |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
1
|
|
|
1
|
|
47
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::UserIDType; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaProperties = ( [ 'ExcludeSellers', 'ns:UserIDType', '1' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType', '1' ] |
51
|
|
|
|
|
|
|
, [ 'IncludeSellers', 'ns:UserIDType', '1' |
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType', '1' ] |
53
|
|
|
|
|
|
|
); |
54
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
my @gaAttributes = ( |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 Subroutines: |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=cut |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
sub new { |
65
|
|
|
|
|
|
|
my $classname = shift; |
66
|
|
|
|
|
|
|
my %args = @_; |
67
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
68
|
|
|
|
|
|
|
return $self; |
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
sub isScalar { |
72
|
|
|
|
|
|
|
return 0; |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 setExcludeSellers() |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Contains one or more eBay user IDs of sellers whose |
80
|
|
|
|
|
|
|
listings should NOT be returned in the search result set. |
81
|
|
|
|
|
|
|
That is, the sellers' |
82
|
|
|
|
|
|
|
items are excluded from the search results. |
83
|
|
|
|
|
|
|
A comma is used to separate multiple seller IDs. |
84
|
|
|
|
|
|
|
You can specify a maximum of 100 sellers. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
Calls: GetSearchResults |
87
|
|
|
|
|
|
|
RequiredInput: No |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
# Argument: reference to an array |
90
|
|
|
|
|
|
|
of 'ns:UserIDType' |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=cut |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
sub setExcludeSellers { |
95
|
|
|
|
|
|
|
my $self = shift; |
96
|
|
|
|
|
|
|
$self->{'ExcludeSellers'} = |
97
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
98
|
|
|
|
|
|
|
} |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head2 getExcludeSellers() |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
# Returns: reference to an array |
103
|
|
|
|
|
|
|
of 'ns:UserIDType' |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=cut |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
sub getExcludeSellers { |
108
|
|
|
|
|
|
|
my $self = shift; |
109
|
|
|
|
|
|
|
return $self->_getDataTypeArray('ExcludeSellers'); |
110
|
|
|
|
|
|
|
} |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 setIncludeSellers() |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Contains one or more eBay user IDs of sellers whose |
116
|
|
|
|
|
|
|
listings should be returned in the search result set. |
117
|
|
|
|
|
|
|
If you use this filter, then only listings of the |
118
|
|
|
|
|
|
|
specified sellers are returned. |
119
|
|
|
|
|
|
|
A comma is used to separate multiple seller IDs. |
120
|
|
|
|
|
|
|
You can specify a maximum of 100 sellers. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Calls: GetSearchResults |
123
|
|
|
|
|
|
|
RequiredInput: No |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
# Argument: reference to an array |
126
|
|
|
|
|
|
|
of 'ns:UserIDType' |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
sub setIncludeSellers { |
131
|
|
|
|
|
|
|
my $self = shift; |
132
|
|
|
|
|
|
|
$self->{'IncludeSellers'} = |
133
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
134
|
|
|
|
|
|
|
} |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=head2 getIncludeSellers() |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
# Returns: reference to an array |
139
|
|
|
|
|
|
|
of 'ns:UserIDType' |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=cut |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
sub getIncludeSellers { |
144
|
|
|
|
|
|
|
my $self = shift; |
145
|
|
|
|
|
|
|
return $self->_getDataTypeArray('IncludeSellers'); |
146
|
|
|
|
|
|
|
} |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
## Attribute and Property lists |
153
|
|
|
|
|
|
|
sub getPropertiesList { |
154
|
|
|
|
|
|
|
my $self = shift; |
155
|
|
|
|
|
|
|
return \@gaProperties; |
156
|
|
|
|
|
|
|
} |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
sub getAttributesList { |
159
|
|
|
|
|
|
|
my $self = shift; |
160
|
|
|
|
|
|
|
return \@gaAttributes; |
161
|
|
|
|
|
|
|
} |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
1; |