eBay::API::XML::DataType::CartItemType(3)

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

DESCRIPTION
Details about an item in a cart.

SYNOPSIS

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

Subroutines:

  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'