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

#import <Foundation/Foundation.h>
#import "Trading_SellerPaymentPreferencesType.h"
#import "Trading_AddressType.h"

@implementation Trading_SellerPaymentPreferencesType

@synthesize alwaysUseThisPaymentAddress = _alwaysUseThisPaymentAddress;
@synthesize displayPayNowButton = _displayPayNowButton;
@synthesize payPalPreferred = _payPalPreferred;
@synthesize defaultPayPalEmailAddress = _defaultPayPalEmailAddress;
@synthesize payPalAlwaysOn = _payPalAlwaysOn;
@synthesize sellerPaymentAddress = _sellerPaymentAddress;
@synthesize upsRateOption = _upsRateOption;
@synthesize fedExRateOption = _fedExRateOption;
@synthesize uspsRateOption = _uspsRateOption;
@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:@"AlwaysUseThisPaymentAddress" propertyName:@"alwaysUseThisPaymentAddress" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"alwaysUseThisPaymentAddress"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisplayPayNowButton" propertyName:@"displayPayNowButton" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"displayPayNowButton"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PayPalPreferred" propertyName:@"payPalPreferred" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"payPalPreferred"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DefaultPayPalEmailAddress" propertyName:@"defaultPayPalEmailAddress" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"defaultPayPalEmailAddress"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PayPalAlwaysOn" propertyName:@"payPalAlwaysOn" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"payPalAlwaysOn"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SellerPaymentAddress" propertyName:@"sellerPaymentAddress" type:PICO_TYPE_OBJECT clazz:[Trading_AddressType class]];
    [map setObject:ps forKey:@"sellerPaymentAddress"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"UPSRateOption" propertyName:@"upsRateOption" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"upsRateOption"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"FedExRateOption" propertyName:@"fedExRateOption" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"fedExRateOption"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"USPSRateOption" propertyName:@"uspsRateOption" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"uspsRateOption"];
    [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.alwaysUseThisPaymentAddress = nil;
    self.displayPayNowButton = nil;
    self.payPalPreferred = nil;
    self.defaultPayPalEmailAddress = nil;
    self.payPalAlwaysOn = nil;
    self.sellerPaymentAddress = nil;
    self.upsRateOption = nil;
    self.fedExRateOption = nil;
    self.uspsRateOption = nil;
    self.any = nil;
    [super dealloc];
}

@end
