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

#import <Foundation/Foundation.h>
#import "Trading_AddSecondChanceItemRequestType.h"
#import "Trading_AmountType.h"

@implementation Trading_AddSecondChanceItemRequestType

@synthesize recipientBidderUserID = _recipientBidderUserID;
@synthesize buyItNowPrice = _buyItNowPrice;
@synthesize duration = _duration;
@synthesize itemID = _itemID;
@synthesize sellerMessage = _sellerMessage;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddSecondChanceItemRequest" 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:@"RecipientBidderUserID" propertyName:@"recipientBidderUserID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"recipientBidderUserID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BuyItNowPrice" propertyName:@"buyItNowPrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"buyItNowPrice"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Duration" propertyName:@"duration" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"duration"];
    [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];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SellerMessage" propertyName:@"sellerMessage" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"sellerMessage"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.recipientBidderUserID = nil;
    self.buyItNowPrice = nil;
    self.duration = nil;
    self.itemID = nil;
    self.sellerMessage = nil;
    [super dealloc];
}

@end
