This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface SmartcarCallback
Callback interface that should be implemented by the application.
Defines a single method that will be used to send the response data back to the application.