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

#import <Foundation/Foundation.h>
#import "Trading_AddItemResponseContainerType.h"
#import "Trading_ErrorType.h"
#import "Trading_FeesType.h"

@implementation Trading_AddItemResponseContainerType

@synthesize itemID = _itemID;
@synthesize startTime = _startTime;
@synthesize endTime = _endTime;
@synthesize fees = _fees;
@synthesize categoryID = _categoryID;
@synthesize category2ID = _category2ID;
@synthesize correlationID = _correlationID;
@synthesize errors = _errors;
@synthesize message = _message;
@synthesize discountReason = _discountReason;
@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:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StartTime" propertyName:@"startTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"startTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndTime" propertyName:@"endTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"endTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Fees" propertyName:@"fees" type:PICO_TYPE_OBJECT clazz:[Trading_FeesType class]];
    [map setObject:ps forKey:@"fees"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CategoryID" propertyName:@"categoryID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"categoryID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Category2ID" propertyName:@"category2ID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"category2ID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CorrelationID" propertyName:@"correlationID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"correlationID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"Errors" propertyName:@"errors" type:PICO_TYPE_OBJECT clazz:[Trading_ErrorType class]];
    [map setObject:ps forKey:@"errors"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Message" propertyName:@"message" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"message"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"DiscountReason" propertyName:@"discountReason" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"discountReason"];
    [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.itemID = nil;
    self.startTime = nil;
    self.endTime = nil;
    self.fees = nil;
    self.categoryID = nil;
    self.category2ID = nil;
    self.correlationID = nil;
    self.errors = nil;
    self.message = nil;
    self.discountReason = nil;
    self.any = nil;
    [super dealloc];
}

@end
