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

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

@implementation Trading_PromotionDetailsType

@synthesize promotionPrice = _promotionPrice;
@synthesize promotionPriceType = _promotionPriceType;
@synthesize bidCount = _bidCount;
@synthesize convertedPromotionPrice = _convertedPromotionPrice;
@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:@"PromotionPrice" propertyName:@"promotionPrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"promotionPrice"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PromotionPriceType" propertyName:@"promotionPriceType" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"promotionPriceType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BidCount" propertyName:@"bidCount" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"bidCount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ConvertedPromotionPrice" propertyName:@"convertedPromotionPrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"convertedPromotionPrice"];
    [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.promotionPrice = nil;
    self.promotionPriceType = nil;
    self.bidCount = nil;
    self.convertedPromotionPrice = nil;
    self.any = nil;
    [super dealloc];
}

@end
