ValidationController

ValidationController

Controller for validation services.

Constructor

new ValidationController()

Source:

Methods

customerSignupEmail(email) → {Promise.<any>}

Check if an email can be used for customer account creation

Source:
Parameters:
Name Type Description
email

An email

Returns:
Type:
Promise.<any>

customerSignupPhone(phone) → {Promise.<any>}

Check if a phone number can be used for customer account creation

Source:
Parameters:
Name Type Description
phone

The phone number to send the code to (Without Country Code & no spaces/special characters)

Returns:
Type:
Promise.<any>