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

#import <Foundation/Foundation.h>
#import "Trading_DiscountProfileType.h"
#import "Trading_MeasureType.h"
#import "Trading_AmountType.h"

@implementation Trading_DiscountProfileType

@synthesize discountProfileID = _discountProfileID;
@synthesize discountProfileName = _discountProfileName;
@synthesize eachAdditionalAmount = _eachAdditionalAmount;
@synthesize eachAdditionalAmountOff = _eachAdditionalAmountOff;
@synthesize eachAdditionalPercentOff = _eachAdditionalPercentOff;
@synthesize weightOff = _weightOff;
@synthesize mappedDiscountProfileID = _mappedDiscountProfileID;
@synthesize any = _any;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    return nil;
}

// 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:@"DiscountProfileID" propertyName:@"discountProfileID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"discountProfileID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DiscountProfileName" propertyName:@"discountProfileName" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"discountProfileName"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EachAdditionalAmount" propertyName:@"eachAdditionalAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"eachAdditionalAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EachAdditionalAmountOff" propertyName:@"eachAdditionalAmountOff" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"eachAdditionalAmountOff"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EachAdditionalPercentOff" propertyName:@"eachAdditionalPercentOff" type:PICO_TYPE_FLOAT clazz:nil];
    [map setObject:ps forKey:@"eachAdditionalPercentOff"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"WeightOff" propertyName:@"weightOff" type:PICO_TYPE_OBJECT clazz:[Trading_MeasureType class]];
    [map setObject:ps forKey:@"weightOff"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MappedDiscountProfileID" propertyName:@"mappedDiscountProfileID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"mappedDiscountProfileID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
    [map setObject:ps forKey:@"any"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.discountProfileID = nil;
    self.discountProfileName = nil;
    self.eachAdditionalAmount = nil;
    self.eachAdditionalAmountOff = nil;
    self.eachAdditionalPercentOff = nil;
    self.weightOff = nil;
    self.mappedDiscountProfileID = nil;
    self.any = nil;
    [super dealloc];
}

@end
