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

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

@implementation Trading_PromotionalShippingDiscountDetailsType

@synthesize discountName = _discountName;
@synthesize shippingCost = _shippingCost;
@synthesize orderAmount = _orderAmount;
@synthesize itemCount = _itemCount;
@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:@"DiscountName" propertyName:@"discountName" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"discountName"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShippingCost" propertyName:@"shippingCost" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"shippingCost"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderAmount" propertyName:@"orderAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"orderAmount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemCount" propertyName:@"itemCount" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"itemCount"];
    [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.discountName = nil;
    self.shippingCost = nil;
    self.orderAmount = nil;
    self.itemCount = nil;
    self.any = nil;
    [super dealloc];
}

@end
