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

#import <Foundation/Foundation.h>
#import "Trading_SetStoreCategoriesRequestType.h"
#import "Trading_StoreCustomCategoryArrayType.h"

@implementation Trading_SetStoreCategoriesRequestType

@synthesize action = _action;
@synthesize itemDestinationCategoryID = _itemDestinationCategoryID;
@synthesize destinationParentCategoryID = _destinationParentCategoryID;
@synthesize storeCategories = _storeCategories;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"SetStoreCategoriesRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
    [cs autorelease];
    return cs;
}

// 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:@"Action" propertyName:@"action" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"action"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemDestinationCategoryID" propertyName:@"itemDestinationCategoryID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"itemDestinationCategoryID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DestinationParentCategoryID" propertyName:@"destinationParentCategoryID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"destinationParentCategoryID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StoreCategories" propertyName:@"storeCategories" type:PICO_TYPE_OBJECT clazz:[Trading_StoreCustomCategoryArrayType class]];
    [map setObject:ps forKey:@"storeCategories"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.action = nil;
    self.itemDestinationCategoryID = nil;
    self.destinationParentCategoryID = nil;
    self.storeCategories = nil;
    [super dealloc];
}

@end
