lib/eBay/API/XML/DataType/UserType.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 9 | 77.7 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 10 | 12 | 83.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #!/usr/bin/perl | ||||||
2 | |||||||
3 | package eBay::API::XML::DataType::UserType; | ||||||
4 | |||||||
5 | 1 | 1 | 1719 | use strict; | |||
1 | 2 | ||||||
1 | 32 | ||||||
6 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 27 | ||||||
7 | |||||||
8 | ########################################################################## | ||||||
9 | # | ||||||
10 | # Module: ............... |
||||||
11 | # File: ................. UserType.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::UserType | ||||||
21 | |||||||
22 | =head1 DESCRIPTION | ||||||
23 | |||||||
24 | Type to contain the data for one eBay user. Depending on the context, the user | ||||||
25 | might be the seller or the buyer in a transaction, or the bidder or winning bidder | ||||||
26 | in a listing. An object of this type is returned by a number of calls, including | ||||||
27 | the GetUser call. | ||||||
28 | |||||||
29 | |||||||
30 | |||||||
31 | =head1 SYNOPSIS | ||||||
32 | |||||||
33 | =cut | ||||||
34 | |||||||
35 | |||||||
36 | =head1 INHERITANCE | ||||||
37 | |||||||
38 | eBay::API::XML::DataType::UserType inherits from the L |
||||||
39 | |||||||
40 | =cut | ||||||
41 | |||||||
42 | 1 | 1 | 34 | use eBay::API::XML::BaseDataType; | |||
0 | |||||||
0 | |||||||
43 | our @ISA = ("eBay::API::XML::BaseDataType"); | ||||||
44 | |||||||
45 | use eBay::API::XML::DataType::AddressType; | ||||||
46 | use eBay::API::XML::DataType::BiddingSummaryType; | ||||||
47 | use eBay::API::XML::DataType::BuyerType; | ||||||
48 | use eBay::API::XML::DataType::CharityAffiliationsType; | ||||||
49 | use eBay::API::XML::DataType::SellerType; | ||||||
50 | use eBay::API::XML::DataType::UserIDType; | ||||||
51 | use eBay::API::XML::DataType::Enum::EBaySubscriptionTypeCodeType; | ||||||
52 | use eBay::API::XML::DataType::Enum::FeedbackRatingStarCodeType; | ||||||
53 | use eBay::API::XML::DataType::Enum::PayPalAccountLevelCodeType; | ||||||
54 | use eBay::API::XML::DataType::Enum::PayPalAccountStatusCodeType; | ||||||
55 | use eBay::API::XML::DataType::Enum::PayPalAccountTypeCodeType; | ||||||
56 | use eBay::API::XML::DataType::Enum::SellerPaymentMethodCodeType; | ||||||
57 | use eBay::API::XML::DataType::Enum::SiteCodeType; | ||||||
58 | use eBay::API::XML::DataType::Enum::UserStatusCodeType; | ||||||
59 | use eBay::API::XML::DataType::Enum::VATStatusCodeType; | ||||||
60 | |||||||
61 | |||||||
62 | my @gaProperties = ( [ 'AboutMePage', 'xs:boolean', '', '', '' ] | ||||||
63 | , [ 'BiddingSummary', 'ns:BiddingSummaryType', '' | ||||||
64 | ,'eBay::API::XML::DataType::BiddingSummaryType', '1' ] | ||||||
65 | , [ 'BuyerInfo', 'ns:BuyerType', '' | ||||||
66 | ,'eBay::API::XML::DataType::BuyerType', '1' ] | ||||||
67 | , [ 'CharityAffiliations', 'ns:CharityAffiliationsType', '' | ||||||
68 | ,'eBay::API::XML::DataType::CharityAffiliationsType', '1' ] | ||||||
69 | , [ 'EIASToken', 'xs:string', '', '', '' ] | ||||||
70 | , [ 'Email', 'xs:string', '', '', '' ] | ||||||
71 | , [ 'FeedbackPrivate', 'xs:boolean', '', '', '' ] | ||||||
72 | , [ 'FeedbackRatingStar', 'ns:FeedbackRatingStarCodeType', '' | ||||||
73 | ,'eBay::API::XML::DataType::Enum::FeedbackRatingStarCodeType', '' ] | ||||||
74 | , [ 'FeedbackScore', 'xs:int', '', '', '' ] | ||||||
75 | , [ 'IDVerified', 'xs:boolean', '', '', '' ] | ||||||
76 | , [ 'MotorsDealer', 'xs:boolean', '', '', '' ] | ||||||
77 | , [ 'NewUser', 'xs:boolean', '', '', '' ] | ||||||
78 | , [ 'PayPalAccountLevel', 'ns:PayPalAccountLevelCodeType', '' | ||||||
79 | ,'eBay::API::XML::DataType::Enum::PayPalAccountLevelCodeType', '' ] | ||||||
80 | , [ 'PayPalAccountStatus', 'ns:PayPalAccountStatusCodeType', '' | ||||||
81 | ,'eBay::API::XML::DataType::Enum::PayPalAccountStatusCodeType', '' ] | ||||||
82 | , [ 'PayPalAccountType', 'ns:PayPalAccountTypeCodeType', '' | ||||||
83 | ,'eBay::API::XML::DataType::Enum::PayPalAccountTypeCodeType', '' ] | ||||||
84 | , [ 'PositiveFeedbackPercent', 'xs:float', '', '', '' ] | ||||||
85 | , [ 'RESTToken', 'xs:string', '', '', '' ] | ||||||
86 | , [ 'RegistrationAddress', 'ns:AddressType', '' | ||||||
87 | ,'eBay::API::XML::DataType::AddressType', '1' ] | ||||||
88 | , [ 'RegistrationDate', 'xs:dateTime', '', '', '' ] | ||||||
89 | , [ 'SellerInfo', 'ns:SellerType', '' | ||||||
90 | ,'eBay::API::XML::DataType::SellerType', '1' ] | ||||||
91 | , [ 'SellerPaymentMethod', 'ns:SellerPaymentMethodCodeType', '' | ||||||
92 | ,'eBay::API::XML::DataType::Enum::SellerPaymentMethodCodeType', '' ] | ||||||
93 | , [ 'Site', 'ns:SiteCodeType', '' | ||||||
94 | ,'eBay::API::XML::DataType::Enum::SiteCodeType', '' ] | ||||||
95 | , [ 'SiteVerified', 'xs:boolean', '', '', '' ] | ||||||
96 | , [ 'SkypeID', 'xs:string', '1', '', '' ] | ||||||
97 | , [ 'Status', 'ns:UserStatusCodeType', '' | ||||||
98 | ,'eBay::API::XML::DataType::Enum::UserStatusCodeType', '' ] | ||||||
99 | , [ 'TUVLevel', 'xs:int', '', '', '' ] | ||||||
100 | , [ 'UniqueNegativeFeedbackCount', 'xs:int', '', '', '' ] | ||||||
101 | , [ 'UniqueNeutralFeedbackCount', 'xs:int', '', '', '' ] | ||||||
102 | , [ 'UniquePositiveFeedbackCount', 'xs:int', '', '', '' ] | ||||||
103 | , [ 'UserAnonymized', 'xs:boolean', '', '', '' ] | ||||||
104 | , [ 'UserID', 'ns:UserIDType', '' | ||||||
105 | ,'eBay::API::XML::DataType::UserIDType', '1' ] | ||||||
106 | , [ 'UserIDChanged', 'xs:boolean', '', '', '' ] | ||||||
107 | , [ 'UserIDLastChanged', 'xs:dateTime', '', '', '' ] | ||||||
108 | , [ 'UserSubscription', 'ns:EBaySubscriptionTypeCodeType', '1' | ||||||
109 | ,'eBay::API::XML::DataType::Enum::EBaySubscriptionTypeCodeType', '' ] | ||||||
110 | , [ 'VATID', 'xs:string', '', '', '' ] | ||||||
111 | , [ 'VATStatus', 'ns:VATStatusCodeType', '' | ||||||
112 | ,'eBay::API::XML::DataType::Enum::VATStatusCodeType', '' ] | ||||||
113 | , [ 'eBayGoodStanding', 'xs:boolean', '', '', '' ] | ||||||
114 | , [ 'eBayWikiReadOnly', 'xs:boolean', '', '', '' ] | ||||||
115 | ); | ||||||
116 | push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; | ||||||
117 | |||||||
118 | my @gaAttributes = ( | ||||||
119 | ); | ||||||
120 | push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; | ||||||
121 | |||||||
122 | =head1 Subroutines: | ||||||
123 | |||||||
124 | =cut | ||||||
125 | |||||||
126 | sub new { | ||||||
127 | my $classname = shift; | ||||||
128 | my %args = @_; | ||||||
129 | my $self = $classname->SUPER::new(%args); | ||||||
130 | return $self; | ||||||
131 | } | ||||||
132 | |||||||
133 | sub isScalar { | ||||||
134 | return 0; | ||||||
135 | } | ||||||
136 | |||||||
137 | |||||||
138 | |||||||
139 | =head2 setAboutMePage() | ||||||
140 | |||||||
141 | If true, indicates that the user has set up an About Me page. | ||||||
142 | |||||||
143 | # Argument: 'xs:boolean' | ||||||
144 | |||||||
145 | =cut | ||||||
146 | |||||||
147 | sub setAboutMePage { | ||||||
148 | my $self = shift; | ||||||
149 | $self->{'AboutMePage'} = shift | ||||||
150 | } | ||||||
151 | |||||||
152 | =head2 isAboutMePage() | ||||||
153 | |||||||
154 | Calls: GetUser | ||||||
155 | Returned: Conditionally | ||||||
156 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
157 | |||||||
158 | Calls: GetItem | ||||||
159 | Returned: Always | ||||||
160 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
161 | Context: Seller | ||||||
162 | |||||||
163 | Calls: GetSellerList | ||||||
164 | Returned: Conditionally | ||||||
165 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
166 | GranularityLevel: Fine | ||||||
167 | |||||||
168 | Context: HighBidder | ||||||
169 | |||||||
170 | Calls: GetOrderTransactions | ||||||
171 | Returned: Conditionally | ||||||
172 | Details: DetailLevel: ReturnAll | ||||||
173 | |||||||
174 | Calls: GetItem | ||||||
175 | Returned: Conditionally | ||||||
176 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
177 | Context: HighBidder | ||||||
178 | |||||||
179 | Calls: GetSellerList | ||||||
180 | Returned: Always | ||||||
181 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
182 | GranularityLevel: Fine | ||||||
183 | |||||||
184 | Context: Seller | ||||||
185 | |||||||
186 | Calls: GetItemTransactions | ||||||
187 | GetSellerTransactions | ||||||
188 | Returned: Always | ||||||
189 | Details: DetailLevel: none, ReturnAll | ||||||
190 | Context: Seller | ||||||
191 | |||||||
192 | Calls: GetItemTransactions | ||||||
193 | GetSellerTransactions | ||||||
194 | Returned: Conditionally | ||||||
195 | Details: DetailLevel: none, ReturnAll | ||||||
196 | Context: Buyer | ||||||
197 | |||||||
198 | Calls: GetAllBidders | ||||||
199 | GetBidderList | ||||||
200 | GetHighBidders | ||||||
201 | Returned: Always | ||||||
202 | |||||||
203 | # Returns: 'xs:boolean' | ||||||
204 | |||||||
205 | =cut | ||||||
206 | |||||||
207 | sub isAboutMePage { | ||||||
208 | my $self = shift; | ||||||
209 | return $self->{'AboutMePage'}; | ||||||
210 | } | ||||||
211 | |||||||
212 | |||||||
213 | =head2 setBiddingSummary() | ||||||
214 | |||||||
215 | Contains information about the user as a bidder on a certain | ||||||
216 | item. Returned for GetAllBidders if IncludeBiddingSummary = | ||||||
217 | true is included in the request. | ||||||
218 | |||||||
219 | # Argument: 'ns:BiddingSummaryType' | ||||||
220 | |||||||
221 | =cut | ||||||
222 | |||||||
223 | sub setBiddingSummary { | ||||||
224 | my $self = shift; | ||||||
225 | $self->{'BiddingSummary'} = shift | ||||||
226 | } | ||||||
227 | |||||||
228 | =head2 getBiddingSummary() | ||||||
229 | |||||||
230 | Calls: GetAllBidders | ||||||
231 | Returned: Conditionally | ||||||
232 | |||||||
233 | # Returns: 'ns:BiddingSummaryType' | ||||||
234 | |||||||
235 | =cut | ||||||
236 | |||||||
237 | sub getBiddingSummary { | ||||||
238 | my $self = shift; | ||||||
239 | return $self->_getDataTypeInstance( 'BiddingSummary' | ||||||
240 | ,'eBay::API::XML::DataType::BiddingSummaryType'); | ||||||
241 | } | ||||||
242 | |||||||
243 | |||||||
244 | =head2 setBuyerInfo() | ||||||
245 | |||||||
246 | Contains information about the user as a buyer, such as | ||||||
247 | the shipping address. See BuyerType for its child elements. | ||||||
248 | |
||||||
249 | Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on. | ||||||
250 | |||||||
251 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
252 | Title: Working with Anonymous User Information | ||||||
253 | |||||||
254 | # Argument: 'ns:BuyerType' | ||||||
255 | |||||||
256 | =cut | ||||||
257 | |||||||
258 | sub setBuyerInfo { | ||||||
259 | my $self = shift; | ||||||
260 | $self->{'BuyerInfo'} = shift | ||||||
261 | } | ||||||
262 | |||||||
263 | =head2 getBuyerInfo() | ||||||
264 | |||||||
265 | Calls: GetAllBidders | ||||||
266 | GetHighBidders | ||||||
267 | Returned: Always | ||||||
268 | |||||||
269 | Calls: GetBidderList | ||||||
270 | Returned: Conditionally | ||||||
271 | Context: Bidder | ||||||
272 | |||||||
273 | Calls: GetOrderTransactions | ||||||
274 | Returned: Conditionally | ||||||
275 | Details: DetailLevel: ReturnAll | ||||||
276 | |||||||
277 | Calls: GetSellerList | ||||||
278 | Returned: Conditionally | ||||||
279 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
280 | GranularityLevel: Fine | ||||||
281 | |||||||
282 | Context: HighBidder | ||||||
283 | |||||||
284 | Calls: GetItem | ||||||
285 | Returned: Conditionally | ||||||
286 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
287 | Context: HighBidder | ||||||
288 | |||||||
289 | Calls: GetItemTransactions | ||||||
290 | GetSellerTransactions | ||||||
291 | Returned: Conditionally | ||||||
292 | Details: DetailLevel: none, ReturnAll | ||||||
293 | Context: Buyer | ||||||
294 | |||||||
295 | Calls: GetMyeBaySelling | ||||||
296 | Returned: Conditionally | ||||||
297 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
298 | Context: SoldList | ||||||
299 | |||||||
300 | # Returns: 'ns:BuyerType' | ||||||
301 | |||||||
302 | =cut | ||||||
303 | |||||||
304 | sub getBuyerInfo { | ||||||
305 | my $self = shift; | ||||||
306 | return $self->_getDataTypeInstance( 'BuyerInfo' | ||||||
307 | ,'eBay::API::XML::DataType::BuyerType'); | ||||||
308 | } | ||||||
309 | |||||||
310 | |||||||
311 | =head2 setCharityAffiliations() | ||||||
312 | |||||||
313 | Contains information about the seller's charity affliations. | ||||||
314 | Returned if the user is affiliated with one or more | ||||||
315 | charities. Seller must be registered with the eBay Giving | ||||||
316 | Works provider to be affiliated with a charity non-profit | ||||||
317 | organization. | ||||||
318 | |||||||
319 | SeeLink: URL: http://givingworks.ebay.com/ | ||||||
320 | Title: eBay Giving Works Program | ||||||
321 | |||||||
322 | # Argument: 'ns:CharityAffiliationsType' | ||||||
323 | |||||||
324 | =cut | ||||||
325 | |||||||
326 | sub setCharityAffiliations { | ||||||
327 | my $self = shift; | ||||||
328 | $self->{'CharityAffiliations'} = shift | ||||||
329 | } | ||||||
330 | |||||||
331 | =head2 getCharityAffiliations() | ||||||
332 | |||||||
333 | Calls: GetItemTransactions | ||||||
334 | GetSellerTransactions | ||||||
335 | Returned: Conditionally | ||||||
336 | Details: DetailLevel: none, ReturnAll | ||||||
337 | |||||||
338 | # Returns: 'ns:CharityAffiliationsType' | ||||||
339 | |||||||
340 | =cut | ||||||
341 | |||||||
342 | sub getCharityAffiliations { | ||||||
343 | my $self = shift; | ||||||
344 | return $self->_getDataTypeInstance( 'CharityAffiliations' | ||||||
345 | ,'eBay::API::XML::DataType::CharityAffiliationsType'); | ||||||
346 | } | ||||||
347 | |||||||
348 | |||||||
349 | =head2 setEIASToken() | ||||||
350 | |||||||
351 | Unique identifier for the user that does not change when the eBay user name | ||||||
352 | is changed. Use when an application needs to associate a new eBay user name | ||||||
353 | with the corresponding eBay user. | ||||||
354 | |
||||||
355 | Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on. | ||||||
356 | |||||||
357 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
358 | Title: Working with Anonymous User Information | ||||||
359 | |||||||
360 | # Argument: 'xs:string' | ||||||
361 | |||||||
362 | =cut | ||||||
363 | |||||||
364 | sub setEIASToken { | ||||||
365 | my $self = shift; | ||||||
366 | $self->{'EIASToken'} = shift | ||||||
367 | } | ||||||
368 | |||||||
369 | =head2 getEIASToken() | ||||||
370 | |||||||
371 | Calls: GetItem | ||||||
372 | Returned: Conditionally | ||||||
373 | Details: DetailLevel: ReturnAll | ||||||
374 | |||||||
375 | Calls: GetUser | ||||||
376 | Returned: Conditionally | ||||||
377 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
378 | |||||||
379 | Calls: GetOrderTransactions | ||||||
380 | Returned: Conditionally | ||||||
381 | Details: DetailLevel: ReturnAll | ||||||
382 | |||||||
383 | Calls: GetItemTransactions | ||||||
384 | GetSellerTransactions | ||||||
385 | Returned: Always | ||||||
386 | Details: DetailLevel: none, ReturnAll | ||||||
387 | Context: Seller | ||||||
388 | |||||||
389 | Calls: GetItemTransactions | ||||||
390 | GetSellerTransactions | ||||||
391 | Returned: Conditionally | ||||||
392 | Details: DetailLevel: none, ReturnAll | ||||||
393 | Context: Buyer | ||||||
394 | |||||||
395 | Calls: GetSellerList | ||||||
396 | Returned: Conditionally | ||||||
397 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
398 | GranularityLevel: Fine | ||||||
399 | |||||||
400 | Context: HighBidder | ||||||
401 | |||||||
402 | Calls: GetHighBidders | ||||||
403 | Returned: Always | ||||||
404 | |||||||
405 | # Returns: 'xs:string' | ||||||
406 | |||||||
407 | =cut | ||||||
408 | |||||||
409 | sub getEIASToken { | ||||||
410 | my $self = shift; | ||||||
411 | return $self->{'EIASToken'}; | ||||||
412 | } | ||||||
413 | |||||||
414 | |||||||
415 | =head2 setEmail() | ||||||
416 | |||||||
417 | Email address for the user. You cannot retrieve an email address for any user | ||||||
418 | with whom you do not have a transactional relationship, regardless of site. | ||||||
419 | Email is only returned for applicable calls when you are retrieving your own | ||||||
420 | user data OR when you and the other user are in a transactional relationship | ||||||
421 | and the call is being executed within a certain amount of time after the | ||||||
422 | transaction is created. Based on Trust and Safety policies, the time is | ||||||
423 | unspecified and can vary by site. | ||||||
424 | |
||||||
425 | Since a bidder's user info is anonymous, this tag will be returned only to that | ||||||
426 | bidder, and to the seller of an item that the user is bidding on. | ||||||
427 | |||||||
428 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
429 | Title: Working with Anonymous User Information | ||||||
430 | |||||||
431 | # Argument: 'xs:string' | ||||||
432 | |||||||
433 | =cut | ||||||
434 | |||||||
435 | sub setEmail { | ||||||
436 | my $self = shift; | ||||||
437 | $self->{'Email'} = shift | ||||||
438 | } | ||||||
439 | |||||||
440 | =head2 getEmail() | ||||||
441 | |||||||
442 | Calls: GetAllBidders | ||||||
443 | GetBidderList | ||||||
444 | GetHighBidders | ||||||
445 | Returned: Conditionally | ||||||
446 | |||||||
447 | Calls: GetBestOffers | ||||||
448 | Returned: Conditionally | ||||||
449 | Details: DetailLevel: none, ReturnAll | ||||||
450 | |||||||
451 | Calls: GetUser | ||||||
452 | Returned: Conditionally | ||||||
453 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
454 | |||||||
455 | Calls: GetOrders | ||||||
456 | Returned: Conditionally | ||||||
457 | Details: DetailLevel: none | ||||||
458 | |||||||
459 | Calls: GetOrderTransactions | ||||||
460 | Returned: Conditionally | ||||||
461 | Details: DetailLevel: ReturnAll | ||||||
462 | |||||||
463 | Calls: GetItem | ||||||
464 | Returned: Conditionally | ||||||
465 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
466 | |||||||
467 | Calls: GetMyeBayBuying | ||||||
468 | Returned: Conditionally | ||||||
469 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
470 | Context: WonList | ||||||
471 | DeletedFromWonList | ||||||
472 | |||||||
473 | Calls: GetMyeBaySelling | ||||||
474 | Returned: Conditionally | ||||||
475 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
476 | Context: SoldList | ||||||
477 | |||||||
478 | Calls: GetItemTransactions | ||||||
479 | GetSellerTransactions | ||||||
480 | Returned: Always | ||||||
481 | Details: DetailLevel: none, ReturnAll | ||||||
482 | Context: Seller | ||||||
483 | |||||||
484 | Calls: GetSellerList | ||||||
485 | Returned: Conditionally | ||||||
486 | Details: DetailLevel: ReturnAll | ||||||
487 | Context: Seller | ||||||
488 | |||||||
489 | Calls: GetSellerList | ||||||
490 | Returned: Conditionally | ||||||
491 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
492 | Context: HighBidder | ||||||
493 | |||||||
494 | Calls: GetItemTransactions | ||||||
495 | GetSellerTransactions | ||||||
496 | Returned: Conditionally | ||||||
497 | Details: DetailLevel: none, ReturnAll | ||||||
498 | Context: Buyer | ||||||
499 | |||||||
500 | Calls: GetSellerEvents | ||||||
501 | Returned: Conditionally | ||||||
502 | Details: DetailLevel: ReturnAll | ||||||
503 | |||||||
504 | # Returns: 'xs:string' | ||||||
505 | |||||||
506 | =cut | ||||||
507 | |||||||
508 | sub getEmail { | ||||||
509 | my $self = shift; | ||||||
510 | return $self->{'Email'}; | ||||||
511 | } | ||||||
512 | |||||||
513 | |||||||
514 | =head2 setFeedbackPrivate() | ||||||
515 | |||||||
516 | Indicates whether the user has chosen to make their feedback score and | ||||||
517 | feedback details private (hidden from other users). Note that the percentage | ||||||
518 | of positive feedback can still be returned, even if other feedback details are | ||||||
519 | private. To be eligible to list on Express, a seller's feedback needs to be | ||||||
520 | public. See "eBay Express" in the eBay Web Services guide. In GetSearchResults | ||||||
521 | and GetCategoryListings, feedback information is only returned if | ||||||
522 | IncludeFeedback = true in the request. | ||||||
523 | |
||||||
524 | Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on. | ||||||
525 | |||||||
526 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
527 | Title: Working with Anonymous User Information | ||||||
528 | |||||||
529 | # Argument: 'xs:boolean' | ||||||
530 | |||||||
531 | =cut | ||||||
532 | |||||||
533 | sub setFeedbackPrivate { | ||||||
534 | my $self = shift; | ||||||
535 | $self->{'FeedbackPrivate'} = shift | ||||||
536 | } | ||||||
537 | |||||||
538 | =head2 isFeedbackPrivate() | ||||||
539 | |||||||
540 | Calls: GetCategoryListings | ||||||
541 | GetProducts | ||||||
542 | Returned: Conditionally | ||||||
543 | |||||||
544 | Calls: GetUser | ||||||
545 | Returned: Conditionally | ||||||
546 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
547 | |||||||
548 | Calls: GetAllBidders | ||||||
549 | GetBidderList | ||||||
550 | GetHighBidders | ||||||
551 | Returned: Always | ||||||
552 | |||||||
553 | Calls: GetItem | ||||||
554 | Returned: Always | ||||||
555 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
556 | Context: Seller | ||||||
557 | |||||||
558 | Calls: GetItem | ||||||
559 | Returned: Conditionally | ||||||
560 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
561 | Context: HighBidder | ||||||
562 | |||||||
563 | Calls: GetOrderTransactions | ||||||
564 | Returned: Conditionally | ||||||
565 | Details: DetailLevel: ReturnAll | ||||||
566 | |||||||
567 | Calls: GetSellerList | ||||||
568 | Returned: Conditionally | ||||||
569 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
570 | GranularityLevel: Fine | ||||||
571 | |||||||
572 | Context: HighBidder | ||||||
573 | |||||||
574 | Calls: GetSellerList | ||||||
575 | Returned: Always | ||||||
576 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
577 | GranularityLevel: Fine | ||||||
578 | |||||||
579 | Context: Seller | ||||||
580 | |||||||
581 | Calls: GetItemTransactions | ||||||
582 | GetSellerTransactions | ||||||
583 | Returned: Always | ||||||
584 | Details: DetailLevel: none, ReturnAll | ||||||
585 | Context: Seller | ||||||
586 | |||||||
587 | Calls: GetItemTransactions | ||||||
588 | GetSellerTransactions | ||||||
589 | Returned: Conditionally | ||||||
590 | Details: DetailLevel: none, ReturnAll | ||||||
591 | Context: Buyer | ||||||
592 | |||||||
593 | # Returns: 'xs:boolean' | ||||||
594 | |||||||
595 | =cut | ||||||
596 | |||||||
597 | sub isFeedbackPrivate { | ||||||
598 | my $self = shift; | ||||||
599 | return $self->{'FeedbackPrivate'}; | ||||||
600 | } | ||||||
601 | |||||||
602 | |||||||
603 | =head2 setFeedbackRatingStar() | ||||||
604 | |||||||
605 | Visual indicator of user's feedback score. See FeedbackRatingStarCodeType for | ||||||
606 | specific values. | ||||||
607 | |||||||
608 | # Argument: 'ns:FeedbackRatingStarCodeType' | ||||||
609 | |||||||
610 | =cut | ||||||
611 | |||||||
612 | sub setFeedbackRatingStar { | ||||||
613 | my $self = shift; | ||||||
614 | $self->{'FeedbackRatingStar'} = shift | ||||||
615 | } | ||||||
616 | |||||||
617 | =head2 getFeedbackRatingStar() | ||||||
618 | |||||||
619 | Calls: GetUser | ||||||
620 | Returned: Conditionally | ||||||
621 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
622 | |||||||
623 | Calls: GetAllBidders | ||||||
624 | GetBidderList | ||||||
625 | GetHighBidders | ||||||
626 | Returned: Always | ||||||
627 | |||||||
628 | Calls: GetItem | ||||||
629 | Returned: Always | ||||||
630 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
631 | Context: Seller | ||||||
632 | |||||||
633 | Calls: GetSellerList | ||||||
634 | Returned: Conditionally | ||||||
635 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
636 | GranularityLevel: Fine | ||||||
637 | |||||||
638 | Context: HighBidder | ||||||
639 | |||||||
640 | Calls: GetItem | ||||||
641 | Returned: Conditionally | ||||||
642 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
643 | Context: HighBidder | ||||||
644 | |||||||
645 | Calls: GetOrderTransactions | ||||||
646 | Returned: Conditionally | ||||||
647 | Details: DetailLevel: ReturnAll | ||||||
648 | |||||||
649 | Calls: GetSellerList | ||||||
650 | Returned: Always | ||||||
651 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
652 | GranularityLevel: Fine | ||||||
653 | |||||||
654 | Context: Seller | ||||||
655 | |||||||
656 | Calls: GetItemTransactions | ||||||
657 | GetSellerTransactions | ||||||
658 | Returned: Always | ||||||
659 | Details: DetailLevel: none, ReturnAll | ||||||
660 | Context: Seller | ||||||
661 | |||||||
662 | Calls: GetItemTransactions | ||||||
663 | GetSellerTransactions | ||||||
664 | Returned: Conditionally | ||||||
665 | Details: DetailLevel: none, ReturnAll | ||||||
666 | Context: Buyer | ||||||
667 | |||||||
668 | Calls: GetMyeBayBuying | ||||||
669 | GetMyeBaySelling | ||||||
670 | Returned: Conditionally | ||||||
671 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
672 | Context: BidList | ||||||
673 | WatchList | ||||||
674 | |||||||
675 | # Returns: 'ns:FeedbackRatingStarCodeType' | ||||||
676 | |||||||
677 | =cut | ||||||
678 | |||||||
679 | sub getFeedbackRatingStar { | ||||||
680 | my $self = shift; | ||||||
681 | return $self->{'FeedbackRatingStar'}; | ||||||
682 | } | ||||||
683 | |||||||
684 | |||||||
685 | =head2 setFeedbackScore() | ||||||
686 | |||||||
687 | The aggregate feedback score for a user. A user's feedback score is the net | ||||||
688 | positive feedback minus the net negative feedback left for the user. Feedback | ||||||
689 | scores are a quantitative expression of the desirability of dealing with a | ||||||
690 | user as a buyer or a seller in transactions. Each transaction can result in | ||||||
691 | one feedback entry for a given user (the buyer can leave feedback for the | ||||||
692 | seller, and the seller can leave feedback for the buyer.). That one feedback | ||||||
693 | can be positive, negative, or neutral. The aggregated feedback counts for a | ||||||
694 | particular user represent that user's overall feedback score (referred to as a | ||||||
695 | "feedback rating" on the eBay site). If the user has chosen to make their | ||||||
696 | feedback private and that user is not the user identified in the request's | ||||||
697 | authentication token, FeedbackScore is not returned and FeedbackPrivate is | ||||||
698 | returned with a value of true. |
||||||
699 | |
||||||
700 | To be eligible to list on Express, a seller's feedback score needs to be 100 or higher. | ||||||
701 | See "eBay Express" in the eBay Web Services guide. | ||||||
702 | In GetSearchResultsExpress, only returned when ItemDetails is set to Fine. |
||||||
703 | |
||||||
704 | In GetSearchResults and GetCategoryListings, feedback information is only | ||||||
705 | returned if IncludeFeedback = true in the request. | ||||||
706 | |
||||||
707 | In GetMyeBayBuying and GetMyeBaySelling, feedback information (FeedbackScore | ||||||
708 | and FeedbackRatingStar) is returned in BidList.ItemArray.Item.Seller. | ||||||
709 | For GetMyeBayBuying, the feedback score of each seller | ||||||
710 | with an item having received a bid from the buyer is returned. For GetMyeBaySelling, the | ||||||
711 | feedback score of the seller is returned. | ||||||
712 | |
||||||
713 | |
||||||
714 | GetMyeBayBuying and GetMyeBaySelling | ||||||
715 | also return feedback information (FeedbackScore and FeedbackRatingStar) in | ||||||
716 | BidList.ItemArray.Item.SellingStatus.HighBidder. | ||||||
717 | GetMyeBayBuying returns feedback information on the high bidder of each item the buyer | ||||||
718 | is bidding on. GetMyeBaySelling returns feedback information on the high bidder of each | ||||||
719 | item the seller is selling. | ||||||
720 | |
||||||
721 | |
||||||
722 | Since a bidder's user info is anonymous, the real feedback score will | ||||||
723 | be returned only to that bidder, and to the seller of an item that the | ||||||
724 | user is bidding on. For all other users, the value -99 is returned. | ||||||
725 | |||||||
726 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
727 | Title: Working with Anonymous User Information | ||||||
728 | |||||||
729 | # Argument: 'xs:int' | ||||||
730 | |||||||
731 | =cut | ||||||
732 | |||||||
733 | sub setFeedbackScore { | ||||||
734 | my $self = shift; | ||||||
735 | $self->{'FeedbackScore'} = shift | ||||||
736 | } | ||||||
737 | |||||||
738 | =head2 getFeedbackScore() | ||||||
739 | |||||||
740 | Calls: GetAllBidders | ||||||
741 | GetCategoryListings | ||||||
742 | GetHighBidders | ||||||
743 | GetProducts | ||||||
744 | Returned: Conditionally | ||||||
745 | |||||||
746 | Calls: GetUser | ||||||
747 | Returned: Conditionally | ||||||
748 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
749 | |||||||
750 | Calls: GetItem | ||||||
751 | Returned: Conditionally | ||||||
752 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
753 | |||||||
754 | Calls: GetBidderList | ||||||
755 | Returned: Always | ||||||
756 | |||||||
757 | Calls: GetBestOffers | ||||||
758 | Returned: Always | ||||||
759 | Details: DetailLevel: none, ReturnAll | ||||||
760 | |||||||
761 | Calls: GetOrderTransactions | ||||||
762 | Returned: Conditionally | ||||||
763 | Details: DetailLevel: ReturnAll | ||||||
764 | |||||||
765 | Calls: GetSellerList | ||||||
766 | Returned: Always | ||||||
767 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
768 | GranularityLevel: Fine | ||||||
769 | |||||||
770 | Context: Seller | ||||||
771 | |||||||
772 | Calls: GetItemTransactions | ||||||
773 | GetSellerTransactions | ||||||
774 | Returned: Always | ||||||
775 | Details: DetailLevel: none, ReturnAll | ||||||
776 | Context: Seller | ||||||
777 | |||||||
778 | Calls: GetItemTransactions | ||||||
779 | GetSellerTransactions | ||||||
780 | Returned: Conditionally | ||||||
781 | Details: DetailLevel: none, ReturnAll | ||||||
782 | Context: Buyer | ||||||
783 | |||||||
784 | Calls: GetSearchResults | ||||||
785 | Returned: Conditionally | ||||||
786 | Details: DetailLevel: none, ItemReturnCategories, ItemReturnAttributes, ReturnAll | ||||||
787 | GranularityLevel: Coarse | ||||||
788 | |||||||
789 | |||||||
790 | Calls: GetSellerList | ||||||
791 | Returned: Conditionally | ||||||
792 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
793 | GranularityLevel: Fine | ||||||
794 | |||||||
795 | Context: HighBidder | ||||||
796 | |||||||
797 | Calls: GetSellerEvents | ||||||
798 | Returned: Conditionally | ||||||
799 | Details: DetailLevel: ReturnAll | ||||||
800 | |||||||
801 | Calls: GetMyeBayBuying | ||||||
802 | GetMyeBaySelling | ||||||
803 | Returned: Conditionally | ||||||
804 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
805 | Context: BidList | ||||||
806 | WatchList | ||||||
807 | |||||||
808 | # Returns: 'xs:int' | ||||||
809 | |||||||
810 | =cut | ||||||
811 | |||||||
812 | sub getFeedbackScore { | ||||||
813 | my $self = shift; | ||||||
814 | return $self->{'FeedbackScore'}; | ||||||
815 | } | ||||||
816 | |||||||
817 | |||||||
818 | =head2 setIDVerified() | ||||||
819 | |||||||
820 | Indicates whether the user has been verified. For more information | ||||||
821 | about the ID Verify program, see: | ||||||
822 | http://pages.ebay.com/help/policies/identity-idverify.html | ||||||
823 | |||||||
824 | # Argument: 'xs:boolean' | ||||||
825 | |||||||
826 | =cut | ||||||
827 | |||||||
828 | sub setIDVerified { | ||||||
829 | my $self = shift; | ||||||
830 | $self->{'IDVerified'} = shift | ||||||
831 | } | ||||||
832 | |||||||
833 | =head2 isIDVerified() | ||||||
834 | |||||||
835 | Calls: GetUser | ||||||
836 | Returned: Conditionally | ||||||
837 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
838 | |||||||
839 | Calls: GetAllBidders | ||||||
840 | GetBidderList | ||||||
841 | GetHighBidders | ||||||
842 | Returned: Always | ||||||
843 | |||||||
844 | Calls: GetItem | ||||||
845 | Returned: Always | ||||||
846 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
847 | Context: Seller | ||||||
848 | |||||||
849 | Calls: GetSellerList | ||||||
850 | Returned: Conditionally | ||||||
851 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
852 | GranularityLevel: Fine | ||||||
853 | |||||||
854 | Context: HighBidder | ||||||
855 | |||||||
856 | Calls: GetItem | ||||||
857 | Returned: Conditionally | ||||||
858 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
859 | Context: HighBidder | ||||||
860 | |||||||
861 | Calls: GetItemTransactions | ||||||
862 | GetSellerTransactions | ||||||
863 | Returned: Always | ||||||
864 | Details: DetailLevel: none, ReturnAll | ||||||
865 | Context: Seller | ||||||
866 | |||||||
867 | Calls: GetOrderTransactions | ||||||
868 | Returned: Conditionally | ||||||
869 | Details: DetailLevel: ReturnAll | ||||||
870 | |||||||
871 | Calls: GetSellerList | ||||||
872 | Returned: Always | ||||||
873 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
874 | GranularityLevel: Fine | ||||||
875 | |||||||
876 | Context: Seller | ||||||
877 | |||||||
878 | Calls: GetItemTransactions | ||||||
879 | GetSellerTransactions | ||||||
880 | Returned: Conditionally | ||||||
881 | Details: DetailLevel: none, ReturnAll | ||||||
882 | Context: Buyer | ||||||
883 | |||||||
884 | # Returns: 'xs:boolean' | ||||||
885 | |||||||
886 | =cut | ||||||
887 | |||||||
888 | sub isIDVerified { | ||||||
889 | my $self = shift; | ||||||
890 | return $self->{'IDVerified'}; | ||||||
891 | } | ||||||
892 | |||||||
893 | |||||||
894 | =head2 setMotorsDealer() | ||||||
895 | |||||||
896 | Indicates if item is listed for sale by owner (FSBO) or listed by a | ||||||
897 | dealer. | ||||||
898 | Applies to eBay Motors Pro applications only. | ||||||
899 | |||||||
900 | TheseSites: AU, DE, FR, IT, UK | ||||||
901 | |||||||
902 | Calls: AddItem | ||||||
903 | ReviseItem | ||||||
904 | VerifyAddItem | ||||||
905 | RequiredInput: Conditionally | ||||||
906 | |||||||
907 | # Argument: 'xs:boolean' | ||||||
908 | |||||||
909 | =cut | ||||||
910 | |||||||
911 | sub setMotorsDealer { | ||||||
912 | my $self = shift; | ||||||
913 | $self->{'MotorsDealer'} = shift | ||||||
914 | } | ||||||
915 | |||||||
916 | =head2 isMotorsDealer() | ||||||
917 | |||||||
918 | Calls: GetItem | ||||||
919 | Returned: Conditionally | ||||||
920 | Details: DetailLevel: none, ItemReturnAttributes, ItemReturnDescription, ReturnAll | ||||||
921 | Context: Seller | ||||||
922 | |||||||
923 | Calls: GetUser | ||||||
924 | Returned: Conditionally | ||||||
925 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
926 | |||||||
927 | Calls: GetSellerList | ||||||
928 | Returned: Conditionally | ||||||
929 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
930 | GranularityLevel: Fine | ||||||
931 | |||||||
932 | Context: Seller | ||||||
933 | |||||||
934 | # Returns: 'xs:boolean' | ||||||
935 | |||||||
936 | =cut | ||||||
937 | |||||||
938 | sub isMotorsDealer { | ||||||
939 | my $self = shift; | ||||||
940 | return $self->{'MotorsDealer'}; | ||||||
941 | } | ||||||
942 | |||||||
943 | |||||||
944 | =head2 setNewUser() | ||||||
945 | |||||||
946 | If true, identifies a new user who has been a registered eBay user for 30 days | ||||||
947 | or less. Always false after the user has been registered for more than 30 | ||||||
948 | days. Does not indicate an ID change (see UserIdChanged). | ||||||
949 | |||||||
950 | # Argument: 'xs:boolean' | ||||||
951 | |||||||
952 | =cut | ||||||
953 | |||||||
954 | sub setNewUser { | ||||||
955 | my $self = shift; | ||||||
956 | $self->{'NewUser'} = shift | ||||||
957 | } | ||||||
958 | |||||||
959 | =head2 isNewUser() | ||||||
960 | |||||||
961 | Calls: GetUser | ||||||
962 | Returned: Conditionally | ||||||
963 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
964 | |||||||
965 | Calls: GetAllBidders | ||||||
966 | GetBidderList | ||||||
967 | GetHighBidders | ||||||
968 | Returned: Always | ||||||
969 | |||||||
970 | Calls: GetItem | ||||||
971 | Returned: Always | ||||||
972 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
973 | Context: Seller | ||||||
974 | |||||||
975 | Calls: GetSellerList | ||||||
976 | Returned: Conditionally | ||||||
977 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
978 | GranularityLevel: Fine | ||||||
979 | |||||||
980 | Context: HighBidder | ||||||
981 | |||||||
982 | Calls: GetItem | ||||||
983 | Returned: Conditionally | ||||||
984 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
985 | Context: HighBidder | ||||||
986 | |||||||
987 | Calls: GetOrderTransactions | ||||||
988 | Returned: Conditionally | ||||||
989 | Details: DetailLevel: ReturnAll | ||||||
990 | |||||||
991 | Calls: GetSellerList | ||||||
992 | Returned: Always | ||||||
993 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
994 | GranularityLevel: Fine | ||||||
995 | |||||||
996 | Context: Seller | ||||||
997 | |||||||
998 | Calls: GetItemTransactions | ||||||
999 | GetSellerTransactions | ||||||
1000 | Returned: Always | ||||||
1001 | Details: DetailLevel: none, ReturnAll | ||||||
1002 | Context: Seller | ||||||
1003 | |||||||
1004 | Calls: GetItemTransactions | ||||||
1005 | GetSellerTransactions | ||||||
1006 | Returned: Conditionally | ||||||
1007 | Details: DetailLevel: none, ReturnAll | ||||||
1008 | Context: Buyer | ||||||
1009 | |||||||
1010 | # Returns: 'xs:boolean' | ||||||
1011 | |||||||
1012 | =cut | ||||||
1013 | |||||||
1014 | sub isNewUser { | ||||||
1015 | my $self = shift; | ||||||
1016 | return $self->{'NewUser'}; | ||||||
1017 | } | ||||||
1018 | |||||||
1019 | |||||||
1020 | =head2 setPayPalAccountLevel() | ||||||
1021 | |||||||
1022 | The user's PayPal account level. Only returned for the user identified in | ||||||
1023 | eBayAuthToken. That is, you cannot see someone else's PayPal account level. | ||||||
1024 | Use this information to check whether a seller is eligible to list digital | ||||||
1025 | downloadable items. See the eBay Web site online | ||||||
1026 | help for current PayPal requirements for listing digital items. | ||||||
1027 | |||||||
1028 | # Argument: 'ns:PayPalAccountLevelCodeType' | ||||||
1029 | |||||||
1030 | =cut | ||||||
1031 | |||||||
1032 | sub setPayPalAccountLevel { | ||||||
1033 | my $self = shift; | ||||||
1034 | $self->{'PayPalAccountLevel'} = shift | ||||||
1035 | } | ||||||
1036 | |||||||
1037 | =head2 getPayPalAccountLevel() | ||||||
1038 | |||||||
1039 | Calls: GetUser | ||||||
1040 | Returned: Conditionally | ||||||
1041 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1042 | |||||||
1043 | # Returns: 'ns:PayPalAccountLevelCodeType' | ||||||
1044 | |||||||
1045 | =cut | ||||||
1046 | |||||||
1047 | sub getPayPalAccountLevel { | ||||||
1048 | my $self = shift; | ||||||
1049 | return $self->{'PayPalAccountLevel'}; | ||||||
1050 | } | ||||||
1051 | |||||||
1052 | |||||||
1053 | =head2 setPayPalAccountStatus() | ||||||
1054 | |||||||
1055 | The user's PayPal account status. Only returned for the user identified in | ||||||
1056 | eBayAuthToken. That is, you cannot see someone else's PayPal account status. | ||||||
1057 | Use this information to check whether a seller is eligible to list digital | ||||||
1058 | downloadable items. See the eBay Web site online | ||||||
1059 | help for current PayPal requirements for listing digital items. | ||||||
1060 | |||||||
1061 | # Argument: 'ns:PayPalAccountStatusCodeType' | ||||||
1062 | |||||||
1063 | =cut | ||||||
1064 | |||||||
1065 | sub setPayPalAccountStatus { | ||||||
1066 | my $self = shift; | ||||||
1067 | $self->{'PayPalAccountStatus'} = shift | ||||||
1068 | } | ||||||
1069 | |||||||
1070 | =head2 getPayPalAccountStatus() | ||||||
1071 | |||||||
1072 | Calls: GetUser | ||||||
1073 | Returned: Conditionally | ||||||
1074 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1075 | |||||||
1076 | # Returns: 'ns:PayPalAccountStatusCodeType' | ||||||
1077 | |||||||
1078 | =cut | ||||||
1079 | |||||||
1080 | sub getPayPalAccountStatus { | ||||||
1081 | my $self = shift; | ||||||
1082 | return $self->{'PayPalAccountStatus'}; | ||||||
1083 | } | ||||||
1084 | |||||||
1085 | |||||||
1086 | =head2 setPayPalAccountType() | ||||||
1087 | |||||||
1088 | The user's PayPal account type. Only returned for the user identified in | ||||||
1089 | eBayAuthToken. That is, you cannot see someone else's PayPal account type. Use | ||||||
1090 | this information to check whether a seller is likely to be eligible to | ||||||
1091 | list digital downloadable items. See the eBay Web site online | ||||||
1092 | help for current PayPal requirements for listing digital items. Please note | ||||||
1093 | that this information cannot necessarily be used to determine whether a seller | ||||||
1094 | is eligible to list items on eBay Express, because a seller can have more than | ||||||
1095 | one PayPal account (and any of these accounts can be used for a given | ||||||
1096 | listing). | ||||||
1097 | |||||||
1098 | # Argument: 'ns:PayPalAccountTypeCodeType' | ||||||
1099 | |||||||
1100 | =cut | ||||||
1101 | |||||||
1102 | sub setPayPalAccountType { | ||||||
1103 | my $self = shift; | ||||||
1104 | $self->{'PayPalAccountType'} = shift | ||||||
1105 | } | ||||||
1106 | |||||||
1107 | =head2 getPayPalAccountType() | ||||||
1108 | |||||||
1109 | Calls: GetUser | ||||||
1110 | Returned: Conditionally | ||||||
1111 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1112 | |||||||
1113 | # Returns: 'ns:PayPalAccountTypeCodeType' | ||||||
1114 | |||||||
1115 | =cut | ||||||
1116 | |||||||
1117 | sub getPayPalAccountType { | ||||||
1118 | my $self = shift; | ||||||
1119 | return $self->{'PayPalAccountType'}; | ||||||
1120 | } | ||||||
1121 | |||||||
1122 | |||||||
1123 | =head2 setPositiveFeedbackPercent() | ||||||
1124 | |||||||
1125 | Percent of total feedback that is positive. For example, if the member has 50 | ||||||
1126 | feedbacks, where 49 are positive and 1 is neutral or negative, the positive | ||||||
1127 | feedback percent could be 98.0. The value uses a max precision of 4 and a | ||||||
1128 | scale of 1. If the user has feedback, this value can be returned regardless of | ||||||
1129 | whether the member has chosen to make their feedback private. Not returned if | ||||||
1130 | the user has no feedback. To be eligible to list on Express, a seller's | ||||||
1131 | feedback percent needs to be 98 or higher. See "eBay Express" in the eBay Web | ||||||
1132 | Services guide. In GetSearchResults and GetCategoryListings, feedback | ||||||
1133 | information is only returned if IncludeFeedback = true in the request. | ||||||
1134 | |||||||
1135 | # Argument: 'xs:float' | ||||||
1136 | |||||||
1137 | =cut | ||||||
1138 | |||||||
1139 | sub setPositiveFeedbackPercent { | ||||||
1140 | my $self = shift; | ||||||
1141 | $self->{'PositiveFeedbackPercent'} = shift | ||||||
1142 | } | ||||||
1143 | |||||||
1144 | =head2 getPositiveFeedbackPercent() | ||||||
1145 | |||||||
1146 | Calls: GetAllBidders | ||||||
1147 | Returned: Conditionally | ||||||
1148 | Details: DetailLevel: ReturnAll | ||||||
1149 | |||||||
1150 | Calls: GetCategoryListings | ||||||
1151 | GetItem | ||||||
1152 | GetProducts | ||||||
1153 | Returned: Conditionally | ||||||
1154 | |||||||
1155 | Calls: GetItemTransactions | ||||||
1156 | GetSellerTransactions | ||||||
1157 | Returned: Conditionally | ||||||
1158 | Details: DetailLevel: none, ReturnAll | ||||||
1159 | |||||||
1160 | Calls: GetSearchResults | ||||||
1161 | Returned: Conditionally | ||||||
1162 | Details: DetailLevel: none, ItemReturnCategories, ItemReturnAttributes, ReturnAll | ||||||
1163 | GranularityLevel: Coarse | ||||||
1164 | |||||||
1165 | |||||||
1166 | Calls: GetUser | ||||||
1167 | Returned: Conditionally | ||||||
1168 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1169 | |||||||
1170 | # Returns: 'xs:float' | ||||||
1171 | |||||||
1172 | =cut | ||||||
1173 | |||||||
1174 | sub getPositiveFeedbackPercent { | ||||||
1175 | my $self = shift; | ||||||
1176 | return $self->{'PositiveFeedbackPercent'}; | ||||||
1177 | } | ||||||
1178 | |||||||
1179 | |||||||
1180 | =head2 setRESTToken() | ||||||
1181 | |||||||
1182 | This token is for the Trading API. | ||||||
1183 | For REST calls, it is recommended that you use | ||||||
1184 | the Shopping API instead of the Trading API. | ||||||
1185 | See Shopping API for more information. | ||||||
1186 | The RESTToken field contains the REST token (if available) for the user | ||||||
1187 | who is making the request. Not returned | ||||||
1188 | when UserID is for a different user than the one identified in eBayAuthToken. | ||||||
1189 | Use the REST token to authenticate REST API calls in the Trading API. | ||||||
1190 | |||||||
1191 | # Argument: 'xs:string' | ||||||
1192 | |||||||
1193 | =cut | ||||||
1194 | |||||||
1195 | sub setRESTToken { | ||||||
1196 | my $self = shift; | ||||||
1197 | $self->{'RESTToken'} = shift | ||||||
1198 | } | ||||||
1199 | |||||||
1200 | =head2 getRESTToken() | ||||||
1201 | |||||||
1202 | Calls: GetUser | ||||||
1203 | Returned: Conditionally | ||||||
1204 | Details: DetailLevel: ReturnAll | ||||||
1205 | |||||||
1206 | # Returns: 'xs:string' | ||||||
1207 | |||||||
1208 | =cut | ||||||
1209 | |||||||
1210 | sub getRESTToken { | ||||||
1211 | my $self = shift; | ||||||
1212 | return $self->{'RESTToken'}; | ||||||
1213 | } | ||||||
1214 | |||||||
1215 | |||||||
1216 | =head2 setRegistrationAddress() | ||||||
1217 | |||||||
1218 | Registration address for a user. |
||||||
1219 | |
||||||
1220 | GetUser: eBay returns complete | ||||||
1221 | RegistrationAddress details (including Phone), as applicable to the | ||||||
1222 | registration site, when you retrieve your own user data. |
||||||
1223 | |
||||||
1224 | GetItem: RegistrationAddress for another user | ||||||
1225 | (except for Phone) is only returned | ||||||
1226 | if you have a transactional relationship with that user AND that user is | ||||||
1227 | registered on DE/AT/CH, regardless of your registration site and | ||||||
1228 | the site to which you send the request. For example, the seller | ||||||
1229 | can see the buyer's registration address if the buyer is | ||||||
1230 | registered on DE/AT/CH, or the buyer can see the seller's | ||||||
1231 | registration address if the seller is registered on DE/AT/CH. | ||||||
1232 | (The buyer and seller won't see their own registration addresses | ||||||
1233 | in GetItem.) |
||||||
1234 | |
||||||
1235 | To be eligible to list on Express US, a seller's | ||||||
1236 | registration address must be in the US or Canada. To list on Express Germany, | ||||||
1237 | a seller's registration address must be in Germany. See "eBay Express" in the | ||||||
1238 | eBay Web Services guide. | ||||||
1239 | |||||||
1240 | Note: | ||||||
1241 | At the end of April 2008, UK and Germany eBay Express will be shutdown. No | ||||||
1242 | users will be eligible to list on these sites. All users previously registered | ||||||
1243 | on UK and Germany Express will have their registered status revoked. Any | ||||||
1244 | Express only items listed on these sites will be ended and credited the full | ||||||
1245 | insertion fee to their sellers. Please refer to the respective Express sites | ||||||
1246 | for more information. | ||||||
1247 | |||||||
1248 | |||||||
1249 | # Argument: 'ns:AddressType' | ||||||
1250 | |||||||
1251 | =cut | ||||||
1252 | |||||||
1253 | sub setRegistrationAddress { | ||||||
1254 | my $self = shift; | ||||||
1255 | $self->{'RegistrationAddress'} = shift | ||||||
1256 | } | ||||||
1257 | |||||||
1258 | =head2 getRegistrationAddress() | ||||||
1259 | |||||||
1260 | Calls: GetUser | ||||||
1261 | Returned: Conditionally | ||||||
1262 | Details: DetailLevel: ReturnAll, ReturnSummary, none | ||||||
1263 | |||||||
1264 | Calls: GetItem | ||||||
1265 | Returned: Conditionally | ||||||
1266 | Details: DetailLevel: none, ItemReturnAttributes, ItemReturnDescription, ReturnAll | ||||||
1267 | Context: Seller | ||||||
1268 | HighBidder | ||||||
1269 | |||||||
1270 | # Returns: 'ns:AddressType' | ||||||
1271 | |||||||
1272 | =cut | ||||||
1273 | |||||||
1274 | sub getRegistrationAddress { | ||||||
1275 | my $self = shift; | ||||||
1276 | return $self->_getDataTypeInstance( 'RegistrationAddress' | ||||||
1277 | ,'eBay::API::XML::DataType::AddressType'); | ||||||
1278 | } | ||||||
1279 | |||||||
1280 | |||||||
1281 | =head2 setRegistrationDate() | ||||||
1282 | |||||||
1283 | Indicates the date the specified user originally registered with eBay. | ||||||
1284 | |
||||||
1285 | Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on. | ||||||
1286 | |||||||
1287 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
1288 | Title: Working with Anonymous User Information | ||||||
1289 | |||||||
1290 | # Argument: 'xs:dateTime' | ||||||
1291 | |||||||
1292 | =cut | ||||||
1293 | |||||||
1294 | sub setRegistrationDate { | ||||||
1295 | my $self = shift; | ||||||
1296 | $self->{'RegistrationDate'} = shift | ||||||
1297 | } | ||||||
1298 | |||||||
1299 | =head2 getRegistrationDate() | ||||||
1300 | |||||||
1301 | Calls: GetBestOffers | ||||||
1302 | Returned: Always | ||||||
1303 | Details: DetailLevel: none, ReturnAll | ||||||
1304 | |||||||
1305 | Calls: GetAllBidders | ||||||
1306 | GetBidderList | ||||||
1307 | GetHighBidders | ||||||
1308 | Returned: Always | ||||||
1309 | |||||||
1310 | Calls: GetUser | ||||||
1311 | Returned: Conditionally | ||||||
1312 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1313 | |||||||
1314 | Calls: GetItem | ||||||
1315 | Returned: Always | ||||||
1316 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
1317 | Context: Seller | ||||||
1318 | HighBidder | ||||||
1319 | |||||||
1320 | Calls: GetOrderTransactions | ||||||
1321 | Returned: Conditionally | ||||||
1322 | Details: DetailLevel: ReturnAll | ||||||
1323 | |||||||
1324 | Calls: GetSellerList | ||||||
1325 | Returned: Conditionally | ||||||
1326 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
1327 | GranularityLevel: Fine | ||||||
1328 | |||||||
1329 | Context: HighBidder | ||||||
1330 | |||||||
1331 | Calls: GetSellerList | ||||||
1332 | Returned: Always | ||||||
1333 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
1334 | GranularityLevel: Fine | ||||||
1335 | |||||||
1336 | Context: Seller | ||||||
1337 | |||||||
1338 | Calls: GetItemTransactions | ||||||
1339 | GetSellerTransactions | ||||||
1340 | Returned: Always | ||||||
1341 | Details: DetailLevel: none, ReturnAll | ||||||
1342 | Context: Seller | ||||||
1343 | |||||||
1344 | Calls: GetItemTransactions | ||||||
1345 | GetSellerTransactions | ||||||
1346 | Returned: Conditionally | ||||||
1347 | Details: DetailLevel: none, ReturnAll | ||||||
1348 | Context: Buyer | ||||||
1349 | |||||||
1350 | # Returns: 'xs:dateTime' | ||||||
1351 | |||||||
1352 | =cut | ||||||
1353 | |||||||
1354 | sub getRegistrationDate { | ||||||
1355 | my $self = shift; | ||||||
1356 | return $self->{'RegistrationDate'}; | ||||||
1357 | } | ||||||
1358 | |||||||
1359 | |||||||
1360 | =head2 setSellerInfo() | ||||||
1361 | |||||||
1362 | Contains information about the user as a seller, such as whether the seller is | ||||||
1363 | authorized to list Live Auction items or opts to have items cross-promoted. This field is replaced by the SellerBusinessType field if the user is a business seller with a site ID of 77 (Germany), 3 (UK), 205 (Ireland) or 100 (Motors). |
||||||
1364 | See SellerType or SellerBusinessCodeType for the child elements. |
||||||
1365 | |||||||
1366 | # Argument: 'ns:SellerType' | ||||||
1367 | |||||||
1368 | =cut | ||||||
1369 | |||||||
1370 | sub setSellerInfo { | ||||||
1371 | my $self = shift; | ||||||
1372 | $self->{'SellerInfo'} = shift | ||||||
1373 | } | ||||||
1374 | |||||||
1375 | =head2 getSellerInfo() | ||||||
1376 | |||||||
1377 | Calls: GetBidderList | ||||||
1378 | Returned: Always | ||||||
1379 | Context: Seller | ||||||
1380 | |||||||
1381 | Calls: GetUser | ||||||
1382 | Returned: Conditionally | ||||||
1383 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1384 | |||||||
1385 | Calls: GetItem | ||||||
1386 | Returned: Always | ||||||
1387 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
1388 | Context: Seller | ||||||
1389 | |||||||
1390 | Calls: GetSellerList | ||||||
1391 | Returned: Always | ||||||
1392 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
1393 | GranularityLevel: Coarse, Medium, Fine | ||||||
1394 | |||||||
1395 | Context: Seller | ||||||
1396 | |||||||
1397 | Calls: GetItemTransactions | ||||||
1398 | GetSellerTransactions | ||||||
1399 | Returned: Always | ||||||
1400 | Details: DetailLevel: none, ReturnAll | ||||||
1401 | Context: Seller | ||||||
1402 | |||||||
1403 | # Returns: 'ns:SellerType' | ||||||
1404 | |||||||
1405 | =cut | ||||||
1406 | |||||||
1407 | sub getSellerInfo { | ||||||
1408 | my $self = shift; | ||||||
1409 | return $self->_getDataTypeInstance( 'SellerInfo' | ||||||
1410 | ,'eBay::API::XML::DataType::SellerType'); | ||||||
1411 | } | ||||||
1412 | |||||||
1413 | |||||||
1414 | =head2 setSellerPaymentMethod() | ||||||
1415 | |||||||
1416 | Indicates the method the seller selected to pay eBay with for the account. | ||||||
1417 | The payment methods vary from one eBay site to the next. | ||||||
1418 | Payment methods are enumerated in the SellerPaymentMethodCodeType code | ||||||
1419 | list. | ||||||
1420 | |||||||
1421 | # Argument: 'ns:SellerPaymentMethodCodeType' | ||||||
1422 | |||||||
1423 | =cut | ||||||
1424 | |||||||
1425 | sub setSellerPaymentMethod { | ||||||
1426 | my $self = shift; | ||||||
1427 | $self->{'SellerPaymentMethod'} = shift | ||||||
1428 | } | ||||||
1429 | |||||||
1430 | =head2 getSellerPaymentMethod() | ||||||
1431 | |||||||
1432 | Calls: GetUser | ||||||
1433 | Returned: Conditionally | ||||||
1434 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1435 | |||||||
1436 | # Returns: 'ns:SellerPaymentMethodCodeType' | ||||||
1437 | |||||||
1438 | =cut | ||||||
1439 | |||||||
1440 | sub getSellerPaymentMethod { | ||||||
1441 | my $self = shift; | ||||||
1442 | return $self->{'SellerPaymentMethod'}; | ||||||
1443 | } | ||||||
1444 | |||||||
1445 | |||||||
1446 | =head2 setSite() | ||||||
1447 | |||||||
1448 | eBay site the user is registered with. | ||||||
1449 | To be eligible to list on Express US, a seller must be registered | ||||||
1450 | on the eBay US or Canada site. To be eligible to list on Express Germany, | ||||||
1451 | a seller must registered on the eBay Germany site. See "eBay Express" | ||||||
1452 | in the eBay Web Services guide. | ||||||
1453 | |||||||
1454 | Note: | ||||||
1455 | At the end of April 2008, UK and Germany eBay Express will be shutdown. No | ||||||
1456 | users will be eligible to list on these sites. All users previously registered | ||||||
1457 | on UK and Germany Express will have their registered status revoked. Any | ||||||
1458 | Express only items listed on these sites will be ended and credited the full | ||||||
1459 | insertion fee to their sellers. Please refer to the respective Express sites | ||||||
1460 | for more information. | ||||||
1461 | |||||||
1462 | |
||||||
1463 | Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on. | ||||||
1464 | |||||||
1465 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
1466 | Title: Working with Anonymous User Information | ||||||
1467 | |||||||
1468 | # Argument: 'ns:SiteCodeType' | ||||||
1469 | |||||||
1470 | =cut | ||||||
1471 | |||||||
1472 | sub setSite { | ||||||
1473 | my $self = shift; | ||||||
1474 | $self->{'Site'} = shift | ||||||
1475 | } | ||||||
1476 | |||||||
1477 | =head2 getSite() | ||||||
1478 | |||||||
1479 | Calls: GetAllBidders | ||||||
1480 | GetBidderList | ||||||
1481 | GetHighBidders | ||||||
1482 | Returned: Always | ||||||
1483 | |||||||
1484 | Calls: GetUser | ||||||
1485 | Returned: Conditionally | ||||||
1486 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1487 | |||||||
1488 | Calls: GetItem | ||||||
1489 | Returned: Always | ||||||
1490 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
1491 | Context: Seller | ||||||
1492 | |||||||
1493 | Calls: GetOrderTransactions | ||||||
1494 | Returned: Conditionally | ||||||
1495 | Details: DetailLevel: ReturnAll | ||||||
1496 | |||||||
1497 | Calls: GetSellerList | ||||||
1498 | Returned: Conditionally | ||||||
1499 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
1500 | GranularityLevel: Fine | ||||||
1501 | |||||||
1502 | Context: HighBidder | ||||||
1503 | |||||||
1504 | Calls: GetItem | ||||||
1505 | Returned: Conditionally | ||||||
1506 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
1507 | Context: HighBidder | ||||||
1508 | |||||||
1509 | Calls: GetSellerList | ||||||
1510 | Returned: Always | ||||||
1511 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
1512 | GranularityLevel: Fine | ||||||
1513 | |||||||
1514 | Context: Seller | ||||||
1515 | |||||||
1516 | Calls: GetItemTransactions | ||||||
1517 | GetSellerTransactions | ||||||
1518 | Returned: Always | ||||||
1519 | Details: DetailLevel: none, ReturnAll | ||||||
1520 | Context: Seller | ||||||
1521 | |||||||
1522 | Calls: GetItemTransactions | ||||||
1523 | GetSellerTransactions | ||||||
1524 | Returned: Conditionally | ||||||
1525 | Details: DetailLevel: none, ReturnAll | ||||||
1526 | Context: Buyer | ||||||
1527 | |||||||
1528 | # Returns: 'ns:SiteCodeType' | ||||||
1529 | |||||||
1530 | =cut | ||||||
1531 | |||||||
1532 | sub getSite { | ||||||
1533 | my $self = shift; | ||||||
1534 | return $self->{'Site'}; | ||||||
1535 | } | ||||||
1536 | |||||||
1537 | |||||||
1538 | =head2 setSiteVerified() | ||||||
1539 | |||||||
1540 | No longer used. | ||||||
1541 | |||||||
1542 | Ignore: | ||||||
1543 | # Argument: 'xs:boolean' | ||||||
1544 | |||||||
1545 | =cut | ||||||
1546 | |||||||
1547 | sub setSiteVerified { | ||||||
1548 | my $self = shift; | ||||||
1549 | $self->{'SiteVerified'} = shift | ||||||
1550 | } | ||||||
1551 | |||||||
1552 | =head2 isSiteVerified() | ||||||
1553 | |||||||
1554 | # Returns: 'xs:boolean' | ||||||
1555 | |||||||
1556 | =cut | ||||||
1557 | |||||||
1558 | sub isSiteVerified { | ||||||
1559 | my $self = shift; | ||||||
1560 | return $self->{'SiteVerified'}; | ||||||
1561 | } | ||||||
1562 | |||||||
1563 | |||||||
1564 | =head2 setSkypeID() | ||||||
1565 | |||||||
1566 | Indicates the Skype name of the user. Available if | ||||||
1567 | the seller has a Skype account and has linked it (on the eBay site) | ||||||
1568 | with his or her eBay account. | ||||||
1569 | |||||||
1570 | # Argument: reference to an array | ||||||
1571 | of 'xs:string' | ||||||
1572 | |||||||
1573 | =cut | ||||||
1574 | |||||||
1575 | sub setSkypeID { | ||||||
1576 | my $self = shift; | ||||||
1577 | $self->{'SkypeID'} = | ||||||
1578 | $self->convertArray_To_RefToArrayIfNeeded(@_); | ||||||
1579 | } | ||||||
1580 | |||||||
1581 | =head2 getSkypeID() | ||||||
1582 | |||||||
1583 | Calls: GetUser | ||||||
1584 | Returned: Conditionally | ||||||
1585 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1586 | |||||||
1587 | # Returns: reference to an array | ||||||
1588 | of 'xs:string' | ||||||
1589 | |||||||
1590 | =cut | ||||||
1591 | |||||||
1592 | sub getSkypeID { | ||||||
1593 | my $self = shift; | ||||||
1594 | return $self->_getDataTypeArray('SkypeID'); | ||||||
1595 | } | ||||||
1596 | |||||||
1597 | |||||||
1598 | =head2 setStatus() | ||||||
1599 | |||||||
1600 | Indicates the user's registration/user status. | ||||||
1601 | To be eligible to list on Express, a seller's status must be Confirmed. | ||||||
1602 | See "eBay Express" in the eBay Web Services guide. | ||||||
1603 | |||||||
1604 | # Argument: 'ns:UserStatusCodeType' | ||||||
1605 | |||||||
1606 | =cut | ||||||
1607 | |||||||
1608 | sub setStatus { | ||||||
1609 | my $self = shift; | ||||||
1610 | $self->{'Status'} = shift | ||||||
1611 | } | ||||||
1612 | |||||||
1613 | =head2 getStatus() | ||||||
1614 | |||||||
1615 | Calls: GetAllBidders | ||||||
1616 | GetBidderList | ||||||
1617 | GetHighBidders | ||||||
1618 | Returned: Always | ||||||
1619 | AllValuesExcept: UnconfirmedPassport, | ||||||
1620 | CreditCardVerifyPassport | ||||||
1621 | |||||||
1622 | Calls: GetUser | ||||||
1623 | Returned: Conditionally | ||||||
1624 | AllValuesExcept: UnconfirmedPassport, | ||||||
1625 | CreditCardVerifyPassport | ||||||
1626 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1627 | |||||||
1628 | Calls: GetItem | ||||||
1629 | Returned: Always | ||||||
1630 | AllValuesExcept: UnconfirmedPassport, | ||||||
1631 | CreditCardVerifyPassport | ||||||
1632 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
1633 | Context: Seller | ||||||
1634 | |||||||
1635 | Calls: GetItem | ||||||
1636 | Returned: Conditionally | ||||||
1637 | AllValuesExcept: UnconfirmedPassport, | ||||||
1638 | CreditCardVerifyPassport | ||||||
1639 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
1640 | Context: HighBidder | ||||||
1641 | |||||||
1642 | Calls: GetOrderTransactions | ||||||
1643 | Returned: Conditionally | ||||||
1644 | AllValuesExcept: UnconfirmedPassport, | ||||||
1645 | CreditCardVerifyPassport | ||||||
1646 | Details: DetailLevel: ReturnAll | ||||||
1647 | |||||||
1648 | Calls: GetSellerList | ||||||
1649 | Returned: Conditionally | ||||||
1650 | AllValuesExcept: UnconfirmedPassport, | ||||||
1651 | CreditCardVerifyPassport | ||||||
1652 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
1653 | GranularityLevel: Fine | ||||||
1654 | |||||||
1655 | Context: HighBidder | ||||||
1656 | |||||||
1657 | Calls: GetSellerList | ||||||
1658 | Returned: Always | ||||||
1659 | AllValuesExcept: UnconfirmedPassport, | ||||||
1660 | CreditCardVerifyPassport | ||||||
1661 | Details: DetailLevel: none, ItemReturnDescription, | ||||||
1662 | ReturnAll | ||||||
1663 | GranularityLevel: Fine | ||||||
1664 | |||||||
1665 | Context: Seller | ||||||
1666 | |||||||
1667 | Calls: GetItemTransactions | ||||||
1668 | GetSellerTransactions | ||||||
1669 | Returned: Always | ||||||
1670 | AllValuesExcept: UnconfirmedPassport, | ||||||
1671 | CreditCardVerifyPassport | ||||||
1672 | Details: DetailLevel: none, ReturnAll | ||||||
1673 | Context: Seller | ||||||
1674 | |||||||
1675 | Calls: GetItemTransactions | ||||||
1676 | GetSellerTransactions | ||||||
1677 | Returned: Conditionally | ||||||
1678 | AllValuesExcept: UnconfirmedPassport, | ||||||
1679 | CreditCardVerifyPassport | ||||||
1680 | Details: DetailLevel: none, ReturnAll | ||||||
1681 | Context: Buyer | ||||||
1682 | |||||||
1683 | # Returns: 'ns:UserStatusCodeType' | ||||||
1684 | |||||||
1685 | =cut | ||||||
1686 | |||||||
1687 | sub getStatus { | ||||||
1688 | my $self = shift; | ||||||
1689 | return $self->{'Status'}; | ||||||
1690 | } | ||||||
1691 | |||||||
1692 | |||||||
1693 | =head2 setTUVLevel() | ||||||
1694 | |||||||
1695 | TUV level is a number allocated to a user based on various characteristics | ||||||
1696 | such as buyer, seller, new buyer, new seller, high risk, or bid limit. | ||||||
1697 | Applies to eBay Motors Pro applications only. | ||||||
1698 | |||||||
1699 | TheseSites: AU, DE, FR, IT, UK | ||||||
1700 | |||||||
1701 | # Argument: 'xs:int' | ||||||
1702 | |||||||
1703 | =cut | ||||||
1704 | |||||||
1705 | sub setTUVLevel { | ||||||
1706 | my $self = shift; | ||||||
1707 | $self->{'TUVLevel'} = shift | ||||||
1708 | } | ||||||
1709 | |||||||
1710 | =head2 getTUVLevel() | ||||||
1711 | |||||||
1712 | Calls: GetUser | ||||||
1713 | Returned: Conditionally | ||||||
1714 | Details: DetailLevel: ReturnAll | ||||||
1715 | |||||||
1716 | # Returns: 'xs:int' | ||||||
1717 | |||||||
1718 | =cut | ||||||
1719 | |||||||
1720 | sub getTUVLevel { | ||||||
1721 | my $self = shift; | ||||||
1722 | return $self->{'TUVLevel'}; | ||||||
1723 | } | ||||||
1724 | |||||||
1725 | |||||||
1726 | =head2 setUniqueNegativeFeedbackCount() | ||||||
1727 | |||||||
1728 | Total count of negative Feedback entries received by the user, including weekly repeats. | ||||||
1729 | |||||||
1730 | # Argument: 'xs:int' | ||||||
1731 | |||||||
1732 | =cut | ||||||
1733 | |||||||
1734 | sub setUniqueNegativeFeedbackCount { | ||||||
1735 | my $self = shift; | ||||||
1736 | $self->{'UniqueNegativeFeedbackCount'} = shift | ||||||
1737 | } | ||||||
1738 | |||||||
1739 | =head2 getUniqueNegativeFeedbackCount() | ||||||
1740 | |||||||
1741 | Calls: GetUser | ||||||
1742 | Returned: Conditionally | ||||||
1743 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1744 | |||||||
1745 | # Returns: 'xs:int' | ||||||
1746 | |||||||
1747 | =cut | ||||||
1748 | |||||||
1749 | sub getUniqueNegativeFeedbackCount { | ||||||
1750 | my $self = shift; | ||||||
1751 | return $self->{'UniqueNegativeFeedbackCount'}; | ||||||
1752 | } | ||||||
1753 | |||||||
1754 | |||||||
1755 | =head2 setUniqueNeutralFeedbackCount() | ||||||
1756 | |||||||
1757 | Total count of neutral Feedback entries received by the user, including weekly repeats. | ||||||
1758 | |||||||
1759 | # Argument: 'xs:int' | ||||||
1760 | |||||||
1761 | =cut | ||||||
1762 | |||||||
1763 | sub setUniqueNeutralFeedbackCount { | ||||||
1764 | my $self = shift; | ||||||
1765 | $self->{'UniqueNeutralFeedbackCount'} = shift | ||||||
1766 | } | ||||||
1767 | |||||||
1768 | =head2 getUniqueNeutralFeedbackCount() | ||||||
1769 | |||||||
1770 | Calls: GetUser | ||||||
1771 | Returned: Conditionally | ||||||
1772 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1773 | |||||||
1774 | # Returns: 'xs:int' | ||||||
1775 | |||||||
1776 | =cut | ||||||
1777 | |||||||
1778 | sub getUniqueNeutralFeedbackCount { | ||||||
1779 | my $self = shift; | ||||||
1780 | return $self->{'UniqueNeutralFeedbackCount'}; | ||||||
1781 | } | ||||||
1782 | |||||||
1783 | |||||||
1784 | =head2 setUniquePositiveFeedbackCount() | ||||||
1785 | |||||||
1786 | Total count of positive Feedback entries received by the user, including weekly repeats. | ||||||
1787 | Contains the aggregate feedback score for a user. A member's feedback score is | ||||||
1788 | the net positive feedback minus the net negative feedback left for the member. | ||||||
1789 | Feedback scores are a quantitative expression of the desirability of dealing | ||||||
1790 | with that person as a Buyer or a Seller in auction transactions. Each auction | ||||||
1791 | transaction can result in one feedback entry for a given user (the buyer can | ||||||
1792 | leave feedback for the seller, and the seller can leave feedback for the | ||||||
1793 | buyer.). That one feedback can be positive, negative, or neutral. The | ||||||
1794 | aggregated feedback counts for a particular user represent that user's overall | ||||||
1795 | feedback score (referred to as a "feedback rating" on the eBay site). This | ||||||
1796 | rating is commonly expressed as the eBay Feedback score for the user. | ||||||
1797 | |||||||
1798 | # Argument: 'xs:int' | ||||||
1799 | |||||||
1800 | =cut | ||||||
1801 | |||||||
1802 | sub setUniquePositiveFeedbackCount { | ||||||
1803 | my $self = shift; | ||||||
1804 | $self->{'UniquePositiveFeedbackCount'} = shift | ||||||
1805 | } | ||||||
1806 | |||||||
1807 | =head2 getUniquePositiveFeedbackCount() | ||||||
1808 | |||||||
1809 | Calls: GetUser | ||||||
1810 | Returned: Conditionally | ||||||
1811 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1812 | |||||||
1813 | # Returns: 'xs:int' | ||||||
1814 | |||||||
1815 | =cut | ||||||
1816 | |||||||
1817 | sub getUniquePositiveFeedbackCount { | ||||||
1818 | my $self = shift; | ||||||
1819 | return $self->{'UniquePositiveFeedbackCount'}; | ||||||
1820 | } | ||||||
1821 | |||||||
1822 | |||||||
1823 | =head2 setUserAnonymized() | ||||||
1824 | |||||||
1825 | Indicates whether or not the User container has been made | ||||||
1826 | anonymous. If true, some elements in the User container have | ||||||
1827 | either been removed, or had their values changed to remove | ||||||
1828 | identifying characteristics. If false, all expected elements | ||||||
1829 | are returned, and no values are changed. | ||||||
1830 | |
||||||
1831 | Since a bidder's user info is anonymous, this tag is returned as false | ||||||
1832 | only to the bidder, and to the seller of an item that the user is bidding | ||||||
1833 | on. For all other users, this tag is returned as true. | ||||||
1834 | |||||||
1835 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
1836 | Title: Working with Anonymous User Information | ||||||
1837 | |||||||
1838 | # Argument: 'xs:boolean' | ||||||
1839 | |||||||
1840 | =cut | ||||||
1841 | |||||||
1842 | sub setUserAnonymized { | ||||||
1843 | my $self = shift; | ||||||
1844 | $self->{'UserAnonymized'} = shift | ||||||
1845 | } | ||||||
1846 | |||||||
1847 | =head2 isUserAnonymized() | ||||||
1848 | |||||||
1849 | Calls: GetAllBidders | ||||||
1850 | GetHighBidders | ||||||
1851 | GetSellerEvents | ||||||
1852 | Returned: Always | ||||||
1853 | |||||||
1854 | Calls: GetSellerList | ||||||
1855 | Returned: Always | ||||||
1856 | Details: GranularityLevel: Fine | ||||||
1857 | |||||||
1858 | Calls: GetItem | ||||||
1859 | Returned: Always | ||||||
1860 | Details: DetailLevel: none, ItemReturnAttributes, ItemReturnDescription, ReturnAll | ||||||
1861 | Context: HighBidder | ||||||
1862 | |||||||
1863 | Calls: GetOrderTransactions | ||||||
1864 | Returned: Conditionally | ||||||
1865 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
1866 | |||||||
1867 | # Returns: 'xs:boolean' | ||||||
1868 | |||||||
1869 | =cut | ||||||
1870 | |||||||
1871 | sub isUserAnonymized { | ||||||
1872 | my $self = shift; | ||||||
1873 | return $self->{'UserAnonymized'}; | ||||||
1874 | } | ||||||
1875 | |||||||
1876 | |||||||
1877 | =head2 setUserID() | ||||||
1878 | |||||||
1879 | Unique eBay user ID for the user. |
||||||
1880 | |
||||||
1881 | In GetSearchResultsExpress, only returned when ItemDetails is set to Fine. | ||||||
1882 | |
||||||
1883 | Since a bidder's user info is anonymous, this tag will contain the real ID | ||||||
1884 | value only for that bidder, and the seller of an item that the user is bidding | ||||||
1885 | on. For all other users, the real ID value will be replaced with the anonymous | ||||||
1886 | value, according to these rules: | ||||||
1887 | |
||||||
1888 | When bidding on items listed on the US site: UserID is replaced with the value | ||||||
1889 | "a****b" where a and b are random characters from the UserID. For example, if | ||||||
1890 | the UserID = IBidALot, it might be displayed as, "I****A". | ||||||
1891 | |
||||||
1892 | Note that in this format, the anonymous bidder ID stays the same for every | ||||||
1893 | auction. | ||||||
1894 | |
||||||
1895 | (GetMyeBayBuying only) when bidding on items listed on the US site: UserID is | ||||||
1896 | replaced with the value "a****b" where a and b are random characters from the | ||||||
1897 | UserID. | ||||||
1898 | |
||||||
1899 | When bidding on items listed on the the UK and AU sites: UserID is replaced | ||||||
1900 | with the value "Bidder X" where X is a number indicating the order of that | ||||||
1901 | user's first bid. For example, if the user was the third bidder, UserID = | ||||||
1902 | Bidder 3. | ||||||
1903 | |
||||||
1904 | Note that in this format, the anonymous bidder ID stays the same for a given | ||||||
1905 | auction, but is different for different auctions. For example, a bidder who is | ||||||
1906 | the third and then the seventh bidder in an auction will be listed for both | ||||||
1907 | bids as "Bidder 3". However, if that same bidder is the first bidder on a | ||||||
1908 | different auction, the bidder will be listed for that auction as "Bidder 1", | ||||||
1909 | not "Bidder 3". | ||||||
1910 | |
||||||
1911 | (GetMyeBayBuying only) when bidding on items listed on the UK and AU sites: | ||||||
1912 | UserID is replaced with the string "High Bidder". | ||||||
1913 | |
||||||
1914 | (GetSearchResults only)When IncludeFeedback is set to true in GetSearchResults request, the call response returns the seller's User ID. Please note seller's UserID is not anonymized. | ||||||
1915 | |||||||
1916 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
1917 | Title: Working with Anonymous User Information | ||||||
1918 | |||||||
1919 | # Argument: 'ns:UserIDType' | ||||||
1920 | |||||||
1921 | =cut | ||||||
1922 | |||||||
1923 | sub setUserID { | ||||||
1924 | my $self = shift; | ||||||
1925 | $self->{'UserID'} = shift | ||||||
1926 | } | ||||||
1927 | |||||||
1928 | =head2 getUserID() | ||||||
1929 | |||||||
1930 | Calls: PlaceOffer | ||||||
1931 | Returned: Always | ||||||
1932 | |||||||
1933 | Calls: GetAllBidders | ||||||
1934 | GetBidderList | ||||||
1935 | GetHighBidders | ||||||
1936 | Returned: Conditionally | ||||||
1937 | |||||||
1938 | Calls: GetBestOffers | ||||||
1939 | Returned: Conditionally | ||||||
1940 | Details: DetailLevel: none, ReturnAll | ||||||
1941 | |||||||
1942 | Calls: GetUser | ||||||
1943 | Returned: Conditionally | ||||||
1944 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1945 | |||||||
1946 | Calls: GetItem | ||||||
1947 | Returned: Always | ||||||
1948 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
1949 | Context: Seller | ||||||
1950 | |||||||
1951 | Calls: GetOrderTransactions | ||||||
1952 | Returned: Conditionally | ||||||
1953 | Details: DetailLevel: ReturnAll | ||||||
1954 | |||||||
1955 | Calls: GetSellerList | ||||||
1956 | Returned: Conditionally | ||||||
1957 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
1958 | GranularityLevel: Fine | ||||||
1959 | |||||||
1960 | Context: HighBidder | ||||||
1961 | |||||||
1962 | Calls: GetItem | ||||||
1963 | Returned: Conditionally | ||||||
1964 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
1965 | Context: HighBidder | ||||||
1966 | |||||||
1967 | Calls: GetItemsAwaitingFeedback | ||||||
1968 | Returned: Conditionally | ||||||
1969 | Context: Buyer | ||||||
1970 | |||||||
1971 | Calls: GetMyeBayBuying | ||||||
1972 | Returned: Conditionally | ||||||
1973 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1974 | |||||||
1975 | Calls: GetMyeBaySelling | ||||||
1976 | Returned: Conditionally | ||||||
1977 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
1978 | Context: ActiveList | ||||||
1979 | SoldList | ||||||
1980 | BidList | ||||||
1981 | |||||||
1982 | Calls: GetSellerList | ||||||
1983 | Returned: Always | ||||||
1984 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
1985 | GranularityLevel: Fine | ||||||
1986 | |||||||
1987 | Context: Seller | ||||||
1988 | |||||||
1989 | Calls: GetItemTransactions | ||||||
1990 | GetSellerTransactions | ||||||
1991 | Returned: Always | ||||||
1992 | Details: DetailLevel: none, ReturnAll | ||||||
1993 | Context: Seller | ||||||
1994 | |||||||
1995 | Calls: GetItemTransactions | ||||||
1996 | GetSellerTransactions | ||||||
1997 | Returned: Conditionally | ||||||
1998 | Details: DetailLevel: none, ReturnAll | ||||||
1999 | Context: Buyer | ||||||
2000 | |||||||
2001 | Calls: GetSellerEvents | ||||||
2002 | Returned: Conditionally | ||||||
2003 | Details: DetailLevel: ReturnAll | ||||||
2004 | |||||||
2005 | Calls: GetSearchResults | ||||||
2006 | Returned: Conditionally | ||||||
2007 | Details: DetailLevel: ReturnAll | ||||||
2008 | |||||||
2009 | # Returns: 'ns:UserIDType' | ||||||
2010 | |||||||
2011 | =cut | ||||||
2012 | |||||||
2013 | sub getUserID { | ||||||
2014 | my $self = shift; | ||||||
2015 | return $self->_getDataTypeInstance( 'UserID' | ||||||
2016 | ,'eBay::API::XML::DataType::UserIDType'); | ||||||
2017 | } | ||||||
2018 | |||||||
2019 | |||||||
2020 | =head2 setUserIDChanged() | ||||||
2021 | |||||||
2022 | If true, identifies a user whose ID has changed within the last 30 days. Does not | ||||||
2023 | indicate a new user (see NewUser). | ||||||
2024 | |
||||||
2025 | Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on. | ||||||
2026 | |||||||
2027 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
2028 | Title: Working with Anonymous User Information | ||||||
2029 | |||||||
2030 | # Argument: 'xs:boolean' | ||||||
2031 | |||||||
2032 | =cut | ||||||
2033 | |||||||
2034 | sub setUserIDChanged { | ||||||
2035 | my $self = shift; | ||||||
2036 | $self->{'UserIDChanged'} = shift | ||||||
2037 | } | ||||||
2038 | |||||||
2039 | =head2 isUserIDChanged() | ||||||
2040 | |||||||
2041 | Calls: GetAllBidders | ||||||
2042 | GetBidderList | ||||||
2043 | GetHighBidders | ||||||
2044 | Returned: Always | ||||||
2045 | |||||||
2046 | Calls: GetUser | ||||||
2047 | Returned: Conditionally | ||||||
2048 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
2049 | |||||||
2050 | Calls: GetItem | ||||||
2051 | Returned: Always | ||||||
2052 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
2053 | Context: Seller | ||||||
2054 | |||||||
2055 | Calls: GetOrderTransactions | ||||||
2056 | Returned: Conditionally | ||||||
2057 | Details: DetailLevel: ReturnAll | ||||||
2058 | |||||||
2059 | Calls: GetSellerList | ||||||
2060 | Returned: Conditionally | ||||||
2061 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
2062 | GranularityLevel: Fine | ||||||
2063 | |||||||
2064 | Context: HighBidder | ||||||
2065 | |||||||
2066 | Calls: GetItem | ||||||
2067 | Returned: Conditionally | ||||||
2068 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
2069 | Context: HighBidder | ||||||
2070 | |||||||
2071 | Calls: GetSellerList | ||||||
2072 | Returned: Always | ||||||
2073 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
2074 | GranularityLevel: Fine | ||||||
2075 | |||||||
2076 | Context: Seller | ||||||
2077 | |||||||
2078 | Calls: GetItemTransactions | ||||||
2079 | GetSellerTransactions | ||||||
2080 | Returned: Always | ||||||
2081 | Details: DetailLevel: none, ReturnAll | ||||||
2082 | Context: Seller | ||||||
2083 | |||||||
2084 | Calls: GetItemTransactions | ||||||
2085 | GetSellerTransactions | ||||||
2086 | Returned: Conditionally | ||||||
2087 | Details: DetailLevel: none, ReturnAll | ||||||
2088 | Context: Buyer | ||||||
2089 | |||||||
2090 | # Returns: 'xs:boolean' | ||||||
2091 | |||||||
2092 | =cut | ||||||
2093 | |||||||
2094 | sub isUserIDChanged { | ||||||
2095 | my $self = shift; | ||||||
2096 | return $self->{'UserIDChanged'}; | ||||||
2097 | } | ||||||
2098 | |||||||
2099 | |||||||
2100 | =head2 setUserIDLastChanged() | ||||||
2101 | |||||||
2102 | Date and time the user's data was last changed (in GMT). | ||||||
2103 | |
||||||
2104 | Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on. | ||||||
2105 | |||||||
2106 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo | ||||||
2107 | Title: Working with Anonymous User Information | ||||||
2108 | |||||||
2109 | # Argument: 'xs:dateTime' | ||||||
2110 | |||||||
2111 | =cut | ||||||
2112 | |||||||
2113 | sub setUserIDLastChanged { | ||||||
2114 | my $self = shift; | ||||||
2115 | $self->{'UserIDLastChanged'} = shift | ||||||
2116 | } | ||||||
2117 | |||||||
2118 | =head2 getUserIDLastChanged() | ||||||
2119 | |||||||
2120 | Calls: GetAllBidders | ||||||
2121 | GetBidderList | ||||||
2122 | GetHighBidders | ||||||
2123 | Returned: Always | ||||||
2124 | |||||||
2125 | Calls: GetUser | ||||||
2126 | Returned: Conditionally | ||||||
2127 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
2128 | |||||||
2129 | Calls: GetItem | ||||||
2130 | Returned: Always | ||||||
2131 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
2132 | Context: Seller | ||||||
2133 | |||||||
2134 | Calls: GetOrderTransactions | ||||||
2135 | Returned: Conditionally | ||||||
2136 | Details: DetailLevel: ReturnAll | ||||||
2137 | |||||||
2138 | Calls: GetSellerList | ||||||
2139 | Returned: Conditionally | ||||||
2140 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
2141 | GranularityLevel: Fine | ||||||
2142 | |||||||
2143 | Context: HighBidder | ||||||
2144 | |||||||
2145 | Calls: GetItem | ||||||
2146 | Returned: Conditionally | ||||||
2147 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
2148 | Context: HighBidder | ||||||
2149 | |||||||
2150 | Calls: GetSellerList | ||||||
2151 | Returned: Always | ||||||
2152 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
2153 | GranularityLevel: Fine | ||||||
2154 | |||||||
2155 | Context: Seller | ||||||
2156 | |||||||
2157 | Calls: GetItemTransactions | ||||||
2158 | GetSellerTransactions | ||||||
2159 | Returned: Always | ||||||
2160 | Details: DetailLevel: none, ReturnAll | ||||||
2161 | Context: Seller | ||||||
2162 | |||||||
2163 | Calls: GetItemTransactions | ||||||
2164 | GetSellerTransactions | ||||||
2165 | Returned: Conditionally | ||||||
2166 | Details: DetailLevel: none, ReturnAll | ||||||
2167 | Context: Buyer | ||||||
2168 | |||||||
2169 | # Returns: 'xs:dateTime' | ||||||
2170 | |||||||
2171 | =cut | ||||||
2172 | |||||||
2173 | sub getUserIDLastChanged { | ||||||
2174 | my $self = shift; | ||||||
2175 | return $self->{'UserIDLastChanged'}; | ||||||
2176 | } | ||||||
2177 | |||||||
2178 | |||||||
2179 | =head2 setUserSubscription() | ||||||
2180 | |||||||
2181 | Specifies the subscription level for a user. | ||||||
2182 | |||||||
2183 | # Argument: reference to an array | ||||||
2184 | of 'ns:EBaySubscriptionTypeCodeType' | ||||||
2185 | |||||||
2186 | =cut | ||||||
2187 | |||||||
2188 | sub setUserSubscription { | ||||||
2189 | my $self = shift; | ||||||
2190 | $self->{'UserSubscription'} = | ||||||
2191 | $self->convertArray_To_RefToArrayIfNeeded(@_); | ||||||
2192 | } | ||||||
2193 | |||||||
2194 | =head2 getUserSubscription() | ||||||
2195 | |||||||
2196 | Calls: GetUser | ||||||
2197 | Returned: Conditionally | ||||||
2198 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
2199 | |||||||
2200 | # Returns: reference to an array | ||||||
2201 | of 'ns:EBaySubscriptionTypeCodeType' | ||||||
2202 | |||||||
2203 | =cut | ||||||
2204 | |||||||
2205 | sub getUserSubscription { | ||||||
2206 | my $self = shift; | ||||||
2207 | return $self->_getDataTypeArray('UserSubscription'); | ||||||
2208 | } | ||||||
2209 | |||||||
2210 | |||||||
2211 | =head2 setVATID() | ||||||
2212 | |||||||
2213 | The value added tax identifier (VATID) is applicable to the VAT-enabled | ||||||
2214 | sites. | ||||||
2215 | Applies to eBay Motors Pro applications only. | ||||||
2216 | |||||||
2217 | TheseSites: AU, DE, FR, IT, UK | ||||||
2218 | |||||||
2219 | # Argument: 'xs:string' | ||||||
2220 | |||||||
2221 | =cut | ||||||
2222 | |||||||
2223 | sub setVATID { | ||||||
2224 | my $self = shift; | ||||||
2225 | $self->{'VATID'} = shift | ||||||
2226 | } | ||||||
2227 | |||||||
2228 | =head2 getVATID() | ||||||
2229 | |||||||
2230 | Calls: GetUser | ||||||
2231 | Returned: Conditionally | ||||||
2232 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
2233 | |||||||
2234 | # Returns: 'xs:string' | ||||||
2235 | |||||||
2236 | =cut | ||||||
2237 | |||||||
2238 | sub getVATID { | ||||||
2239 | my $self = shift; | ||||||
2240 | return $self->{'VATID'}; | ||||||
2241 | } | ||||||
2242 | |||||||
2243 | |||||||
2244 | =head2 setVATStatus() | ||||||
2245 | |||||||
2246 | Indicates whether or not the user is subject to VAT. | ||||||
2247 | Users who have registered with eBay as VAT-exempt are not | ||||||
2248 | subject to VAT. See documentation on Value-Added Tax (VAT). | ||||||
2249 | |||||||
2250 | SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=VATStatus | ||||||
2251 | Title: VAT-exempt Sellers | ||||||
2252 | |||||||
2253 | # Argument: 'ns:VATStatusCodeType' | ||||||
2254 | |||||||
2255 | =cut | ||||||
2256 | |||||||
2257 | sub setVATStatus { | ||||||
2258 | my $self = shift; | ||||||
2259 | $self->{'VATStatus'} = shift | ||||||
2260 | } | ||||||
2261 | |||||||
2262 | =head2 getVATStatus() | ||||||
2263 | |||||||
2264 | Calls: GetAllBidders | ||||||
2265 | GetBidderList | ||||||
2266 | GetHighBidders | ||||||
2267 | Returned: Always | ||||||
2268 | |||||||
2269 | Calls: GetUser | ||||||
2270 | Returned: Conditionally | ||||||
2271 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
2272 | |||||||
2273 | Calls: GetItem | ||||||
2274 | Returned: Always | ||||||
2275 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
2276 | Context: Seller | ||||||
2277 | |||||||
2278 | Calls: GetOrderTransactions | ||||||
2279 | Returned: Conditionally | ||||||
2280 | Details: DetailLevel: ReturnAll | ||||||
2281 | |||||||
2282 | Calls: GetSellerList | ||||||
2283 | Returned: Conditionally | ||||||
2284 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
2285 | GranularityLevel: Fine | ||||||
2286 | |||||||
2287 | Context: HighBidder | ||||||
2288 | |||||||
2289 | Calls: GetItem | ||||||
2290 | Returned: Conditionally | ||||||
2291 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
2292 | Context: HighBidder | ||||||
2293 | |||||||
2294 | Calls: GetSellerList | ||||||
2295 | Returned: Always | ||||||
2296 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
2297 | GranularityLevel: Fine | ||||||
2298 | |||||||
2299 | Context: Seller | ||||||
2300 | |||||||
2301 | Calls: GetItemTransactions | ||||||
2302 | GetSellerTransactions | ||||||
2303 | Returned: Always | ||||||
2304 | Details: DetailLevel: none, ReturnAll | ||||||
2305 | Context: Seller | ||||||
2306 | |||||||
2307 | Calls: GetItemTransactions | ||||||
2308 | GetSellerTransactions | ||||||
2309 | Returned: Conditionally | ||||||
2310 | Details: DetailLevel: none, ReturnAll | ||||||
2311 | Context: Buyer | ||||||
2312 | |||||||
2313 | # Returns: 'ns:VATStatusCodeType' | ||||||
2314 | |||||||
2315 | =cut | ||||||
2316 | |||||||
2317 | sub getVATStatus { | ||||||
2318 | my $self = shift; | ||||||
2319 | return $self->{'VATStatus'}; | ||||||
2320 | } | ||||||
2321 | |||||||
2322 | |||||||
2323 | =head2 setEBayGoodStanding() | ||||||
2324 | |||||||
2325 | If true, indicates that the user is in good standing with eBay. | ||||||
2326 | |||||||
2327 | # Argument: 'xs:boolean' | ||||||
2328 | |||||||
2329 | =cut | ||||||
2330 | |||||||
2331 | sub setEBayGoodStanding { | ||||||
2332 | my $self = shift; | ||||||
2333 | $self->{'eBayGoodStanding'} = shift | ||||||
2334 | } | ||||||
2335 | |||||||
2336 | =head2 isEBayGoodStanding() | ||||||
2337 | |||||||
2338 | Calls: GetUser | ||||||
2339 | Returned: Conditionally | ||||||
2340 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
2341 | |||||||
2342 | Calls: GetAllBidders | ||||||
2343 | GetBidderList | ||||||
2344 | GetHighBidders | ||||||
2345 | Returned: Always | ||||||
2346 | |||||||
2347 | Calls: GetItem | ||||||
2348 | Returned: Always | ||||||
2349 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
2350 | Context: Seller | ||||||
2351 | |||||||
2352 | Calls: GetOrderTransactions | ||||||
2353 | Returned: Conditionally | ||||||
2354 | Details: DetailLevel: ReturnAll | ||||||
2355 | |||||||
2356 | Calls: GetSellerList | ||||||
2357 | Returned: Conditionally | ||||||
2358 | Details: DetailLevel: ItemReturnDescription, ReturnAll | ||||||
2359 | GranularityLevel: Fine | ||||||
2360 | |||||||
2361 | Context: HighBidder | ||||||
2362 | |||||||
2363 | Calls: GetItem | ||||||
2364 | Returned: Conditionally | ||||||
2365 | Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll | ||||||
2366 | Context: HighBidder | ||||||
2367 | |||||||
2368 | Calls: GetSellerList | ||||||
2369 | Returned: Always | ||||||
2370 | Details: DetailLevel: none, ItemReturnDescription, ReturnAll | ||||||
2371 | GranularityLevel: Fine | ||||||
2372 | |||||||
2373 | Context: Seller | ||||||
2374 | |||||||
2375 | Calls: GetItemTransactions | ||||||
2376 | GetSellerTransactions | ||||||
2377 | Returned: Always | ||||||
2378 | Details: DetailLevel: none, ReturnAll | ||||||
2379 | Context: Seller | ||||||
2380 | |||||||
2381 | Calls: GetItemTransactions | ||||||
2382 | GetSellerTransactions | ||||||
2383 | Returned: Conditionally | ||||||
2384 | Details: DetailLevel: none, ReturnAll | ||||||
2385 | Context: Buyer | ||||||
2386 | |||||||
2387 | # Returns: 'xs:boolean' | ||||||
2388 | |||||||
2389 | =cut | ||||||
2390 | |||||||
2391 | sub isEBayGoodStanding { | ||||||
2392 | my $self = shift; | ||||||
2393 | return $self->{'eBayGoodStanding'}; | ||||||
2394 | } | ||||||
2395 | |||||||
2396 | |||||||
2397 | =head2 setEBayWikiReadOnly() | ||||||
2398 | |||||||
2399 | Indicates whether a user has read-only access to the eBay Wiki (true) | ||||||
2400 | or whether the user is able contribute or edit articles on the eBay Wiki | ||||||
2401 | (false). By default, all registered eBay users have access to contribute and | ||||||
2402 | edit articles on the eBay Wiki. All content contributed to the eBay Wiki is | ||||||
2403 | subject to the Community Content Policy. | ||||||
2404 | |||||||
2405 | Default: false | ||||||
2406 | |||||||
2407 | # Argument: 'xs:boolean' | ||||||
2408 | |||||||
2409 | =cut | ||||||
2410 | |||||||
2411 | sub setEBayWikiReadOnly { | ||||||
2412 | my $self = shift; | ||||||
2413 | $self->{'eBayWikiReadOnly'} = shift | ||||||
2414 | } | ||||||
2415 | |||||||
2416 | =head2 isEBayWikiReadOnly() | ||||||
2417 | |||||||
2418 | Calls: GetUser | ||||||
2419 | Returned: Always | ||||||
2420 | Details: DetailLevel: none, ReturnSummary, ReturnAll | ||||||
2421 | |||||||
2422 | # Returns: 'xs:boolean' | ||||||
2423 | |||||||
2424 | =cut | ||||||
2425 | |||||||
2426 | sub isEBayWikiReadOnly { | ||||||
2427 | my $self = shift; | ||||||
2428 | return $self->{'eBayWikiReadOnly'}; | ||||||
2429 | } | ||||||
2430 | |||||||
2431 | |||||||
2432 | |||||||
2433 | |||||||
2434 | |||||||
2435 | ## Attribute and Property lists | ||||||
2436 | sub getPropertiesList { | ||||||
2437 | my $self = shift; | ||||||
2438 | return \@gaProperties; | ||||||
2439 | } | ||||||
2440 | |||||||
2441 | sub getAttributesList { | ||||||
2442 | my $self = shift; | ||||||
2443 | return \@gaAttributes; | ||||||
2444 | } | ||||||
2445 | |||||||
2446 | |||||||
2447 | |||||||
2448 | 1; |