eBay::API::XML::DataType::CartItemType - eBay::API::XML::DataType::CartItemType documentation


eBay-API documentation  | view source Contained in the eBay-API distribution.

Index


NAME

Top

eBay::API::XML::DataType::CartItemType

DESCRIPTION

Top

Details about an item in a cart.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setAction()

What is to be done with the item. If the action is Delete or Update, ReferenceID must be provided. (It was returned with the item when the item was initially added to the cart.) This is only required if the parent container is submitted.

# Argument: 'ns:ModifyActionCodeType'

getAction()

# Returns: 'ns:ModifyActionCodeType'

setItem()

When used as input, this is the item to be added, removed or updated in the cart. Only ItemID and Quantity apply. This is only required as input if the parent container is submitted. When returned, this is one of the items remaining in the cart.

# Argument: 'ns:ItemType'

getItem()

# Returns: 'ns:ItemType'

setReferenceID()

An ID created by eBay and returned along with an item, if items are returned. This ID must be provided on input to SetCart along with the corresponding item when doing a Delete or Update related to that item.

# Argument: 'xs:long'

getReferenceID()

# Returns: 'xs:long'


eBay-API documentation  | view source Contained in the eBay-API distribution.