eBay::API::XML::DataType::DiscountProfileType
Details of a flat or calculated shipping discount profile.
eBay::API::XML::DataType::DiscountProfileType inherits from the eBay::API::XML::BaseDataType class
The unique eBay-created ID for the shipping discount, assigned when the profile is created. On input, if ModifyActionCode is Add, this is ignored if provided. 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.
Calls: SetShippingDiscountProfiles RequiredInput: Conditionally
# Argument: 'xs:string'
Calls: GetShippingDiscountProfiles Returned: Conditionally Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
# Returns: 'xs:string'
The user's title for this profile. On input, if ModifyActionCode is Add, this is ignored (if provided) if this is the first profile being created and required if there is more than one profile of that type (flat rate versus calculated) already. To modify the name, set ModifyActionCode to Update and provide all details for the profile. On output, DiscountProfileName is only returned if the user defined more than one profile.
The amount, if the seller specified EachAdditionalAmount as the type of profile, as noted in FlatShippingDiscount.DiscountName. Flat rate shipping only.
Calls: SetShippingDiscountProfiles RequiredInput: Conditionally Context: FlatShippingDiscount
# Argument: 'ns:AmountType'
Calls: GetShippingDiscountProfiles Returned: Conditionally Context: FlatShippingDiscount Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll Context: FlatShippingDiscount InternationalFlatShippingDiscount
# Returns: 'ns:AmountType'
The amount, if the seller specified EachAdditionalAmountOff as the type of profile, as noted in FlatShippingDiscount.DiscountName. Flat rate shipping only.
The percent (expressed in decimal, as in .5 for 50%), if the seller specified EachAdditionalPercentOff as the type of profile, as noted in FlatShippingDiscount.DiscountName. Flat rate shipping only.
# Argument: 'xs:float'
# Returns: 'xs:float'
For SetShippingDiscountProfiles, if MappedDiscountProfileID is omitted when ModifyActionCode is Delete, any listings currently using the profile identified by DiscountProfileID will have that profile removed. For SetShippingDiscountProfiles and GetItem, this is the intended discount profile mapping.
Calls: SetShippingDiscountProfiles RequiredInput: Conditionally Context: CalculatedShippingDiscount
Calls: GetShippingDiscountProfiles Returned: Conditionally Context: CalculatedShippingDiscount Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll Context: CalculatedShippingDiscount InternationalCalculatedShippingDiscount
The weight by which to reduce the combined item weight, if the seller specified WeightOff as the type of profile, as noted in CalculatedShippingDiscount.DiscountName. The smallest unit is used (e.g. ounces). Calculated shipping only.
# Argument: 'ns:MeasureType'
# Returns: 'ns:MeasureType'
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.