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

#import <Foundation/Foundation.h>
#import "Trading_SellingManagerSoldOrderType.h"
#import "Trading_VATRateType.h"
#import "Trading_AddressType.h"
#import "Trading_ShippingDetailsType.h"
#import "Trading_SellingManagerOrderStatusType.h"
#import "Trading_AmountType.h"
#import "Trading_SellingManagerSoldTransactionType.h"

@implementation Trading_SellingManagerSoldOrderType

@synthesize sellingManagerSoldTransaction = _sellingManagerSoldTransaction;
@synthesize shippingAddress = _shippingAddress;
@synthesize shippingDetails = _shippingDetails;
@synthesize cashOnDeliveryCost = _cashOnDeliveryCost;
@synthesize totalAmount = _totalAmount;
@synthesize totalQuantity = _totalQuantity;
@synthesize itemCost = _itemCost;
@synthesize vatRate = _vatRate;
@synthesize netInsuranceFee = _netInsuranceFee;
@synthesize vatInsuranceFee = _vatInsuranceFee;
@synthesize vatShippingFee = _vatShippingFee;
@synthesize netShippingFee = _netShippingFee;
@synthesize netTotalAmount = _netTotalAmount;
@synthesize vatTotalAmount = _vatTotalAmount;
@synthesize actualShippingCost = _actualShippingCost;
@synthesize adjustmentAmount = _adjustmentAmount;
@synthesize notesToBuyer = _notesToBuyer;
@synthesize notesFromBuyer = _notesFromBuyer;
@synthesize notesToSeller = _notesToSeller;
@synthesize orderStatus = _orderStatus;
@synthesize unpaidItemStatus = _unpaidItemStatus;
@synthesize salePrice = _salePrice;
@synthesize emailsSent = _emailsSent;
@synthesize daysSinceSale = _daysSinceSale;
@synthesize buyerID = _buyerID;
@synthesize buyerEmail = _buyerEmail;
@synthesize saleRecordID = _saleRecordID;
@synthesize creationTime = _creationTime;
@synthesize refundAmount = _refundAmount;
@synthesize refundStatus = _refundStatus;
@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_ARRAY xmlName:@"SellingManagerSoldTransaction" propertyName:@"sellingManagerSoldTransaction" type:PICO_TYPE_OBJECT clazz:[Trading_SellingManagerSoldTransactionType class]];
    [map setObject:ps forKey:@"sellingManagerSoldTransaction"];
    [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:@"ShippingDetails" propertyName:@"shippingDetails" type:PICO_TYPE_OBJECT clazz:[Trading_ShippingDetailsType class]];
    [map setObject:ps forKey:@"shippingDetails"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CashOnDeliveryCost" propertyName:@"cashOnDeliveryCost" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"cashOnDeliveryCost"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TotalAmount" propertyName:@"totalAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"totalAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TotalQuantity" propertyName:@"totalQuantity" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"totalQuantity"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemCost" propertyName:@"itemCost" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"itemCost"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"VATRate" propertyName:@"vatRate" type:PICO_TYPE_OBJECT clazz:[Trading_VATRateType class]];
    [map setObject:ps forKey:@"vatRate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NetInsuranceFee" propertyName:@"netInsuranceFee" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"netInsuranceFee"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"VATInsuranceFee" propertyName:@"vatInsuranceFee" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"vatInsuranceFee"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"VATShippingFee" propertyName:@"vatShippingFee" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"vatShippingFee"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NetShippingFee" propertyName:@"netShippingFee" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"netShippingFee"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NetTotalAmount" propertyName:@"netTotalAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"netTotalAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"VATTotalAmount" propertyName:@"vatTotalAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"vatTotalAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ActualShippingCost" propertyName:@"actualShippingCost" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"actualShippingCost"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AdjustmentAmount" propertyName:@"adjustmentAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"adjustmentAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NotesToBuyer" propertyName:@"notesToBuyer" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"notesToBuyer"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NotesFromBuyer" propertyName:@"notesFromBuyer" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"notesFromBuyer"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NotesToSeller" propertyName:@"notesToSeller" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"notesToSeller"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderStatus" propertyName:@"orderStatus" type:PICO_TYPE_OBJECT clazz:[Trading_SellingManagerOrderStatusType class]];
    [map setObject:ps forKey:@"orderStatus"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"UnpaidItemStatus" propertyName:@"unpaidItemStatus" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"unpaidItemStatus"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SalePrice" propertyName:@"salePrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"salePrice"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EmailsSent" propertyName:@"emailsSent" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"emailsSent"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DaysSinceSale" propertyName:@"daysSinceSale" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"daysSinceSale"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BuyerID" propertyName:@"buyerID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"buyerID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BuyerEmail" propertyName:@"buyerEmail" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"buyerEmail"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SaleRecordID" propertyName:@"saleRecordID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"saleRecordID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CreationTime" propertyName:@"creationTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"creationTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RefundAmount" propertyName:@"refundAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"refundAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RefundStatus" propertyName:@"refundStatus" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"refundStatus"];
    [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.sellingManagerSoldTransaction = nil;
    self.shippingAddress = nil;
    self.shippingDetails = nil;
    self.cashOnDeliveryCost = nil;
    self.totalAmount = nil;
    self.totalQuantity = nil;
    self.itemCost = nil;
    self.vatRate = nil;
    self.netInsuranceFee = nil;
    self.vatInsuranceFee = nil;
    self.vatShippingFee = nil;
    self.netShippingFee = nil;
    self.netTotalAmount = nil;
    self.vatTotalAmount = nil;
    self.actualShippingCost = nil;
    self.adjustmentAmount = nil;
    self.notesToBuyer = nil;
    self.notesFromBuyer = nil;
    self.notesToSeller = nil;
    self.orderStatus = nil;
    self.unpaidItemStatus = nil;
    self.salePrice = nil;
    self.emailsSent = nil;
    self.daysSinceSale = nil;
    self.buyerID = nil;
    self.buyerEmail = nil;
    self.saleRecordID = nil;
    self.creationTime = nil;
    self.refundAmount = nil;
    self.refundStatus = nil;
    self.any = nil;
    [super dealloc];
}

@end
