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

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

@implementation Trading_PromotionRuleType

@synthesize promotedStoreCategoryID = _promotedStoreCategoryID;
@synthesize promotedeBayCategoryID = _promotedeBayCategoryID;
@synthesize promotedKeywords = _promotedKeywords;
@synthesize referringItemID = _referringItemID;
@synthesize referringStoreCategoryID = _referringStoreCategoryID;
@synthesize referringeBayCategoryID = _referringeBayCategoryID;
@synthesize referringKeywords = _referringKeywords;
@synthesize promotionScheme = _promotionScheme;
@synthesize promotionMethod = _promotionMethod;
@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:@"PromotedStoreCategoryID" propertyName:@"promotedStoreCategoryID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"promotedStoreCategoryID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PromotedeBayCategoryID" propertyName:@"promotedeBayCategoryID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"promotedeBayCategoryID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PromotedKeywords" propertyName:@"promotedKeywords" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"promotedKeywords"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReferringItemID" propertyName:@"referringItemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"referringItemID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReferringStoreCategoryID" propertyName:@"referringStoreCategoryID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"referringStoreCategoryID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReferringeBayCategoryID" propertyName:@"referringeBayCategoryID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"referringeBayCategoryID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReferringKeywords" propertyName:@"referringKeywords" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"referringKeywords"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PromotionScheme" propertyName:@"promotionScheme" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"promotionScheme"];
    [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];
    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.promotedStoreCategoryID = nil;
    self.promotedeBayCategoryID = nil;
    self.promotedKeywords = nil;
    self.referringItemID = nil;
    self.referringStoreCategoryID = nil;
    self.referringeBayCategoryID = nil;
    self.referringKeywords = nil;
    self.promotionScheme = nil;
    self.promotionMethod = nil;
    self.any = nil;
    [super dealloc];
}

@end
