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

#import <Foundation/Foundation.h>
#import "Trading_GetBestOffersResponseType.h"
#import "Trading_ItemType.h"
#import "Trading_PaginationResultType.h"
#import "Trading_BestOfferArrayType.h"
#import "Trading_ItemBestOffersArrayType.h"

@implementation Trading_GetBestOffersResponseType

@synthesize bestOfferArray = _bestOfferArray;
@synthesize item = _item;
@synthesize itemBestOffersArray = _itemBestOffersArray;
@synthesize pageNumber = _pageNumber;
@synthesize paginationResult = _paginationResult;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetBestOffersResponse" 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:@"BestOfferArray" propertyName:@"bestOfferArray" type:PICO_TYPE_OBJECT clazz:[Trading_BestOfferArrayType class]];
    [map setObject:ps forKey:@"bestOfferArray"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Item" propertyName:@"item" type:PICO_TYPE_OBJECT clazz:[Trading_ItemType class]];
    [map setObject:ps forKey:@"item"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemBestOffersArray" propertyName:@"itemBestOffersArray" type:PICO_TYPE_OBJECT clazz:[Trading_ItemBestOffersArrayType class]];
    [map setObject:ps forKey:@"itemBestOffersArray"];
    [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:@"PaginationResult" propertyName:@"paginationResult" type:PICO_TYPE_OBJECT clazz:[Trading_PaginationResultType class]];
    [map setObject:ps forKey:@"paginationResult"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.bestOfferArray = nil;
    self.item = nil;
    self.itemBestOffersArray = nil;
    self.pageNumber = nil;
    self.paginationResult = nil;
    [super dealloc];
}

@end
