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

#import <Foundation/Foundation.h>
#import "Trading_TaxDetailsType.h"
#import "Trading_AmountType.h"

@implementation Trading_TaxDetailsType

@synthesize imposition = _imposition;
@synthesize taxDescription = _taxDescription;
@synthesize taxAmount = _taxAmount;
@synthesize taxOnSubtotalAmount = _taxOnSubtotalAmount;
@synthesize taxOnShippingAmount = _taxOnShippingAmount;
@synthesize taxOnHandlingAmount = _taxOnHandlingAmount;
@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:@"Imposition" propertyName:@"imposition" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"imposition"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TaxDescription" propertyName:@"taxDescription" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"taxDescription"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TaxAmount" propertyName:@"taxAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"taxAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TaxOnSubtotalAmount" propertyName:@"taxOnSubtotalAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"taxOnSubtotalAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TaxOnShippingAmount" propertyName:@"taxOnShippingAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"taxOnShippingAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TaxOnHandlingAmount" propertyName:@"taxOnHandlingAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"taxOnHandlingAmount"];
    [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.imposition = nil;
    self.taxDescription = nil;
    self.taxAmount = nil;
    self.taxOnSubtotalAmount = nil;
    self.taxOnShippingAmount = nil;
    self.taxOnHandlingAmount = nil;
    self.any = nil;
    [super dealloc];
}

@end
