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

#import <Foundation/Foundation.h>
#import "Trading_PlaceOfferRequestType.h"
#import "Trading_OfferType.h"
#import "Trading_NameValueListArrayType.h"
#import "Trading_AffiliateTrackingDetailsType.h"

@implementation Trading_PlaceOfferRequestType

@synthesize offer = _offer;
@synthesize itemID = _itemID;
@synthesize blockOnWarning = _blockOnWarning;
@synthesize affiliateTrackingDetails = _affiliateTrackingDetails;
@synthesize variationSpecifics = _variationSpecifics;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"PlaceOfferRequest" 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:@"Offer" propertyName:@"offer" type:PICO_TYPE_OBJECT clazz:[Trading_OfferType class]];
    [map setObject:ps forKey:@"offer"];
    [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:@"BlockOnWarning" propertyName:@"blockOnWarning" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"blockOnWarning"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AffiliateTrackingDetails" propertyName:@"affiliateTrackingDetails" type:PICO_TYPE_OBJECT clazz:[Trading_AffiliateTrackingDetailsType class]];
    [map setObject:ps forKey:@"affiliateTrackingDetails"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"VariationSpecifics" propertyName:@"variationSpecifics" type:PICO_TYPE_OBJECT clazz:[Trading_NameValueListArrayType class]];
    [map setObject:ps forKey:@"variationSpecifics"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.offer = nil;
    self.itemID = nil;
    self.blockOnWarning = nil;
    self.affiliateTrackingDetails = nil;
    self.variationSpecifics = nil;
    [super dealloc];
}

@end
