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

#import "HereSDKDemandSupplier+Dictionary.h"
#import "NSString+Utilities.h"

@implementation HereSDKDemandSupplier (Dictionary)

- (NSDictionary *)dictionary
{
    return @{
             @"englishName": [NSString hereSDK_utilities_emptyOrString:self.englishName],
             @"localName": [NSString hereSDK_utilities_emptyOrString:self.localName],
             @"logoUrl": [NSString hereSDK_utilities_emptyOrString:self.logoURL],
             @"phoneNumber": [NSString hereSDK_utilities_emptyOrString:self.phoneNumber],
             @"address": [NSString hereSDK_utilities_emptyOrString:self.address],
             };
}

@end
