signUp

fun signUp(email: String, password: String, callback: (Customer?, SdkError?) -> Unit? = null)

Link an email and password with the current anonymous logged in user.

Example:

fun signUp() {
FlyBuyCore.getInstance().customer.signUp("test@example.com", "password") { customer, sdkError ->
if (null != sdkError) {
// Handle error
} else {
// Handle success
}
}
}