NAME

eBay::API::XML::DataType::CalculatedHandlingDiscountType

DESCRIPTION

Instructions on packaging/handling costs for combined payment.

SYNOPSIS

INHERITANCE

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

Subroutines:

setDiscountName()

The type of discount that is detailed in the profile. If the selection is EachAdditionalAmount, EachAdditionalAmountOff or EachAdditionalPercentOff, the value is set in the child element of same name in CalculatedHandlingDiscount. If the selection is CombinedHandlingFee, specify the amount in CalculatedHandlingDiscount.OrderHandlingAmount. If the selection is IndividualHandlingFee, the amount is determined by eBay by adding the fees of the individual items.

  Calls: SetShippingDiscountProfiles
  RequiredInput: Conditionally

# Argument: 'ns:HandlingNameCodeType'

getDiscountName()

  Calls: GetShippingDiscountProfiles
  Returned: Conditionally

# Returns: 'ns:HandlingNameCodeType'

setEachAdditionalAmount()

The packaging/handling cost for each item beyond the first item (where the item with the highest packaging/handling cost is selected by eBay as the first item). Let's say the buyer purchases three items, each assigned a packaging/handling cost of $8, and the seller set EachAdditionalAmount to $6. The packaging/handling cost for three items would normally be $24, but since the seller specified $6, the total packaging/handling cost would be $8 + $6 + $6, or $20. This field is mutually exclusive with the other amount and percentage fields within this type. This field only applies when DiscountName is EachAdditionalAmount.

  Calls: SetShippingDiscountProfiles
  RequiredInput: Conditionally

# Argument: 'ns:AmountType'

getEachAdditionalAmount()

  Calls: GetShippingDiscountProfiles
  Returned: Conditionally

# Returns: 'ns:AmountType'

setEachAdditionalOffAmount()

The amount by which to reduce the packaging/handling cost for each item beyond the first item (where the item with the highest packaging/handling cost is selected by eBay as the first item). Let's say the buyer purchases three items, each assigned a packaging/handling cost of $8, and the seller set EachAdditionalAmountOff to $2. The packaging/handling cost for three items would normally be $24, but since the seller specified $2, the total packaging/handling cost would be $24 - (two additional items x $2), or $20. This field is mutually exclusive with the other amount and percentage fields within this type. This field only applies when DiscountName is EachAdditionalOffAmount.

  Calls: SetShippingDiscountProfiles
  RequiredInput: Conditionally

# Argument: 'ns:AmountType'

getEachAdditionalOffAmount()

  Calls: GetShippingDiscountProfiles
  Returned: Conditionally

# Returns: 'ns:AmountType'

setEachAdditionalPercentOff()

The percentage by which to reduce the packaging/handling cost for each item beyond the first item (where the item with the highest packaging/handling cost is selected by eBay as the first item). Let's say the buyer purchases three items, each assigned a packaging/handling cost of $8, and the seller set EachAdditionalPercentOff to 0.25. The packaging/handling cost for three items would normally be $24, but since the seller specified 0.25 ($2 out of 8), the total packaging/handling cost would be $24 - (two additional items x $2), or $20. This field is mutually exclusive with the amount fields within this type. This field only applies when DiscountName is EachAdditionalPercentOff.

  Calls: SetShippingDiscountProfiles
  RequiredInput: Conditionally

# Argument: 'xs:float'

getEachAdditionalPercentOff()

  Calls: GetShippingDiscountProfiles
  Returned: Conditionally

# Returns: 'xs:float'

setOrderHandlingAmount()

If specified, this is the fixed shipping cost to charge for an order, regardless of the number of items in the order. This field is mutually exclusive with the other amount and percentage fields within this type. This field only applies when DiscountName is CombinedHandlingFee.

  Calls: SetShippingDiscountProfiles
  RequiredInput: Conditionally

# Argument: 'ns:AmountType'

getOrderHandlingAmount()

  Calls: GetShippingDiscountProfiles
  Returned: Conditionally

# Returns: 'ns:AmountType'