eBay::API::XML::DataType::PromotionalShippingDiscountDetailsType
Details of a promotional shipping discount.
eBay::API::XML::DataType::PromotionalShippingDiscountDetailsType inherits from the eBay::API::XML::BaseDataType class
The type of promotional shipping discount that is detailed in the profile. If MaximumShippingCostPerOrder, see ShippingCost. If ShippingCostXForAmountY, see ShippingCost and OrderAmount. If ShippingCostXForItemCountN, see ShippingCost and ItemCount.
Calls: SetShippingDiscountProfiles RequiredInput: Conditionally OnlyTheseValues: MaximumShippingCostPerOrder, ShippingCostXForAmountY, ShippingCostXForItemCountN
# Argument: 'ns:DiscountNameCodeType'
Calls: GetShippingDiscountProfiles Returned: Conditionally OnlyTheseValues: MaximumShippingCostPerOrder, ShippingCostXForAmountY, ShippingCostXForItemCountN Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll OnlyTheseValues: MaximumShippingCostPerOrder, ShippingCostXForAmountY, ShippingCostXForItemCountN
# Returns: 'ns:DiscountNameCodeType'
This is the number of items, when DiscountName is set to ShippingCostXForItemsY.
Calls: SetShippingDiscountProfiles RequiredInput: Conditionally
# Argument: 'xs:int'
Calls: GetShippingDiscountProfiles Returned: Conditionally Calls: GetItem Returned: Conditionally Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll
# Returns: 'xs:int'
This is the cost Y of the order (not including shipping cost), when DiscountName is set to ShippingCostXForAmountY.
# Argument: 'ns:AmountType'
# Returns: 'ns:AmountType'
This is shipping cost X, when DiscountName is either ShippingCostXForAmountY or ShippingCostXForItemCountN, and is the maximum cost when DiscountName is MaximumShippingCostPerOrder.
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.