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

#import <Foundation/Foundation.h>
#import "Trading_SellingManagerSoldTransactionType.h"
#import "Trading_ShipmentType.h"
#import "Trading_VariationType.h"
#import "Trading_AmountType.h"

@implementation Trading_SellingManagerSoldTransactionType

@synthesize invoiceNumber = _invoiceNumber;
@synthesize transactionID = _transactionID;
@synthesize saleRecordID = _saleRecordID;
@synthesize itemID = _itemID;
@synthesize quantitySold = _quantitySold;
@synthesize itemPrice = _itemPrice;
@synthesize subtotalAmount = _subtotalAmount;
@synthesize itemTitle = _itemTitle;
@synthesize listingType = _listingType;
@synthesize relisted = _relisted;
@synthesize watchCount = _watchCount;
@synthesize startPrice = _startPrice;
@synthesize reservePrice = _reservePrice;
@synthesize secondChanceOfferSent = _secondChanceOfferSent;
@synthesize customLabel = _customLabel;
@synthesize soldOn = _soldOn;
@synthesize listedOn = _listedOn;
@synthesize shipment = _shipment;
@synthesize charityListing = _charityListing;
@synthesize variation = _variation;
@synthesize orderLineItemID = _orderLineItemID;
@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:@"InvoiceNumber" propertyName:@"invoiceNumber" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"invoiceNumber"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TransactionID" propertyName:@"transactionID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"transactionID"];
    [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:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"QuantitySold" propertyName:@"quantitySold" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"quantitySold"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemPrice" propertyName:@"itemPrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"itemPrice"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SubtotalAmount" propertyName:@"subtotalAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"subtotalAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemTitle" propertyName:@"itemTitle" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemTitle"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ListingType" propertyName:@"listingType" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"listingType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Relisted" propertyName:@"relisted" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"relisted"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"WatchCount" propertyName:@"watchCount" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"watchCount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StartPrice" propertyName:@"startPrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"startPrice"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReservePrice" propertyName:@"reservePrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"reservePrice"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SecondChanceOfferSent" propertyName:@"secondChanceOfferSent" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"secondChanceOfferSent"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CustomLabel" propertyName:@"customLabel" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"customLabel"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SoldOn" propertyName:@"soldOn" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"soldOn"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"ListedOn" propertyName:@"listedOn" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"listedOn"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Shipment" propertyName:@"shipment" type:PICO_TYPE_OBJECT clazz:[Trading_ShipmentType class]];
    [map setObject:ps forKey:@"shipment"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CharityListing" propertyName:@"charityListing" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"charityListing"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Variation" propertyName:@"variation" type:PICO_TYPE_OBJECT clazz:[Trading_VariationType class]];
    [map setObject:ps forKey:@"variation"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderLineItemID" propertyName:@"orderLineItemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"orderLineItemID"];
    [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.invoiceNumber = nil;
    self.transactionID = nil;
    self.saleRecordID = nil;
    self.itemID = nil;
    self.quantitySold = nil;
    self.itemPrice = nil;
    self.subtotalAmount = nil;
    self.itemTitle = nil;
    self.listingType = nil;
    self.relisted = nil;
    self.watchCount = nil;
    self.startPrice = nil;
    self.reservePrice = nil;
    self.secondChanceOfferSent = nil;
    self.customLabel = nil;
    self.soldOn = nil;
    self.listedOn = nil;
    self.shipment = nil;
    self.charityListing = nil;
    self.variation = nil;
    self.orderLineItemID = nil;
    self.any = nil;
    [super dealloc];
}

@end
