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

#import <Foundation/Foundation.h>
#import "Trading_CompleteSaleRequestType.h"
#import "Trading_ShipmentType.h"
#import "Trading_FeedbackInfoType.h"

@implementation Trading_CompleteSaleRequestType

@synthesize itemID = _itemID;
@synthesize transactionID = _transactionID;
@synthesize feedbackInfo = _feedbackInfo;
@synthesize shipped = _shipped;
@synthesize paid = _paid;
@synthesize listingType = _listingType;
@synthesize shipment = _shipment;
@synthesize orderID = _orderID;
@synthesize orderLineItemID = _orderLineItemID;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"CompleteSaleRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
    [cs autorelease];
    return cs;
}

// 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:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TransactionID" propertyName:@"transactionID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"transactionID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"FeedbackInfo" propertyName:@"feedbackInfo" type:PICO_TYPE_OBJECT clazz:[Trading_FeedbackInfoType class]];
    [map setObject:ps forKey:@"feedbackInfo"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Shipped" propertyName:@"shipped" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"shipped"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Paid" propertyName:@"paid" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"paid"];
    [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:@"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:@"OrderID" propertyName:@"orderID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"orderID"];
    [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];
    
    return map;
}



-(void)dealloc {
    self.itemID = nil;
    self.transactionID = nil;
    self.feedbackInfo = nil;
    self.shipped = nil;
    self.paid = nil;
    self.listingType = nil;
    self.shipment = nil;
    self.orderID = nil;
    self.orderLineItemID = nil;
    [super dealloc];
}

@end
