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

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

@implementation Trading_AccountEntryType

@synthesize accountDetailsEntryType = _accountDetailsEntryType;
@synthesize description = _description;
@synthesize balance = _balance;
@synthesize date = _date;
@synthesize grossDetailAmount = _grossDetailAmount;
@synthesize itemID = _itemID;
@synthesize memo = _memo;
@synthesize conversionRate = _conversionRate;
@synthesize netDetailAmount = _netDetailAmount;
@synthesize refNumber = _refNumber;
@synthesize vatPercent = _vatPercent;
@synthesize title = _title;
@synthesize orderLineItemID = _orderLineItemID;
@synthesize transactionID = _transactionID;
@synthesize receivedTopRatedDiscount = _receivedTopRatedDiscount;
@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:@"AccountDetailsEntryType" propertyName:@"accountDetailsEntryType" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"accountDetailsEntryType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Description" propertyName:@"description" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"description"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Balance" propertyName:@"balance" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"balance"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Date" propertyName:@"date" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"date"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"GrossDetailAmount" propertyName:@"grossDetailAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"grossDetailAmount"];
    [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:@"Memo" propertyName:@"memo" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"memo"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ConversionRate" propertyName:@"conversionRate" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"conversionRate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NetDetailAmount" propertyName:@"netDetailAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"netDetailAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RefNumber" propertyName:@"refNumber" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"refNumber"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"VATPercent" propertyName:@"vatPercent" type:PICO_TYPE_DOUBLE clazz:nil];
    [map setObject:ps forKey:@"vatPercent"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Title" propertyName:@"title" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"title"];
    [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];
    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:@"ReceivedTopRatedDiscount" propertyName:@"receivedTopRatedDiscount" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"receivedTopRatedDiscount"];
    [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.accountDetailsEntryType = nil;
    self.description = nil;
    self.balance = nil;
    self.date = nil;
    self.grossDetailAmount = nil;
    self.itemID = nil;
    self.memo = nil;
    self.conversionRate = nil;
    self.netDetailAmount = nil;
    self.refNumber = nil;
    self.vatPercent = nil;
    self.title = nil;
    self.orderLineItemID = nil;
    self.transactionID = nil;
    self.receivedTopRatedDiscount = nil;
    self.any = nil;
    [super dealloc];
}

@end
