Object::eBay::Attributes(3)

NAME
Object::eBay::Attributes - Represents item attributes

SYNOPSIS
    # assuming that $item is an Object::eBay::Item object
    my $attribute = $item->attributes->find(10244);
    print "The condition is $attribute\n";

DESCRIPTION
eBay associates key-value pairs (attributes) with certain auctions. An Object::eBay::Attributes object represents the collection of all attributes for a specific auction.

METHODS

  find
Given either an "attributeID" or a regular expression, searches for attributes and returns a list of Object::eBay::Attribute objects representing them. If the argument is a number, it's intrepreted as an "attributeID" (the numeric code that eBay assigns to a particular attribute). If the argument is a regular expression, that pattern is compared against the string values ("ValueLiteral") for each attributes and those matching are returned.

AUTHOR
Michael Hendricks <michael@ndrix.org>

LICENSE AND COPYRIGHT
Copyright (c) 2008 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.