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

#import <Foundation/Foundation.h>
#import "Trading_GetOrdersResponseType.h"
#import "Trading_OrderArrayType.h"
#import "Trading_PaginationResultType.h"

@implementation Trading_GetOrdersResponseType

@synthesize paginationResult = _paginationResult;
@synthesize hasMoreOrders = _hasMoreOrders;
@synthesize orderArray = _orderArray;
@synthesize ordersPerPage = _ordersPerPage;
@synthesize pageNumber = _pageNumber;
@synthesize returnedOrderCountActual = _returnedOrderCountActual;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetOrdersResponse" 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:@"PaginationResult" propertyName:@"paginationResult" type:PICO_TYPE_OBJECT clazz:[Trading_PaginationResultType class]];
    [map setObject:ps forKey:@"paginationResult"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"HasMoreOrders" propertyName:@"hasMoreOrders" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"hasMoreOrders"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderArray" propertyName:@"orderArray" type:PICO_TYPE_OBJECT clazz:[Trading_OrderArrayType class]];
    [map setObject:ps forKey:@"orderArray"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrdersPerPage" propertyName:@"ordersPerPage" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"ordersPerPage"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PageNumber" propertyName:@"pageNumber" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"pageNumber"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReturnedOrderCountActual" propertyName:@"returnedOrderCountActual" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"returnedOrderCountActual"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.paginationResult = nil;
    self.hasMoreOrders = nil;
    self.orderArray = nil;
    self.ordersPerPage = nil;
    self.pageNumber = nil;
    self.returnedOrderCountActual = nil;
    [super dealloc];
}

@end
