NAME

eBay::API::XML::DataType::AttributeType

DESCRIPTION

A salient aspect or feature of an item. On eBay.com, this information is used in the Item Specifics section of a listing to describe an item in a standard way so that buyers can find it more easily.

SYNOPSIS

INHERITANCE

eBay::API::XML::DataType::AttributeType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

setValue()

A value the seller selected or entered for the attribute. At least one value is required for each Attribute that you specify. Some attributes can have multiple values. See the eBay Web Services guide sections on Item Specifics (Attributes) and Pre-filled Item Information (Catalogs) for information about using GetAttributesCS to determine valid attribute values.<br><br> For eBay.com listings, use AttributeSetArray.AttributeSet.Attribute.Value. For Half.com, use AttributeArray.Attribute.Value. That is, the parent elements and usage for Half.com differs from eBay's standard Item Specifics format (and there is no relationship to GetAttributesCS). For Half.com, this does not use the same Attributes logic as eBay's Item Specifics. For Half.com, AttributeArray.Attribute.Value is required when you use AddItem. see the eBay Web Services Guide for valid values. You can revise AttributeArray.Attribute.Value for Half.com listings.

Calls: AddItem
       AddLiveAuctionItem
       GetItemRecommendations
       GetProducts
       VerifyAddItem
RequiredInput: Conditionally

Calls: RelistItem
       ReviseItem
       ReviseLiveAuctionItem
RequiredInput: No

# Argument: reference to an array of 'ns:ValType'

getValue()

Calls: GetCategoryListings
       GetItemRecommendations
Returned: Conditionally

Calls: GetSearchResults
Returned: Conditionally
Details: DetailLevel: none, ItemReturnAttributes, ItemReturnCategories, ReturnAll
         GranularityLevel: Coarse


Calls: GetItem
Returned: Conditionally
Details: DetailLevel: ItemReturnAttributes, ReturnAll

Calls: GetOrders
Returned: Always
Details: DetailLevel: none

# Returns: reference to an array of 'ns:ValType'

setAttributeID()

Constant value that identifies the attribute in a language-independent way. Unique within the attribute set. See the Developer's Guide topics on Item Specifics and Pre-filled Item Information for information about determining valid attribute IDs. Not applicable to Half.com.

Calls: AddItem
       AddLiveAuctionItem
       GetItemRecommendations
       VerifyAddItem
RequiredInput: Conditionally
Context: AttributeSetArray

Calls: RelistItem
       ReviseItem
       ReviseLiveAuctionItem
RequiredInput: No
Context: AttributeSetArray

# Argument: 'xs:int'

getAttributeID()

Calls: GetCategoryListings
       GetItemRecommendations
Returned: Conditionally

Calls: GetSearchResults
Returned: Conditionally
Details: DetailLevel: none, ItemReturnAttributes, ItemReturnCategories, ReturnAll
         GranularityLevel: Coarse


Calls: GetItem
Returned: Conditionally
Details: DetailLevel: ItemReturnAttributes, ReturnAll

# Returns: 'xs:int'

setAttributeLabel()

Name of the attribute being specified. This is not part of eBay's standard Item Specifics format (i.e., there is no relationship to GetAttributesCS). For GetCategoryListings, this returns the value "Condition" to identify the item condition attribute. For GetOrders, this is always returned for Half.com orders. (It is not applicable to orders on the eBay.com site.) For Half.com, see the eBay Web Services Guide for valid input values. For Half.com, this field is required when you use AddItem. You can revise this value for Half.com listings.

Calls: AddItem
       GetItemRecommendations
       VerifyAddItem
RequiredInput: Conditionally
Context: AttributeArray

Calls: ReviseItem
RequiredInput: No
Context: AttributeArray

# Argument: 'xs:string'

getAttributeLabel()

Calls: GetCategoryListings
Returned: Conditionally

Calls: GetOrders
Returned: Always
Details: DetailLevel: none

# Returns: 'xs:string'