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

#import <Foundation/Foundation.h>
#import "Trading_GetPromotionRulesRequestType.h"

@implementation Trading_GetPromotionRulesRequestType

@synthesize itemID = _itemID;
@synthesize storeCategoryID = _storeCategoryID;
@synthesize promotionMethod = _promotionMethod;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetPromotionRulesRequest" 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:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StoreCategoryID" propertyName:@"storeCategoryID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"storeCategoryID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PromotionMethod" propertyName:@"promotionMethod" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"promotionMethod"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.itemID = nil;
    self.storeCategoryID = nil;
    self.promotionMethod = nil;
    [super dealloc];
}

@end
