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

#import <Foundation/Foundation.h>
#import "Trading_SetNotificationPreferencesRequestType.h"
#import "Trading_ApplicationDeliveryPreferencesType.h"
#import "Trading_NotificationEnableArrayType.h"
#import "Trading_NotificationUserDataType.h"
#import "Trading_NotificationEventPropertyType.h"

@implementation Trading_SetNotificationPreferencesRequestType

@synthesize applicationDeliveryPreferences = _applicationDeliveryPreferences;
@synthesize userDeliveryPreferenceArray = _userDeliveryPreferenceArray;
@synthesize userData = _userData;
@synthesize eventProperty = _eventProperty;
@synthesize deliveryURLName = _deliveryURLName;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"SetNotificationPreferencesRequest" 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:@"ApplicationDeliveryPreferences" propertyName:@"applicationDeliveryPreferences" type:PICO_TYPE_OBJECT clazz:[Trading_ApplicationDeliveryPreferencesType class]];
    [map setObject:ps forKey:@"applicationDeliveryPreferences"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"UserDeliveryPreferenceArray" propertyName:@"userDeliveryPreferenceArray" type:PICO_TYPE_OBJECT clazz:[Trading_NotificationEnableArrayType class]];
    [map setObject:ps forKey:@"userDeliveryPreferenceArray"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"UserData" propertyName:@"userData" type:PICO_TYPE_OBJECT clazz:[Trading_NotificationUserDataType class]];
    [map setObject:ps forKey:@"userData"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"EventProperty" propertyName:@"eventProperty" type:PICO_TYPE_OBJECT clazz:[Trading_NotificationEventPropertyType class]];
    [map setObject:ps forKey:@"eventProperty"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DeliveryURLName" propertyName:@"deliveryURLName" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"deliveryURLName"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.applicationDeliveryPreferences = nil;
    self.userDeliveryPreferenceArray = nil;
    self.userData = nil;
    self.eventProperty = nil;
    self.deliveryURLName = nil;
    [super dealloc];
}

@end
