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

#import <Foundation/Foundation.h>
#import "Trading_ShipPackageDetailsType.h"
#import "Trading_MeasureType.h"

@implementation Trading_ShipPackageDetailsType

@synthesize measurementUnit = _measurementUnit;
@synthesize packageDepth = _packageDepth;
@synthesize packageLength = _packageLength;
@synthesize packageWidth = _packageWidth;
@synthesize shippingIrregular = _shippingIrregular;
@synthesize shippingPackage = _shippingPackage;
@synthesize weightMajor = _weightMajor;
@synthesize weightMinor = _weightMinor;
@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:@"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:@"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_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
    [map setObject:ps forKey:@"any"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.measurementUnit = nil;
    self.packageDepth = nil;
    self.packageLength = nil;
    self.packageWidth = nil;
    self.shippingIrregular = nil;
    self.shippingPackage = nil;
    self.weightMajor = nil;
    self.weightMinor = nil;
    self.any = nil;
    [super dealloc];
}

@end
