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

#import <Foundation/Foundation.h>
#import "Trading_GetShippingDiscountProfilesResponseType.h"
#import "Trading_FlatShippingDiscountType.h"
#import "Trading_ShippingInsuranceType.h"
#import "Trading_CalculatedHandlingDiscountType.h"
#import "Trading_PromotionalShippingDiscountDetailsType.h"
#import "Trading_CalculatedShippingDiscountType.h"

@implementation Trading_GetShippingDiscountProfilesResponseType

@synthesize currencyID = _currencyID;
@synthesize flatShippingDiscount = _flatShippingDiscount;
@synthesize calculatedShippingDiscount = _calculatedShippingDiscount;
@synthesize promotionalShippingDiscount = _promotionalShippingDiscount;
@synthesize calculatedHandlingDiscount = _calculatedHandlingDiscount;
@synthesize promotionalShippingDiscountDetails = _promotionalShippingDiscountDetails;
@synthesize shippingInsurance = _shippingInsurance;
@synthesize internationalShippingInsurance = _internationalShippingInsurance;
@synthesize combinedDuration = _combinedDuration;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetShippingDiscountProfilesResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
    [cs autorelease];
    return cs;
}

// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
    NSMutableDictionary *map = [NSMutableDictionary dictionary];
    
    PicoPropertySchema *ps = nil;
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CurrencyID" propertyName:@"currencyID" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"currencyID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"FlatShippingDiscount" propertyName:@"flatShippingDiscount" type:PICO_TYPE_OBJECT clazz:[Trading_FlatShippingDiscountType class]];
    [map setObject:ps forKey:@"flatShippingDiscount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CalculatedShippingDiscount" propertyName:@"calculatedShippingDiscount" type:PICO_TYPE_OBJECT clazz:[Trading_CalculatedShippingDiscountType class]];
    [map setObject:ps forKey:@"calculatedShippingDiscount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PromotionalShippingDiscount" propertyName:@"promotionalShippingDiscount" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"promotionalShippingDiscount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CalculatedHandlingDiscount" propertyName:@"calculatedHandlingDiscount" type:PICO_TYPE_OBJECT clazz:[Trading_CalculatedHandlingDiscountType class]];
    [map setObject:ps forKey:@"calculatedHandlingDiscount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PromotionalShippingDiscountDetails" propertyName:@"promotionalShippingDiscountDetails" type:PICO_TYPE_OBJECT clazz:[Trading_PromotionalShippingDiscountDetailsType class]];
    [map setObject:ps forKey:@"promotionalShippingDiscountDetails"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShippingInsurance" propertyName:@"shippingInsurance" type:PICO_TYPE_OBJECT clazz:[Trading_ShippingInsuranceType class]];
    [map setObject:ps forKey:@"shippingInsurance"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InternationalShippingInsurance" propertyName:@"internationalShippingInsurance" type:PICO_TYPE_OBJECT clazz:[Trading_ShippingInsuranceType class]];
    [map setObject:ps forKey:@"internationalShippingInsurance"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CombinedDuration" propertyName:@"combinedDuration" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"combinedDuration"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.currencyID = nil;
    self.flatShippingDiscount = nil;
    self.calculatedShippingDiscount = nil;
    self.promotionalShippingDiscount = nil;
    self.calculatedHandlingDiscount = nil;
    self.promotionalShippingDiscountDetails = nil;
    self.shippingInsurance = nil;
    self.internationalShippingInsurance = nil;
    self.combinedDuration = nil;
    [super dealloc];
}

@end
