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

#import <Foundation/Foundation.h>
#import "Trading_FlatShippingPreferencesType.h"
#import "Trading_FlatRateInsuranceRangeCostType.h"
#import "Trading_AmountType.h"

@implementation Trading_FlatShippingPreferencesType

@synthesize amountPerAdditionalItem = _amountPerAdditionalItem;
@synthesize deductionAmountPerAdditionalItem = _deductionAmountPerAdditionalItem;
@synthesize flatRateInsuranceRangeCost = _flatRateInsuranceRangeCost;
@synthesize flatShippingRateOption = _flatShippingRateOption;
@synthesize insuranceOption = _insuranceOption;
@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:@"AmountPerAdditionalItem" propertyName:@"amountPerAdditionalItem" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"amountPerAdditionalItem"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DeductionAmountPerAdditionalItem" propertyName:@"deductionAmountPerAdditionalItem" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"deductionAmountPerAdditionalItem"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"FlatRateInsuranceRangeCost" propertyName:@"flatRateInsuranceRangeCost" type:PICO_TYPE_OBJECT clazz:[Trading_FlatRateInsuranceRangeCostType class]];
    [map setObject:ps forKey:@"flatRateInsuranceRangeCost"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"FlatShippingRateOption" propertyName:@"flatShippingRateOption" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"flatShippingRateOption"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InsuranceOption" propertyName:@"insuranceOption" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"insuranceOption"];
    [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.amountPerAdditionalItem = nil;
    self.deductionAmountPerAdditionalItem = nil;
    self.flatRateInsuranceRangeCost = nil;
    self.flatShippingRateOption = nil;
    self.insuranceOption = nil;
    self.any = nil;
    [super dealloc];
}

@end
