validate

open override 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 performs the the following checks, in order:

Return

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