//
 /***************************************************************
 * Copyright © 2017 HERE Global B.V. All rights reserved. *
 **************************************************************/

#import "HereSDKDemandPriceEstimate+Dictionary.h"
#import "HereSDKDemandPrice+Dictionary.h"
#import "HereSDKDemandPriceRange+Dictionary.h"

@implementation HereSDKDemandPriceEstimate (Dictionary)

- (NSDictionary *)dictionary
{
    return @{ @"fixedPrice": (self.fixed) ? self.fixed.dictionary : [NSNull null],
              @"priceRange": (self.range) ? self.range.dictionary : [NSNull null],
              };
}

@end
