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

#import <Foundation/Foundation.h>
#import "Trading_GetOrdersRequestType.h"
#import "Trading_OrderIDArrayType.h"
#import "Trading_PaginationType.h"

@implementation Trading_GetOrdersRequestType

@synthesize orderIDArray = _orderIDArray;
@synthesize createTimeFrom = _createTimeFrom;
@synthesize createTimeTo = _createTimeTo;
@synthesize orderRole = _orderRole;
@synthesize orderStatus = _orderStatus;
@synthesize listingType = _listingType;
@synthesize pagination = _pagination;
@synthesize modTimeFrom = _modTimeFrom;
@synthesize modTimeTo = _modTimeTo;
@synthesize numberOfDays = _numberOfDays;
@synthesize includeFinalValueFee = _includeFinalValueFee;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetOrdersRequest" 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:@"OrderIDArray" propertyName:@"orderIDArray" type:PICO_TYPE_OBJECT clazz:[Trading_OrderIDArrayType class]];
    [map setObject:ps forKey:@"orderIDArray"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CreateTimeFrom" propertyName:@"createTimeFrom" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"createTimeFrom"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CreateTimeTo" propertyName:@"createTimeTo" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"createTimeTo"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderRole" propertyName:@"orderRole" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"orderRole"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderStatus" propertyName:@"orderStatus" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"orderStatus"];
    [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:@"Pagination" propertyName:@"pagination" type:PICO_TYPE_OBJECT clazz:[Trading_PaginationType class]];
    [map setObject:ps forKey:@"pagination"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ModTimeFrom" propertyName:@"modTimeFrom" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"modTimeFrom"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ModTimeTo" propertyName:@"modTimeTo" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"modTimeTo"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NumberOfDays" propertyName:@"numberOfDays" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"numberOfDays"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"IncludeFinalValueFee" propertyName:@"includeFinalValueFee" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"includeFinalValueFee"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.orderIDArray = nil;
    self.createTimeFrom = nil;
    self.createTimeTo = nil;
    self.orderRole = nil;
    self.orderStatus = nil;
    self.listingType = nil;
    self.pagination = nil;
    self.modTimeFrom = nil;
    self.modTimeTo = nil;
    self.numberOfDays = nil;
    self.includeFinalValueFee = nil;
    [super dealloc];
}

@end
