line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::ExpressItemRequirementsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1663
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. ExpressItemRequirementsType.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::ExpressItemRequirementsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::DataType::ExpressItemRequirementsType inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
75
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
my @gaProperties = ( [ 'CombinedShippingDiscount', 'xs:boolean', '', '', '' ] |
43
|
|
|
|
|
|
|
, [ 'DomesticShippingCost', 'xs:boolean', '', '', '' ] |
44
|
|
|
|
|
|
|
, [ 'EligibleCheckout', 'xs:boolean', '', '', '' ] |
45
|
|
|
|
|
|
|
, [ 'EligibleItemCondition', 'xs:boolean', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'EligiblePayPalAccount', 'xs:boolean', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'EligibleReturnPolicy', 'xs:boolean', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'ExpressApproved', 'xs:boolean', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'ExpressEligibleListingType', 'xs:boolean', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'ExpressEnabledCategory', 'xs:boolean', '', '', '' ] |
51
|
|
|
|
|
|
|
, [ 'ExpressOptOut', 'xs:boolean', '', '', '' ] |
52
|
|
|
|
|
|
|
, [ 'NoCharity', 'xs:boolean', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'NoPreapprovedBidderList', 'xs:boolean', '', '', '' ] |
54
|
|
|
|
|
|
|
, [ 'PayPalAccountAcceptsUnconfirmedAddress', 'xs:boolean', '', '', '' ] |
55
|
|
|
|
|
|
|
, [ 'Picture', 'xs:boolean', '', '', '' ] |
56
|
|
|
|
|
|
|
, [ 'PriceAboveMinimum', 'xs:boolean', '', '', '' ] |
57
|
|
|
|
|
|
|
, [ 'PriceBelowMaximum', 'xs:boolean', '', '', '' ] |
58
|
|
|
|
|
|
|
, [ 'SellerExpressEligible', 'xs:boolean', '', '', '' ] |
59
|
|
|
|
|
|
|
, [ 'ShipFromEligibleCountry', 'xs:boolean', '', '', '' ] |
60
|
|
|
|
|
|
|
); |
61
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
my @gaAttributes = ( |
64
|
|
|
|
|
|
|
); |
65
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 Subroutines: |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=cut |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
sub new { |
72
|
|
|
|
|
|
|
my $classname = shift; |
73
|
|
|
|
|
|
|
my %args = @_; |
74
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
75
|
|
|
|
|
|
|
return $self; |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
sub isScalar { |
79
|
|
|
|
|
|
|
return 0; |
80
|
|
|
|
|
|
|
} |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 setCombinedShippingDiscount() |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
If true, the item offers a combined shipping discount. |
87
|
|
|
|
|
|
|
Only returned if the Express site has an item-level |
88
|
|
|
|
|
|
|
combined shipping discount requirement. |
89
|
|
|
|
|
|
|
(Some Express sites only require you to accept combined payments |
90
|
|
|
|
|
|
|
at the seller level, in your My eBay preferences.) |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
sub setCombinedShippingDiscount { |
97
|
|
|
|
|
|
|
my $self = shift; |
98
|
|
|
|
|
|
|
$self->{'CombinedShippingDiscount'} = shift |
99
|
|
|
|
|
|
|
} |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 isCombinedShippingDiscount() |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Calls: GetItem |
104
|
|
|
|
|
|
|
Returned: Conditionally |
105
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Calls: VerifyAddItem |
108
|
|
|
|
|
|
|
Returned: Conditionally |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
sub isCombinedShippingDiscount { |
115
|
|
|
|
|
|
|
my $self = shift; |
116
|
|
|
|
|
|
|
return $self->{'CombinedShippingDiscount'}; |
117
|
|
|
|
|
|
|
} |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 setDomesticShippingCost() |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
If true, domestic shipping costs are specified for the item. |
123
|
|
|
|
|
|
|
If false, they aren't specified (and the item is therefore ineligible). |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=cut |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
sub setDomesticShippingCost { |
130
|
|
|
|
|
|
|
my $self = shift; |
131
|
|
|
|
|
|
|
$self->{'DomesticShippingCost'} = shift |
132
|
|
|
|
|
|
|
} |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 isDomesticShippingCost() |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
Calls: GetItem |
137
|
|
|
|
|
|
|
Returned: Conditionally |
138
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
Calls: VerifyAddItem |
141
|
|
|
|
|
|
|
Returned: Conditionally |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=cut |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
sub isDomesticShippingCost { |
148
|
|
|
|
|
|
|
my $self = shift; |
149
|
|
|
|
|
|
|
return $self->{'DomesticShippingCost'}; |
150
|
|
|
|
|
|
|
} |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=head2 setEligibleCheckout() |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
If true, indicates the item meets the site's eBay Express |
156
|
|
|
|
|
|
|
requirements for checkout. (A common case when this could be false |
157
|
|
|
|
|
|
|
would be when ThirdPartyCheckout is true but |
158
|
|
|
|
|
|
|
ThirdPartyCheckoutIntegration is false.) |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=cut |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
sub setEligibleCheckout { |
165
|
|
|
|
|
|
|
my $self = shift; |
166
|
|
|
|
|
|
|
$self->{'EligibleCheckout'} = shift |
167
|
|
|
|
|
|
|
} |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=head2 isEligibleCheckout() |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
Calls: GetItem |
172
|
|
|
|
|
|
|
Returned: Conditionally |
173
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
Calls: VerifyAddItem |
176
|
|
|
|
|
|
|
Returned: Conditionally |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=cut |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
sub isEligibleCheckout { |
183
|
|
|
|
|
|
|
my $self = shift; |
184
|
|
|
|
|
|
|
return $self->{'EligibleCheckout'}; |
185
|
|
|
|
|
|
|
} |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
=head2 setEligibleItemCondition() |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
If true, the item specifies an eligible item condition. |
191
|
|
|
|
|
|
|
If false, the item doesn't specify an eligible item condition. |
192
|
|
|
|
|
|
|
Only returned if the category requires an item condition for Express. |
193
|
|
|
|
|
|
|
Some categories waive the item condition requirement. |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
=cut |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
sub setEligibleItemCondition { |
200
|
|
|
|
|
|
|
my $self = shift; |
201
|
|
|
|
|
|
|
$self->{'EligibleItemCondition'} = shift |
202
|
|
|
|
|
|
|
} |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head2 isEligibleItemCondition() |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
Calls: GetItem |
207
|
|
|
|
|
|
|
Returned: Conditionally |
208
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
Calls: VerifyAddItem |
211
|
|
|
|
|
|
|
Returned: Conditionally |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=cut |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
sub isEligibleItemCondition { |
218
|
|
|
|
|
|
|
my $self = shift; |
219
|
|
|
|
|
|
|
return $self->{'EligibleItemCondition'}; |
220
|
|
|
|
|
|
|
} |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
=head2 setEligiblePayPalAccount() |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
If true, the seller has an Express-eligible PayPal account. |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
=cut |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
sub setEligiblePayPalAccount { |
232
|
|
|
|
|
|
|
my $self = shift; |
233
|
|
|
|
|
|
|
$self->{'EligiblePayPalAccount'} = shift |
234
|
|
|
|
|
|
|
} |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
=head2 isEligiblePayPalAccount() |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
Calls: GetItem |
239
|
|
|
|
|
|
|
Returned: Conditionally |
240
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
Calls: VerifyAddItem |
243
|
|
|
|
|
|
|
Returned: Conditionally |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
=cut |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
sub isEligiblePayPalAccount { |
250
|
|
|
|
|
|
|
my $self = shift; |
251
|
|
|
|
|
|
|
return $self->{'EligiblePayPalAccount'}; |
252
|
|
|
|
|
|
|
} |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
=head2 setEligibleReturnPolicy() |
256
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
If true, the item is covered by a return policy that meets |
258
|
|
|
|
|
|
|
the site's requirements for Express. |
259
|
|
|
|
|
|
|
Only returned for Express Germany. (A return policy is optional for |
260
|
|
|
|
|
|
|
Express US.) |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
=cut |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
sub setEligibleReturnPolicy { |
267
|
|
|
|
|
|
|
my $self = shift; |
268
|
|
|
|
|
|
|
$self->{'EligibleReturnPolicy'} = shift |
269
|
|
|
|
|
|
|
} |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
=head2 isEligibleReturnPolicy() |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
Calls: GetItem |
274
|
|
|
|
|
|
|
Returned: Conditionally |
275
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
Calls: VerifyAddItem |
278
|
|
|
|
|
|
|
Returned: Conditionally |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
=cut |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
sub isEligibleReturnPolicy { |
285
|
|
|
|
|
|
|
my $self = shift; |
286
|
|
|
|
|
|
|
return $self->{'EligibleReturnPolicy'}; |
287
|
|
|
|
|
|
|
} |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
|
290
|
|
|
|
|
|
|
=head2 setExpressApproved() |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
If true, indicates eBay has marked the item as eligible for |
293
|
|
|
|
|
|
|
eBay Express based on direct evaluation. Only returned if true, |
294
|
|
|
|
|
|
|
and no other settings are returned in this case. |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
297
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
=cut |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
sub setExpressApproved { |
301
|
|
|
|
|
|
|
my $self = shift; |
302
|
|
|
|
|
|
|
$self->{'ExpressApproved'} = shift |
303
|
|
|
|
|
|
|
} |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
=head2 isExpressApproved() |
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
Calls: GetItem |
308
|
|
|
|
|
|
|
Returned: Conditionally |
309
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
310
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
Calls: VerifyAddItem |
312
|
|
|
|
|
|
|
Returned: Conditionally |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
=cut |
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
sub isExpressApproved { |
319
|
|
|
|
|
|
|
my $self = shift; |
320
|
|
|
|
|
|
|
return $self->{'ExpressApproved'}; |
321
|
|
|
|
|
|
|
} |
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
=head2 setExpressEligibleListingType() |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
If true, indicates the item listing format is eligible for Express. |
327
|
|
|
|
|
|
|
If false, the listing format is ineligible (and the item is therefore |
328
|
|
|
|
|
|
|
ineligible). |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
=cut |
333
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
sub setExpressEligibleListingType { |
335
|
|
|
|
|
|
|
my $self = shift; |
336
|
|
|
|
|
|
|
$self->{'ExpressEligibleListingType'} = shift |
337
|
|
|
|
|
|
|
} |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
=head2 isExpressEligibleListingType() |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
Calls: GetItem |
342
|
|
|
|
|
|
|
Returned: Conditionally |
343
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
344
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
Calls: VerifyAddItem |
346
|
|
|
|
|
|
|
Returned: Conditionally |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
349
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
=cut |
351
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
sub isExpressEligibleListingType { |
353
|
|
|
|
|
|
|
my $self = shift; |
354
|
|
|
|
|
|
|
return $self->{'ExpressEligibleListingType'}; |
355
|
|
|
|
|
|
|
} |
356
|
|
|
|
|
|
|
|
357
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
=head2 setExpressEnabledCategory() |
359
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
If true, the item's primary category is enabled for Express. |
361
|
|
|
|
|
|
|
If false, the primary category is not enabled for Express |
362
|
|
|
|
|
|
|
(and the item is therefore ineligible). |
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
=cut |
367
|
|
|
|
|
|
|
|
368
|
|
|
|
|
|
|
sub setExpressEnabledCategory { |
369
|
|
|
|
|
|
|
my $self = shift; |
370
|
|
|
|
|
|
|
$self->{'ExpressEnabledCategory'} = shift |
371
|
|
|
|
|
|
|
} |
372
|
|
|
|
|
|
|
|
373
|
|
|
|
|
|
|
=head2 isExpressEnabledCategory() |
374
|
|
|
|
|
|
|
|
375
|
|
|
|
|
|
|
Calls: GetItem |
376
|
|
|
|
|
|
|
Returned: Conditionally |
377
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
Calls: VerifyAddItem |
380
|
|
|
|
|
|
|
Returned: Conditionally |
381
|
|
|
|
|
|
|
|
382
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
383
|
|
|
|
|
|
|
|
384
|
|
|
|
|
|
|
=cut |
385
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
sub isExpressEnabledCategory { |
387
|
|
|
|
|
|
|
my $self = shift; |
388
|
|
|
|
|
|
|
return $self->{'ExpressEnabledCategory'}; |
389
|
|
|
|
|
|
|
} |
390
|
|
|
|
|
|
|
|
391
|
|
|
|
|
|
|
|
392
|
|
|
|
|
|
|
=head2 setExpressOptOut() |
393
|
|
|
|
|
|
|
|
394
|
|
|
|
|
|
|
If true, this field indicates the item was opted out of Express; |
395
|
|
|
|
|
|
|
that is, ExpressOptOut was true in the listing request. |
396
|
|
|
|
|
|
|
Only returned if true, and no other settings are returned in this case. |
397
|
|
|
|
|
|
|
|
398
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
399
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
=cut |
401
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
sub setExpressOptOut { |
403
|
|
|
|
|
|
|
my $self = shift; |
404
|
|
|
|
|
|
|
$self->{'ExpressOptOut'} = shift |
405
|
|
|
|
|
|
|
} |
406
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
=head2 isExpressOptOut() |
408
|
|
|
|
|
|
|
|
409
|
|
|
|
|
|
|
Calls: GetItem |
410
|
|
|
|
|
|
|
Returned: Conditionally |
411
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
412
|
|
|
|
|
|
|
|
413
|
|
|
|
|
|
|
Calls: VerifyAddItem |
414
|
|
|
|
|
|
|
Returned: Conditionally |
415
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
417
|
|
|
|
|
|
|
|
418
|
|
|
|
|
|
|
=cut |
419
|
|
|
|
|
|
|
|
420
|
|
|
|
|
|
|
sub isExpressOptOut { |
421
|
|
|
|
|
|
|
my $self = shift; |
422
|
|
|
|
|
|
|
return $self->{'ExpressOptOut'}; |
423
|
|
|
|
|
|
|
} |
424
|
|
|
|
|
|
|
|
425
|
|
|
|
|
|
|
|
426
|
|
|
|
|
|
|
=head2 setNoCharity() |
427
|
|
|
|
|
|
|
|
428
|
|
|
|
|
|
|
If true, the item is not an eBay Giving Works item. |
429
|
|
|
|
|
|
|
Only returned if the site does not allow charity listings on Express. |
430
|
|
|
|
|
|
|
(In other words, if the site excludes charity listings from Express, |
431
|
|
|
|
|
|
|
then NoCharity=true means the item meets the eligibility requirement.) |
432
|
|
|
|
|
|
|
|
433
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
434
|
|
|
|
|
|
|
|
435
|
|
|
|
|
|
|
=cut |
436
|
|
|
|
|
|
|
|
437
|
|
|
|
|
|
|
sub setNoCharity { |
438
|
|
|
|
|
|
|
my $self = shift; |
439
|
|
|
|
|
|
|
$self->{'NoCharity'} = shift |
440
|
|
|
|
|
|
|
} |
441
|
|
|
|
|
|
|
|
442
|
|
|
|
|
|
|
=head2 isNoCharity() |
443
|
|
|
|
|
|
|
|
444
|
|
|
|
|
|
|
Calls: GetItem |
445
|
|
|
|
|
|
|
Returned: Conditionally |
446
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
447
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
Calls: VerifyAddItem |
449
|
|
|
|
|
|
|
Returned: Conditionally |
450
|
|
|
|
|
|
|
|
451
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
452
|
|
|
|
|
|
|
|
453
|
|
|
|
|
|
|
=cut |
454
|
|
|
|
|
|
|
|
455
|
|
|
|
|
|
|
sub isNoCharity { |
456
|
|
|
|
|
|
|
my $self = shift; |
457
|
|
|
|
|
|
|
return $self->{'NoCharity'}; |
458
|
|
|
|
|
|
|
} |
459
|
|
|
|
|
|
|
|
460
|
|
|
|
|
|
|
|
461
|
|
|
|
|
|
|
=head2 setNoPreapprovedBidderList() |
462
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
If true, the item has no pre-approved bidder list. |
464
|
|
|
|
|
|
|
|
465
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
466
|
|
|
|
|
|
|
|
467
|
|
|
|
|
|
|
=cut |
468
|
|
|
|
|
|
|
|
469
|
|
|
|
|
|
|
sub setNoPreapprovedBidderList { |
470
|
|
|
|
|
|
|
my $self = shift; |
471
|
|
|
|
|
|
|
$self->{'NoPreapprovedBidderList'} = shift |
472
|
|
|
|
|
|
|
} |
473
|
|
|
|
|
|
|
|
474
|
|
|
|
|
|
|
=head2 isNoPreapprovedBidderList() |
475
|
|
|
|
|
|
|
|
476
|
|
|
|
|
|
|
Calls: GetItem |
477
|
|
|
|
|
|
|
Returned: Conditionally |
478
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
479
|
|
|
|
|
|
|
|
480
|
|
|
|
|
|
|
Calls: VerifyAddItem |
481
|
|
|
|
|
|
|
Returned: Conditionally |
482
|
|
|
|
|
|
|
|
483
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
484
|
|
|
|
|
|
|
|
485
|
|
|
|
|
|
|
=cut |
486
|
|
|
|
|
|
|
|
487
|
|
|
|
|
|
|
sub isNoPreapprovedBidderList { |
488
|
|
|
|
|
|
|
my $self = shift; |
489
|
|
|
|
|
|
|
return $self->{'NoPreapprovedBidderList'}; |
490
|
|
|
|
|
|
|
} |
491
|
|
|
|
|
|
|
|
492
|
|
|
|
|
|
|
|
493
|
|
|
|
|
|
|
=head2 setPayPalAccountAcceptsUnconfirmedAddress() |
494
|
|
|
|
|
|
|
|
495
|
|
|
|
|
|
|
If true, the PayPal account for the item accepts payments |
496
|
|
|
|
|
|
|
from a buyer with an unconfirmed address. If false, the |
497
|
|
|
|
|
|
|
account blocks unconfirmed addresses (and the item is therefore |
498
|
|
|
|
|
|
|
ineligible). |
499
|
|
|
|
|
|
|
|
500
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
501
|
|
|
|
|
|
|
|
502
|
|
|
|
|
|
|
=cut |
503
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
sub setPayPalAccountAcceptsUnconfirmedAddress { |
505
|
|
|
|
|
|
|
my $self = shift; |
506
|
|
|
|
|
|
|
$self->{'PayPalAccountAcceptsUnconfirmedAddress'} = shift |
507
|
|
|
|
|
|
|
} |
508
|
|
|
|
|
|
|
|
509
|
|
|
|
|
|
|
=head2 isPayPalAccountAcceptsUnconfirmedAddress() |
510
|
|
|
|
|
|
|
|
511
|
|
|
|
|
|
|
Calls: GetItem |
512
|
|
|
|
|
|
|
Returned: Conditionally |
513
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
514
|
|
|
|
|
|
|
|
515
|
|
|
|
|
|
|
Calls: VerifyAddItem |
516
|
|
|
|
|
|
|
Returned: Conditionally |
517
|
|
|
|
|
|
|
|
518
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
519
|
|
|
|
|
|
|
|
520
|
|
|
|
|
|
|
=cut |
521
|
|
|
|
|
|
|
|
522
|
|
|
|
|
|
|
sub isPayPalAccountAcceptsUnconfirmedAddress { |
523
|
|
|
|
|
|
|
my $self = shift; |
524
|
|
|
|
|
|
|
return $self->{'PayPalAccountAcceptsUnconfirmedAddress'}; |
525
|
|
|
|
|
|
|
} |
526
|
|
|
|
|
|
|
|
527
|
|
|
|
|
|
|
|
528
|
|
|
|
|
|
|
=head2 setPicture() |
529
|
|
|
|
|
|
|
|
530
|
|
|
|
|
|
|
If true, the item includes a picture. |
531
|
|
|
|
|
|
|
If false, the item doesn't include a picture. |
532
|
|
|
|
|
|
|
Only returned if the category requires a picture for Express. |
533
|
|
|
|
|
|
|
Some categories waive the picture requirement. |
534
|
|
|
|
|
|
|
|
535
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
536
|
|
|
|
|
|
|
|
537
|
|
|
|
|
|
|
=cut |
538
|
|
|
|
|
|
|
|
539
|
|
|
|
|
|
|
sub setPicture { |
540
|
|
|
|
|
|
|
my $self = shift; |
541
|
|
|
|
|
|
|
$self->{'Picture'} = shift |
542
|
|
|
|
|
|
|
} |
543
|
|
|
|
|
|
|
|
544
|
|
|
|
|
|
|
=head2 isPicture() |
545
|
|
|
|
|
|
|
|
546
|
|
|
|
|
|
|
Calls: GetItem |
547
|
|
|
|
|
|
|
Returned: Conditionally |
548
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
549
|
|
|
|
|
|
|
|
550
|
|
|
|
|
|
|
Calls: VerifyAddItem |
551
|
|
|
|
|
|
|
Returned: Conditionally |
552
|
|
|
|
|
|
|
|
553
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
554
|
|
|
|
|
|
|
|
555
|
|
|
|
|
|
|
=cut |
556
|
|
|
|
|
|
|
|
557
|
|
|
|
|
|
|
sub isPicture { |
558
|
|
|
|
|
|
|
my $self = shift; |
559
|
|
|
|
|
|
|
return $self->{'Picture'}; |
560
|
|
|
|
|
|
|
} |
561
|
|
|
|
|
|
|
|
562
|
|
|
|
|
|
|
|
563
|
|
|
|
|
|
|
=head2 setPriceAboveMinimum() |
564
|
|
|
|
|
|
|
|
565
|
|
|
|
|
|
|
If true, the price of the item is above the minimum price allowed on |
566
|
|
|
|
|
|
|
Express. That is, the StartPrice, BuyItNowPrice, |
567
|
|
|
|
|
|
|
or CurrentPrice is above the minimum.) |
568
|
|
|
|
|
|
|
|
569
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
570
|
|
|
|
|
|
|
|
571
|
|
|
|
|
|
|
=cut |
572
|
|
|
|
|
|
|
|
573
|
|
|
|
|
|
|
sub setPriceAboveMinimum { |
574
|
|
|
|
|
|
|
my $self = shift; |
575
|
|
|
|
|
|
|
$self->{'PriceAboveMinimum'} = shift |
576
|
|
|
|
|
|
|
} |
577
|
|
|
|
|
|
|
|
578
|
|
|
|
|
|
|
=head2 isPriceAboveMinimum() |
579
|
|
|
|
|
|
|
|
580
|
|
|
|
|
|
|
Calls: GetItem |
581
|
|
|
|
|
|
|
Returned: Conditionally |
582
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
583
|
|
|
|
|
|
|
|
584
|
|
|
|
|
|
|
Calls: VerifyAddItem |
585
|
|
|
|
|
|
|
Returned: Conditionally |
586
|
|
|
|
|
|
|
|
587
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
588
|
|
|
|
|
|
|
|
589
|
|
|
|
|
|
|
=cut |
590
|
|
|
|
|
|
|
|
591
|
|
|
|
|
|
|
sub isPriceAboveMinimum { |
592
|
|
|
|
|
|
|
my $self = shift; |
593
|
|
|
|
|
|
|
return $self->{'PriceAboveMinimum'}; |
594
|
|
|
|
|
|
|
} |
595
|
|
|
|
|
|
|
|
596
|
|
|
|
|
|
|
|
597
|
|
|
|
|
|
|
=head2 setPriceBelowMaximum() |
598
|
|
|
|
|
|
|
|
599
|
|
|
|
|
|
|
If true, the price of the item is below the maximum price |
600
|
|
|
|
|
|
|
allowed on Express. (That is, the StartPrice, BuyItNowPrice, |
601
|
|
|
|
|
|
|
or CurrentPrice is below the maximum.) |
602
|
|
|
|
|
|
|
|
603
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
604
|
|
|
|
|
|
|
|
605
|
|
|
|
|
|
|
=cut |
606
|
|
|
|
|
|
|
|
607
|
|
|
|
|
|
|
sub setPriceBelowMaximum { |
608
|
|
|
|
|
|
|
my $self = shift; |
609
|
|
|
|
|
|
|
$self->{'PriceBelowMaximum'} = shift |
610
|
|
|
|
|
|
|
} |
611
|
|
|
|
|
|
|
|
612
|
|
|
|
|
|
|
=head2 isPriceBelowMaximum() |
613
|
|
|
|
|
|
|
|
614
|
|
|
|
|
|
|
Calls: GetItem |
615
|
|
|
|
|
|
|
Returned: Conditionally |
616
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
617
|
|
|
|
|
|
|
|
618
|
|
|
|
|
|
|
Calls: VerifyAddItem |
619
|
|
|
|
|
|
|
Returned: Conditionally |
620
|
|
|
|
|
|
|
|
621
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
622
|
|
|
|
|
|
|
|
623
|
|
|
|
|
|
|
=cut |
624
|
|
|
|
|
|
|
|
625
|
|
|
|
|
|
|
sub isPriceBelowMaximum { |
626
|
|
|
|
|
|
|
my $self = shift; |
627
|
|
|
|
|
|
|
return $self->{'PriceBelowMaximum'}; |
628
|
|
|
|
|
|
|
} |
629
|
|
|
|
|
|
|
|
630
|
|
|
|
|
|
|
|
631
|
|
|
|
|
|
|
=head2 setSellerExpressEligible() |
632
|
|
|
|
|
|
|
|
633
|
|
|
|
|
|
|
If false, indicates that an item is not Express-eligible because |
634
|
|
|
|
|
|
|
the seller is not Express-eligible. Only returned if false, |
635
|
|
|
|
|
|
|
and no other settings are returned in this case. |
636
|
|
|
|
|
|
|
|
637
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
638
|
|
|
|
|
|
|
|
639
|
|
|
|
|
|
|
=cut |
640
|
|
|
|
|
|
|
|
641
|
|
|
|
|
|
|
sub setSellerExpressEligible { |
642
|
|
|
|
|
|
|
my $self = shift; |
643
|
|
|
|
|
|
|
$self->{'SellerExpressEligible'} = shift |
644
|
|
|
|
|
|
|
} |
645
|
|
|
|
|
|
|
|
646
|
|
|
|
|
|
|
=head2 isSellerExpressEligible() |
647
|
|
|
|
|
|
|
|
648
|
|
|
|
|
|
|
Calls: GetItem |
649
|
|
|
|
|
|
|
Returned: Conditionally |
650
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
651
|
|
|
|
|
|
|
|
652
|
|
|
|
|
|
|
Calls: VerifyAddItem |
653
|
|
|
|
|
|
|
Returned: Conditionally |
654
|
|
|
|
|
|
|
|
655
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
656
|
|
|
|
|
|
|
|
657
|
|
|
|
|
|
|
=cut |
658
|
|
|
|
|
|
|
|
659
|
|
|
|
|
|
|
sub isSellerExpressEligible { |
660
|
|
|
|
|
|
|
my $self = shift; |
661
|
|
|
|
|
|
|
return $self->{'SellerExpressEligible'}; |
662
|
|
|
|
|
|
|
} |
663
|
|
|
|
|
|
|
|
664
|
|
|
|
|
|
|
|
665
|
|
|
|
|
|
|
=head2 setShipFromEligibleCountry() |
666
|
|
|
|
|
|
|
|
667
|
|
|
|
|
|
|
If true, the country you specified for the item meets the |
668
|
|
|
|
|
|
|
specified site's shipping origin requirements for Express. |
669
|
|
|
|
|
|
|
|
670
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
671
|
|
|
|
|
|
|
|
672
|
|
|
|
|
|
|
=cut |
673
|
|
|
|
|
|
|
|
674
|
|
|
|
|
|
|
sub setShipFromEligibleCountry { |
675
|
|
|
|
|
|
|
my $self = shift; |
676
|
|
|
|
|
|
|
$self->{'ShipFromEligibleCountry'} = shift |
677
|
|
|
|
|
|
|
} |
678
|
|
|
|
|
|
|
|
679
|
|
|
|
|
|
|
=head2 isShipFromEligibleCountry() |
680
|
|
|
|
|
|
|
|
681
|
|
|
|
|
|
|
Calls: GetItem |
682
|
|
|
|
|
|
|
Returned: Conditionally |
683
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
684
|
|
|
|
|
|
|
|
685
|
|
|
|
|
|
|
Calls: VerifyAddItem |
686
|
|
|
|
|
|
|
Returned: Conditionally |
687
|
|
|
|
|
|
|
|
688
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
689
|
|
|
|
|
|
|
|
690
|
|
|
|
|
|
|
=cut |
691
|
|
|
|
|
|
|
|
692
|
|
|
|
|
|
|
sub isShipFromEligibleCountry { |
693
|
|
|
|
|
|
|
my $self = shift; |
694
|
|
|
|
|
|
|
return $self->{'ShipFromEligibleCountry'}; |
695
|
|
|
|
|
|
|
} |
696
|
|
|
|
|
|
|
|
697
|
|
|
|
|
|
|
|
698
|
|
|
|
|
|
|
|
699
|
|
|
|
|
|
|
|
700
|
|
|
|
|
|
|
|
701
|
|
|
|
|
|
|
## Attribute and Property lists |
702
|
|
|
|
|
|
|
sub getPropertiesList { |
703
|
|
|
|
|
|
|
my $self = shift; |
704
|
|
|
|
|
|
|
return \@gaProperties; |
705
|
|
|
|
|
|
|
} |
706
|
|
|
|
|
|
|
|
707
|
|
|
|
|
|
|
sub getAttributesList { |
708
|
|
|
|
|
|
|
my $self = shift; |
709
|
|
|
|
|
|
|
return \@gaAttributes; |
710
|
|
|
|
|
|
|
} |
711
|
|
|
|
|
|
|
|
712
|
|
|
|
|
|
|
|
713
|
|
|
|
|
|
|
|
714
|
|
|
|
|
|
|
1; |