NAME

Object::eBay::User - Represents an eBay user

SYNOPSIS

  # Assuming that Object::eBay has been initialized
  use Object::eBay::User;
  my $user = Object::eBay::User->new({ user_id => 'example' });
  print "Feedback Score: ", $user->feedback_score(), "\n";

DESCRIPTION

Represents an eBay user.

METHODS

new

Requires a single hashref as the argument. The hashref should contain a key 'user_id' whose value is the ID of the user you want the new object to represent.

email

Returns the user's email address if available. If it's not available, returns undef.

feedback_score

Returns an integer indicating the user's feedback score.

is_feedback_private

Returns an Object::eBay::Boolean object representing 'true' if the user's feedback score is private. Returns 'false' if the user's feedback score is public.

user_id

Returns the user's name (username).

DIAGNOSTICS

None

CONFIGURATION AND ENVIRONMENT

Object::eBay::User requires no configuration files or environment variables.

DEPENDENCIES

  • Class::Std

  • Object::eBay

INCOMPATIBILITIES

None known.

BUGS AND LIMITATIONS

Please report any bugs or feature requests to bug-object-ebay-user at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Object-eBay. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Object::eBay

You can also look for information at:

ACKNOWLEDGEMENTS

AUTHOR

Michael Hendricks <michael@ndrix.org>

LICENSE AND COPYRIGHT

Copyright (c) 2006 Michael Hendricks (<michael@ndrix.org>). All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.