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

#import <Foundation/Foundation.h>
#import "Trading_GetAccountResponseType.h"
#import "Trading_PaginationResultType.h"
#import "Trading_AccountSummaryType.h"
#import "Trading_AccountEntriesType.h"

@implementation Trading_GetAccountResponseType

@synthesize accountID = _accountID;
@synthesize accountSummary = _accountSummary;
@synthesize currency = _currency;
@synthesize accountEntries = _accountEntries;
@synthesize paginationResult = _paginationResult;
@synthesize hasMoreEntries = _hasMoreEntries;
@synthesize entriesPerPage = _entriesPerPage;
@synthesize pageNumber = _pageNumber;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetAccountResponse" 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:@"AccountID" propertyName:@"accountID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"accountID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AccountSummary" propertyName:@"accountSummary" type:PICO_TYPE_OBJECT clazz:[Trading_AccountSummaryType class]];
    [map setObject:ps forKey:@"accountSummary"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Currency" propertyName:@"currency" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"currency"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AccountEntries" propertyName:@"accountEntries" type:PICO_TYPE_OBJECT clazz:[Trading_AccountEntriesType class]];
    [map setObject:ps forKey:@"accountEntries"];
    [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];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"HasMoreEntries" propertyName:@"hasMoreEntries" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"hasMoreEntries"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EntriesPerPage" propertyName:@"entriesPerPage" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"entriesPerPage"];
    [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];
    
    return map;
}



-(void)dealloc {
    self.accountID = nil;
    self.accountSummary = nil;
    self.currency = nil;
    self.accountEntries = nil;
    self.paginationResult = nil;
    self.hasMoreEntries = nil;
    self.entriesPerPage = nil;
    self.pageNumber = nil;
    [super dealloc];
}

@end
