eBay::API::XML::DataType::FlatShippingDiscountType
Details of an individual discount profile defined by the user for flat rate shipping.
eBay::API::XML::DataType::FlatShippingDiscountType inherits from the eBay::API::XML::BaseDataType class
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'
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'
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.
# Argument: reference to an array of 'ns:DiscountProfileType'
Calls: GetShippingDiscountProfiles Returned: Conditionally Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
# Returns: reference to an array of 'ns:DiscountProfileType'
To install eBay::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm eBay::API
CPAN shell
perl -MCPAN -e shell install eBay::API
For more information on module installation, please visit the detailed CPAN module installation guide.