Inherits from NSObject
Conforms to PicoBindable
Declared in Trading_DiscountProfileType.h
Trading_DiscountProfileType.m

Overview

Details of a flat or calculated shipping discount profile.

@ingroup EBayAPIInterface

Tasks

  •   discountProfileID

    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.

    property
  •   discountProfileName

    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.

    property
  •   eachAdditionalAmount

    The amount, if the seller specified EachAdditionalAmount as the type of profile,
    as noted in FlatShippingDiscount.DiscountName.
    Flat rate shipping only.

    property
  •   eachAdditionalAmountOff

    The amount, if the seller specified EachAdditionalAmountOff as the type of profile,
    as noted in FlatShippingDiscount.DiscountName.
    Flat rate shipping only.

    property
  •   eachAdditionalPercentOff

    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.

    property
  •   weightOff

    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.

    property
  •   mappedDiscountProfileID

    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.

    property
  •   any

    (public property)

    property

Properties

any

(public property)

@property (nonatomic, retain) NSMutableArray *any

Discussion

(public property)

entry type : PicoAnyElement, wrapper for primitive anyelement

Declared In

Trading_DiscountProfileType.h

discountProfileID

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.

@property (nonatomic, retain) NSString *discountProfileID

Discussion

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.

type : NSString, wrapper for primitive string

Declared In

Trading_DiscountProfileType.h

discountProfileName

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.

@property (nonatomic, retain) NSString *discountProfileName

Discussion

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.

type : NSString, wrapper for primitive string

Declared In

Trading_DiscountProfileType.h

eachAdditionalAmount

The amount, if the seller specified EachAdditionalAmount as the type of profile,
as noted in FlatShippingDiscount.DiscountName.
Flat rate shipping only.

@property (nonatomic, retain) Trading_AmountType *eachAdditionalAmount

Discussion

The amount, if the seller specified EachAdditionalAmount as the type of profile,
as noted in FlatShippingDiscount.DiscountName.
Flat rate shipping only.

type : class Trading_AmountType

Declared In

Trading_DiscountProfileType.h

eachAdditionalAmountOff

The amount, if the seller specified EachAdditionalAmountOff as the type of profile,
as noted in FlatShippingDiscount.DiscountName.
Flat rate shipping only.

@property (nonatomic, retain) Trading_AmountType *eachAdditionalAmountOff

Discussion

The amount, if the seller specified EachAdditionalAmountOff as the type of profile,
as noted in FlatShippingDiscount.DiscountName.
Flat rate shipping only.

type : class Trading_AmountType

Declared In

Trading_DiscountProfileType.h

eachAdditionalPercentOff

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.

@property (nonatomic, retain) NSNumber *eachAdditionalPercentOff

Discussion

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.

type : NSNumber, wrapper for primitive float

Declared In

Trading_DiscountProfileType.h

mappedDiscountProfileID

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.

@property (nonatomic, retain) NSString *mappedDiscountProfileID

Discussion

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.

type : NSString, wrapper for primitive string

Declared In

Trading_DiscountProfileType.h

weightOff

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.

@property (nonatomic, retain) Trading_MeasureType *weightOff

Discussion

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.

type : class Trading_MeasureType

Declared In

Trading_DiscountProfileType.h