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

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

@implementation Trading_BuyingSummaryType

@synthesize biddingCount = _biddingCount;
@synthesize winningCount = _winningCount;
@synthesize totalWinningCost = _totalWinningCost;
@synthesize wonCount = _wonCount;
@synthesize totalWonCost = _totalWonCost;
@synthesize wonDurationInDays = _wonDurationInDays;
@synthesize bestOfferCount = _bestOfferCount;

// 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:@"BiddingCount" propertyName:@"biddingCount" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"biddingCount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"WinningCount" propertyName:@"winningCount" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"winningCount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TotalWinningCost" propertyName:@"totalWinningCost" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"totalWinningCost"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"WonCount" propertyName:@"wonCount" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"wonCount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TotalWonCost" propertyName:@"totalWonCost" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"totalWonCost"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"WonDurationInDays" propertyName:@"wonDurationInDays" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"wonDurationInDays"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BestOfferCount" propertyName:@"bestOfferCount" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"bestOfferCount"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.biddingCount = nil;
    self.winningCount = nil;
    self.totalWinningCost = nil;
    self.wonCount = nil;
    self.totalWonCost = nil;
    self.wonDurationInDays = nil;
    self.bestOfferCount = nil;
    [super dealloc];
}

@end
