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

NAME
eBay::API::XML::DataType::PromotionRuleType

DESCRIPTION
Defines a rule that promotes items or a store category when a buyer views a specific item or store category.

SYNOPSIS

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

Subroutines:

  setPromotedKeywords()
The keywords that identify promoted items. Use with a promotion scheme of ItemToDefaultRule or DefaultRule. Only for Store owners.

# Argument: 'xs:string'

  getPromotedKeywords()
  Calls: GetPromotionRules
  Returned: Conditionally

# Returns: 'xs:string'

  setPromotedStoreCategoryID()
The ID of the Store category being promoted. Use with a promotion scheme of ItemToStoreCat, StoreToStoreCat, ItemToDefaultRule, or DefaultRule. Only for Store owners.

# Argument: 'xs:long'

  getPromotedStoreCategoryID()
  Calls: GetPromotionRules
  Returned: Conditionally

# Returns: 'xs:long'

  setPromotedeBayCategoryID()
The ID of the eBay category being promoted. Use with a promotion scheme of ItemToDefaultRule or DefaultRule.

# Argument: 'xs:string'

  getPromotedeBayCategoryID()
  Calls: GetPromotionRules
  Returned: Conditionally

# Returns: 'xs:string'

  setPromotionMethod()
The type of cross promotion, CrossSell or UpSell.

# Argument: 'ns:PromotionMethodCodeType'

  getPromotionMethod()
  Calls: GetPromotionRules
  Returned: Always

# Returns: 'ns:PromotionMethodCodeType'

  setPromotionScheme()
The type of cross-promotion scheme you are defining.

# Argument: 'ns:PromotionSchemeCodeType'

  getPromotionScheme()
  Calls: GetPromotionRules
  Returned: Always

# Returns: 'ns:PromotionSchemeCodeType'

  setReferringItemID()
The unique ID of the item the buyer is viewing or purchasing. Use with a promotion scheme of ItemToItem or ItemToStoreCat. Always use ReferringItemID or ReferringStoreCategoryID, but not both.

# Argument: 'ns:ItemIDType'

  getReferringItemID()
  Calls: GetPromotionRules
  Returned: Conditionally

# Returns: 'ns:ItemIDType'

  setReferringKeywords()
The keywords that identify referring items. Use with a promotion scheme of ItemToDefaultRule or DefaultRule. Only for Store owners.

# Argument: 'xs:string'

  getReferringKeywords()
  Calls: GetPromotionRules
  Returned: Conditionally

# Returns: 'xs:string'

  setReferringStoreCategoryID()
The ID of the store category the user is browsing. Use with a promotion scheme of StoreToStoreCat, ItemToDefaultRule or DefaultRule. Always use ReferringStoreCategoryID or ReferringItemID, but not both.

# Argument: 'xs:long'

  getReferringStoreCategoryID()
  Calls: GetPromotionRules
  Returned: Conditionally

# Returns: 'xs:long'

  setReferringeBayCategoryID()
The ID of the eBay category being referred. Use with a promotion scheme or ItemToDefaultRule or DefaultRule.

# Argument: 'xs:string'

  getReferringeBayCategoryID()
  Calls: GetPromotionRules
  Returned: Conditionally

# Returns: 'xs:string'