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

#import <Foundation/Foundation.h>
#import "Trading_GetAccountRequestType.h"
#import "Trading_PaginationType.h"

@implementation Trading_GetAccountRequestType

@synthesize accountHistorySelection = _accountHistorySelection;
@synthesize invoiceDate = _invoiceDate;
@synthesize beginDate = _beginDate;
@synthesize endDate = _endDate;
@synthesize pagination = _pagination;
@synthesize excludeBalance = _excludeBalance;
@synthesize excludeSummary = _excludeSummary;
@synthesize includeConversionRate = _includeConversionRate;
@synthesize accountEntrySortType = _accountEntrySortType;
@synthesize currency = _currency;
@synthesize itemID = _itemID;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetAccountRequest" 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:@"AccountHistorySelection" propertyName:@"accountHistorySelection" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"accountHistorySelection"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InvoiceDate" propertyName:@"invoiceDate" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"invoiceDate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BeginDate" propertyName:@"beginDate" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"beginDate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndDate" propertyName:@"endDate" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"endDate"];
    [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:@"ExcludeBalance" propertyName:@"excludeBalance" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"excludeBalance"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ExcludeSummary" propertyName:@"excludeSummary" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"excludeSummary"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"IncludeConversionRate" propertyName:@"includeConversionRate" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"includeConversionRate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AccountEntrySortType" propertyName:@"accountEntrySortType" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"accountEntrySortType"];
    [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:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemID"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.accountHistorySelection = nil;
    self.invoiceDate = nil;
    self.beginDate = nil;
    self.endDate = nil;
    self.pagination = nil;
    self.excludeBalance = nil;
    self.excludeSummary = nil;
    self.includeConversionRate = nil;
    self.accountEntrySortType = nil;
    self.currency = nil;
    self.itemID = nil;
    [super dealloc];
}

@end
