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

#import <Foundation/Foundation.h>
#import "Trading_ShipmentType.h"
#import "Trading_AddressType.h"
#import "Trading_ShipmentTrackingDetailsType.h"
#import "Trading_ItemTransactionIDType.h"
#import "Trading_MeasureType.h"
#import "Trading_ShipmentLineItemType.h"
#import "Trading_AmountType.h"

@implementation Trading_ShipmentType

@synthesize estimatedDeliveryDate = _estimatedDeliveryDate;
@synthesize insuredValue = _insuredValue;
@synthesize packageDepth = _packageDepth;
@synthesize packageLength = _packageLength;
@synthesize packageWidth = _packageWidth;
@synthesize payPalShipmentID = _payPalShipmentID;
@synthesize shipmentID = _shipmentID;
@synthesize postageTotal = _postageTotal;
@synthesize printedTime = _printedTime;
@synthesize shipFromAddress = _shipFromAddress;
@synthesize shippingAddress = _shippingAddress;
@synthesize shippingCarrierUsed = _shippingCarrierUsed;
@synthesize shippingFeature = _shippingFeature;
@synthesize shippingPackage = _shippingPackage;
@synthesize shippingServiceUsed = _shippingServiceUsed;
@synthesize shipmentTrackingNumber = _shipmentTrackingNumber;
@synthesize weightMajor = _weightMajor;
@synthesize weightMinor = _weightMinor;
@synthesize itemTransactionID = _itemTransactionID;
@synthesize deliveryDate = _deliveryDate;
@synthesize deliveryStatus = _deliveryStatus;
@synthesize refundGrantedTime = _refundGrantedTime;
@synthesize refundRequestedTime = _refundRequestedTime;
@synthesize status = _status;
@synthesize shippedTime = _shippedTime;
@synthesize notes = _notes;
@synthesize shipmentTrackingDetails = _shipmentTrackingDetails;
@synthesize shipmentLineItem = _shipmentLineItem;
@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:@"EstimatedDeliveryDate" propertyName:@"estimatedDeliveryDate" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"estimatedDeliveryDate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InsuredValue" propertyName:@"insuredValue" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"insuredValue"];
    [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:@"PayPalShipmentID" propertyName:@"payPalShipmentID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"payPalShipmentID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShipmentID" propertyName:@"shipmentID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"shipmentID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PostageTotal" propertyName:@"postageTotal" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"postageTotal"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PrintedTime" propertyName:@"printedTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"printedTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShipFromAddress" propertyName:@"shipFromAddress" type:PICO_TYPE_OBJECT clazz:[Trading_AddressType class]];
    [map setObject:ps forKey:@"shipFromAddress"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShippingAddress" propertyName:@"shippingAddress" type:PICO_TYPE_OBJECT clazz:[Trading_AddressType class]];
    [map setObject:ps forKey:@"shippingAddress"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShippingCarrierUsed" propertyName:@"shippingCarrierUsed" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"shippingCarrierUsed"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"ShippingFeature" propertyName:@"shippingFeature" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"shippingFeature"];
    [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:@"ShippingServiceUsed" propertyName:@"shippingServiceUsed" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"shippingServiceUsed"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShipmentTrackingNumber" propertyName:@"shipmentTrackingNumber" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"shipmentTrackingNumber"];
    [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_ARRAY xmlName:@"ItemTransactionID" propertyName:@"itemTransactionID" type:PICO_TYPE_OBJECT clazz:[Trading_ItemTransactionIDType class]];
    [map setObject:ps forKey:@"itemTransactionID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DeliveryDate" propertyName:@"deliveryDate" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"deliveryDate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DeliveryStatus" propertyName:@"deliveryStatus" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"deliveryStatus"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RefundGrantedTime" propertyName:@"refundGrantedTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"refundGrantedTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RefundRequestedTime" propertyName:@"refundRequestedTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"refundRequestedTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Status" propertyName:@"status" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"status"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShippedTime" propertyName:@"shippedTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"shippedTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Notes" propertyName:@"notes" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"notes"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"ShipmentTrackingDetails" propertyName:@"shipmentTrackingDetails" type:PICO_TYPE_OBJECT clazz:[Trading_ShipmentTrackingDetailsType class]];
    [map setObject:ps forKey:@"shipmentTrackingDetails"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShipmentLineItem" propertyName:@"shipmentLineItem" type:PICO_TYPE_OBJECT clazz:[Trading_ShipmentLineItemType class]];
    [map setObject:ps forKey:@"shipmentLineItem"];
    [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.estimatedDeliveryDate = nil;
    self.insuredValue = nil;
    self.packageDepth = nil;
    self.packageLength = nil;
    self.packageWidth = nil;
    self.payPalShipmentID = nil;
    self.shipmentID = nil;
    self.postageTotal = nil;
    self.printedTime = nil;
    self.shipFromAddress = nil;
    self.shippingAddress = nil;
    self.shippingCarrierUsed = nil;
    self.shippingFeature = nil;
    self.shippingPackage = nil;
    self.shippingServiceUsed = nil;
    self.shipmentTrackingNumber = nil;
    self.weightMajor = nil;
    self.weightMinor = nil;
    self.itemTransactionID = nil;
    self.deliveryDate = nil;
    self.deliveryStatus = nil;
    self.refundGrantedTime = nil;
    self.refundRequestedTime = nil;
    self.status = nil;
    self.shippedTime = nil;
    self.notes = nil;
    self.shipmentTrackingDetails = nil;
    self.shipmentLineItem = nil;
    self.any = nil;
    [super dealloc];
}

@end
