// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!

#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"


@class Trading_AmountType;

/**
 
 Details of a promotional shipping discount.
 
 
 @ingroup EBayAPIInterface
*/
@interface Trading_PromotionalShippingDiscountDetailsType : NSObject <PicoBindable> {

@private
    NSString *_discountName;
    Trading_AmountType *_shippingCost;
    Trading_AmountType *_orderAmount;
    NSNumber *_itemCount;
    NSMutableArray *_any;

}


/**
 
 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.
 
 
 type: string constant in Trading_DiscountNameCodeType.h
*/
@property (nonatomic, retain) NSString *discountName;

/**
 
 This is shipping cost X, when DiscountName is either ShippingCostXForAmountY or
 ShippingCostXForItemCountN, and is the maximum cost when DiscountName is
 MaximumShippingCostPerOrder.
 
 
 type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *shippingCost;

/**
 
 This is the cost Y of the order (not including shipping cost),
 when DiscountName is set to ShippingCostXForAmountY.
 
 
 type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *orderAmount;

/**
 
 This is the number of items, when DiscountName is set to ShippingCostXForItemsY.
 
 
 type : NSNumber, wrapper for primitive int
*/
@property (nonatomic, retain) NSNumber *itemCount;

/**
 (public property)
 
 entry type : PicoAnyElement, wrapper for primitive anyelement
*/

@property (nonatomic, retain) NSMutableArray *any;


@end
