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

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

@implementation Trading_GetItemTransactionsRequestType

@synthesize itemID = _itemID;
@synthesize modTimeFrom = _modTimeFrom;
@synthesize modTimeTo = _modTimeTo;
@synthesize transactionID = _transactionID;
@synthesize pagination = _pagination;
@synthesize includeFinalValueFee = _includeFinalValueFee;
@synthesize includeContainingOrder = _includeContainingOrder;
@synthesize platform = _platform;
@synthesize numberOfDays = _numberOfDays;
@synthesize includeVariations = _includeVariations;
@synthesize orderLineItemID = _orderLineItemID;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetItemTransactionsRequest" 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:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemID"];
    [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:@"TransactionID" propertyName:@"transactionID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"transactionID"];
    [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:@"IncludeFinalValueFee" propertyName:@"includeFinalValueFee" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"includeFinalValueFee"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"IncludeContainingOrder" propertyName:@"includeContainingOrder" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"includeContainingOrder"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Platform" propertyName:@"platform" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"platform"];
    [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:@"IncludeVariations" propertyName:@"includeVariations" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"includeVariations"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderLineItemID" propertyName:@"orderLineItemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"orderLineItemID"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.itemID = nil;
    self.modTimeFrom = nil;
    self.modTimeTo = nil;
    self.transactionID = nil;
    self.pagination = nil;
    self.includeFinalValueFee = nil;
    self.includeContainingOrder = nil;
    self.platform = nil;
    self.numberOfDays = nil;
    self.includeVariations = nil;
    self.orderLineItemID = nil;
    [super dealloc];
}

@end
