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

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

@implementation HereSDKDemandDriver (Dictionary)

- (NSDictionary *)dictionary
{
    return @{
             @"name": [NSString hereSDK_utilities_emptyOrString:self.name],
             @"phoneNumber": [NSString hereSDK_utilities_emptyOrString:self.phoneNumber],
             @"photoUrl": [NSString hereSDK_utilities_emptyOrString:self.photoURL],
             @"drivingLicenseId": [NSString hereSDK_utilities_emptyOrString:self.drivingLicenseId],
             };
}

@end
