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

#import <Foundation/Foundation.h>
#import "Trading_DisputeType.h"
#import "Trading_ItemType.h"
#import "Trading_DisputeMessageType.h"
#import "Trading_DisputeResolutionType.h"

@implementation Trading_DisputeType

@synthesize disputeID = _disputeID;
@synthesize disputeRecordType = _disputeRecordType;
@synthesize disputeState = _disputeState;
@synthesize disputeStatus = _disputeStatus;
@synthesize otherPartyRole = _otherPartyRole;
@synthesize otherPartyName = _otherPartyName;
@synthesize userRole = _userRole;
@synthesize buyerUserID = _buyerUserID;
@synthesize sellerUserID = _sellerUserID;
@synthesize transactionID = _transactionID;
@synthesize item = _item;
@synthesize disputeReason = _disputeReason;
@synthesize disputeExplanation = _disputeExplanation;
@synthesize disputeCreditEligibility = _disputeCreditEligibility;
@synthesize disputeCreatedTime = _disputeCreatedTime;
@synthesize disputeModifiedTime = _disputeModifiedTime;
@synthesize disputeResolution = _disputeResolution;
@synthesize disputeMessage = _disputeMessage;
@synthesize escalation = _escalation;
@synthesize purchaseProtection = _purchaseProtection;
@synthesize orderLineItemID = _orderLineItemID;
@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:@"DisputeID" propertyName:@"disputeID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"disputeID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeRecordType" propertyName:@"disputeRecordType" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"disputeRecordType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeState" propertyName:@"disputeState" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"disputeState"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeStatus" propertyName:@"disputeStatus" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"disputeStatus"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OtherPartyRole" propertyName:@"otherPartyRole" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"otherPartyRole"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OtherPartyName" propertyName:@"otherPartyName" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"otherPartyName"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"UserRole" propertyName:@"userRole" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"userRole"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BuyerUserID" propertyName:@"buyerUserID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"buyerUserID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SellerUserID" propertyName:@"sellerUserID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"sellerUserID"];
    [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:@"Item" propertyName:@"item" type:PICO_TYPE_OBJECT clazz:[Trading_ItemType class]];
    [map setObject:ps forKey:@"item"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeReason" propertyName:@"disputeReason" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"disputeReason"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeExplanation" propertyName:@"disputeExplanation" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"disputeExplanation"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeCreditEligibility" propertyName:@"disputeCreditEligibility" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"disputeCreditEligibility"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeCreatedTime" propertyName:@"disputeCreatedTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"disputeCreatedTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeModifiedTime" propertyName:@"disputeModifiedTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"disputeModifiedTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"DisputeResolution" propertyName:@"disputeResolution" type:PICO_TYPE_OBJECT clazz:[Trading_DisputeResolutionType class]];
    [map setObject:ps forKey:@"disputeResolution"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"DisputeMessage" propertyName:@"disputeMessage" type:PICO_TYPE_OBJECT clazz:[Trading_DisputeMessageType class]];
    [map setObject:ps forKey:@"disputeMessage"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Escalation" propertyName:@"escalation" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"escalation"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PurchaseProtection" propertyName:@"purchaseProtection" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"purchaseProtection"];
    [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_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
    [map setObject:ps forKey:@"any"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.disputeID = nil;
    self.disputeRecordType = nil;
    self.disputeState = nil;
    self.disputeStatus = nil;
    self.otherPartyRole = nil;
    self.otherPartyName = nil;
    self.userRole = nil;
    self.buyerUserID = nil;
    self.sellerUserID = nil;
    self.transactionID = nil;
    self.item = nil;
    self.disputeReason = nil;
    self.disputeExplanation = nil;
    self.disputeCreditEligibility = nil;
    self.disputeCreatedTime = nil;
    self.disputeModifiedTime = nil;
    self.disputeResolution = nil;
    self.disputeMessage = nil;
    self.escalation = nil;
    self.purchaseProtection = nil;
    self.orderLineItemID = nil;
    self.any = nil;
    [super dealloc];
}

@end
