NAME
eBay::API::XML::DataType::CalculatedShippingDiscountType
DESCRIPTION
Details of an individual discount profile defined by the user for calculated shipping.
SYNOPSIS
INHERITANCE
eBay::API::XML::DataType::CalculatedShippingDiscountType inherits from the eBay::API::XML::BaseDataType class
Subroutines:
setDiscountName()
The type of discount or "rule" that is being used by the profile. Only WeightOff is a "variable" rule, 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:
IndividualItemWeight, CombinedItemWeight, WeightOff
# Argument: 'ns:DiscountNameCodeType'
getDiscountName()
Calls: GetShippingDiscountProfiles
Returned: Conditionally
OnlyTheseValues:
IndividualItemWeight, CombinedItemWeight, WeightOff
Calls: GetItem
Returned: Conditionally
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
OnlyTheseValues:
IndividualItemWeight, CombinedItemWeight, WeightOff
# Returns: 'ns:DiscountNameCodeType'
setDiscountProfile()
Details of this particular calculated 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:
IndividualItemWeight, CombinedItemWeight, WeightOff
# 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'