NAME

eBay::API::XML::DataType::CrossPromotionsType

DESCRIPTION

Contains one or more items cross-promoted with the display or purchase of a referring item.

SYNOPSIS

INHERITANCE

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

Subroutines:

setItemID()

Unique item ID for the referring item.

MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)

# Argument: 'ns:ItemIDType'

getItemID()

  Calls: GetBidderList
  Returned: Conditionally

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

  Calls: GetCrossPromotions
  Returned: Always

# Returns: 'ns:ItemIDType'

setPrimaryScheme()

The primary cross-promotion rule scheme that was applied to return the cross-promoted item.

# Argument: 'ns:PromotionSchemeCodeType'

getPrimaryScheme()

  Calls: GetBidderList
  Returned: Conditionally

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

  Calls: GetCrossPromotions
  Returned: Always

# Returns: 'ns:PromotionSchemeCodeType'

setPromotedItem()

Contains one cross-promoted item.

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

getPromotedItem()

  Calls: GetBidderList
  Returned: Conditionally

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

  Calls: GetCrossPromotions
  Returned: Conditionally

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

setPromotionMethod()

The type of promotion, CrossSell or UpSell.

# Argument: 'ns:PromotionMethodCodeType'

getPromotionMethod()

  Calls: GetBidderList
  Returned: Conditionally

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

  Calls: GetCrossPromotions
  Returned: Always

# Returns: 'ns:PromotionMethodCodeType'

setSellerID()

The eBay user ID of the seller offering the cross-promoted item.

# Argument: 'xs:string'

getSellerID()

  Calls: GetBidderList
  Returned: Conditionally

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

  Calls: GetCrossPromotions
  Returned: Always

# Returns: 'xs:string'

setShippingDiscount()

Whether a shipping discount is offered by the seller when the cross-promoted item is purchased.

# Argument: 'xs:boolean'

isShippingDiscount()

  Calls: GetBidderList
  Returned: Conditionally

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

  Calls: GetCrossPromotions
  Returned: Always

# Returns: 'xs:boolean'

setStoreName()

The store name of the seller offering the cross-promoted item.

# Argument: 'xs:string'

getStoreName()

  Calls: GetCrossPromotions
  Returned: Conditionally

# Returns: 'xs:string'