//
//  LSCompleteSurvey+RCTNativeModel.m
//  ReactLightspeedSDK
//
//  Created by marc matta on 10/12/16.
//  Copyright © 2016 com.lightspeed. All rights reserved.
//

#import "LSCompleteSurvey+RCTNativeModel.h"
#import <React/RCTUtils.h>

@implementation LSCompleteSurvey (RCTNativeModel)
- (NSDictionary *)reactNativeRepresentation {
    return @{
             @"satisfactionSurveyURL":RCTNullIfNil(self.satisfactionSurveyURL),
             @"trackingCode":RCTNullIfNil(self.trackingCode),
             @"pointsCredited":@(RCTZeroIfNaN(self.pointsCredited)),
             @"satisfactionSurveyExists":@(self.satisfactionSurveyExists),
             };
}
@end
