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

#import <Foundation/Foundation.h>
#import "Trading_SetPromotionalSaleRequestType.h"
#import "Trading_PromotionalSaleType.h"

@implementation Trading_SetPromotionalSaleRequestType

@synthesize action = _action;
@synthesize promotionalSaleDetails = _promotionalSaleDetails;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"SetPromotionalSaleRequest" 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:@"PromotionalSaleDetails" propertyName:@"promotionalSaleDetails" type:PICO_TYPE_OBJECT clazz:[Trading_PromotionalSaleType class]];
    [map setObject:ps forKey:@"promotionalSaleDetails"];
    [ps release];
    
    return map;
}



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

@end
