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

#import <Foundation/Foundation.h>
#import "Trading_CalculatedHandlingDiscountType.h"
#import "Trading_AmountType.h"

@implementation Trading_CalculatedHandlingDiscountType

@synthesize discountName = _discountName;
@synthesize orderHandlingAmount = _orderHandlingAmount;
@synthesize eachAdditionalAmount = _eachAdditionalAmount;
@synthesize eachAdditionalOffAmount = _eachAdditionalOffAmount;
@synthesize eachAdditionalPercentOff = _eachAdditionalPercentOff;
@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:@"DiscountName" propertyName:@"discountName" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"discountName"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderHandlingAmount" propertyName:@"orderHandlingAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"orderHandlingAmount"];
    [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:@"EachAdditionalOffAmount" propertyName:@"eachAdditionalOffAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"eachAdditionalOffAmount"];
    [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_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
    [map setObject:ps forKey:@"any"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.discountName = nil;
    self.orderHandlingAmount = nil;
    self.eachAdditionalAmount = nil;
    self.eachAdditionalOffAmount = nil;
    self.eachAdditionalPercentOff = nil;
    self.any = nil;
    [super dealloc];
}

@end
