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

#import <Foundation/Foundation.h>
#import "Trading_BusinessSellerDetailsType.h"
#import "Trading_AddressType.h"
#import "Trading_VATDetailsType.h"

@implementation Trading_BusinessSellerDetailsType

@synthesize address = _address;
@synthesize fax = _fax;
@synthesize email = _email;
@synthesize additionalContactInformation = _additionalContactInformation;
@synthesize tradeRegistrationNumber = _tradeRegistrationNumber;
@synthesize legalInvoice = _legalInvoice;
@synthesize termsAndConditions = _termsAndConditions;
@synthesize vatDetails = _vatDetails;
@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:@"Address" propertyName:@"address" type:PICO_TYPE_OBJECT clazz:[Trading_AddressType class]];
    [map setObject:ps forKey:@"address"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Fax" propertyName:@"fax" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"fax"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Email" propertyName:@"email" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"email"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AdditionalContactInformation" propertyName:@"additionalContactInformation" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"additionalContactInformation"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TradeRegistrationNumber" propertyName:@"tradeRegistrationNumber" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"tradeRegistrationNumber"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"LegalInvoice" propertyName:@"legalInvoice" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"legalInvoice"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TermsAndConditions" propertyName:@"termsAndConditions" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"termsAndConditions"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"VATDetails" propertyName:@"vatDetails" type:PICO_TYPE_OBJECT clazz:[Trading_VATDetailsType class]];
    [map setObject:ps forKey:@"vatDetails"];
    [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.address = nil;
    self.fax = nil;
    self.email = nil;
    self.additionalContactInformation = nil;
    self.tradeRegistrationNumber = nil;
    self.legalInvoice = nil;
    self.termsAndConditions = nil;
    self.vatDetails = nil;
    self.any = nil;
    [super dealloc];
}

@end
