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

#import <Foundation/Foundation.h>
#import "Trading_SetUserPreferencesRequestType.h"
#import "Trading_PurchaseReminderEmailPreferencesType.h"
#import "Trading_SellerFavoriteItemPreferencesType.h"
#import "Trading_CrossPromotionPreferencesType.h"
#import "Trading_UnpaidItemAssistancePreferencesType.h"
#import "Trading_EndOfAuctionEmailPreferencesType.h"
#import "Trading_CombinedPaymentPreferencesType.h"
#import "Trading_DispatchCutoffTimePreferencesType.h"
#import "Trading_BidderNoticePreferencesType.h"
#import "Trading_SellerPaymentPreferencesType.h"

@implementation Trading_SetUserPreferencesRequestType

@synthesize bidderNoticePreferences = _bidderNoticePreferences;
@synthesize combinedPaymentPreferences = _combinedPaymentPreferences;
@synthesize crossPromotionPreferences = _crossPromotionPreferences;
@synthesize sellerPaymentPreferences = _sellerPaymentPreferences;
@synthesize sellerFavoriteItemPreferences = _sellerFavoriteItemPreferences;
@synthesize endOfAuctionEmailPreferences = _endOfAuctionEmailPreferences;
@synthesize emailShipmentTrackingNumberPreference = _emailShipmentTrackingNumberPreference;
@synthesize requiredShipPhoneNumberPreference = _requiredShipPhoneNumberPreference;
@synthesize unpaidItemAssistancePreferences = _unpaidItemAssistancePreferences;
@synthesize purchaseReminderEmailPreferences = _purchaseReminderEmailPreferences;
@synthesize sellerThirdPartyCheckoutDisabled = _sellerThirdPartyCheckoutDisabled;
@synthesize dispatchCutoffTimePreference = _dispatchCutoffTimePreference;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"SetUserPreferencesRequest" 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:@"BidderNoticePreferences" propertyName:@"bidderNoticePreferences" type:PICO_TYPE_OBJECT clazz:[Trading_BidderNoticePreferencesType class]];
    [map setObject:ps forKey:@"bidderNoticePreferences"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CombinedPaymentPreferences" propertyName:@"combinedPaymentPreferences" type:PICO_TYPE_OBJECT clazz:[Trading_CombinedPaymentPreferencesType class]];
    [map setObject:ps forKey:@"combinedPaymentPreferences"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CrossPromotionPreferences" propertyName:@"crossPromotionPreferences" type:PICO_TYPE_OBJECT clazz:[Trading_CrossPromotionPreferencesType class]];
    [map setObject:ps forKey:@"crossPromotionPreferences"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SellerPaymentPreferences" propertyName:@"sellerPaymentPreferences" type:PICO_TYPE_OBJECT clazz:[Trading_SellerPaymentPreferencesType class]];
    [map setObject:ps forKey:@"sellerPaymentPreferences"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SellerFavoriteItemPreferences" propertyName:@"sellerFavoriteItemPreferences" type:PICO_TYPE_OBJECT clazz:[Trading_SellerFavoriteItemPreferencesType class]];
    [map setObject:ps forKey:@"sellerFavoriteItemPreferences"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndOfAuctionEmailPreferences" propertyName:@"endOfAuctionEmailPreferences" type:PICO_TYPE_OBJECT clazz:[Trading_EndOfAuctionEmailPreferencesType class]];
    [map setObject:ps forKey:@"endOfAuctionEmailPreferences"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EmailShipmentTrackingNumberPreference" propertyName:@"emailShipmentTrackingNumberPreference" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"emailShipmentTrackingNumberPreference"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RequiredShipPhoneNumberPreference" propertyName:@"requiredShipPhoneNumberPreference" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"requiredShipPhoneNumberPreference"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"UnpaidItemAssistancePreferences" propertyName:@"unpaidItemAssistancePreferences" type:PICO_TYPE_OBJECT clazz:[Trading_UnpaidItemAssistancePreferencesType class]];
    [map setObject:ps forKey:@"unpaidItemAssistancePreferences"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PurchaseReminderEmailPreferences" propertyName:@"purchaseReminderEmailPreferences" type:PICO_TYPE_OBJECT clazz:[Trading_PurchaseReminderEmailPreferencesType class]];
    [map setObject:ps forKey:@"purchaseReminderEmailPreferences"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SellerThirdPartyCheckoutDisabled" propertyName:@"sellerThirdPartyCheckoutDisabled" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"sellerThirdPartyCheckoutDisabled"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DispatchCutoffTimePreference" propertyName:@"dispatchCutoffTimePreference" type:PICO_TYPE_OBJECT clazz:[Trading_DispatchCutoffTimePreferencesType class]];
    [map setObject:ps forKey:@"dispatchCutoffTimePreference"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.bidderNoticePreferences = nil;
    self.combinedPaymentPreferences = nil;
    self.crossPromotionPreferences = nil;
    self.sellerPaymentPreferences = nil;
    self.sellerFavoriteItemPreferences = nil;
    self.endOfAuctionEmailPreferences = nil;
    self.emailShipmentTrackingNumberPreference = nil;
    self.requiredShipPhoneNumberPreference = nil;
    self.unpaidItemAssistancePreferences = nil;
    self.purchaseReminderEmailPreferences = nil;
    self.sellerThirdPartyCheckoutDisabled = nil;
    self.dispatchCutoffTimePreference = nil;
    [super dealloc];
}

@end
