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

#import <Foundation/Foundation.h>
#import "Trading_BestOfferType.h"
#import "Trading_UserType.h"
#import "Trading_AmountType.h"

@implementation Trading_BestOfferType

@synthesize bestOfferID = _bestOfferID;
@synthesize expirationTime = _expirationTime;
@synthesize buyer = _buyer;
@synthesize price = _price;
@synthesize status = _status;
@synthesize quantity = _quantity;
@synthesize buyerMessage = _buyerMessage;
@synthesize sellerMessage = _sellerMessage;
@synthesize bestOfferCodeType = _bestOfferCodeType;
@synthesize callStatus = _callStatus;
@synthesize any = _any;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    return nil;
}

// 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:@"BestOfferID" propertyName:@"bestOfferID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"bestOfferID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ExpirationTime" propertyName:@"expirationTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"expirationTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Buyer" propertyName:@"buyer" type:PICO_TYPE_OBJECT clazz:[Trading_UserType class]];
    [map setObject:ps forKey:@"buyer"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Price" propertyName:@"price" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"price"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Status" propertyName:@"status" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"status"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Quantity" propertyName:@"quantity" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"quantity"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BuyerMessage" propertyName:@"buyerMessage" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"buyerMessage"];
    [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];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BestOfferCodeType" propertyName:@"bestOfferCodeType" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"bestOfferCodeType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CallStatus" propertyName:@"callStatus" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"callStatus"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
    [map setObject:ps forKey:@"any"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.bestOfferID = nil;
    self.expirationTime = nil;
    self.buyer = nil;
    self.price = nil;
    self.status = nil;
    self.quantity = nil;
    self.buyerMessage = nil;
    self.sellerMessage = nil;
    self.bestOfferCodeType = nil;
    self.callStatus = nil;
    self.any = nil;
    [super dealloc];
}

@end
