Initialization

Once the customer is linked, the customer's id can be requested as follows:

window.plugins.indigitall.customer.getCustomer(success => {
            // do something
        }, (error) => {
						// log error
        })

And the customer's information fields as seen below:

window.plugins.indigitall.customer.getCustomerInformation(
            ["field1", "field2", "field3"],
            success => {
                // do something
            }, (error) => {
                // do something else
            }
        )