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

#import <Foundation/Foundation.h>
#import "Trading_CalculatedShippingRateType.h"
#import "Trading_MeasureType.h"
#import "Trading_AmountType.h"

@implementation Trading_CalculatedShippingRateType

@synthesize originatingPostalCode = _originatingPostalCode;
@synthesize measurementUnit = _measurementUnit;
@synthesize packageDepth = _packageDepth;
@synthesize packageLength = _packageLength;
@synthesize packageWidth = _packageWidth;
@synthesize packagingHandlingCosts = _packagingHandlingCosts;
@synthesize shippingIrregular = _shippingIrregular;
@synthesize shippingPackage = _shippingPackage;
@synthesize weightMajor = _weightMajor;
@synthesize weightMinor = _weightMinor;
@synthesize internationalPackagingHandlingCosts = _internationalPackagingHandlingCosts;
@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:@"OriginatingPostalCode" propertyName:@"originatingPostalCode" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"originatingPostalCode"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MeasurementUnit" propertyName:@"measurementUnit" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"measurementUnit"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PackageDepth" propertyName:@"packageDepth" type:PICO_TYPE_OBJECT clazz:[Trading_MeasureType class]];
    [map setObject:ps forKey:@"packageDepth"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PackageLength" propertyName:@"packageLength" type:PICO_TYPE_OBJECT clazz:[Trading_MeasureType class]];
    [map setObject:ps forKey:@"packageLength"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PackageWidth" propertyName:@"packageWidth" type:PICO_TYPE_OBJECT clazz:[Trading_MeasureType class]];
    [map setObject:ps forKey:@"packageWidth"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PackagingHandlingCosts" propertyName:@"packagingHandlingCosts" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"packagingHandlingCosts"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShippingIrregular" propertyName:@"shippingIrregular" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"shippingIrregular"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShippingPackage" propertyName:@"shippingPackage" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"shippingPackage"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"WeightMajor" propertyName:@"weightMajor" type:PICO_TYPE_OBJECT clazz:[Trading_MeasureType class]];
    [map setObject:ps forKey:@"weightMajor"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"WeightMinor" propertyName:@"weightMinor" type:PICO_TYPE_OBJECT clazz:[Trading_MeasureType class]];
    [map setObject:ps forKey:@"weightMinor"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InternationalPackagingHandlingCosts" propertyName:@"internationalPackagingHandlingCosts" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"internationalPackagingHandlingCosts"];
    [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.originatingPostalCode = nil;
    self.measurementUnit = nil;
    self.packageDepth = nil;
    self.packageLength = nil;
    self.packageWidth = nil;
    self.packagingHandlingCosts = nil;
    self.shippingIrregular = nil;
    self.shippingPackage = nil;
    self.weightMajor = nil;
    self.weightMinor = nil;
    self.internationalPackagingHandlingCosts = nil;
    self.any = nil;
    [super dealloc];
}

@end
