The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

eBay::API::XML::Call::GetPromotionRules::GetPromotionRulesRequestType

DESCRIPTION

Retrieves all promotion rules associated with the specified item or store category.

SYNOPSIS

INHERITANCE

eBay::API::XML::Call::GetPromotionRules::GetPromotionRulesRequestType inherits from the eBay::API::XML::RequestDataType class

Subroutines:

setItemID()

The unique ID of the item for which to retrieve promotion rules. Mutually exclusive with StoreCategoryID.

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

  RequiredInput: Conditionally
#    Argument: 'ns:ItemIDType'

getItemID()

# Returns: 'ns:ItemIDType'

setPromotionMethod()

The type of promotion. (CrossSell: items that are related to or useful in combination with this item. UpSell: items that are more expensive than or of higher quality than this item.)

  RequiredInput: Yes
#    Argument: 'ns:PromotionMethodCodeType'

getPromotionMethod()

# Returns: 'ns:PromotionMethodCodeType'

setStoreCategoryID()

The unique ID of the store category for which to retrieve promotion rules. Mutually exclusive with ItemID.

  RequiredInput: Conditionally
#    Argument: 'xs:long'

getStoreCategoryID()

# Returns: 'xs:long'