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

NAME

eBay::API::XML::DataType::FlatShippingDiscountType

DESCRIPTION

Details of an individual discount profile defined by the user for flat rate shipping.

SYNOPSIS

INHERITANCE

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

Subroutines:

setDiscountName()

The type of discount or "rule" that is being used by the profile. The value corresponding to the selected rule is set in the same-named field of FlatShippingDiscount.DiscountProfile. All are "variable" rules, as defined in the documentation on shipping discount profiles.

SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=ShippingDiscountProfiles Title: Shipping Cost Discount Profiles

  Calls: SetShippingDiscountProfiles
  RequiredInput: Conditionally
  OnlyTheseValues: 
                                                                EachAdditionalAmount, EachAdditionalAmountOff, EachAdditionalPercentOff
                                                        

# Argument: 'ns:DiscountNameCodeType'

getDiscountName()

  Calls: GetShippingDiscountProfiles
  Returned: Conditionally
  OnlyTheseValues: 
                                                                EachAdditionalAmount, EachAdditionalAmountOff, EachAdditionalPercentOff
                                                        

  Calls: GetItem
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
  OnlyTheseValues: 
                                                                EachAdditionalAmount, EachAdditionalAmountOff, EachAdditionalPercentOff
                                                        

# Returns: 'ns:DiscountNameCodeType'

setDiscountProfile()

Details of this particular flat rate shipping discount profile. If ModifyActionCode is Modify, all details of the new version of the profile must be provided. If ModifyActionCode is Delete, DiscountProfileID is required, MappingDiscountProfileID is optional, and all other fields of DiscountProfile are ignored. Restrictions of how many profiles you can have for a given discount rule are discussed in the documentation on shipping discount profiles.

SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=ShippingDiscountProfiles Title: Shipping Cost Discount Profiles

  Calls: SetShippingDiscountProfiles
  RequiredInput: Conditionally
  OnlyTheseValues: 
                                                                EachAdditionalAmount, EachAdditionalAmountOff, EachAdditionalPercentOff
                                                        

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

getDiscountProfile()

  Calls: GetShippingDiscountProfiles
  Returned: Conditionally

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

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