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

#import <Foundation/Foundation.h>
#import "Trading_ReturnPolicyDetailsType.h"
#import "Trading_WarrantyDurationDetailsType.h"
#import "Trading_ShippingCostPaidByDetailsType.h"
#import "Trading_RestockingFeeValueDetailsType.h"
#import "Trading_ReturnsWithinDetailsType.h"
#import "Trading_WarrantyTypeDetailsType.h"
#import "Trading_RefundDetailsType.h"
#import "Trading_WarrantyOfferedDetailsType.h"
#import "Trading_ReturnsAcceptedDetailsType.h"

@implementation Trading_ReturnPolicyDetailsType

@synthesize refund = _refund;
@synthesize returnsWithin = _returnsWithin;
@synthesize returnsAccepted = _returnsAccepted;
@synthesize description = _description;
@synthesize warrantyOffered = _warrantyOffered;
@synthesize warrantyType = _warrantyType;
@synthesize warrantyDuration = _warrantyDuration;
@synthesize ean = _ean;
@synthesize shippingCostPaidBy = _shippingCostPaidBy;
@synthesize restockingFeeValue = _restockingFeeValue;
@synthesize detailVersion = _detailVersion;
@synthesize updateTime = _updateTime;
@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_ARRAY xmlName:@"Refund" propertyName:@"refund" type:PICO_TYPE_OBJECT clazz:[Trading_RefundDetailsType class]];
    [map setObject:ps forKey:@"refund"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"ReturnsWithin" propertyName:@"returnsWithin" type:PICO_TYPE_OBJECT clazz:[Trading_ReturnsWithinDetailsType class]];
    [map setObject:ps forKey:@"returnsWithin"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"ReturnsAccepted" propertyName:@"returnsAccepted" type:PICO_TYPE_OBJECT clazz:[Trading_ReturnsAcceptedDetailsType class]];
    [map setObject:ps forKey:@"returnsAccepted"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Description" propertyName:@"description" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"description"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"WarrantyOffered" propertyName:@"warrantyOffered" type:PICO_TYPE_OBJECT clazz:[Trading_WarrantyOfferedDetailsType class]];
    [map setObject:ps forKey:@"warrantyOffered"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"WarrantyType" propertyName:@"warrantyType" type:PICO_TYPE_OBJECT clazz:[Trading_WarrantyTypeDetailsType class]];
    [map setObject:ps forKey:@"warrantyType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"WarrantyDuration" propertyName:@"warrantyDuration" type:PICO_TYPE_OBJECT clazz:[Trading_WarrantyDurationDetailsType class]];
    [map setObject:ps forKey:@"warrantyDuration"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EAN" propertyName:@"ean" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"ean"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"ShippingCostPaidBy" propertyName:@"shippingCostPaidBy" type:PICO_TYPE_OBJECT clazz:[Trading_ShippingCostPaidByDetailsType class]];
    [map setObject:ps forKey:@"shippingCostPaidBy"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"RestockingFeeValue" propertyName:@"restockingFeeValue" type:PICO_TYPE_OBJECT clazz:[Trading_RestockingFeeValueDetailsType class]];
    [map setObject:ps forKey:@"restockingFeeValue"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DetailVersion" propertyName:@"detailVersion" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"detailVersion"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"UpdateTime" propertyName:@"updateTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"updateTime"];
    [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.refund = nil;
    self.returnsWithin = nil;
    self.returnsAccepted = nil;
    self.description = nil;
    self.warrantyOffered = nil;
    self.warrantyType = nil;
    self.warrantyDuration = nil;
    self.ean = nil;
    self.shippingCostPaidBy = nil;
    self.restockingFeeValue = nil;
    self.detailVersion = nil;
    self.updateTime = nil;
    self.any = nil;
    [super dealloc];
}

@end
