validate

fun validate(): MissingInformationError?

A helper method used internally by the SDK to perform minimal validation on the object before sending it to the server.

This method checks the following in order:

Return

A MissingInformationError with an error string identifying one of the above issues, or null if the object passes validation.